/*importované fonty*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Poppins', Courier, monospace;
}

:root{
    /*Barvy*/
    --white-color: #e8e8eb;
    --dark-color: #08080e;
    --primary-color: #ce7725;
    --secondary-color: #ffbe4e;
    --light-color: #cedae7;
    --medium-color: #747e83;

    /*Velikosti písma*/
    --fonts-size-s: 0.9rem;
    --fonts-size-n: 1rem;
    --fonts-size-m: 1.12rem;
    --fonts-size-l: 1.5rem;
    --fonts-size-xl: 2rem;
    --fonts-size-xxl: 2.3rem;
    --fonts-size-xxxl: 2.5rem;

    /*Tloušťka písma*/
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /*Border imigranti (radius)*/
    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;

    /*Maximalní šířka*/
    --site-max-width: 1300px;

}

html{
    scroll-behavior: smooth;
}

/*Pro celou stránku*/
ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    
}

img {
    width: 100%;
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

.section-title {
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
    font-size: var(--fonts-size-xl);

}

.section-title::after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-radius-s);
    background: var(--secondary-color);

}


/*Navbar styly*/
header {
    position: fixed;
    width: 100%;
    z-index: 5;
    background:transparent;
}

header .navbar {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

.navbar .nav-logo{
    max-width: 50px;
    margin-left:0px;
}

.navbar .nav-menu {
    display: flex;
    gap: 10px;

}

.navbar .nav-menu .nav-link {
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--fonts-size-m);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover{
    color: var(--white-color);
    background: var(--secondary-color);
}

.navbar :where(#menu-close-button, #menu-open-button) {
    display: none;
}



.hero-section{
    min-height: 100vh;
    background: rgba(0,0,0,0.4)url(asety/webp/bcg.webp);
    background-blend-mode:darken;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-section .hero-content{
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--white-color);
    justify-content: space-between;

}

.hero-section .hero-content .image{
    margin-right: 10px;
}




.about-section{
    min-height: 100vh;
    background: #08080e;
}

.about-section .about-content{
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--white-color);
    justify-content: space-between;

}

.about-section .about-content .about-details {
     line-height: 30px;
    text-align: center;
    font-size: var(--fonts-size-l);
    margin-right: 10px;

}

.about-section .about-content .about-image{
    margin-left: 100px;
    min-width: 400px;
}


.footer-section {
    padding: 20px 0;
    background: var(--primary-color);
}

.footer-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section :where(.copyright-text, .social-link, .policy-link){
    color: var(--darl-color);
    transition: 0.2s ease;
}

.footer-section .social-link-list{
    display: flex;
    gap: 25px;
}

.footer-section .social-link-list .social-link {
    font-size: var(--fonts-size-l);

}

.footer-section .social-link-list .social-link:hover,
.footer-section .policy-text .policy-link:hover {
    color: var(--secondary-color);
}

.footer-section .policy-text .separator {
    color: var(--white-color);
    margin: 0 5px;
}





/*Responzivní query pro max-width 900px*/
@media screen and (max-width: 900px) {

    :root {
        --fonts-size-m: 1rem;
        --fonts-size-l: 1.3rem;
        --fonts-size-xl: 1.5rem;
        --fonts-size-xxl: 1.8rem;
    }

    body.show-mobile-menu header::before{
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0,0,0,0.2);
    }


    .navbar :where(#menu-close-button, #menu-open-button){
        display: block;
        font-size: var(--fonts-size-l);

    }

    .navbar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px;

    }

    .navbar #menu-open-button {
        color: var(--white-color);
    }
    
    .navbar .nav-menu{
        display: block;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        background: var(--white-color);
        transition: left 0.2s ease;
    }

    body.show-mobile-menu .navbar .nav-menu {
        left: 0;
    }

    .navbar .nav-menu .nav-link {
        color: var(--dark-color);
        display: block;
        margin-top: 10px;
        font-size: var(--fonts-size-l);
    }

     .about-section .about-content {
        gap: 70px;
        flex-direction: column-reverse;
    }

    .about-section .about-content .about-image{
        width: 100%;
        height: 100%;
        max-width: 200px;
    }

    .about-section .about-content .about-details{
        font-size: var(--fonts-size-s);
        margin-top: 70px;
    }
    

   


}

/*Responzivní query pro max-width 640px*/
@media screen and (max-width: 640px) {


     .hero-section .hero-content {
        gap: 0px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column;
        justify-content: center;
    }

    .hero-section .hero-content .title {
        margin-top: 70px;
    }

    .footer-section .section-content {
        flex-direction: column;
        gap: 20px;
    }


}