@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap'); /* font na nadpisy */
@import url('https://fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&display=swap'); /* font na texty */
/* CÉLÁ STRÍNKA DEXÍ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Caudex", serif; /* font na texty */
} 

* h1,h2,h3 {
  font-family: "Cinzel", serif; /* font na nadpisy */
}

/* ZDE JSEM NASTAVIL JAK JE TO PRI SCROLLOVANI */
html {
  scroll-behavior: smooth;
}
/* ČÁST UZAVŘENÁ V KOLONKÁCH BODY DEXÍ */
body {
  background: #0b0f1a;
  color: #fff;
  overflow-x: hidden;
}
/* ZDE KONČÍ NASTAVENÍ ANIMACE NAČÍTÁNÍ */
/* HEADER DEXITECKU ZDE SE NECHAZI V CELE SEKCI HEADERU NASE HAMBURGER MENU A I LOGO TAKZE VSE CO SE S NAMI HYBE DOLU A JE TO PRILEPENE NA VRCHU OBRAZOVKY */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(10, 15, 30, 0.8);
  backdrop-filter: blur(10px);
}
/* LOGO VLEVO NAHORE */
.logo img {
  height: 40px;
}
/* NAŠE MENU JAKOBY JAKÝ JE TO ČTVEREC */
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}
nav a:hover {
  color: #cd9948;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #cd9948;
  transition: 0.3s;
}
nav a:hover::after {
  width: 100%;
}
/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

.btn_zpet{
  margin-top: 5%;
  margin-left: 4%;
}

.container{
    width:100%;
    height:70vh;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:60px;
}

button{
    padding:18px 45px;
    font-size:30px;
    background:transparent;
    border:2px solid #cd9948;
    color:#cd9948;
    border-radius:50px;
    cursor:pointer;
}

button:hover{
    background:#cd9948;
    color:#0b1220;
}

.wheelBox{
    position:relative;
    width:620px;
    height:620px;
}

#wheel{
    width:100%;
    transition:3s cubic-bezier(0.17,0.67,0.12,0.99);
}

.arrow{
    position:absolute;
    left:-25px;
    top:50%;
    transform:translateY(-50%);
    width:0;
    height:0;
    border-top:25px solid transparent;
    border-bottom:25px solid transparent;
    border-left:65px solid #cd9948;
}

.popup{
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:520px;
    background:#09111d;
    border:2px solid #cd9948;
    border-radius:25px;
    padding:40px;
    text-align:center;
    color:white;
    z-index:999;
}

.popup h2{
    color:#cd9948;
    font-size:40px;
    margin-bottom:20px;
}

.popup p{
    font-size:24px;
    margin-bottom:25px;
}

.overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.7);
    z-index:998;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: #777;
  font-size: 14px;
  border-top: 1px solid#1f2937; 
  background-color: #00000020;
  bottom: 0;
  position: fixed;
  width: 100%;
}

/* Mresponzivita */
@media (max-width: 900px) {
nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0b0f1a;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    display: none;
    border-left: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
}

nav.active {
    display: flex;
}

.hamburger {
    display: flex;
}

header {
    padding: 15px 20px;
}

.logo img {
    height: 34px;
}

.btn_zpet {
    margin-top: 110px;
    margin-left: 20px;
}

.container {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    height: auto;
    padding: 30px 20px 80px;
}

.wheelBox {
    width: 80%;
    height: 420px;
}

#wheel {
    width: 100%;
}

.arrow {
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 45px solid #cd9948;
    margin-top: -25%;
}

button {
    font-size: 22px;
    padding: 14px 32px;
}

.popup {
    width: 90%;
    padding: 30px 20px;
}

.popup h2 {
    font-size: 30px;
}

.popup p {
    font-size: 20px;
}

footer {
    
}
}

/* ANIMACE */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}