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

html, body {
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Loader */
#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
}

/* Menú Móvil */
#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0E46A3;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    padding: 2rem;
}

#mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

#mobile-menu li {
    margin-bottom: 1rem;
    text-align: center;
}

#mobile-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    transition: color 0.3s ease;
    padding: 0.75rem;
    border-radius: 5px;
    width: 100%;
    display: inline-block;
    text-align: center;
}

#mobile-menu a:hover {
    background-color: #1E0342;
    color: #fff;
}

.close-menu-button {
    display: flex;
    color: #fff;
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

.mobile-menu-button {
    display: flex;
    color: #0E46A3;
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

/* Encabezado */
#header {
    background-color: #1E0342;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 4rem;
    gap: 3rem;
}

.logo-container img {
    width: 5rem;
    border-radius: 50%;
    border: 0.25rem solid #9AC8CD;
}

/* Menú de Escritorio */
#desktop-menu {
    display: none;
    justify-content:space-between;
    align-items: center;
    width: 100%;
    background-color: #0E46A3;
    padding: 1rem;
    
}

#desktop-menu ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    gap: 1rem;
}

#desktop-menu li {
    margin: 0 1rem;
    align-items: center;
}

#desktop-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

#desktop-menu a:hover {
    background-color: #1E0342;
    color: #fff;
}

/* Secciones Principales */
#register-section, #login-section, #content-section {
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#register-section h2, #login-section h2, #content-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: bold;
}

input, button {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

input {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

button {
    background-color: #0E46A3;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1E0342;
}

/* Estados de Registro e Inicio de Sesión */
#register-status, #login-status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

#register-status.success, #login-status.success {
    color: green;
}

#register-status.error, #login-status.error {
    color: red;
}

/* Alertas */
#alert-message {
    background-color: #ffcccc;
    color: #cc0000;
    padding: 1rem;
    text-align: center;
    border-radius: 5px;
    display: none;
}

/* Footer */
footer {
    background-color: #0E46A3;
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.footer-logo-container img {
    max-width: 90px;
    border-radius: 50%;
    border: 3px solid #fff;
}

.footer-icons-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.footer-links-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.footer-links-container a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-links-container a:hover {
    color: #1E0342;
}

.derechos-reservados {
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Aviso de Cookies */
#cookie-notice {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background-color: #f5f5f5;
    text-align: center;
    display: none;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .logo-container img {
        width: 6rem;
    }

    #desktop-menu {
        display: flex;
    }

    #mobile-menu {
        display: none;
    }

    .close-menu-button {
        display: none;
    }

    .mobile-menu-button {
        display: none;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .logo-container img {
        width: 8rem;
    }

    #desktop-menu {
        display: flex;
    }

    .close-menu-button {
        display: none;
    }

    .mobile-menu-button {
        display: none;
    }

    ul {
        display: flex;
        gap: 1rem;
    }

    #images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .tarjeta h2 {
        display: none;
    }
}













/** {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}
#login-section, #content-section {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}
#login-section h2, #content-section h2 {
    text-align: center;
}
#loginForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#loginForm label {
    font-weight: bold;
}
#loginForm input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#loginForm button {
    padding: 10px;
    background-color: #0E46A3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#loginForm button:hover {
    background-color: #1E0342;
}
#login-status {
    margin-top: 10px;
    text-align: center;
}
#login-status.success {
    color: green;
}
#login-status.error {
    color: red;
}
*/