@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

/* ==
    font-family: 'Roboto', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Red Hat Display', sans-serif;
    font-family: 'Merriweather', serif;
*/



:root{
    --green:#002E01;
    --rojo:#A20B12;
    --gold:#D8B353;
    --rob:'Poppins', sans-serif;
    --red:'Red Hat Display', sans-serif;
    --mon:'League Spartan', sans-serif;;
}

body::-webkit-scrollbar{
    display: none;
}

*{
    margin: 0;
    scroll-behavior: smooth;
}

body{
    background-color:#032803;
}

.landing{
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    justify-content: center;
    background-color: black;
}

.nav{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
    padding-right: 50px;
    z-index: 40;
    align-items: center;
}

.navA{
    margin: 0 30px;
    color: white;
    text-decoration:none;
    font-family: var(--rob);
    z-index: 10;
    transition: all 400ms ease;
    position: relative;
}

.navA:hover{
    transition: all 400ms ease;
}

.navA::after{
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
    transform:scaleX(0);
    transition: all 400ms ease;
    transform-origin: left;
}

.navA:hover::after{
    transform:scaleX(1);
    transition: all 400ms ease;
    transform-origin: left;
}

.logoCont{
    width: 400px;
    height: 120px;
    position: absolute;
    padding-left: 40px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    z-index: 11;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logoMun{
    width: 200px;
    height: 70px;
    background-position: center;
    background-image: url(media/logo\ MUNXICO\ blanco.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.infoLanding{
    width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 5;
}

.mainTitle{
    font-family: var(--mon);
    font-size: 60px;
    width: 750px;
    text-align:center;
}

.CTAcont{
    display: flex;
    margin-top: 20px;
}

.CTA{
    padding: 20px 45px;
    font-family: var(--rob);
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
}

.CTAOne{
    background-color: var(--green);
    color: white;
    margin-right: 0;
    position: relative;
    overflow: hidden;
    z-index: 5;
    transition: all 400ms ease;

}
   
   .CTAOne::before {
    content: '';
    width: 0;
    height: 400%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--rojo);
    transition: .5s ease;
    display: block;
    z-index: -1;
    transition: all 600ms ease;
    border-radius: 50px;

   }
   
   .CTAOne:hover::before {
    width: 125%;
    transition: all 600ms ease;

   }
   
   .CTAOne:hover {
    color: whitesmoke;
    transition: all 600ms ease;
   }
   

.CTATwo{
    background-color: white;
    color:var(--blue);
    position: relative;
    overflow: hidden;
    z-index: 5;
    transition: all 600ms ease;
}

   
.CTATwo::before {
    content: '';
    width: 0;
    height: 310%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--bck);
    border-radius:50px;
    transition: .5s ease;
    display: block;
    z-index: -1;
    transition: all 600ms ease;

   }
   
   .CTATwo:hover::before {
    width: 110%;
    transition: all 600ms ease;

   }
   
   .CTATwo:hover {
    color: white;
    transition: all 600ms ease;
   }

.countCont{
    margin-top: 60px;
    display: flex;
    width:800px;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.cont{
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
    flex-direction: column;
}

.big-txt{
    font-family: var(--mon);
    font-size: 70px;
}

.cont span{
    font-family: var(--red);
    font-size: 20px;
}

.backPhoto{
    width:100%;
    height: 100%;
    position: absolute;
    top: 0;
    left:0;
    background-image: url(media/congreso-camara-diputados.jpeg);
    background-position: center;
    background-size: cover;
    z-index: 2;
    opacity: 44%;
}

.fecha{
    text-align: center;
    width:100%;
    margin-top: 20px;
}


/* == burger == */
.burger{
    position: absolute;
    top: 0;
    right:0;
    z-index: 100;
    display: block;
}

.hamburger {
    cursor: pointer;
    z-index: 12;
    position: absolute;
    top: 40px;
    right: 50px;
    z-index: 100;
    border-radius: 100%;
    display: none;
  }
  
  .hamburger input {
    display: none;
  }
  
  .hamburger svg {
    /* The size of the SVG defines the overall size */
    height:40px;
    /* Define the transition for transforming the SVG */
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .line {
    fill: none;
    stroke: var(--gold);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    /* Define the transition for transforming the Stroke */
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .line-top-bottom {
    stroke-dasharray: 12 63;
  }
  
  .hamburger input:checked + svg {
    transform: rotate(-45deg);
  }
  
  .hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }
  /* = end of burger == */

/* ==media ==== */
@media (max-width:1100px) {
    .logoCont{
        width: 300px;
    }
}


@media (max-width:970px) {
    .logoCont{
        width: 100%;
        justify-content: center;
    }

    .nav{
        padding-right: 0;
        justify-content: center;
        top: 70px;
    }

    .navA{
        font-size: 20px;
    }
}


@media (max-width:800px) {
    .logoCont{
        width: 400px;
        justify-content: center;
        top: 20px;
        z-index: 12;
    }

    .nav{
        padding-right: 0;
        justify-content: center;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        opacity: 90%;
        flex-direction: column;
        z-index: 11;
        transform: translateX(-100%);
        transition: all 500ms ease;
    }

    .navFalse{
        transform: translateX(-100%);
        transition: all 500ms ease;
    }

    .navTrue{
        transform: translateX(0);
        transition: all 500ms ease;
    }

    .navA{
        font-size: 30px;
        margin: 20px 0;
    }

    .burger{
        display: block;
        top: 20px;
    }

    .hamburger{
        display: block;
        height: 100px;
    }

    .infoLanding{
        width: 650px;
    }

    .mainTitle{
        font-size: 45px;
        width: 650px;
    }

    .countCont{
        width: 650px;
    }

    .mainFalse{
        display: none;
    }

    .mainTrue{
        display: block;
    }
}

@media (max-width:600px) {
    .infoLanding{
        width: 450px;
    }

    .mainTitle{
        font-size: 36px;
        width: 420px;
    }

    .countCont{
        width: 470px;
    }

    .big-txt{
        font-size: 40px;
    }

    .logoCont{
        width: 300px;
    }
}

@media (max-width:460px) {
    .infoLanding{
        width: 400px;
    }

    .mainTitle{
        font-size: 28px;
        width: 350px;
    }

    .countCont{
        width: 350px;
    }

    .big-txt{
        font-size: 40px;
    }

    .logoCont{
        width: 300px;
    }

    .CTA{
        font-size: 12px;
        padding:15px 30px;;
    }

    .logoCont{
        width: 240px;
        top: 30px;;
        left: 30px;
        flex-direction:row;
        justify-content: flex-start;
        align-items: flex-start;
        padding-left: 0;
    }

    .logoMun{
        background-size: 70%;
        width: 120px;
    }

    .logoPrepaTec{
        background-size: 100%;
        margin-left: 0;
        width: 120px;
    }

    .burger{
        top: 5px;
        height: 20px;
    }
}

/* == animations == */

.yAnim{
    animation: yAnim ease forwards 1s 1;
    opacity: 0;
}

@keyframes yAnim {
    0%{
        opacity: 0;
        transform:translateY(50px);
    }

    100%{
        opacity: 100%;
        transform:translateY(0);   
    }
}

.xAnim{
    animation: xAnim ease forwards 1s 1;
    opacity: 0;
}

@keyframes xAnim {
    0%{
        opacity: 0;
        transform:translateX(-50px);
    }

    100%{
        opacity: 100%;
        transform:translateX(0);   
    }
}

/* == info  == */
/* === message quote == */

.message{
    width: 100%;
    height: 100vh;
    background-color: rgb(12, 12, 12);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

.messageP{
    color: var(--gold);
    font-size: 58px;
    text-align: center;
    width:1000px;
    text-align: left;
    color: var(--gold);
    transition: all 10000ms ease;
}

@media (max-width:1050px) {
    .messageP{
        color: var(--gold);
        font-size: 50px;
        text-align: center;
        width:600px;
        text-align: left;
        color: var(--gold);
    }
}


@media (max-width:620px) {
    .messageP{
        color: var(--gold);
        font-size:45px;
        text-align: center;
        width:450px;
        text-align: left;
    }
}

@media (max-width:500px) {
    .messageP{
        color: var(--gold);
        font-size:32px;
        text-align: center;
        width:280px;
        text-align: left;
    }
}


/* == about == */

.about{
    width: 100%;
    height: 700px;
    background-color: var(--bck);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.leftAbout{
    width: 50%;
    height: 100%;
    background-image: url(media/camaraDos.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    filter: saturate(130%);
    top: 0;
    left:0;
}

.rightaAbout{
    width: 50%;
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    right:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding-left: 60px;
}

.abtTitle{
    font-family: var(--red);
    font-size: 60px;
    margin-bottom: 20px;
}

.abtP{
    width: 500px;
    font-size: 18px;
    font-family: var(--rob);
    animation-duration: 400ms;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.leng{
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.lengAction{
    margin-right: 20px;
    cursor: pointer;
    transition: all 400ms ease;
}

.lengAction:hover{
    color: var(--blue);
    transition: all 400ms ease;
}

.lengSelected{
    font-weight: 900;
    font-size: 20px;
}

.lengInselected{
    font-weight: normal;
    font-size: 16px;
}

.animText{
    animation: animTextTrans ease 1s forwards 1;
}

@keyframes langAnim {
    0%{
        opacity: 0;
        transform: translateY(20px);
    }

    100%{
        opacity: 100%;
        transform: translateY(0);
    }
}


@media (max-width:1320px) {
    .abtP{
        width: 400px;
        font-size: 14px;
    }
}

@media (max-width:1120px) {
    .abtP{
        width: 400px;
        font-size: 14px;
    }
}

@media (max-width:1000px) {
    .abtP{
        width: 700px;
        font-size: 16px;
    }

    .about{
        flex-direction: column-reverse;
        height: 1000px;
    }

    .leftAbout{
        width: 100%;
        height: 500px;
        position: relative;
    }

    .rightaAbout{
        width: 100%;
        height: 500px;
        position: relative;
        justify-content: center;
        align-items: center;
        padding-left: 0;
    }
}

@media (max-width:750px) {
    .abtP{
        width: 500px;
        font-size: 13px;
    }

}

@media (max-width:570px) {
    .abtP{
        width: 310px;
        font-size: 13px;
    }

    .abtTitle{
        font-size: 30px;
    }

    .leftAbout{
        width: 100%;
        height: 400px;
    }

    .rightaAbout{
        width: 100%;
        height: 600px;
    }

}

/* == location == */
.location{
    width:100%;
    height: 700px;
    overflow: hidden;
    position: relative;
    background-color: var(--rojo);
    background-color: white;
}

.rightCampus{
    width: 50%;
    height: 100%;
    background-color: black;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(media/congreso-camara-diputados.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.leftCampus{
    width: 50%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left:100px;
    box-sizing: border-box;
}

.campusTitle{
    font-family: var(--red);
    font-size: 40px;
    margin-bottom: 10px;
    width:500px;
}

.locationP{
    width: 500px;
    font-size: 18px;
    font-family: var(--rob);
}

.locationA{
    margin-top: 25px;
    display: flex;
    padding: 10px 40px;
    background-color: var(--green);
    color: white;
    text-decoration: none;
    font-family: var(--red);
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: all 400ms ease;
    font-size: 17px;

}

.locationA:hover{
    transform:scale(1.01) translateY(-10px) rotateX(10deg) rotateY(10deg);
    box-shadow: -11px 11px black;
    transition: all 400ms ease;
    background-color: var(--rojo);
}

.locationA:hover .logoMap{
    transform:scale(1.1) translateY(-10px);
    transition: all 400ms ease;
}

.logoMap{
    width:40px;
    height: 40px;
    background-image: url(media/maps-and-location.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 10px;
    transition: all 400ms ease;
}

/* ==media ===  */
@media (max-width:1120px) {
    .campusTitle{
        font-size: 48px;
        width:400px;
    }

    .locationP{
        width:400px;
    }

    .leftCampus{
        padding-left: 0;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width:960px) {
    .location{
        display: flex;
        height: 900px;
        flex-direction: column-reverse;
    }

    .rightCampus{
        height: 50%;
        width: 100%;
        top: auto;
        bottom: 0;
        right: 0;        
        z-index: 11;
    }

    .leftCampus{
        width: 100%;
        height: 50%;
        top: 0;
        left: 0;
    }
}



@media (max-width:470px) {
    .campusTitle{
        font-size: 32px;
        width:300px;
    }

    .locationP{
        width:300px;
    }
}

/* == SCHEDULE PART == */
.schedule{
    width: 100%;
    height: 700px;
    background-color: var(--rojo);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.leftPhoto{
    width: 60%;
    height: 100%;
    background-image: url(media/angel.jpg);
    background-size: cover;
    filter:saturate(120%);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    filter: saturate(130%);
    top: 0;
    left:0;
}

.rightShc{
    width: 40%;
    height: 100%;
    background-color: var(--blue);
    position: absolute;
    top: 0;
    right:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding-left: 60px;
}

.mainSch{
    font-family: var(--red);
    font-size: 55px;
    color: white;
}

.infoSch{
    width: 400px;
    color: white;
    font-size: 18px;
    font-family: var(--rob);
}


@media (max-width:1320px) {
    .infoSch{
        width: 400px;
    }
}


@media (max-width:1160px) {
    .infoSch{
        font-size: 16px;
        width: 300px;
    }

    .schedule{
        flex-direction: column-reverse;
        height: 1000px;
    }

    .leftPhoto{
        width: 100%;
        height: 700px;
        position: relative;
    }

    .rightShc{
        width: 100%;
        height: 300px;
        position: relative;
        justify-content: center;
        align-items: center;
        padding-left: 0;
    }
}


@media (max-width:570px) {
    .infoSch{
        width: 300px;
        font-size: 14px;
    }

    .mainSch{
        font-size: 36px;
    }

    .leftPhoto{
        width: 100%;
        height: 600px;
    }

    .rightShc{
        width: 100%;
        height: 400px;
    }
}

.CTASch{
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.sheets{
    padding:20px 40px;
    font-size: 16px;
    font-family: var(--red);
    text-decoration: none;
    background-color: white;
    border-radius: 5px;
}

.white{
    display:flex;
    justify-content: center;
    align-items: center;
    width:50px;
    background-color: white;
    height: 50px;
    margin-left: 20px;
    border-radius: 100%;
    transition: all 300ms ease;
}

.insta{
    width: 25px;
    height: 25px;
    background-image: url(media/instagram.png);
    background-size:cover;
    background-repeat: no-repeat;
}

.white:hover{
    transition: all 300ms ease;
    background-color: var(--bck);
}

/* == doubts == */

.doubts{
    width:100%;
    height: 100px;
    position: relative;
    background-color: white;
    display:none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dobTitl{
    font-family: var(--red);
    font-size: 20px;
    width: 70%;
}

.relavv{
    width: 100%;
    height: auto;
    padding: 40px 0 60px 0;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
}

.titleRelavv{
    font-family: var(--mon);
    font-size: 40px;
    text-align: center;
    width: 600px;
}

.contactRelavv{
    padding: 14px 40px;
    border: solid 3px white;
    text-decoration: none;
    font-family: var(--red);
    color: white;
    margin-top: 14px;
    transition: all 300ms ease;
}

.contactRelavv:hover{
    transition: all 300ms ease;
    background-color: white;
    color: black;
    border: solid 3px black;
    box-shadow: -10px 10px 0 white;
    transform: rotateX(20deg), rotateY(20deg);
}

