@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

:root{

    /* Colors */

    --primaryColor: #7223FB;
    --secondaryColor: #9B89C0;
    --black: #1C1D1E;
    --white: #FFFFFF;
    --gray: #F5F5F7;

    /* Fonts */

    --inter: 'Inter', sans-serif;;
    --poppins: 'Poppins', sans-serif;
    --oswald: 'Oswald', sans-serif;
}

/* Text Sizes */
h1, h2, .text-4xl{
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
}

.text-3xl{
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
}

.text-2xl{
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.text-xl{
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.text-lg{
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}

.text-base{
    font-size: 16px;
    line-height: 24px;
}

.text-sm{
    font-size: 14px;
    line-height: 20px;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: var(--inter);
    font-size: 16px;
    line-height: 24px;
    background-color: #fff;
}
html{
    scroll-behavior: smooth;
}
.ancho{
    max-width: 1200px;
    margin: auto;
}

@media screen and (max-width: 768px) {
  .ancho{
    max-width: 740px;
  }

  header .ancho{
    max-width: 760px;
  }
}

.center{
    text-align: center;
}

.hidden{
    display: none;
}

.primaryColor{
    color: var(--primaryColor);
}
.secondaryColor{
    color: var(--secondaryColor);
}

.upArrow{
    text-decoration: none;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    position: fixed;
    box-shadow: 2px 5px 8px rgba(0, 0, 0, 0.333);
    background-color: var(--white);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 100;
    cursor: pointer;
}

header{
    background-color: var(--black);
    width: 100%;
    padding: 10px 0;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
}

.headerContent{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 180px;
    flex-wrap: wrap;
    transition: all 0.3s ease-out;

    & img{
        width: 160px;
    }
}
@media screen and (max-width: 1085px) {
  .headerContent{
    gap: 0;
  }
}

.menuSandwich{
    display: flex;
    justify-content: space-between;
    align-items: center;

    & i{
        display: none;
    }
}

.fa-bars{
    color: var(--white);
    cursor: pointer;
    font-size: 28px;
}



nav{
    max-width: 1200px;
    width: fit-content;
}

nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 0;
    flex-wrap: wrap;
}
nav ul li{
    list-style: none;
    transition: all 0.3s ease-out;

    &:hover{
        transform: scale(110%);
    }
}

nav ul li a{
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
}


.btn{
    font-family: var(--poppins);
    /* font-family: var(--oswald); */
    text-decoration: none;
    color: white;
    transition: all 0.3s ease-out;
    border-radius: 5px;
    background-color: var(--primaryColor);
    display: inline-block;
    padding: 10px 20px;
}

.btnFooter{
  font-family: var(--poppins);
  /* font-family: var(--oswald); */
  text-decoration: none;
  color: white;
  transition: all 0.3s ease-out;
  border-radius: 5px;
  background-color: var(--primaryColor);
  display: inline-block;
  padding: 15px 20px;
}

#btnCloseModal{
    cursor: pointer;
    transition: all 0.3s ease-out;
    &:hover{
        transform: scale(125%);
    }
}

/* Bounce To Right */
.hvr-bounce-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.hvr-bounce-to-right:before {
    border-radius: 5px;
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    /* border: 2px var(--secondaryColor) solid; */
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  .hvr-bounce-to-right:hover, .hvr-bounce-to-right:focus, .hvr-bounce-to-right:active {
    color: var(--secondaryColor);
  }
  .hvr-bounce-to-right:hover:before, .hvr-bounce-to-right:focus:before, .hvr-bounce-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  }

  .cover{
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: var(--black); */
    height: 665px;
    background-image: url(img/coverBack.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

  .blackFilter{
    width: 100%;
    height: 100%;
    background-color: var(--black);
    filter: opacity(60%);
    z-index: 1;
  }

  .coverContent{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    z-index: 2;
    position: absolute;
  }

  .coverBack{
    filter: brightness(60%);
    width: 100%;
    object-fit: cover;
  }

  .coverText{
    color: var(--white);
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 20px;
    text-shadow: 5px 5px 8px rgba(0, 0, 0, 0.451);
  }

  .coverIMG{
    position: relative;
  }

  .pacoFigure{
    width: 365px;
    height: 365px;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }

  .pacoFigure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .collegeLogo{
    width: 100px;
    position: absolute;
    right: 20px;
    bottom: -30px;
  }


  .modalContainer{
    position: fixed;
    z-index: 200;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
  }

  .modal{
    border-radius: 15px;
    padding: 20px;
    background-color: var(--gray);
    width: 70%;
    z-index: 10;
  }

  .modalHeader{
    text-align: end;
  }

  .start{
    text-align: start;
  }

  .modalBody{
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* gap: 60px; */

    .modalText{
        width: 290px;
        display: flex;
        justify-content: center;
        align-items: start;
        flex-direction: column;

    }
  }


/* Why Section */

.why{
    width: 100%;
    background-color: var(--gray);
    padding: 80px 0;
}

.whyContent .sectionHeader{
    text-align: start;
}

.whyCardContainer{
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    transition: all 0.3s ease-out;
}
@media screen and (max-width: 980px) {
  .whyCardContainer{
    max-width: 500px;
    margin: auto;
    margin-top: 20px;
  }
}

.whyCard{
    width: 230px;
    border: 1px gray solid;
    border-radius: 10px;
    background-color: #fff;
    padding: 15px;

    &:hover .cardBody .whyDescription{
        top: 10%;
    }
}

.darkMode{
  background-color: var(--black) !important;
  color: var(--white) !important;
}


.whyCard .cardBody{
    position: relative;
    height: 300px;
    overflow: hidden;
}

.whyDescription{
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 10px;
  flex-direction: column;
  top: 75%;
  transition: all 0.3s ease-out;
}


.whyCard .cardFooter{
    padding-bottom: 10px;
}

/* Section Abilities */
.abilities{
  width: 100%;
  background-color: var(--black);
  padding: 80px 0;
}

.abilitiesContent{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 50px;
}

.abilitiesContent .sectionHeader{
  text-align: center;
  color: white;
  width: 410px;
}

.abilitiesContent .sectionText{
  color: var(--white);
  text-align: center;
}

.abilitiesContainer{
  display: flex;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
}

.abilityItem{
  width: 172px;
  text-align: center;
  line-height: 25px;
  text-align: center;
  transition: all 0.3s ease-out;

  & i{
    color: var(--white);
    font-size: 55px;
    transition: all 0.3s ease-out;
  }

  & p{
    margin-top: 5px;
    color: var(--secondaryColor);
  }
}

.scaleHover{
  transform: scale(105%);
}

/* Portfolio Section */

.portfolio{
  width: 100%;
  background-color: var(--gray);
  padding-top: 80px;
}


.portfolioContent{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}
.portfolioContent .sectionHeader{
  text-align: center;
}

.photoContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 55px;
    flex-wrap: wrap;
}

.portfolioCard{
  width: 390px;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease-out;

  &:hover{
    transform: scale(103%);
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.133);
  }
}

