@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}
:root {
  --background: #0f0f1b;
  --nav-spacing: 3rem;
}
body {
  background: var(--background);
}
.hero {
  width: 100%;
  min-height: 100vh;
  background: url("/assets/background.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#fireflies {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.section {
  min-height: 100vh;
}
#sticky {
  position: fixed;
  background: none;
  min-width: 10vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  margin-top: var(--nav-spacing);
  z-index: 99;
}
.logo img {
  height: 40px;
  width: 40px;
  margin-left: var(--nav-spacing);
}
.contact img {
  height: 18px;
  width: 18px;
  margin-left: 0.5rem;
}
.contact {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-right: var(--nav-spacing);
}
.contactButton {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  text-decoration: none;
  background: rgba(233, 233, 233, 0.051);
  padding: 0.9rem 1.4rem;
  border-radius: 25px;
  backdrop-filter: blur(5px);
  transition: 0.2s ease-in-out;
}
.contactButton {
  font-size: 0.9rem;
}
.contactButton:hover {
  background: rgba(233, 233, 233, 0.14);
}
.scrollUp {
  position: fixed;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  background: rgba(233, 233, 233, 0.051);
  bottom: 0;
  right: 0;
  border-radius: 100%;
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--nav-spacing);
  transition: 0.2s ease-in-out, 0.5s transform ease-in-out;
  transform: translateX(250px);
  backdrop-filter: blur(10px);
  z-index: 99;
}
.scrollUp:hover {
  background: rgba(233, 233, 233, 0.14);
  transform: translateY(-5px);
}
.reminder {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  color: #d6d6d6;
  font-weight: 400;
  font-size: 0.9rem;
  width: 330px;
  height: 40px;
  border-radius: 25px;
  border: 1px solid #494953;
  transition: 0.2s ease-in-out;
}

.reminder:hover {
  background: #4949534f;
}
.dot {
  height: 10px;
  width: 10px;
  border-radius: 100%;
  margin-right: 1rem;
  background: #f0b335;
  position: relative;
  display: flex;
  align-items: center;
}
.dot::after {
  position: absolute;
  top: -5px;
  left: -5px;
  content: "";
  width: 20px;
  height: 20px;
  background: #9a780063;
  border-radius: 100%;
  animation: pulse ease-in-out 2s infinite forwards;
}
@keyframes pulse {
  0% {
    transform: scale(0.5);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.5);
  }
}
h1 {
  font-size: 3.5rem;
  color: white;
  font-weight: 600;
  margin-block: 2rem;
}
.underlined {
  border-bottom: 4px solid #f0b335;
}
.subtext {
  color: #858693;
  text-align: center;
  max-width: 90%;
}
.mainButton {
  background: white;
  padding: 1rem 1.9rem;
  border-radius: 2rem;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 3rem;
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 1;
  -webkit-box-shadow: 0px 0px 15px 2px rgb(200, 179, 112);
  -moz-box-shadow: 0px 0px 15px 2px rgb(200, 179, 112);
  box-shadow: 0px 0px 15px 2px rgb(200, 179, 112);
}

.mainButton span {
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
  color: black !important;
}

@keyframes textFade {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0;
    transform: translateY(-100%);
  }
  50.1% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.mainButton:hover span {
  animation: textFade 0.5s ease forwards;
}
.iframe {
  width: 700px;
  height: 400px;
}

