/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-padding-top: 4rem;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
  cursor: crosshair;
}


/***********vločky************************************/
#snow-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -10;
  overflow: visible;
}

.snowflake {
  position: absolute;
  color: #fff;
  font-size: 1.5em;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 2px #000;
  user-select: none;
  cursor: default;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-play-state: running, running;
}

@keyframes snowflakes-fall {
  0% { top: -10%; }
  100% { top: 110%; }
}

@keyframes snowflakes-shake {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}

  /*************hudba************************************/

#sound-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: #fff;
  position: relative;
}

#volume-slider {
  cursor: pointer;
}

/*********posuvník hudby********/

#volume-bubble {
  position: absolute;
  top: -120px; /* počáteční skrytá pozice */
  right: 60px;
  background: var(--main-color);
  padding: 8px 14px;
  border-radius: 40px;
  z-index: 100;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.3);
  transition: top 0.3s ease;
}

#volume-bubble.active {
  top: 72px; /* finální viditelná pozice */
}

#volume-slider {
  width: 120px;
  margin: 0 6px;
  background: transparent;
  cursor: pointer;
}

/* Track s barevným přechodem: od červené přes žlutou, pak žlutou až do světlejší žluté */
#volume-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, rgb(255, 183, 0) 0%, rgb(220, 10, 10) calc(var(--value) * 100%), #ffffff calc(var(--value) * 100%), #acb1ff 100%);
}

/* Kulička - tmavě zelená s tmavším okrajem */
#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #010829;
  border-radius: 50%;
  border: 2px solid #0b0640;
  margin-top: -6px;
  cursor: pointer;
}



/******************hlavní nastavení***********/

/* Variables */
:root {
  --main-color: rgb(12, 20, 69);
  --second-color: rgb(20, 30, 100);
  --text-color: #080808;
  --bg-color: #181818;
  --yellow-color: rgb(192, 192, 192);

  /* Box Shadow */
  --box-shadow: 2px 2px 10px 4px rgb(14 55 54 / 15%);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 7px rgb(1, 7, 45);
  background: var(--main-color);
}
::-webkit-scrollbar-thumb {
  background: var(--second-color);
}
section {
  padding: 50px 200px;
}
img {
  width: 100%;
}
body {
  background: rgb(16, 16, 16);
  color: var(--text-color);
}
header {
  position: fixed;
  width: 100%;
  top: 10px;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px 20px;
  transition: 0.2s linear;
}
header.shadow {
  top: 0px;
  background: radial-gradient(circle at bottom, rgba(0, 1, 35, 0.452) 50%, rgba(0, 12, 72, 0.666) 80%);
  backdrop-filter: blur(30px); 
  -webkit-backdrop-filter: blur(30px); 
}
.logo img {
  width: 100px;
}
.navbar {
  display: flex;
}
.navbar a {
  padding: 8px 17px;
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  transition: 1s ease;
}

.family {
    position: relative;
  display: inline-block;
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: color 0.4s ease;
  letter-spacing: 2px;
}

.family::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  font: inherit; /* DŮLEŽITÉ: použije stejný font, velikost atd. */
  background: linear-gradient(to top right, var(--yellow-color), rgb(133, 159, 255));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.family:hover {
  color: transparent;
}

.family:hover::after {
  opacity: 1;
}

.btn {
  padding: 10px 40px;
  border-radius: 20px;
  background: radial-gradient(circle at bottom, rgb(170, 0, 255) 10%, rgb(217, 120, 255) 20%, rgb(255, 183, 0) 70%, rgb(255, 211, 99) 80%, rgb(170, 0, 255) 100%);
  color: var(--bg-color);
  font-weight: 500;
  z-index: 900;
  margin-top: 15px;
  text-align: center;
  text-transform: uppercase;
  justify-content: center;
  margin: auto;
  width: 100%;
  transition: transform 0.3s ease;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.14);
}
.btn:hover {
  transform: scale(1.1);
}



/*home*/
.dlouhy-stin {
    font-family: 'Impact', sans-serif; /* Tlustý font je nutný */
    font-size: 5rem;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
    margin: 0;
    /* Animace stínu */
    animation: longShadow 3s ease-in-out infinite alternate;
}

@keyframes longShadow {
    0% {
        text-shadow: 
            1px 1px 0 #2c3e50,
            2px 2px 0 #2c3e50,
            3px 3px 0 #2c3e50;
    }
    100% {
        text-shadow: 
            1px 1px 0 #2c3e50,
            2px 2px 0 #2c3e50,
            3px 3px 0 #2c3e50,
            4px 4px 0 #2c3e50,
            5px 5px 0 #2c3e50,
            6px 6px 0 #2c3e50,
            7px 7px 0 #2c3e50,
            8px 8px 0 #2c3e50,
            9px 9px 0 #2c3e50,
            10px 10px 0 #2c3e50,
            11px 11px 0 #2c3e50,
            12px 12px 0 #2c3e50;
    }
}