.portfolioCard figure{
  width: 100%;
  height: 160px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  position: relative;
}

.figureCenter{
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolioCard figure img{
  position: absolute;
  width: 100%;
}

.imgForeverYoung{
  top: -264%;
}

.imgTrainingCamp{
  top: -55%;
}

.imgTop0{
  top: 0%;
}

.imgFlyerTaller{
  top: -70%;
}

.portfolioCard .cardFooter{
  background-color: var(--white);
  text-align: center;
  padding: 5px 0;
}

.wave{
  fill: var(--primaryColor);
}

/* Services section */
.services{
  height: 300px;
  width: 100%;
  background-image: url(img/keyboardBack.jpg);
  padding: 80px 0;
  background-repeat: no-repeat;
  background-position: center -50px;
  background-size: cover;
  position: relative;
  background-attachment: fixed;
}

.services::after{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primaryColor);
  background: linear-gradient(180deg, rgba(114,35,251,1) 0%, rgba(0,212,255,0) 83%);
}

.servicesContent{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  color: white;
  padding: 0;
  width: 70%;
}

/* tools Section */

.allTabsContainer{
  margin-top: 20px;
}

.tools{
  width: 100%;
  padding: 80px 0;
  background-color: var(--black);
  color: var(--white);
}


.tabs{
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tabs li{
    list-style: none;
    background-color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    transition: all 0.3s ease-out;
  }

  .tabs li a{
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease-out;

}

.tabs li:hover, .active, .tabs li:hover a{
    background-color: var(--primaryColor) !important;
    color: var(--white) !important;
}

.tabItem{
  padding: 40px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  margin: auto;
}

.tool{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.tool figure{
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.tool figure img{
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
}

/* Video Section */

.videoResponsive{
  background-color: var(--black);
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 0;
  margin: 0;
}

.codingVideo{
  width: 100%;
  height: auto;
}

/* FAQ Section */
.faq{
  padding: 80px 0;
  background-color: var(--gray);
}
.faqContent .sectionHeader{
  text-align: center;
  margin-bottom: 40px;
}

.acordeon{
  width: 800px;
  background-color: var(--white);
  padding: 20px;
  border-radius: 15px;
  margin: auto;
}

.acordeonCard{
  padding: 10px 0;
}

.acordeonCard .cardHeader{
    display: flex;
    justify-content: start;
    align-items: center;
    cursor: pointer;
    gap: 20px;

    & i{
        transition: all 0.3s ease-out;
        color: var(--primaryColor);
    }
}

.acordeonCard .cardBody{
    display: none;
    padding-top: 10px;
}

/* Section Footer */
footer{
  width: 100%;
  background-color: var(--black);
  padding: 20px 0;
}

.footerContent{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 150px;
  transition: all 0.3s ease-out;

  & img{
    width: 160px;
  }
}

@media screen and (max-width: 977px) {
  .footerContent{
    gap: 15px;
  }
}

.middleRect{
  height: 100px;
  width: 2px;
  background-color: var(--white);
}

.footerNav{
  width: fit-content;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.footerNav ul{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0;
}
.footerNav ul li{
  margin: 5px 0;
  list-style: none;
  transition: all 0.3s ease-out;

  &:hover{
    transform: scale(105%);
  }
}

.footerNav ul li a{
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  transition: all 0.3s ease-out;

  &:hover{
    color: var(--secondaryColor);
  }
}