#shows {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#shows h3 {
  font-size: 2.5rem;
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}
#shows p {
  color: #858693;
  text-align: center;
  margin-bottom: 2rem;
}
.porady {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-top: 1rem;
}
.porad {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  width: 385px;
  height: 500px;
  background: red;
  margin-inline: 0.5rem;
  cursor: pointer;
  border: 1px solid #dedede1c;
  position: relative;
  transition: 0.2s ease-in-out;
}
.porad h4 {
  color: white;
  font-weight: 600;
  font-size: 1.8rem;
}
.poradtext {
  margin-bottom: 3.5rem;
  margin-top: 0.5rem;
  color: #c7c7c7 !important;
  max-width: 90%;
}
#hrdilna {
  background: url("/assets/hrdilna.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#stinyprastarych {
  background: url("/assets/stinyprastarych.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#padhmoty {
  background: url("/assets/padhmoty.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.newest {
  position: absolute;
  top: 0;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid #f0b335;
  padding: 0.4rem 1.5rem;
  border-radius: 25px;
  text-transform: capitalize;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.porad:hover {
  transform: scale(0.95);
}
.loader {
  position: relative;
  width: 800px;
  height: 450px;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0.2) 25%,
    rgba(255, 223, 0, 0.8) 50%,
    rgba(255, 215, 0, 0.2) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  box-shadow: 0 0 20px rgba(255, 223, 0, 0.5),
    inset 0 0 10px rgba(255, 223, 0, 0.8);
}
.loader span {
  position: absolute;
  bottom: 0;
  margin: 1rem;
  background: white;
  border-radius: 25px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.3px;
}
#onas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#onas h3 {
  font-size: 2.5rem;
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}
#onas p {
  color: #858693;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 800px;
}
.teamphoto {
  width: 1000px;
  border: 1px solid #dedede1c;
}
#contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#contact h3 {
  font-size: 2.5rem;
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}
#contact p {
  color: #858693;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 90%;
}
.social {
  width: 700px;
  color: white;
  height: 80px;
  border: 1px solid #494953;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: start;
  font-size: 1.2rem;
  padding-inline: 2rem;
  margin: 0.5rem;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}
.faded {
  opacity: 0.7;
}
.social:hover {
  background: #494953bb;
}
.basicFooter {
  margin-block: 5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.731);
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0f0f1b;
  z-index: 9999;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
#preloader img {
  width: 40px;
  height: 40px;
}

@media (min-width: 2560px) {
  .iframe {
    width: 1050px;
    height: 590px;
  }
  h1 {
    font-size: 4rem;
    margin-top: 1rem;
  }
  .subtext {
    font-size: 1.2rem;
  }
  .porad {
    width: 500px;
    height: 700px;
  }
  .porad h4 {
    color: white;
    font-weight: 600;
    font-size: 2.5rem;
  }
  .poradtext {
    margin-bottom: 3.5rem;
    margin-top: 0.5rem;
    color: #c7c7c7 !important;
    max-width: 90%;
    font-size: 1.1rem;
    margin-bottom: 3rem !important;
  }
  #shows h3 {
    font-size: 3.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  #shows p {
    font-size: 1.1rem;
  }
  .loader {
    width: 1200px;
    height: 650px;
  }
  #onas h3 {
    font-size: 3.5rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
  }
}

@media (max-width: 1200px) {
  .porad {
    width: 275px;
    height: 400px;
  }
  .porad h4 {
    font-size: 1.5rem;
  }
  .porad p {
    font-size: 0.9rem;
  }
  .teamphoto {
    width: 800px;
  }
}

@media (max-width: 872px) {
  .porad {
    width: 200px;
    height: 300px;
  }
  .porad h4 {
    font-size: 1.3rem;
  }
  .porad p {
    font-size: 0.8rem;
  }
  .newest {
    font-size: 0.7rem;
  }
  .section {
    margin-bottom: 4rem;
  }
  .teamphoto {
    width: 600px;
  }
}

@media (max-width: 872px) {
  .loader {
    width: 500px;
  }
  #onas p {
    max-width: 90%;
  }
}

@media (max-width: 700px) {
  .iframe {
    width: 550px;
    height: 350px;
  }
  .social {
    width: 500px;
  }
}

@media (max-width: 660px) {
  .porady {
    flex-direction: column;
  }
  #shows h3 {
    margin-top: 5rem;
  }
  .porad {
    margin-bottom: 1rem;
  }
  .porad {
    width: 300px;
    height: 400px;
  }
  .teamphoto {
    width: 400px;
  }
}

@media (max-width: 574px) {
  h1 {
    font-size: 2.5rem;
    margin-top: 1.5rem;
  }
  .subtext {
    font-size: 0.9rem;
  }
  .reminder {
    font-size: 0.8rem;
    width: 300px;
  }
  .iframe {
    width: 400px;
  }
}

@media (max-width: 514px) {
  .loader {
    width: 300px;
  }
  #onas p {
    max-width: 90%;
  }
  .social {
    width: 300px;
  }
}

@media (max-width: 431px) {
  .iframe {
    width: 300px;
  }
  h1 {
    font-size: 2rem;
    margin-top: 1rem;
  }
  .subtext {
    font-size: 0.8rem;
  }
  .reminder {
    font-size: 0.65rem;
    width: 250px;
    height: 30px;
    margin-top: 7rem;
  }
  #onas h3 {
    font-size: 2.2rem;
  }
  .teamphoto {
    width: 350px;
  }
}
