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

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.background-overlay {
    height: 100vh;
    width: 100%;
    background-image: url('fondo.png'); 
    background-size: cover;
    background-position: center 80%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    padding-top: 25px; 
}

.brand-title {
    color: #32738c; 
    font-size: 3rem;
    margin-bottom: 100px; 
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px); 
    gap: 100px; 
    justify-content: center;
    margin-top: -20px; 
}

.menu-button {
    background-color: #bedbe2; 
    color: #ffffff;
    border: none;
    padding: 28px; 
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.menu-button:hover {
    background-color: #a9c7ce; 
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.btn-centered {
    grid-column: span 2;
    justify-self: center;
    width: 300px;
}

:root {
    --brand-color: #81c1cf;
    --white: #ffffff;
}

.loader-img {
    width: 80px; 
    height: auto;
    animation: spin-custom 1.5s linear infinite; 
    margin-bottom: 20px;
}

@keyframes spin-custom {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f4f7f6; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-text {
    color: #81c1cf;
    font-weight: bold;
    font-family: sans-serif;
    letter-spacing: 1px;
}

.hidden {
    display: none !important;
}