
@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


html {
    scroll-behavior: smooth;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "MedievalSharp", cursive;
    background: rgba(0, 0, 0, 0.7) url(Background_2.png);
    height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: darken;
}





/* Header/navbar */


header {
    background-color: transparent;
    padding: 10px 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

nav .logo img {
    height: 85px; 
    margin-left: -25%;
    margin-top: 5px;
}

nav ul.menu {
    display: flex;
    list-style: none;
    flex-grow: 1;
    justify-content: space-between;
    margin-left: 10px;
}

nav ul.menu li {
    margin-left: auto;
    margin-top: 10px;
}

nav ul.menu li a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 25px;
    padding: 10px 5px;
    display: block;
}




.menu-icon {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}


#menu-toggle {
    display: none;
}


nav ul li a{
    position: relative;
    color: whitesmoke;
    font-size: 20px;
    text-transform: uppercase;
    padding: 5px 0;
}
nav ul li a:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: whitesmoke;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s linear;
}
nav ul li a:hover:before{
    transform: scaleX(1);
    transform-origin: left;
}











/* Sekce domů */

#domu {
    display: flex;
    justify-content: center;
    align-items: center; 
    height: 100vh;
    padding: 0 15px;
}

.intro {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-top: 50px; 
}

.left-content {
    flex: 1;
    padding-right: 1%;
    text-align: left;
    margin-right: 10px;
    padding-right: 5%;
    
}
.left-content .logisko{
    width: 50px ;
    height: auto;


}

h1 {
    font-size: 70px;
    margin-bottom: 20px;
   color: whitesmoke;
   margin-top: -190px; 
   margin-right: 20px; 
}

p {
    font-size: 22px;
    line-height: 1.6;
    max-width: 700px;
    color: whitesmoke;
}

.right-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
}

.drtikul-image {
    max-width: 540px;
    height: auto;
    margin-top: -160px; 
}






/* Sekce schopnosti */

#schopnosti {
    padding: 50px 0;
    text-align: center;
    color: whitesmoke;
    margin-top: 120px;  
}


#schopnosti .logisko {
    width: 150px;
    height: auto; 
    margin-bottom: 3%;
}



#schopnosti h1 {
    font-size: 60px;
    margin-bottom: 30px;
}

.abilities-container {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
    max-width: 1500px;
    margin: 0 auto;
}

.ability {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    display: flex;  
    align-items: center; 
    justify-content: flex-start;  
    box-shadow: 1px 1px 5px whitesmoke;
}

.ability img {
    max-width: 150px;  
    height: auto;
    margin-right: 10px;  
}

.ability h2 {
    font-size: 26px;
    margin-bottom: 10px;
    text-align: left;  
}

.ability p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 500px;  
    text-align: left;  
}
.ability:hover {
    transform: scale(1.05); 
    transition: 0.5s;
}


#variants {
    padding: 40px 15px;
    text-align: center;
    margin-top: 10%;
}

#variants h2 {
    font-size: 36px;
    color: whitesmoke;
    margin-bottom: 30px;
}

.variants-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.variant img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
}



.variant img:hover {
    transform: scale(1.1);
    transition: 1s; 
} 







/* Sekce vydání */
 
#vydani {
    margin: 40px 0;
    padding: 0 15px;
    text-align: center;
    margin-top: 15%;
}

#vydani h1 {
    font-size: 60px;
    color: whitesmoke;
    margin-bottom: 30px;
}

.scroll {
    background-image: url('Random_Events_Scroll.png'); 
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat; 
    width: 95%; 
    max-width: 1800px; 
    height: 700px; 
    margin: 0 auto;
    padding: 40px;
    position: relative;
    color: #fff;
    font-size: 22px;
    line-height: 1.8;
    text-align: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
}


.highlight {
    font-weight: bold;
    color: #301602; 
    font-size: 40px;
    margin-top: 20px; 
}


.description {
    margin: 20px 0; 
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    color: black;
}


.date {
    font-size: 36px; 
    font-weight: bold;
    color: #301602; 
    text-align: center;
    margin-top: 40px; 
    z-index: 1;
}


#platformy {
    margin: 40px 0;
    padding: 20px;
    text-align: center;
   
}

#platformy h2 {
    font-size: 40px;
    color: whitesmoke;
    margin-bottom: 20px;
}

