:root {
    --fuenteHeading:   "Great Vibes", cursive;
    --fuenteHeadings:  "Yellowtail", cursive;
    --fuenteParrafos:  "Amaranth", sans-serif;
    --Verdeo:#096559;
    --Celeste: #8fcdff;
    --blanco: #ffffff;
   --Verdec: #84b2ac;
    --Verdem: #478c83;
    --negro: #000000;
    --gris: #808080;
}
html {
    box-sizing: border-box;
    font-size: 62.5%; /* 1 rem = 10px */    
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: var(--fuenteParrafos);
    font-size: 2rem;
    line-height: 2;
    background-image: repeating-linear-gradient(to top, #e0f9f9 0%, white 100%);
    min-height: 100%;
}


/** Globales **/

.sombra {
    padding: 2rem;
    margin-bottom: 3rem;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 10px;
    -webkit-box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
    -moz-box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
    box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
}

.contenedor {
    width: min(90%, 120rem);
    margin: 0 auto;
}
a {
    text-decoration: none;
    color: var(--gris);
}
h1, h3, h4 {
    line-height: 1.2;
}
h1 {
    font-size: 4.8rem;
    font-weight: normal;
    font-family:Arial, Helvetica, sans-serif;
    margin: 3rem;
    margin-top: 5rem;
    color: var(--Verdeo);
}


@media (max-width: 767px) {
    h2 {
        display: none; 
    }
    p {
        text-align: center;
    }
}


@media (min-width: 768px) {
    h2 {
        font-size: 5rem;
        font: weight 700px; 
        color:var(--blanco);
       font-family: var(--fuenteHeading);
    }
}
h3 {
   font-family:Arial, Helvetica, sans-serif;
    font-size: 5rem;
    text-align: center;
    margin-top: 3rem;
    color: var(--negro);
    font-weight: normal;
}
h4 {
    font-size: 2.8rem;
    color: var(--Verdeo);
    margin-top: 4rem;
    margin-bottom: 2rem;
 
}
img {
    max-width: 100%;
}
/** Utilidades **/
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}
.centrar-texto {
    text-align: center;
}

/** Header **/
.header {
    position: relative;
    background-image: url(../img/WhatsApp\ Image\ 2024-10-09\ at\ 19.39.05.jpeg);
    height: 50rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
@media (max-width: 600px) {
    .header {
        position: relative;
        background-image: url(../img/fondo.jpg);
        height: 50rem;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }

}

/* Sombra con opacidad */
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1; 
}

.header__texto {
    position: relative;
    text-align: center;
    color: var(--blanco);
    margin-top: 4rem;
    z-index: 2; /* Asegura que el texto esté por encima de la sombra */
}
.header__texto, 
.barra {
    position: relative;
    z-index: 2; /* Asegura que el texto y la barra estén por encima de la sombra */
}


@media (min-width: 768px) {
    .header__texto {
        margin-top: 3rem;
        line-height: 1;
    }

}



@media (min-width: 768px) {
    .barra {
        display: flex;
        justify-content: space-between;
        align-items: center;
        
    }
}

@media (min-width: 768px) {
    .navegacion {
        display: flex;
        gap: 2rem;
    }
}
.navegacion a {
    z-index: 2; /* Asegura que los enlaces de navegación estén por encima de la sombra */
}
.navegacion a:hover {
    color: var(--Verdem);
    }

.navegacion__enlace {
    display: block;
    text-align: center;
    font-size: 2rem;
    color: var(--blanco);
}
/*FIN HEADER*/

@media (min-width: 768px) {
    .contenido-principal {
        display: grid;
        grid-template-columns: 2, 1fr;
        column-gap: 4rem;
        justify-content: center;
    }
}

.inicio-text {
    margin: 5rem;
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.3rem;
}

.inicio-2{
    position: relative;
    overflow: hidden;
    width: 1000px; /* Ajusta el ancho del carrusel */
    margin: auto; 
}

.inicio-icon-container{
    display: flex;
    transition: transform 0.5s ease;
    width: 13000px /* Ajusta según el número de íconos */
}

.icono{
    width: 150px; 
    height: 150px; 
    margin: 50px; 
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8); 
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    border-radius: 5px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s; 
}

button:hover {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro al pasar el mouse */
    color: white; 
}

.prev {
    left: 5rem;
}

.next {
    right: 5rem;
}
.inicio-2{
    margin-bottom:5rem;
}

@media (max-width: 767px) {
    .inicio-2 {
        width: 100%; 
    }

    .inicio-icon-container {
        width: 400%; 
    }

    .icono {
        width: 100px;
        height: 100px;
        margin: 50px; 
    }

    button {
        padding: 5px; 
        font-size: 16px; 
    }
}

.botonn {
    background-color: var(--Verdeo);
    color: var(--blanco);
    margin-top: .5rem;
    padding: .5rem 3rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 2rem;
    border:none;
}
.botonn:hover{
    cursor: pointer;
    background-color:var(--Verdem);
    color:black;
}

