/* IMPORTS */
/* @import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Onest:wght@100..900&display=swap');  */
/* font-family: "Onest", sans-serif; */ /* Use a value from 100 to 900 */
/*  font-family: "Comfortaa", sans-serif; */ /* Use a value from 300 to 700 */

/* VARIABLES */
:root{
    /* COLORES */
    --colorEnfasis: #7DBA40;
    --coloWhite: white;
    --colorBlack: black;
    --colorGreey: #898989;
    --colorShadow: rgba(0, 0, 0, 0.25);
    --colorBackground: #EEECEC;
    /* FUENTES */
    --font-title: "Onest", sans-serif;
    --font-text: "Comfortaa", sans-serif;
    --fontSize-medium: clamp(16px, 3vw, 1.2rem);

    /* PESOS */
    --ligth: 300;
    --medium: 500;
    --bold: 600;
}


/* NORMALIZACIÓN */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-text);
    text-decoration: none;
    font-size: 1rem;
    color: var(--colorBlack);
}


::-webkit-scrollbar{
    height: .8rem;
    width: .8rem;
 }
 
 ::-webkit-scrollbar-track{
    background-color: transparent;
 }
 
 ::-webkit-scrollbar-thumb{
    background-color: var(--colorEnfasis);
    border-radius: 5rem;
}

html{
    scroll-behavior: smooth;
}

body{
    font-size: 16px;
}

p{
    font-size: clamp(12px, 3vw, 16px);
}

button{
    background-color: transparent;
    border: none;
}

section, header{
    padding-top: 100px;
}

p, .formulario_label{
    line-height: 200%;
}
u{
    text-decoration: underline;
}

.subtitle{
    font-size: clamp(18px, 8vw, 40px);
    font-family: var(--font-title);
    text-align: center;
    text-transform:uppercase;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
}

.main{
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    overflow: hidden;
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 5em;
}

img{
    max-width: 300px;
}

span{
    color: var(--colorEnfasis);
    font-size: inherit;
    font-family: inherit;
    font-weight: var(--bold);
    text-shadow: 1px 1px 2px var(--colorShadow);
}


 header{
    padding-bottom: 100px;
}

/* NAV */
.nav{
    background-color: var(--coloWhite);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 2em;
    padding: 1em .5em;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}



.nav_item{
    transition-duration: .3s;
    transition-property: color border;
    border-bottom: 2px solid var(--coloWhite);
    padding: 0 .5em;
}

.nav_item:hover{
    border-color: var(--colorEnfasis);
    scale: 1.1;
}

.nav_item--button{
    background-color: var(--colorEnfasis);
    padding: .5em;
    color: var(--coloWhite);
    font-weight: var(--bold);
    border-radius: 5px;
    border: 2px solid var(--colorEnfasis);
}

.nav_item--button:hover{
    background-color: var(--coloWhite);
    color: var(--colorBlack);
    border-color: var(--colorEnfasis);
}

.button_menu{
    color: var(--colorEnfasis);
    font-size: 1.5rem;
    display: none;
}


/* HEADER */
.header{
    display: flex;
    gap: 1em;
    align-items: start;
}
.bienvenida{
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100%;
}

.title{
    font-family: var(--font-title);
    font-size: clamp(20px, 8vw, 80px);
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
}

.bienvenida_description{
    font-size: clamp(16px, 3vw, 20px);
    font-weight: var(--bold);
}

.botonera{
    display: flex;
    gap: 1em;
    width: 100%;
}

