/* CSS pre vsetky stranky */

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

::selection {
    color: black;
    background-color: rgb(253, 211, 211);
}

.logo img {
    max-height: 60px;    
}

body, html {
    overflow-x: hidden;
    background-color: rgb(202, 188, 190);
}

p, h1, h2, h3 {
    max-width: 95vw;
    margin: 0 auto;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "DM Sans", sans-serif;
    font-weight: 800;
}

p, button, a, label, input, textarea, ul, li, td, span {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
}

/* CSS pre navigáciu */
.menu-button {
    background-color: pink;
    color: black;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    display: none; 
}

.navbar {
    opacity: 0;
    transform: translateY(-20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;  
}

.navbar.loaded {
    opacity: 1;
    transform: translateY(0); 
}

.container-nav {
    position: relative;
    z-index: 9999;     
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40%;
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    border-radius: 22px;
    transition: color 0.5s;
    font-family: "Space Grotesk", sans-serif;
}

.menu-button, .nav, .logo {
    margin-top: 30px;
}

.link {
    text-decoration: none;
    font-size: 18px;
    background-color: rgb(181, 150, 119);
    font-family: "Space Grotesk", sans-serif;
    color: rgb(97, 24, 5);
    padding: 16px 24px;
    border: 1px solid rgb(97, 24, 5);
    border-radius: 22px;
    transition: color 0.3s, background-color 0.3s;
}

.link:hover {
    color: rgb(181, 150, 119);
    background-color: rgb(97, 24, 5);
}

@media screen and (max-width: 1210px) {
    .menu-button {
        display: block; 

    }

    .logo img {
        max-height: 45px;
    }

    .nav-link {
        font-size: 24px;
        font-family: "DM Sans", sans-serif;
        text-transform: uppercase;
    }
    .nav {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: pink;
        padding: 50px 20px 20px 20px;
        min-height: 100vh;
        margin-top: 20px;
        z-index: 1000;
        display: none; 
    }

    .nav.open {
        display: flex; 
    }

    .menu-button.open {
        background-color: white;
        color: pink;
    }
    
    .container-nav.menu-open {
        background-color: pink;
    }

    .nav.hidden {
        display: none;
        z-index: -1; 
    }
}

@media screen and (min-width: 1211px) {
    .menu-button {
        display: none !important;
    }
}

@media (max-width: 520px) {
    .logo {
        max-width: 150px;
    }
}

@media (max-width: 425px) {
    nav {
        gap: 150px !important;
    }
}

@media (max-width: 380px) {
    nav {
        gap: 100px !important;
    }
}

/* CSS pre footer */

footer {
    padding-top: 60px;
    background-color: #e3cbcb;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(107, 95, 95);
    padding: 10px;
    border-radius: 100%;
}

.footer-socials img {
    width: 20px;
}

footer div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

footer div a {
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
}

footer p {
    text-align: center;
    padding-bottom: 10px;
}