@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;1,700&display=swap');  /* Importando tipo de letra */

 /* Creando librerias utiles */

 *, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --padding-container: 100px 0;
    --color-title: #001A49 ;


    
    --gradient-very-light-red:  hsl(13, 100%, 72%);
    --gradient-light-red: hsl(353, 100%, 62%);
    --gradient-v-gray-blue:  hsl(237, 17%, 21%);
    --gradient-v-d-desatured-blue:  hsl(237, 23%, 32%) ;


    --padding-container: 80px 0;
    --color-grayish-blue: hsl(240, 2%, 79%);
    --color-white: #fff;
    --color-l-red:  hsl(356, 100%, 66%);
    --color-v-l-red:  hsl(355, 100%, 74%);
    --color-v-blue: hsl(208, 49%, 24%);
    --color-v-d-grayish-blue :hsl(207, 13%, 34%);
    --color-v-d-black-blue:hsl(240, 10%, 16%);
}



body {
    font-family: 'Poppins', sans-serif;  /* Aplicando tipo de letra importada */
}

.container{       
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero{
    width: 100%;
    height: 450px;  
    
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
    background-attachment: fixed;
 
}

.hero::before{
    content: "" ;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000018c 0%, #0000018c 100% ), url(../images/admision-fondo01.jpg); 
    background-size: cover ;
    background-position: 50% 60% ;   /* Posicion de la imagen */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: -1;


}



/* ------------------------------------ Nav ------------------------------------ */

.nav{
    --padding-container:0;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 100%;
    width: 100%;
    background-color: #1c52b770;
    padding: 0 30px;
    
}


.nav__title{
    font-weight: 300;
    cursor: pointer;



}

.nav__title2{
    font-weight: 300;
    cursor: pointer;
    width: 140px;
    margin-right: 40px;
 
}

.nav__link{
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column ;
    grid-auto-columns: max-content ;
    gap: 2em;
}

.nav__items{
    list-style:none;
}


.nav__links{
    color: #fff;
    text-decoration: none;
}

.nav__links:hover {
    color: #30e3f0;
    
}


.nav__menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img{
    display: block;
    width: 30px;
}

.nav__close{
    display: var(--show, none);
}


/* ----------------------------------------------------------------  Hero container  ------------------------------------------ */

.hero__container{
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: end;
    gap: 1em;
    
    text-align: center;

}

.hero__title{
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.hero__paragraph{
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.cta{
    display: inline-block;
    background-color: #005da4 ;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}


/* ----------------------------------------------------------- Contenido ----------------------------------------- */

.text__container{
    margin: 0px;
    background-color: #1e2530;
    color: #fff;
    padding: 15px 60px;
    text-align: center;

}

.intro__paragraph{
    line-height: 1.5;
    font-size: 20px;
}

.subtitle{
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
}

.about__paragraph{
    line-height: 1.7;
}

.negrita{
    font-weight: 600;
    line-height: 1.7;
}

.proyects__title{
    margin-bottom: 20px;
	line-height: 1.5;
    
	
}


/* ------------------------------------- como realizar el proceso ------------------------------------------------------------------------------*/




.designed__illustration{
    height: 350px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(../images/admision-02.svg);
}

.designed__illustration--right{
    background-size: cover;
    background-image: url(../images/admision-03.svg);
}

.designed__paragraph{
    color: var(--color-v-d-grayish-blue);
    line-height: 1.5;
    letter-spacing: 1px;
    text-align: center;
    
    margin-top: 20px;
}

.designed__about--margin{
    margin-bottom: 40px;
}

.designed__subtitle{
    font-size: 1.9rem;
    color: var(--color-v-blue);
    text-align: center;
}


.admision__paragraph{
	line-height: 1.5;
	font-weight: 400;
    color: var(--color-v-d-grayish-blue);
    letter-spacing: 1px;
}



.link{
    text-decoration: none;
}


/* --------  Tabla  ---------- */

.table-grid{
    display: grid;
    
    
    
    
}

.container-colum{
    display: flex;
    
    
    
}

.special{
    width: 80%;
    
border-spacing: 5px;
margin-left: auto;
margin-right: auto;
margin-bottom: 1cm;
border: 2px solid  var(--color-v-d-grayish-blue) ;
font-weight: normal;
}

.tema{
    padding: 20px 10px;
}

.tema-1{
    margin-left: 30px;
    margin-top: 20px;
}


/* -------------------- */


.infrastructure{
    --padding-container: 40px 0 80px;
    position: relative;
    color: #fff;
    text-align: center;
}

.infrastructure::before{
    content: "";
    display: block;
    width: 100%;
    top: 30%;
    bottom: 0;
    position: absolute;
    background-color: var(--gradient-v-d-desatured-blue);
    z-index: -1;
    border-radius: 0 100px 0 100px;
}


.infrastructure__title{
    font-size: 2.5rem;
}

.infrastructure__phones{
    width: 100%;
}

.infrastructure__paragraph{
    color:var(--color-grayish-blue);
    line-height: 1.5;
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    
}

/*----------------------------- Footer ------------------------- */

.footer{
    background-color: #1D293f;
    
}


.footer__grid{
	display: grid;
	grid-template-columns: 1fr ;
	
	align-items: center;
    padding-bottom: 30px;
    
}

.nav-2 {
    display: flex; 
    height: 70px;
    align-items: center;
    justify-content: space-around;
  }

.nav--footer{
    background-color: #1d293f;
    
}

.nav__items {
	color: #fff;
	text-decoration: none;
	font-weight: inherit;
}

.nav__items--footer{
    padding: 10px;
    margin-bottom: 15px;
    border: none;
}

.footer__contact{
    grid-column: 1/3;
    grid-row: 1;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 15px;
}

.footer__title{
    font-weight: 400;
color: #fff;
font-size: 2rem;
margin-bottom: 40px;
text-align: center;
text-decoration: none;
}



.footer__icons{
	display: flex;
	justify-content: space-evenly;
    margin-bottom: 30px;
}

.footer__container-icons {
	display: inline-block;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	border: 1px solid #fff;
	border-radius: 50%;
}

.footer__icon {
	color: inherit;
	font-size: 30px;
	text-decoration: none;
	
}

.fab.footer__icon {
	line-height: 60px;
}


.footer__copy{
    text-align: center;
    color: #fff;
    grid-column: 1/3;
    margin-top: 20px;
}

.footer__copyright{
    font-weight: 300;
}


/* ============================================================== Responsive (Media queries) =============================== */


/* ------------ Tabletas --------- */

@media (max-width:814px){

    .nav__title{
        width: 400px;
    }

    .nav__title2{
        
        width: 140px;
    }

    /* ----- Menu de mobile ----- */
    .nav__menu{
        display: block;
    }


    .nav__link--menu{
        position: fixed;
        background-color: #1d293f;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
        border: solid white 1px;
    }

    .nav__link--show{
        --show: block;
        opacity: 1;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;

    }
    /* ---- Hero - nav ---- */

    .hero__container{
        padding-bottom: 120px;
    }

    .hero__title{
        font-size: 2.5rem;
    }

    /* --------------------- main --------------- */

    .intro__paragraph{
        font-size: 17px;
    }

    .table-grid{
        grid-template-columns: 1fr 1fr;
    }
  
    .container-colum{
        flex-direction: column;
    }

    .tema-1{
        margin-left: 0;
        margin-top: 39px;
    }
}


@media (max-width:731px){

    .footer__title{
        font-size: 1.6rem;
    }

    .footer__copy{
        font-size: 0.9rem;
    }

}


/* --- Tableds pequeñas  --- */
@media (max-width:610px){

    .nav__title{
        width: 290px;
    }

    .hero__title{
        font-size: 2rem;
    }

    .nav__title2{
        width: 120px;
    }

    .hero__paragraph{
        font-size: 1.5rem;
    }

    .subtitle{
        font-size: 1.85rem;
    }

    /* --- footer  --- */

    .nav--footer{
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    
    .footer__title{
        font-size: 1.4rem;
    }

    .footer__copy{
        font-size: 0.8rem;
    }  
}

/* -------------------------- Celulares ------------------- */

@media (max-width:510px){

    .nav__title{
        width: 240px;
        
    }

    .nav__title2{
        width: 110px;
        margin-right: 23px;
    }

    .tema-1{
        margin-left: 0;
        
    }

}

@media (max-width:440px){

    .nav__title{
        width: 190px;
    }

    .nav__title2{
        width: 90px;
        margin-right: 20px;
    }
     
    .hero__paragraph{
        font-size: 1.4rem;
    }


    .questions__title{
        font-size: 1rem;
    }
    /* --- Footer --*/

    .footer__title{
        font-size: 1.3rem;
    }
    
    .footer__copy{
        font-size: 0.7rem;
    }
    
    .nav--footer{
        margin-bottom: 30px;
    }
}

@media (max-width:365px){

    .nav__title2{
        margin-right: 10px;
    }

    .nav__title{
        width: 175px;
    }
}

/* --- Mobile firts del main --*/


@media screen and (min-width: 550px){
    
    .none{
        display: block;
    }

 
    /* ---------------------- */

    .subtitle{
        font-size: 2.4rem;   
    }

    .designed{
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .designed__illustration{
        position: absolute;
        left: 55%;
        height: auto;
        top: 0;
        bottom: 0;
        right: 0;
        background-size: contain;
    }

    .designed__container{
        padding:100px 0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .designed__illustration{
        width: 45%;
    }

    
    .designed__texts{
        width: 45%;
    }


    .designed__subtitle{
        font-size: 1.5rem;
        text-align: left;
    }


    .designed__paragraph{
        text-align: left;
    }

    /* ----------------------- */

    .infrastructure{
        margin-top: -90px;
    }

    .infrastructure__container{
        display: flex;
        align-items: center;
    }


    .infrastructure::before{
        top: 20%;
        bottom: 25%;
       
    }

    .infrastructure__texts{
        text-align: left;
    }

    .infrastructure__paragraph{
        width: 100%;
        margin: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }


    /* -------------------------------- */

    

    .designed__illustration--right{
        position: absolute;
        height: auto;
        top: 0;
        bottom: 0;
        background-size: contain;
        width: 60%;
        left: -17%;
        right: 0;
        /* background-color: #000; */
        background-position:left center;
    }

    .designed__container--left{
        flex-direction: row-reverse;
        margin-top: -100px;
    }


   
}
