:root {
    --azul-rey: #013473; /* Color predominante */
    --verde: #218341; /* Color para botones */
    --rojo: #E83417; /* Color resaltante */
    --hueso: #F9F9F9; /* Color de fondo */
    --blanco: #FFFFFF; /* Color de letras */
    --morado: #EE82EE; /* Color para áreas específicas */
    --negro: #000000; /* Color para texto */
}

/* Estilo para el video */
.video-grande{
    width: 100%; /* Ocupa todo el ancho del contenedor */
    margin-bottom: 5rem;
    margin-top: 5rem;

}

header{
    margin: 0%;
}

/*Termina sport-section */
/* Ultima revision 24/sep/24 */


.contacto-content{
    width: 100%;
    margin-bottom: 10rem;
    position: relative;
}

.contacto {
    left: 0rem;
    position: absolute;
    display: flex; /* Flexbox para organizar elementos horizontalmente */
    flex-direction: row; /* Elementos en fila */
    width: 60%; /* Ocupa todo el ancho del contenedor */
    height: 100%;
    background-color: var(--azul-rey);
    border-radius: 2rem 0 2rem 0;

}

.info-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 50%;
}

.info-content h2 {
    color: var(--blanco);
    text-align: center;
}

.info-content p {
    color: var(--blanco);
    font-weight: bold;
    margin-bottom: 1rem;
}

.map-content, .phone-content, .mail-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem; /* Espacio entre SVG y texto */
}



/*Mq para configurar el tamaño de la letra*/
.map-content p,
.phone-content p,
.mail-content p {
    display: flex;
    align-items: center;
}

.ubicacion {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
    border: 2rem solid var(--azul-rey);
}


.ubicacion iframe{
    width: 100%;
    height: 100%;
}

/* Aqui termina area contactanos */



/* Estilo para el formulario */
.formulario {
    display: flex; /* Flexbox para alinear contenido interno */
    position: absolute;
    right: 0rem;
    width: 50%; /* Ancho del contenedor */
    height: 100%; /* Altura completa del contenedor padre */

}


.input-text:focus {
    outline: none;
    border: 0.4rem solid var(--verde);
}



/* Contenedor de los campos del formulario */
.contenedor-campos {
    position: absolute; /* Cambiado de absolute a relative para mantener su relación con el formulario */
    display: flex;
    flex-direction: column; /* Coloca los elementos en columna */
    height: auto; /* Ajusta la altura automáticamente según el contenido */
    width: 80%; /* Ocupa el 100% del ancho del formulario */
    justify-content: center;
    align-items: center;
    padding: 1rem; /* Espaciado interno */
    top: 2rem;
    transform: translateY(50%);
    left: 50%;
    transform: translateX(-50%);
}


/* Estilo para los fieldsets */
.formulario fieldset {
    border: none; /* Elimina el borde del fieldset */
    margin: 1rem 0; /* Margen alrededor de los fieldsets */

}

/* Estilo para las leyendas */
.formulario legend {
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--blanco); /* Color blanco para el texto */
}

/* Estilo para las áreas de texto */
.campo {
    margin-bottom: 1rem;
}

/* Altura del textarea */
.campo textarea {
    height: 10rem; /* Ajuste de la altura del textarea */
}

/* Estilo para los input text */
.input-text {
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--blanco); /* Fondo blanco para los inputs */
}


/* Media query para pantallas más grandes */
@media (min-width: 768px) {
    .contenedor-campos {
        display: flex;
        flex-direction: column; /* Mantiene los elementos en columna en pantallas grandes */
        align-items: stretch; /* Asegura que los elementos ocupen todo el ancho disponible */
    }

    /* Estilo para el video */
    .video-grande{
        height: 100%;

    }
}


/*Los botones no tienen borde, en styles css se les quita a todos
  los elementos de tipo button*/


/*El boton de formulario es de tipo button*/
.boton-formulario {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--verde); /* Fondo verde */
    color: var(--blanco); /* Texto blanco */
    text-transform: uppercase; /* Texto en mayúsculas */
    font-weight: bold; /* Texto en negrita */
    border-radius: 2rem; /* Bordes redondeados */
    width: 80%; /* Ancho del botón */
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Ajusta para centrar el botón */
    bottom: 1rem;
}

/*El boton de formulario es de tipo input*/
.formulario input{
    border: none;
}




@media (min-width: 1920px) {

    /* Estilo para el video */
    .video-grande{
        height: 100%;
        margin-top: 5rem;
    }
    .boton-formulario{
        bottom: 1rem;
        font-size: 2rem;
        height: 3.5rem;
    }

    .contacto-content{
        height: 48rem;
    }

    .info-content h2{
        font-size: 5rem;
    }

    .info-content p{
        font-size: 2rem;
        height: 7rem;
        width: 45rem;
    }

    .map-content p,
    .phone-content p,
    .mail-content p {
        font-size: 2.5rem;
        margin: 1rem;
    }

    .map-content svg,
    .phone-content svg,
    .mail-content svg {
        margin-left: 3rem;
        width: 53px;
        height: 53px;
    }

    .ubicacion{
        width: 39%; /* Ancho del contenedor de ubicación */
        right: 1rem;
        border: 1rem solid var(--azul-rey);
    }

    .g-recaptcha-response{
        margin-top: 4.5rem;
        height: 10rem;
        width: 45rem;
    }


}