.botonera_item{
    width: 100%;
    padding: 1em;
    border-radius: 5px;
    border: none;
    font-weight: var(--bold);
    background-color: var(--coloWhite);
    border: 2px solid var(--colorEnfasis);
    transition-duration: .3s;
    transition-property: background-color, color, scale;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.botonera_item:hover{
    background-color: var(--colorEnfasis);
    color: var(--coloWhite);
    scale: 1.05;

}

.botonera_item--enfasis{
    background-color: var(--colorEnfasis);
    color: var(--coloWhite);
}

.botonera_item--enfasis:hover{
    background-color: white;
    color: var(--colorBlack);
}

.header_containerImg{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo{
    width: 100%;
    max-width: none;
    max-width: 450px;;
    font-weight: var(--bold);
}




/* SOBRE NOSOTROS */
.sobreNosotros{
    display: flex;
    gap: 2em;
}

.sobreNosotros_info{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.sobreNosotros_img{
    border-radius: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.sobreNosotros .subtitle{
    text-align: start;
}




/* VISION */
.vision{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    padding-top: 0;
}

.vision_info{
    width: 300px;
    height: 300px;
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em;
    border: 2px solid var(--colorEnfasis);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    gap: 1em;
    min-width: 300px;
}

.vision_title{
    text-align: center;
    font-size: .8rem;
}

.vision_description{
    text-align: center;
    font-size: .8rem;
}

.vision_img{
    width: 100%;
    border-radius: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}


/* FRASE */

.containerFrase{
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}


.frase{
    font-size: clamp(18px, 8vw, 28px);
    text-align: center;
    font-weight: var(--bold);
}


/* NUESTROS CURSOS */
.cursos{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.cursos .subtitle{
    text-align: center;
}

.containerCursos{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-between;
    padding-top: 150px;
}

.curso{
    padding: 1.5em 1em;
    max-width: 350px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 10px;
    padding-top: 120px;
    background-color: #ffffff;
    margin-bottom: 150px;
    gap: 1em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.curso_name{
    font-weight: bold;
    font-family: var(--font-title);
    font-size: var(--fontSize-medium);
}

.curso_subtitle{
    font-weight: var(--bold);
}

.curso_image{
    border-radius: 100%;
    max-width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border: 4px solid var(--colorEnfasis);
    position:absolute;
    top: -100px;
}

.containerHorarios{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-around;
}

.horarios{
    border-bottom: 2px solid var(--colorEnfasis);
}


/* PLAN DE ESTUDIOS */
.planEstudios{
    display: flex;
    flex-direction: column;
    gap: 3em;
}

.nivelCurso{
    font-weight: 800;
    font-size: var(--fontSize-medium);
}

.temario{
    display: flex;
    gap: 1.5em;
}

.semestre{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.temas{
    text-align: center;
    border: 1px solid black;
    border-radius: 5px;
    transition-duration: .3s;
    transition-property: scale;
}

.semestre_description{
    background-color: var(--colorEnfasis);
    color: var(--coloWhite);
    border: none;
    border-radius: 5px;
    text-align: center;
    transition-duration: .3s;
    transition-property: scale;
}

.semestre_description:hover, .temas:hover{
    scale: 1.01;
}

/* CONVENIOS */

.convenios{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.convenio_img{
    border-radius: 10px;
    box-shadow: 0 0 10px var(--colorShadow);
    width: 100%;
}

.convenio_containerImg{
    max-width: 300px;
    width: 100%;
}

.containerConvenios{
    display: flex;
    flex-direction: column;
    gap: 4em;
    padding-top: 2em;
}

.convenio{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    width: 100%;
    box-shadow: 0 0 10px var(--colorShadow);
    padding: 2em;
    border-radius: 10px;
}

.convenio_info{
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.convenio_button{
    background-color: var(--colorEnfasis);
    padding: 1em;
    border-radius: 5px;
    color: var(--coloWhite);
    max-width: 200px;
    border: 4px solid var(--colorEnfasis);
    transition-duration: .3s;
    transition-property: color, background-color, scale;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.convenio_button:hover{
    background-color: transparent;
    color: var(--colorBlack);
    scale: 1.1;
}



/* ESTUDIANTES DESTACADOS */
.estudiantesDestacados{
    display: flex;
    flex-direction: column;
    gap: 2.5em;
    position: relative;
}

.containerEstudiantes {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
}

.flex-rigth{
    display: flex;
    width: 100%;
    justify-content: end;
}

.estudiante{
    width: 100%;
    display: flex;
    padding: 2em;
    border-radius: 10px;
    border-bottom: 5px solid var(--colorEnfasis);
    max-width: 800px; 
    align-items: center;
    gap: 2em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

.estudiante_img{
    border-radius: 100%;
    border: 5px solid var(--colorEnfasis);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.estudiante_info{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.estudiante_name{
    font-size: var(--fontSize-medium);
}

.estudiante_description{
    font-weight: var(--bold);
}



/* OPINIONES */
.opiniones{
    display: flex;
    flex-direction: column;
    gap: 3em;
    align-items: center;
}
.containerOpiniones{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em;
}

.opinion{
    background-color: var(--colorBackground);    
    padding: 1em;
    border-radius: 10px;
    max-width: 350px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.opinion_name{
    font-weight: var(--bold);
}

.opinion_info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opinion_star{
    color: var(--colorEnfasis);
    color: #dfe95a;
}


/* PREGUNTAS FRECUENTES  */
.preguntasFrecuentes{
    display: flex;
    flex-direction: column;
    gap: 2em;
}

details{
    width: 100%;
    text-align: start;
    background-color: var(--colorBackground);
    padding: 1em;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

summary{
    font-size:var(--fontSize-medium);
    font-weight: var(--bold);
}

.response{
    padding-top: 1em;
}

.map{
    border-radius: 10px;
}

/* CONTACTO */
.formulario{
    display: flex;
    flex-direction: column;
    gap: 3em;
}

.form{
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.formulario_input, select{
    padding: 1em;
    border-radius: 5px;
    border: none;
    background-color: var(--colorBackground);
}

.formulario_label{
    font-weight: bold;
    font-size: clamp(12px, 3vw, 16px);
}

.formulario_button{
    background-color: var(--colorEnfasis);
    border: none;
    padding: 1em;
    border-radius: 5px;
    color: var(--coloWhite);
    font-weight: var(--bold);
    border: 4px solid var(--colorEnfasis);
    transition-duration: .3s;
    transition-property: background-color, color, scale;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.formulario_button:hover{
    background-color: var(--coloWhite);
    color: var(--colorBlack);
    scale: 1.01;
}



/* FOOTER */
.footer{
    background-color: var(--colorEnfasis);
    padding: 3em;
    margin-top: 100px;
}


/* NAV FLOTANTE */
.navFlotante{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--coloWhite);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    padding: 1em;
    transform: translateY(-100%);
    transition-duration: transform;
    transition-duration: .5s;
}

.navFlotante_item{
    border-radius: 5px;
    border: 2px solid var(--colorEnfasis);
    width: 100%;
    text-align: center;
    padding: 1em;
    box-shadow: 0 0 4px var(--colorShadow);
}

.navFlotante_item:active{
    background-color: var(--colorEnfasis);
    color: var(--coloWhite);
}

.showMenu{
    transform: translateY(0);
}

/* FOOTTER */
.footer{
    display: flex;
    flex-direction: column;
    gap: 1.8em;
    align-items: center;
}

.footer_description{
    color: var(--coloWhite);
    font-weight: var(--bold);
    max-width: 400px;
    text-align: center;
}

.footer_redes{
    display: flex;
    gap: 2em;
}

.iconRedes{
    color: var(--coloWhite);
    font-size: 1.8rem;
    transition-duration: .3s;
    transition-property: scale;
}

.iconRedes:hover{
    scale: 1.2;
}


/* CALL TO ACTITION */
.callToActition{
    position: fixed;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

.iconCallToActition{
    position: relative;
    color: var(--colorEnfasis);
    padding: 1em;
    font-size: 4rem;
    animation: flotar 2s ease-in-out infinite;
    transition-duration: .3s;
    transition-property: scale;

}

.iconCallToActition:hover{
    scale: 1.2;
}



/* ANIMATION */
.logo {
    position: relative;
    animation: flotar 3s ease-in-out infinite;
  }
  
  @keyframes flotar {
    0% {
      top: 0;
    }
    50% {
      top: -30px;
    }
    100% {
      top: 0;
    }
  }

  #particles-js{
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: -1;
}

/* FLOTANTE INFO CONVENIOS */
.container_infoConvenio{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #ffffff77;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
    visibility: hidden;
    padding: 80px 0;
    
    &::-webkit-scrollbar{
        height: 0rem;
        width: 0rem;
     }
}

.infoConvenio{
    background-color: var(--coloWhite);
    max-width: 1200px;
    padding: 2em 1em;
    box-shadow: 0 0 10px var(--colorShadow);
    display: flex;
    flex-direction: column;
    gap: 2em;
    width: 90%;
    border-radius: 10px;
}

.infoConvenio_button{
    background-color: var(--colorEnfasis);
    padding: 1em;
    border-radius: 5px;
    color: var(--coloWhite);
    border: 4px solid var(--colorEnfasis);
    box-shadow: 0 4px 4px var(--colorShadow);
    transition-duration: .3s;
    transition-property: color, background-color;
}

.infoConvenio_button:hover{
    background-color: transparent;
    color: var(--colorBlack);
}

.infoConvenio_button--close{
    background-color: transparent;
    color: var(--colorBlack);
}

.infoConvenio_button--close:hover{
    background-color: var(--colorEnfasis);
    color: var(--coloWhite);
}

.showConvenio{
    visibility: visible;
}

.convenio_botonera{
    display: flex;
    gap: 2em;
}

.convenio_button--link{
    background-color: transparent;
    color: var(--colorBlack);
    max-width: 200px;
    width: 100%;
    text-align: center;
}

/* ALERT FORMULARIO */
.alertForm{
    border: 4px solid var(--colorEnfasis);
    border-radius: 5px;
    padding: 1em;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-weight: var(--bold);
    box-shadow: 0 4px 10px var(--colorShadow);
}


/* LOADER */
.containerLoader{
    border-radius: 5px;
    border: 4px solid var(--colorEnfasis);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .7em;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.loader {
    width: 35px;
    height: 35px;
    border: 5px solid var(--colorEnfasis);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
} 

      