@media (min-width: 768px) {
    .botonn {
        display: flex;
        margin-left: auto;
        width: fit-content;
    }
}

.botonn--primario {
    background-color: var(--Verdeo);
}
.botonn--secundario {
    background-color: var(--Verdeo);
}

.inicio-3{
    border-top: 1px solid var(--gris);
}

.inicio-3-contenido{
    display: grid;
    grid-template-columns: 2, 1fr;
    column-gap: 4rem;
    justify-content: center;
    margin: 3rem;
 
}
@media (min-width: 768px) {
    .inicio-3-contenido {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10rem;
        gap: 2rem;
    }
}
.contenido-text{

    text-align: center;

}
.indice-3-text{
       font-family: Arial, Helvetica, sans-serif;
       font-size: 2.3rem;
 
}
.mapa{
    border-top: 1px solid var(--gris);
}
.contactoo{
    display: flex;
    font-size: 4rem;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif; 
    color:var(--blanco); 
    background-color:var(--Verdem);
}
.contactoo:hover{
    cursor: pointer;
    color:var(--negro);
    text-transform: uppercase;
}
.datos{
    display: grid;
    grid-template-columns: 2, 1fr;
    column-gap: 4rem;
    justify-content: center;
  
}

@media (min-width: 768px) {
    .datos {
        display: flex;
   justify-content: space-between;
   margin: 3rem;
   align-items: center;
    }
}
.datos_text{
    color: var(--gris);
}
.redes_sociales{
    margin-bottom: 2rem;
}

.footer {
    margin-top: 4rem;
    background-color: var(--Verdeo);
}
.iniciof{
    margin-top: 0%;
}
.red{
    width: 5rem;
    height: 5rem;
}
.Gala{
    display: flex;
    justify-content: center;
    color: white;
    font-size: small;
    margin-bottom: 0%;
}


/** SOBRE NOSOTROS **/
.headerr {
    background-color: var(--Verdeo);
}

@media (min-width: 768px) {
    .sobre-nosotros {
        display: flex;
        align-items: center;
     
    }
}

.nosotros{
    font-family: var(--fuenteParrafos);
    color: var(--blanco);
    font-weight: 300;
}
.logo {
    color: var(--blanco);
    font-family: var(--fuenteHeading);
}

.sobre-nosotros__imagen{
    display: flex;
    width: auto;
    align-items: center;
    justify-content: center;
    justify-items: center;
    margin-bottom: 25px;
}


/** Cursos **/
.curso {
    padding: 3rem 0;
    border-bottom: 1px solid var(--gris);
}
@media (min-width: 768px) {
    .curso {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 2rem;
    }
}
.curso:last-of-type {
   border: none;
}
.curso__label {
    font-family: var(--fuenteParrafos);
    font-weight: bold;
}
.curso__info {
    font-weight: normal;
}
.curso__label,
.curso__info {
    font-size: 1.5rem;
}
.curso__imagen {
    width: 300px; /* Ancho deseado */
    overflow: hidden; /* Opcional, para ocultar el exceso */
}

.curso__imagen img {
    width: 100%; /* Hace que la imagen ocupe todo el ancho */
    height: 100%; /* Hace que la imagen ocupe todo el alto */
    object-fit: cover; /* Opciones: contain, cover, fill, none, scale-down */
}

/** Contacto **/

.contacto-bg {
    background-image: url(../img/married-old-couple-doing-heart-symbol-with-hands.jpg);
    height: 40rem;
    background-size: cover;
    background-repeat: no-repeat;

}

.formulario {
    background-color: var(--blanco);
    margin: -5rem auto 0 auto;
    width: 95%;
    padding: 3rem; 
    border-radius: 10px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

.campo {
    display: flex;
    flex-direction: column; 
    margin-bottom: 1.5rem; 
}

.campo__label {
    text-align: left; 
    margin-bottom: 0.5rem; 
    font-weight: bold; 
   
}

.campo__field {
    border: 1px solid var(--Verdec);
    border-radius: 5px;
    padding: 0.5rem; 
    transition: border-color 0.3s; 
}

.campo__field:focus {
    border-color: var(--Celeste); 
    outline: none; 
}

.campo__field--textarea {
    height: 20rem;
    resize: vertical;
}


/* Estilo del botón */
.boton {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    background-color: var(--Verdeo); 
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s; 
}

.boton:hover {
    background-color: var(--Verdem); 
}

/* MQ */
@media (max-width: 768px) {
    .formulario {
        padding: 2rem; 
    }

    .campo {
        flex-direction: column; 
    }

    .campo__label {
        text-align: left; 
        margin-bottom: 0.5rem; 
    }

    .campo__field {
        font-size:1.5rem; 
    }

    .campo__field--textarea {
        height: 15rem;
    }
}

