@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;400;700;900&display=swap');

/* VARIÁVEIS*/
:root {
    --background-light: #FBFCEB;
    --background-dark: #c4b46a;
    --accent-light: #E5E483;
    --text-dark: #000000;
    --text-light: #51532b;
    --divider: #c6bd563d;
}

/* GLOBAL */
html {
    scroll-behavior: smooth;
    font-size: 100%;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-light);
}

/* HEADER */
header {
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--background-dark);
    height: 75px;
}

.textoHeader {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
}

.textoHeader h1 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-top: 28px;
}

/* NAVBAR */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--background-light);
    padding: 10px;
    z-index: 999;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    font-size: 1rem;
}

.navbar li {
    margin-right: 15px;
}

.navbar a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 5px 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #5a5c2fd8;
}

/* MAIN */
main {
    max-width: 90%;
    margin: 0 auto;
}

/* FOOTER */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 60px;
    background-color: var(--background-dark);
}

/* H */

h2, h3, h4, h5 {
    color: var(--text-dark);
}

h2 {
    padding: 20px 0;
    font-size: 1.8rem;
    text-align: start;
}

/* INFO-CONTAINERS */
.info-container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.192);
}

.info-container h2 {
    margin-top: 20px;
    font-size: 1.8rem;
}

.info-container p {
    margin: 10px 0;
    font-size: 1rem;
}

/* RESPONSIVIDADE */

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .textoHeader h1 {
        font-size: 1.5rem;
    }

    .navbar ul {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .map-container iframe {
        height: 350px;
    }

    /* MOBILE (768px) */
    @media (max-width: 768px) {
        .navbar {
            flex-direction: column;
            padding: 15px 0;
        }

        .navbar ul {
            flex-direction: column;
            align-items: center;
        }

        .navbar li {
            margin: 10px 0;
        }

        .textoHeader h1 {
            font-size: 1.8rem;
        }

        .textoHeader p {
            font-size: 0.9rem;
        }

        .info-container {
            width: 100%;
            padding: 15px;
        }

        .map-container iframe {
            height: 300px;
        }

        p {
            font-size: 1rem !important;
        }

        h2 {
            font-size: 1.7rem !important;
        }

        footer p {
            font-size: 1rem !important;
        }
    }

    /* MOBILE S (480px) */
    @media (max-width: 480px) {
        .textoHeader h1 {
            font-size: 1.5rem;
        }

        .navbar ul {
            font-size: 0.8rem;
        }

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

        .map-container iframe {
            height: 250px;
        }

        p {
            font-size: 0.9rem !important;
        }

        h2 {
            font-size: 1.5rem !important;
        }

        footer p {
            font-size: 0.8rem !important;
        }
    }
}
