* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cinzel", serif;
    text-transform: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo {
    z-index: 1;
    height: 105px ;
    width: 105px ;
}


header .navbar ul {
    list-style: none;
}

header .navbar ul li {
    position: relative;
    float: left;
}

header .navbar ul li a {
    font-size: 2rem;
    padding: 20px;
    color: #FDC52C;
    display: block;
    font-weight: bolder;
}

header .navbar ul li a:hover {
    color: gray;
    transition-duration: 1s;
}

#menu-bar{
    display: none;
}

header label{
    font-size: 25px;
    color: #FDC52C;
    cursor: pointer;
    display: none;
    padding: 15px;
}

header label:hover{
    color: #fff;
    transition-duration: 1s;
    
}

@media(max-width:991px){
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Rubik', sans-serif;
        text-transform: none;
        text-decoration: none;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    header{
        padding: 20px;
    }

    header label{
        display: initial;
    }

    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #181733;
        border-top: 1px solid rgba(0, 0, 0,.1);
        display: none;
    }

    header .navbar ul li{
        width: 100%;
    }

    header .navbar ul li ul{
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li{
        background: #eee;
    }

    header .navbar ul li ul li ul{
        width: 100%;
        left: 0;
    }

    #menu-bar:checked ~ .navbar{
        display: initial;
    }

    h1{
        padding-top: 40%;
    }

}

@media(max-width:400px){
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Rubik', sans-serif;
        text-transform: none;
        text-decoration: none;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    header{
        padding: 20px;
    }

    header label{
        display: initial;
    }

    header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #181733;
        border-top: 1px solid rgba(0, 0, 0,.1);
        display: none;
    }

    header .navbar ul li{
        width: 100%;
    }

    header .navbar ul li ul{
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li{
        background: #eee;
    }

    header .navbar ul li ul li ul{
        width: 100%;
        left: 0;
    }

    #menu-bar:checked ~ .navbar{
        display: initial;
    }

    h1{
        padding-top: 40%;
        font-size: 10%;
    }

    h2{
        text-align: center;
    }

}

header .navbar ul li a {
    font-size: 2rem;
    padding: 20px;
    color: #FDC52C;
    display: block;
    font-weight: bolder;
    position: relative; /* Abychom mohli použít pseudo-elementy */
}

header .navbar ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px; /* Výška čárky */
    background-color: #FDC52C;
    transition: width 0.3s ease;
}

header .navbar ul li a:hover::after {
    width: 100%; /* Čárka se roztáhne na 100% šířky při hoveru */
}

