@font-face {
  font-family: "Interstate";
  src: local("Interstate-Bold"),
    url("fonts/Interstate-Bold.woff2") format("woff2"),
    url("fonts/Interstate-Bold.woff") format("woff"),
    url("fonts/Interstate-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Frutiger";
  src: local("Frutiger"), url("fonts/Frutiger.woff2") format("woff2"),
    url("fonts/Frutiger.woff") format("woff"),
    url("fonts/Frutiger.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Frutiger";
  src: local("Frutiger Bold"), local("FrutigerBold"),
    url("fonts/FrutigerBold.woff2") format("woff2"),
    url("fonts/FrutigerBold.woff") format("woff"),
    url("fonts/FrutigerBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

#background-blur {
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: navy;
  background-image: url(images/bgs/bg1.png);
  background-image: image-set(
    url(images/bgs/bg1.avif) type("image/avif"),
    url(images/bgs/bg1.webp) type("image/webp"),
    url(images/bgs/bg1.jpeg) type("image/jpeg"),
    url(images/bgs/bg1.png) type("image/png")
  );
  transition: background-image 1s ease-in-out;
  font-family: "Frutiger", Oxygen, Ubuntu, Cantarell, "Open Sans", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, monospace;
}

/*
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;

  background-color: rgba(0, 0, 0, 0);
  z-index: 0;
  pointer-events: none;
}*/

.welcome-title {
  font-family: "Interstate", Arial, sans-serif;
}

@media (max-width: 680px) {
  #container {
    flex-direction: column;
  }
}

@media (min-width: 680px) {
  footer {
    position: absolute;
    bottom: 0;
  }
}

.box {
  flex: 1 1 300px;
  height: 300px;
  max-width: 300px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-align: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}
.box:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.3);
}
.box:active {
  transform: scale(0.98);
}
.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.box-content {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  line-height: 1.4;
  padding: 10px;
  max-width: 90%;
}

.v0 {
  background: navy center center / cover no-repeat;
  background: url("images/v0.png") center center / cover no-repeat;
  background: image-set(
      url(images/v0.avif) type("image/avif"),
      url(images/v0.webp) type("image/webp"),
      url(images/v0.jpeg) type("image/jpeg"),
      url(images/v0.png) type("image/png")
    )
    center center / cover no-repeat;
}

.v1 {
  background: navy center center / cover no-repeat;
  background: url("./images/v1.png") center center / cover no-repeat;
  background: image-set(
      url(images/v1.avif) type("image/avif"),
      url(images/v1.webp) type("image/webp"),
      url(images/v1.jpeg) type("image/jpeg"),
      url(images/v1.png) type("image/png")
    )
    center center / cover no-repeat;
}
.v2 {
  background: navy center center / cover no-repeat;
  background: url("images/v2.png") center center / cover no-repeat;
  background: image-set(
      url(images/v2.avif) type("image/avif"),
      url(images/v2.webp) type("image/webp"),
      url(images/v2.jpeg) type("image/jpeg"),
      url(images/v2.png) type("image/png")
    )
    center center / cover no-repeat;
}
.box span {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
}

footer {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 20px;

  backdrop-filter: blur(2px);
}
footer span {
  font-family: Arial, sans-serif;
  font-style: italic;
  font-weight: bold;
}
footer a {
  color: #00bcd4;
  text-decoration: none;
  font-weight: bold;
}
footer a:hover {
  text-decoration: underline;
}

.weatherstar-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: rgba(0, 123, 170, 0.6);
  border: none;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(2px);
}
.weatherstar-button:hover {
  background-color: rgba(0, 86, 133, 0.7);
  transform: scale(1.05);
}
.weatherstar-button:active {
  background-color: rgba(0, 64, 111, 0.8);
  transform: scale(0.95);
}
.weatherstar-button img {
  max-width: 20px;
  max-height: 20px;
  width: auto;
  height: auto;
  vertical-align: middle;
  margin-right: 5px;
  position: relative;
  z-index: 2;
}
