@charset "UTF-8";
/*
Theme Name: gregermax multimedia
Theme URI: https://greger.me
Author: Maximilian Greger
Author URI: https://greger.me
Version: 0.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jff
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-family: Helvetica, sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  line-height: 1.4;
}

.main {
  padding: 1rem;
}

.webcam {
  flex: 1 1 auto;
}
.webcam.has-iframe {
  aspect-ratio: 16/9;
}
.webcam img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}
.webcam iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1rem;
}
.cities .city-link {
  background-color: #263238;
  border-radius: 20px;
  display: block;
  padding: 1rem;
  cursor: pointer;
}
.cities .city-webcam {
  aspect-ratio: 16/9;
  width: 100%;
  position: relative;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}
.cities .city-webcam iframe,
.cities .city-webcam img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.row_first {
  display: flex;
  gap: 1rem;
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 200px;
  flex-shrink: 0;
}
.meta .city {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background-color: #263238;
  padding: 1rem;
  border-radius: 20px;
}
.meta .city h1 {
  line-height: 1;
}
.meta .city .clock {
  padding-top: 1rem;
  border-top: 1px solid #000;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.meta .ski {
  background-color: #263238;
  padding: 1rem;
  border-radius: 20px;
}

@media screen and (max-width: 1024px) {
  .row_first {
    flex-direction: column;
  }
  .meta {
    width: 100%;
  }
  .webcam {
    aspect-ratio: 16/9;
    width: 100%;
    position: relative;
  }
  .webcam iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}
.weather {
  background-color: #263238;
  padding: 1rem;
  border-radius: 20px;
}
.weather .forecasts {
  width: 100%;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
  gap: 1rem;
}
.weather .forecasts .weekday {
  font-weight: 700;
  margin-bottom: 0.5em;
}
.weather .forecasts .temperature {
  display: inline-block;
}
.weather .forecasts .temperature.max::after {
  content: "°C /";
}
.weather .forecasts .temperature.min {
  opacity: 0.5;
}
.weather .forecasts .symbol {
  margin-top: 0.5em;
  margin-left: auto;
  margin-right: auto;
  max-height: 2.5em;
  display: block;
}
.weather .forecasts .divider {
  display: none;
}

.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1rem;
  background-color: #263238;
  padding: 1rem;
  border-radius: 20px;
  margin-top: 1rem;
}
.news img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}
.news h3 {
  margin: 1rem 0;
}
.news h3:first-child {
  margin-top: 0;
}/*# sourceMappingURL=style.css.map */