.platformy-icons {
    display: flex;
    justify-content: center;
    gap: 20px; 
    align-items: center;
}

.platformy-icons i {
    font-size: 60px; 
    color: white; 
    transition: transform 0.3s ease-in-out;
}

.platformy-icons i:hover {
    transform: scale(1.1); 
}





/* Sekce sponzoři */

#sponzori {
    text-align: center;
    padding: 40px 20px;
    color: white;
    margin-top: 15%;

   
}

#sponzori h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.sponzori-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.sponzori-container img {
    max-width: 180px; 
    max-height: 80px;
    object-fit: contain; 
}

.diploma-icon {
    font-size: 80px;
    color: white; 
}



/* Sekce kontakt */



#kontakt {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.01);
    margin-top: 5%;
    
}

.kontakt-container {
    max-width: 800px;
    width: 100%;
    text-align: center;  
}

h2 {
    font-size: 40px;
    color: whitesmoke;
    margin-bottom: 20px;
}

h3 {
    font-size: 28px;
    color: whitesmoke;
    margin-bottom: 20px;
}

.contact-info {

    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;

}

.contact-info p {
    font-size: 22px;
    color: whitesmoke;
    line-height: 1.6;
    margin: 10px 20px;
}

.contact-info strong {
    font-weight: bold;
}


.kontakt-image img {
    width: 100%; 
    height: auto;
    border-radius: 8px;
    margin-bottom: 5%;
}





/* Patička */



#footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;  
    text-align: center;  
    padding: 20px 0;  
    width: 100%; 
    box-sizing: border-box; 
}

.footer-container {
    display: inline-block; 
    text-align: center;  
}

.footer-container p {
    margin: 5px 0;
    font-size: 14px;
}












/* Responzivita */


@media (max-width: 768px) {
    #footer {
        padding: 15px 0;  
    }
}


@media (max-width: 768px) {
    .kontakt-container {
        padding: 20px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 24px;
    }
    .contact-info {
        padding: 15px;
    }
}


@media (max-width: 768px) {
    #vydani h1, .highlight {
        font-size: 36px; 
        color: whitesmoke;
        margin-top: 3%;
    }
    #vydani .highlight {
        margin-top: 13%;
    }

    .scroll {
        width: 90%; 
        height: 400px;
        padding: 20px;
        background-image: none;
        background-color: #3333331d; 
    }

    .description {
        font-size: 16px;
        margin: 15px 0;
        color: #fff; 
    }

    .date {
        font-size: 20px; 
        margin-top: 3px;
        color: #fff; 
    }
}


@media (max-width: 1024px) {
    #vydani h1 {
        font-size: 50px; 
    }

    .scroll {
        width: 95%; 
        height: 600px; 
        padding: 30px; 
    }

    .description {
        font-size: 18px; 
    }

    .date {
        font-size: 32px; 
    }
}


@media (max-width: 768px) {
    .variants-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 480px) {
    .variants-container {
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 768px) {
    .abilities-container {
        grid-template-columns: 1fr;  
        gap: 20px; 
    }

    .ability {
        flex-direction: column; 
        text-align: center; 
    }

    .ability img {
        margin-right: 0;  
        margin-bottom: 20px;  
    }

    .ability p {
        max-width: 100%;  
    }
}


@media (max-width: 768px) {

    nav .logo img {
        height: 80px; 
        margin-left: 0; 
    }


    .menu-icon {
        display: block;
    }

 
    nav ul.menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #131313f1;
        padding: 0;
    }


    nav ul.menu li {
        margin: 10px 0;
        width: 100%;
    }

    nav ul.menu li a {
        text-align: center;
        width: 100%;
        color: whitesmoke;
        font-size: 22px;  
        padding: 15px 0;  
    }

    
    #menu-toggle:checked + .menu-icon + ul.menu {
        display: flex;
    }


    #domu {
        flex-direction: column; 
        align-items: center; 
        padding-top: 50px;
    }

    .intro {
        flex-direction: column;
        text-align: center;
        padding-top: 30px; 
    }

    .left-content {
        padding-right: 0;
    }

   
    .drtikul-image {
        max-width: 80%; 
        margin-top: 20px; 
    }

    h1 {
        font-size: 50px;
        margin-top: -150px; 
    }

    p {
        font-size: 20px; 
        margin-top: -20px; 
    }
}