/****************/
.unbro {
  display: block;
  transition: all 0.5s;
  font-size: 5rem;
  z-index: 300;
  font-weight: 1200;
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.415);
}
.home {
  position: relative;
  border-radius: 50px;
  padding: 10px;
  z-index: 100;
  justify-content: center;
  margin: auto;
  overflow: hidden;
  align-items: center;
  object-fit: contain;
  display: flex;
}

.home .content {
  position: absolute;
  z-index: 300;
  left: auto;
  right: auto;
  top: auto;
  bottom: 40%;
}

.overlay-video {
  position: absolute;
  height: 80vh;
  width: 100%;
  margin-right: 10px;
  margin: auto;
  border-radius: inherit;
  z-index: 40;
  background: linear-gradient(to right bottom, rgba(0, 0, 0, 0.793) 0%, rgb(3, 11, 49));
  opacity: 1;
  pointer-events: none;
}

.banner-video video{
  z-index: 30;
  height: 150vh;
  width: 100%;
}

.banner-video {
  position: relative;
  height: 80vh;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 200;
  border-radius: 30px;
}

@media (max-width: 500px) {
  .unbro {
    font-size: 2rem;
  }
  .btn {
    padding: 5px;
  }

}


@media (max-width: 1900px) {
  .banner-video video{
    z-index: 30;
    height: 150vh;
    width: 2000%;
  }
}

/***under bar products***/
.navbar .sub-products:hover .underbar-products {
  display: flex;
}
.underbar-products, .underbar-collection {
  display: none;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  margin-left: -80px;
  margin-top: -20px;
  transition: 1s ease;
}
.underbar-products a:hover {
  background: none;
  border-bottom: none;
}
.underbar-products h2 {
  letter-spacing: 2px;
  color: var(--bg-color);
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 300;
  background: linear-gradient(to bottom right, rgb(217, 0, 255), rgb(159, 0, 227));
  transition: 1s ease;
  width: 130px;
  margin: 3px;
  border-radius: 30px;
  padding: 5px 0px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.194);
}
.underbar-products h2:hover {
  scale: 1.1;
}
.underbar-products li {
  border-bottom: none;
  justify-content: center;
  text-align: center;
}

/**header**/
.header-icon button {
  justify-content: center;
  text-align: center;
  align-items: center;
  margin-top: -3px;
}
.header-icon {
  font-size: 22px;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  column-gap: 0.8rem;
}
.header-icon .bx {
  color: white;;
}
.header-icon .bx:hover {
  color: var(--yellow-color);
}
#menu-icon {
  color: var(--yellow-color);
  font-size: 24px;
  z-index: 100001;
  cursor: pointer;
  display: none;
}
.search-box {
  position: absolute;
  top: -200%;
  right: 0;
  transform: translate(-50%);
  color: var(--second-color);
  background: var(--main-color);
  width: 160px;
  justify-content: center;
  text-align: center;
  border-radius: 30px;
  padding: 10px 0px;
}

.search-box.active {
  top: 90%;
  margin-right: -20px;
  box-shadow: var(--box-shadow);
  transition: 0.2s all linear;
}

.search-box a {
  margin-left: 5px;
  margin-right: 5px;
  color: white;
  font-size: 20px;
}
.search-box a:hover {
  color: var(--yellow-color);
  transition: 0.3s;
}

/* Rating */

.inv-rating {
  z-index: 600;
  text-align: end;
  margin-right: 30px;
    margin-top: 20px;
}
.slider-wrapper {
  position: relative;
  height: 100%;
  justify-content: center;
  margin: auto;
  overflow: hidden;
}

.content-rating {
  position: absolute; /* důležité pro překrývání */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;
  transform: translateX(-100px); /* počáteční posun */
  transition: 
    opacity 1s ease-in-out, 
    transform 1s ease-in-out, 
    visibility 1s ease-in-out;
  border-radius: 30px;
  z-index: 0;
}

.content-rating.active {
    transition: 1s ease;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 1;
}
.content-rating h3 {
  position: relative;
  z-index: 600;
  color: white;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 10px;
  font-size: 24px;
}

.content-rating b {
  position: relative;
  z-index: 600;
  color: rgb(192, 192, 192);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 400;
  font-size: 18px;
}
.content-rating a {
  display: inline-block;
  position: absolute; 
  bottom: 35px;
  right: 125.5px;
  z-index: 600;
  color: var(--yellow-color);
  background: var(--main-color);
  padding: 8.5px 5px 8.5px 10px;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 12px;
  transition: 1s ease-out;
}
.content-rating a:hover {
   scale: 1.08;
   color: white;
}
.img-rating {
  z-index: 400;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  justify-content: flex-start; 
  align-items: flex-end; 
}
.img-rating img{
  z-index: 400;
  height: 100%;
  width: 100%;
  max-width: 600px;
  object-fit: cover;
  object-position: center;
}