/* Obecné nastavení *

/* Obecné nastavení */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Obecné nastavení */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrum obsahu na stránce */
    padding: 50px;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('Background_2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Textová sekce */
.testimonial {
    flex: 1;
    text-align: left; /* Text začne zleva */
    max-width: 600px;
    color: #fff;
    padding-left: 100px; /* Posunutí textu více k centru */
    padding-right: 20px; /* Malá mezera mezi textem a obrázkem */
}

.testimonial h1 {
    font-size: 8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.testimonial p {
    font-size: 1.5rem;
}

/* Obrázková sekce */
.drtikul {
    flex: 1;
    display: flex;
    justify-content: center; /* Obrázek bude vycentrován na střed */
}

.drtikul-images {
    display: flex;
    justify-content: center;
}

.drtikul-img {
    max-width: auto; /* Maximální šířka obrázků */
    height: 800px;
}

/* Content Section - Text a obrázek */
.content-section {
    display: flex;
    align-items: center;
    justify-content: center; /* Zarovnání na střed */
    background-color: #fff;
    padding: 60px 30px;
    min-height: 60vh;
    text-align: left; /* Text začne zleva */
}

.content-text {
    flex: 1;
    color: #333;
    padding-left: 250px; /* Posunutí textu více k centru */
    padding-right: 20px;
    justify-content: left;
}

.content-text h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: bolder;
}

.content-image {
    flex: 1;
    display: flex;
    justify-content: center; /* Obrázek bude vycentrován na střed */
    align-items: right; /* Vertikálně centrováno */
}

.content-image img {
    max-width: 450px;
    height: auto;
    border-radius: 10px;
}

/* Responzivita pro menší obrazovky */
@media (max-width: 991px) {
    .wrapper {
        flex-direction: column;
        text-align: center;
    }

    .testimonial {
        max-width: 100%;
        text-align: center;
        padding-left: 0;
    }

    .drtikul {
        justify-content: center;
        margin-top: 20px;
    }

    .drtikul-images {
        flex-direction: column; /* Obrázky budou ve sloupci na menších obrazovkách */
        gap: 20px; /* Mezery mezi obrázky budou zachovány */
    }

    .drtikul-img {
        width: 80%; /* Obrázky budou mít širší šířku na menších obrazovkách */
        max-width: 250px; /* Maximální šířka pro menší obrazovky */
    }

    .content-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .content-text {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .content-image {
        justify-content: center;
        margin-top: 20px;
    }

    .content-image img {
        max-width: 100%;
    }
}

/* Content Section - Obrázek vlevo a text vpravo */
.content-section.reversed {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrum obsahu na stránce */
    background-color: #fff;
    padding: 60px 30px;
    text-align: left; /* Text začne zleva */
}

.content-section.reversed .content-text {
    flex: 1;
    color: #333;
    padding-left: 20px; /* Malá mezera mezi textem a obrázkem */
}

.content-section.reversed .content-text h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-section.reversed .content-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.content-section.reversed .content-image {
    flex: 1;
    display: flex;
    justify-content: center; /* Obrázek bude vycentrován na střed */
    align-items: center; /* Vertikálně centrováno */
}

.content-section.reversed .content-image img {
    max-width: 450px;
    height: auto;
    border-radius: 10px;
}

/* Responzivita pro menší obrazovky */
@media (max-width: 991px) {
    .content-section.reversed {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .content-section.reversed .content-text {
        max-width: 100%;
        padding-left: 0;
    }

    .content-section.reversed .content-image {
        justify-content: center;
        margin-top: 20px;
    }

    .content-section.reversed .content-image img {
        max-width: 100%;
    }
}

/* Sekce pro schopnosti */
.abilities-section {
    text-align: center;
    padding: 60px 30px;
    background-color: #f4f4f4;
}

.abilities-section h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.abilities-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ability {
    flex: 1;
    max-width: 400px;
    padding: 20px;
    margin: 0 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Zarovná text a obrázek k dolnímu okraji */
}

.ability-header h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.ability p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ability-image {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Zarovná obrázek k dolnímu okraji */
    margin-top: auto; /* Zajišťuje, že obrázek se bude držet dole */
}

.ability-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Dělící čára mezi schopnostmi */
.divider {
    width: 2px;
    background-color: #000;
    margin: 0 30px;
}

/* Responzivita pro menší obrazovky */
@media (max-width: 991px) {
    .abilities-container {
        flex-direction: column;
    }

    .divider {
        display: none;
    }

    .ability {
        margin-bottom: 30px;
    }
}

/* Stylování pro odpočet */
#countdown-title {
    font-size: 3rem; /* Velikost nadpisu */
    font-weight: bold; /* Tučné písmo */
    color: black; /* Barva textu */
    margin-bottom: 20px; /* Mezera pod nadpisem */
    text-align: center; /* Vycentrování nadpisu */
    text-transform: uppercase; /* Velká písmena */
    letter-spacing: 2px; /* Mezera mezi písmeny pro efekt */
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0167b2;
    color: #fff;
    border-radius: 10px;
    padding: 20px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 2rem;
}

/* Styl pro jednotlivé části odpočtu */
#time {
    font-size: 3rem;
    font-weight: bold;
    color: #f4f4f4;
}

/* Případně animace pro odpočet */
@keyframes countdown-animation {
    0% {
        color: black;
    }
    50% {
        color: #fff;
    }
    100% {
        color: black;
    }
}

#time {
    animation: countdown-animation 1.5s infinite;
}