@media (min-width: 1200px) and (max-width: 1919px) {

    .boton-formulario{
        bottom: 1rem;
        font-size: 2rem;
        height: 3.5rem;
    }

    .contacto-content{
        height: 48rem;
    }

    .info-content h2{
        font-size: 5rem;
    }

    .info-content p{
        font-size: 1.5rem;
        height: 7rem;
        width: 45rem;
    }

    .map-content p,
    .phone-content p,
    .mail-content p {
        font-size: 1.3rem;
        margin: 1rem;
    }

    .map-content svg,
    .phone-content svg,
    .mail-content svg {
        margin-left: 2rem;
        width: 53px;
        height: 53px;
    }

    .ubicacion{
        width: 38%; /* Ancho del contenedor de ubicación */
        right: 1rem;
        border: 1.5rem solid var(--azul-rey);
    }

    .g-recaptcha-response{
    margin-top: 4.5rem;
    height: 10rem;
    width: 27rem;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {

    .boton-formulario{
        bottom: 1rem;
        font-size: 2rem;
        height: 3.5rem;
    }

    .contacto-content {
        height: 100rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contacto,
    .ubicacion{
        height: 48rem;
        width: 90%;

    }



    .contacto{
        left: 50%;
        transform: translateX(-50%);
        bottom: 0rem;
    }

    .ubicacion{
        top: 0rem;
        right: 50%;
        transform: translateX(50%);
        border: 1.5rem solid var(--azul-rey);
    }


    .info-content h2{
        font-size: 4rem;
    }

    .info-content p{
        font-size: 1rem;
        height: 7rem;
        width: 45rem;
    }

    .map-content p,
    .phone-content p,
    .mail-content p {
        font-size: 1.5rem;
        margin: 1rem;
    }

    .map-content svg,
    .phone-content svg,
    .mail-content svg {
        margin-left: 2rem;
        width: 53px;
        height: 53px;
    }

    .g-recaptcha-response{
        margin-top: 4.5rem;
        height: 10rem;
        width: 30rem;
    }
}

@media (min-width: 600px) and (max-width: 899px)  {

    .boton-formulario{
        bottom: 1rem;
        font-size: 2rem;
        height: 3.5rem;
    }

    .contacto-content {
        height: 140rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .contacto{
        height: 86rem;
        width: 90%;
    }

    .contacto{
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0rem;
        bottom: 0rem;
    }
    .ubicacion{
        top: 0rem;
        height: 48rem;
        width: 90%;
        bottom: 0rem;
        right: 50%;
        transform: translateX(50%);
        border: 1.5rem solid var(--azul-rey);
    }

    .info-content{
        height: 38rem;
        width: 90%;
    }

    .formulario{
        bottom: 0rem;
        right: 50%;
        transform: translateX(50%);
        height: 48rem;
        width: 90%;
    }

    .info-content h2{
        font-size: 3rem;
    }

    .info-content p{
        font-size: 1rem;
        height: 7rem;
        width: 45rem;
    }


    .map-content p,
    .phone-content p,
    .mail-content p {
        font-size: 1.8rem;
        margin: 1rem;
    }

    .map-content svg,
    .phone-content svg,
    .mail-content svg {
        margin-left: 2rem;
        width: 53px;
        height: 53px;
    }

    .contenedor-campos{
        width: 100%;
    }

    .campo{
        width: 90%;
    }

    .g-recaptcha-response{
        margin-top: 4.5rem;
        height: 10rem;
        width: 30rem;
    }

}

@media (min-width: 320px) and (max-width: 599px) {

    .video-grande {
        margin-bottom: 0rem;
        margin-top: 6%;
        height: 100%;
    }

    .text-content h2 {
        font-size: 600%;
        position: static;
        margin: 0%;
    }

    .text-content p {
        font-size: 150%;
        position: static;
        text-align: center;
        margin: auto;
        margin-top: 0%;
        margin-bottom: 5%;
    }

    .boton-formulario{
        bottom: 1rem;
        font-size: 2rem;
        height: 3.5rem;
    }

    .contacto-content {
        height: 145rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ubicacion{
        height: 48rem;
        width: 100%;
    }

    .contacto{
        height: 90rem;
        width: 100%;
        border-radius: 0;
    }

    .contacto{
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        bottom: 0rem;
    }

    .ubicacion{
        top: 0rem;
        right: 50%;
        transform: translateX(50%);
        border: 1.5rem solid var(--azul-rey);
    }

    .info-content{
        height: 40rem;
        width: 100%;
        padding: 0;
    }

    .formulario{
        bottom: 0rem;
        right: 50%;
        transform: translateX(50%);
        height: 50rem;
        width: 100%;
    }

    .info-content h2{
        font-size: 3rem;
    }

    .info-content p{
        font-size: 1.2rem;
        height: 8.5rem;
        width: 25rem;
        padding: 0 0;
        margin: 0;
    }


    .map-content p,
    .phone-content p,
    .mail-content p {
        margin: 1rem;
    }

    .map-content svg,
    .phone-content svg,
    .mail-content svg {
        margin-left: 1rem;
        width: 43px;
        height: 43px;
    }

    .contenedor-campos{
        width: 100%;
    }

    .campo{
        width: 100%;
    }

    .g-recaptcha-response{
        margin-top: 7rem;
        height: 10rem;
        width: 30rem;
    }
}