.rating-content {
  transition: 1s ease;
  overflow: hidden;
  background: linear-gradient(to top right, var(--main-color), var(--second-color));
  border-radius: 50px;
  width: 70%;
  margin: auto;
  height: 400px;
  position: relative;
}
.rating-content .icons-rating {
  position: absolute;
  display: flex;
  justify-content: flex-end; 
  align-items: flex-end;   
  height: 100%;
  width: 100%;
  right: 30px;
}
.icons-rating i {
  z-index: 500;
  color: var(--yellow-color);
  background: var(--main-color);
  margin-bottom: 35px;
  margin-right: 5px;
  padding: 10px;
  font-size: 20px;
  border-radius: 15px;
  transition: 1s ease-out;
}
.icons-rating i:hover {
  scale: 1.2;
}


/* Menu */

.menu-content{
  transition: 1s ease;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  width: 70%;
  margin: auto;
  margin-top: -100px;
  transition: 1s ease;
  justify-content: center;
}
.menu-box{
  position: relative;
  width: 100%;
  height: 100px;
  border-radius: 30px;
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  z-index: 900;
}
.menu-box:hover{
  transform: scale(1.03);
}
.menu-box p{
  padding: 0px 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 5px;
  -webkit-text-stroke: 0.8px #ffffff;
  text-shadow: 0px 50px 0px var(--second-color),0px -50px 0px var(--second-color), 0px 0px 20px #ffffff00;
  color: transparent;
  font-weight: 1000;
  font-size: 40px;
  margin-top: 20px;
}

.info-content-port { 
  /*background: linear-gradient(to right bottom, rgb(6, 38, 0), var(--second-color));*/
  backdrop-filter: blur(30px); 
  -webkit-backdrop-filter: blur(30px); 
  border: 2px solid rgba(255, 255, 255, 0.071);
  border-radius: 30px;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  overflow: hidden;
}


/********************/

.stars .bx {
  color: var(--main-color);
}

.footer {
  color: rgb(255, 255, 255);
}
.footer a{
  color: rgb(255, 255, 255);
}
.footer-box h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-box p {
  font-size: 0.938rem;
  margin-bottom: 10px;
}
.footer-box h3 {
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-box li a {
  color: var(--text-color);
}
.footer-box li a:hover {
  color: var(--main-color);
}
.contact {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}
.contact span {
  font-size: 14px;
  display: flex;
  align-items: center;
}
.contact i {
  font-size: 20px;
  margin-right: 1rem;
}
.copyright {
  margin: 10px;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  color: white;
  background: var(--second-color);
}


/*********media query********/


@media (max-width: 1400px) {
  .menu-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 70%;
  }
.menu-box {
    flex: 1 1 100%; /* 2 položky vedle sebe s trochou místa */
  }
}
@media (max-width: 1058px) {
  header {
    padding: 16px 60px;
  }
  section {
    padding: 50px 60px;
  }
  .home-text h1 {
    font-size: 2.4rem;
  }
}
@media (max-width: 991px) {


.navbar .sub-products:hover .underbar-products {
  display: block;
  transition: 1s ease;
}
.underbar-products, .underbar-collection {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  transition: 1s ease;
}
.underbar-products li {
  height: 70px;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.underbar-products h2 {
  padding: auto;
  margin: auto;
}
  .rating-content {
  width: 100%;
}
  .igpost {
  width: 100%;
}

  .menu-content{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    width: 100%;
  }

  header {
    padding: 12px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    background: radial-gradient(circle at bottom, rgba(0, 0, 0, 0.549) 20%, rgb(49, 49, 49)80%);
    backdrop-filter: blur(30px); 
    -webkit-backdrop-filter: blur(30px); 
  }
  header .header-icon {
    display: none;
  }
  #menu-icon {
    display: initial;
  }
  .navbar {
    position: absolute;
    text-align: center;
    top: -570px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at bottom, rgba(0, 0, 0, 0.549) 20%, rgb(49, 49, 49)80%);
    backdrop-filter: blur(30px); 
    -webkit-backdrop-filter: blur(30px); 
    row-gap: 1.4rem;
    padding: 20px;
    transition: 0.3s;
    text-align: center;
  }
  .navbar a {
    width: 100%;
    color: white;
  }
  .navbar.active {
    top: 100%;
    height: 100vh;
  }
  section {
    padding: 50px 4%;
  }
  .home-text h1 {
    font-size: 2rem;
  }
}
@media (max-width: 360px) {
  .search-box {
  left: 250px;
  } 
  header {
    padding: 11px 10%;
  }
  .logo img {
    width: 45px;
  }
  .home-text {
    padding-top: 15px;
  }
  .home-text h1 {
    font-size: 1.4rem;
  }
  .home-text p {
    font-size: 0.8rem;
    font-weight: 300;
  }
  .heading h2 {
    font-size: 1.2rem;
  }
}
