/* Estilos básicos y globales */
body {
    background-image: url(archivos/background_centroholisticoluna.png);
    background-size: cover;
    background-position: center;
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-items: center;
    text-align: center;
    align-items: center; /* Alinea contenido en la parte superior */
    box-sizing: border-box;
}

/* p{
    font-family: 'Arial Narrow Bold', sans-serif;
    font-size: 20px;
    color: #ffffff;
    background-color: rgba(116, 116, 116, 0.205);
    font-weight: 900;
    margin: 0;
    padding: 2px 6px;
    border-radius: 10px;
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.336);
} */

.aaa{
    margin: 5vh 0 0 0;
}

a{
    display: inline;
    margin: 1px;
}

img{
    height: 22px;
    width: 22px;
    border-radius: 9px;
}

/* Contenedor que toma hasta el 50% de la altura de la pantalla */
.contact-form {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 8px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 70%;
    max-width: 400px;
    max-height: 55vh; /* Limita la altura al 50% de la pantalla */
    overflow-y: auto; /* Agrega scroll si el contenido excede el espacio */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ajustes para la imagen del logo */

h1{
    align-items: center;
    align-content: center;
    padding-top: 7vh;
    padding-bottom: 4vh;
}

h1 img{
    border-radius: 50%;
    height: 15vh;
    width: 15vh;
    object-fit: cover;
    margin: 0;
}

/* Estilos del formulario */

input {
    background-color: #ffffffc7;
    height: 4px;
}

form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-group {
    margin-bottom: 8px; /* Ajusta el margen entre grupos */
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1rem;
    color: #181818;
}

.form-group input,
.form-group textarea {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4CAF50;
}

.form-group textarea {
    resize: none;
    height: 21px; /* Limita la altura del textarea */
    background-color: #ffffffc7;
}

/* Botón de envío */
.submit-btn {
    padding: 9px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    align-self: center;
}

.submit-btn:hover {
    background-color: #45a049;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.1);
}

h1{
    margin: 8px 0 0 0;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    h1 img {
        height: 15vh;
        width: 15vh;
    }

    .contact-form {
        padding: 9px;
        max-width: 90%;
    }

    .submit-btn {
        padding: 7px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1 img {
        height: 15vh;
        width: 15vh;
    }

    .contact-form {
        padding: 7px;
        max-width: 100%;
    }

    .submit-btn {
        padding: 5px;
        font-size: 0.8rem;
    }

    .form-group label {
        font-size: 12px;
    }
}
