@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


:root {
    --color-primary: #ffffff;
    --color-secondary: #451f0f;
    --color-tertiary: #f9c987;
    
    --brown-dark: #5e3012;
    --brown-light: #997c64;
    --beige-light: #deceb7;
    --yellow-dark: #f0ca74;
    --yellow-light: #fccc8c;

    --box-shadow-light: 0px 4px 8px rgba(0, 0, 0, 0.1);

    --size-title: clamp(1.5rem, 2vw, 2.5rem);
    --size-subtitle: clamp(1.25rem, 1.75vw, 1.5rem);
    --size-text: clamp(1rem, 1.5vw, 1.25rem);
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    background-color: var(--color-primary);
    color: var(--color-text);

    font-family: 'Arial', sans-serif;
}

.top_text::after {
    content: '';
    width: 100px;
    height: 4px;
    background-color: #f9c987;
    display: block;
    margin: 0.5rem auto;
    margin-bottom: 25px;
}

.presentation-header {
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5);
}

.presentation-header h1 {
    font-size: 3rem;
    font-weight: bold;
}

.presentation-header p {
    font-size: 1.2rem;
}

#header {
    width: 100%;
    height: clamp(60px, 5vw + 10px, 70px);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;

    top: 0;
    left: 0;
    position: sticky;

    padding-right: 20px;
    box-shadow: var(--box-shadow-light);

    background-color: var(--color-tertiary);
}

#logo-link {
    height: 100%;
}

#logo {
    height: 100%;
    margin: 0;
}

#menu {
    display: none;
    position: relative;
    margin-left: auto;
}

#menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

#menu-icon {
    width: 30px;
    height: auto;
}

#menu-box {
    position: absolute;
    top: 100%; 
    right: 0;
    background-color: var(--color-tertiary);
    border-radius: 5px;
    box-shadow: var(--box-shadow-light);
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.5s ease, visibility 0.5s ease; 
    z-index: 999;
}

#menu-box.show {
    opacity: 1; 
    visibility: visible; 
}

#navigation-links-mobile {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 20px;
}

#navigation-links-mobile li {
    list-style-type: none;
    margin: 0; 
    padding: 0; 
    border-radius: 5px;
}

#navigation-links-mobile li a {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 0 auto;
    transition: color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#navigation-links-mobile li:hover {
    box-shadow: var(--box-shadow-light);
    background-color: var(--brown-dark);
}

#navigation-links-mobile li a {
    width: max-content;
}

#navigation-links-desktop {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    list-style-type: none;
    
    gap: 5px;
    margin: 0;
    padding: 0;
}

.navigation-link {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

.navigation-link:hover {
    background-color: var(--brown-dark);
}

.hidden {
    animation: fadeOut 0.5s ease;
}

.show {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    #navigation-links-desktop {
        display: none; 
    }

    #menu {
        display: block; 
    }
}

#footer {
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;

    box-shadow: var(--box-shadow-light);
    background-color: var(--color-tertiary);
}

#social-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.social-icon {
    width: 32px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.social-icon:hover {
    scale: 1.2;
}

#copyright {
    margin-top: 10px;
    color: var(--color-secondary);
}

@media (pointer: coarse) { 
    #whatsapp-web {
        display: none;
    }
}

@media (pointer: fine) { 
    #whatsapp-mobile {
        display: none;
    }
}