/* Přizpůsobení pro mobilní zařízení */
@media (max-width: 768px) {
    #countdown {
        flex-direction: column;
        padding: 10px 20px;
    }

    #time {
        font-size: 2.5rem;
    }
}

/* Stylování pro nadpis ikonek */
#icons-title {
    font-size: 3rem;
    font-weight: bold;
    color: black;
    margin: 30px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Cinzel", serif; /* Stejný font jako v předchozích sekcích */
    padding-top: 30px;
}

/* Stylování pro kontejner ikon */
.icons-container {
    display: flex;
    justify-content: center;
    gap: 50px; /* Větší mezera mezi ikonami */
    flex-wrap: wrap;
}

/* Styl pro jednotlivé ikony */
.icon-item {
    width: 120px; /* Zvýšení velikosti */
    height: 120px; /* Zvýšení velikosti */
    border-radius: 50%; /* Kulatý tvar */
    background-color: #0167b2; /* Pozadí pro ikony */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efekt při najetí myší */
.icon-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Styl pro obrázky v ikonkách */
.icon-img {
    max-width: 60%;
    max-height: 60%;
}

/* Responzivita pro mobilní zařízení */
@media (max-width: 768px) {
    #icons-title {
        font-size: 2.5rem; /* Zmenšení velikosti nadpisu na mobilu */
    }

    .icons-container {
        gap: 30px; /* Zmenšení mezery mezi ikonami */
    }

    .icon-item {
        width: 100px; /* Zmenšení velikosti ikon */
        height: 100px; /* Zmenšení velikosti ikon */
    }

    .icon-img {
        max-width: 50%;
        max-height: 50%;
    }
}

.contact-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: scale(1.05);
}

.contact-item .icon {
    margin-bottom: 15px;
}

.contact-item .icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-item p {
    font-size: 1.2rem;
    color: #666;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .contact-item {
        width: 100%;
        max-width: 300px;
    }
}

.sponsors-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.sponsors-section h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.sponsors-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s ease-in-out;
}

.sponsor-item {
    width: 200px;
    height: auto;
    transition: transform 0.5s ease;
}

.sponsor-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sponsors-logos.show {
    opacity: 1;
    transform: translateX(0);
}

.sponsor-item:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .sponsors-logos {
        flex-direction: column;
    }

    .sponsor-item {
        width: 150px;
    }
}

/* Obecné nastavení pro animaci sekcí */
.animate-section {
    opacity: 0;
    transform: translateY(50px); /* Sekce začnou skrytě a níže */
    transition: all 1s ease-in-out;
}

/* Třída, která se přidá pro zobrazení sekce */
.animate-section.show {
    opacity: 1;
    transform: translateY(0); /* Sekce se "zjeví" a vrátí se na své původní místo */
}

/* Příklad, jak definovat sekci, která bude animována */
.sponsors-section,
.testimonial,
.drtikul,
.content-section,
#contact-section,
.sponsors-logos {
    margin-bottom: 80px;
}

.sponsors-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.sponsors-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

/* Třídy pro jednotlivé sekce (příklad pro sponzory) */
.sponsor-item {
    width: 200px;
    height: auto;
    transition: transform 0.5s ease;
}

.sponsor-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Pokud chcete větší ikony pro malé obrazovky */
@media (max-width: 768px) {
    .sponsors-logos {
        flex-direction: column;
    }

    .sponsor-item {
        width: 150px;
    }
}

/* Animace pro sekce do strany */
.section {
    opacity: 0;
    transform: translateX(-50px); /* Začneme s pozicí 50px vlevo (pro pohyb zprava, použijeme +50px) */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Animace opacity a pozice */
}

/* Když sekce je v zorném poli */
.section.visible {
    opacity: 1;
    transform: translateX(0); /* Sekce se přesune do své původní pozice */
}


footer {
    background-color: #0167b2; /* Tmavší pozadí */
    color: #fff; /* Bílé písmo */
    text-align: center; /* Text na střed */
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 1rem;
}

footer p {
    margin: 0;
}

