/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600&display=swap');

/*==================== VARIABLES CSS ====================*/
:root {

    /*========== Colors ==========*/
    /* Change favorite color */
    --hue-color: 208;

    /* HSL color mode */
    --first-color: hsl(var(--hue-color), 69%, 61%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);;
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: #fff;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;

    /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== Margenes Bottom ==========*/
    /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;

    /*========== height-width ==========*/
    --min-width: 968px;
    --header-height: 3rem;

    --swiper-navigation-size:25px;
}

/* Font size for large devices */
@media screen and (min-width: var(--min-width)) {
    :root {
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*========== Variables Dark theme ==========*/


/*========== Button Dark/Light ==========*/


/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*==================== REUSABLE CSS CLASSES ====================*/
.section {
  padding: 0rem 0 4rem;
}

.section__title {
  font-size: var(--big-font-size);
  color: var(--title-color);
}

.section__subtitle {
  display: block;
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-3);
}

.section__title, 
.section__subtitle {
  text-align: center;
}

/*==================== LAYOUT ====================*/
.container {
  max-width: 768px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.header {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

/*==================== NAV ====================*/
.nav{
  max-width: 968px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo,
.nav__toggle{
    color: var(--title-color);
    font-weight: var(--font-medium);
}

.nav__logo:hover{
    color: var(--first-color);
}

.nav__toggle{
    font-size: 1.1rem;
    cursor: pointer;
}

.nav__toggle:hover{
    color: var(--first-color);
}
 .exp_yrs::after {
  content: counter(count);
  counter-reset: count 0; /* reset the counter to 0 before the animation */
  animation: counter 5s forwards; /* only run the animation once and keep the final value */
}


@keyframes counter {
  0% {
    content: "0+";
  }
  30% {
    content: "1+";
  }
  60% {
    content: "2+";
  }
  100% {
    content: "2.5+";
  }
}

 .prj_cnt::after {
  content: counter(count) " +";
  counter-reset: count 0;
  animation: prj_counter 5s forwards;
}

@keyframes prj_counter {
  0% {
    counter-increment: count 0;
  }
  7.69% {
    counter-increment: count 1;
  }
  15.38% {
    counter-increment: count 2;
  }
  23.07% {
    counter-increment: count 3;
  }
  30.76% {
    counter-increment: count 4;
  }
  38.46% {
    counter-increment: count 5;
  }
  46.15% {
    counter-increment: count 6;
  }
  53.84% {
    counter-increment: count 7;
  }
  61.53% {
    counter-increment: count 8;
  }
  69.23% {
    counter-increment: count 9;
  }
  76.92% {
    counter-increment: count 10;
  }
  84.61% {
    counter-increment: count 11;
  }
  92.30% {
    counter-increment: count 12;
  }
  100% {
    counter-increment: count 12;
  }
}
 .cmpnies_cnt::before {
  content: counter(count);
  counter-reset: count 0;
  animation: num_counter 5s forwards;
}

 .cmpnies_cnt::after {
  content: "+";
  display: inline-block;
  margin-right: 5px;
}

@keyframes num_counter {
  0% {
    content: "0";
  }
  16.67% {
    content: "1";
  }
  33.33% {
    content: "2";
  }
  50% {
    content: "3";
  }
  66.67% {
    content: "4";
  }
  83.33% {
    content: "5";
  }
  100% {
    content: "6";
  }
}


@keyframes num_counter {
  0% {
    content: "0";
  }
  16.67% {
    content: "1";
  }
  33.33% {
    content: "2";
  }
  50% {
    content: "3";
  }
  66.67% {
    content: "4";
  }
  83.33% {
    content: "5";
  }
  100% {
    content: "6";
  }
}

@media screen and (max-width: 767px) {
  .nav__menu{
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .1);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: .3s;
}
}

.nav__list{
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}

.nav__link{
display: flex;
flex-direction: column;
align-items: center;
font-size: var(--h3-font-size);
color: var(--title-color);
font-weight: var(--font-medium);
}

.nav__link:hover{
color: var(--first-color-lighter);
}
.active-link {
  color: var(--first-color);
}

.nav__icon{
font-size: 1.2rem;
}


.nav__close{
position: absolute;
right: 1.3em;
bottom: .5rem;
font-size: 1.5rem;
cursor: pointer;
color: var(--first-color);
}

.nav__close:hover{
color: var(--first-color-alt);
}
.uil{
  font-size: 1.2rem;
}

/* show menu */
.show-menu{
  bottom: 0;
}

/* hide menu */
.hide-menu{
  bottom: -100%;
}
/* Active link */


/* Change background header */


/*==================== HOME ====================*/
.home_container{
  gap: 1rem;
}
.home_content{
  grid-template-columns: .5fr 3fr;
  padding-top: 3.5rem;
  align-items: center;
}
.home__social{
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}
.home_social-icon{
  font-size: 1.25rem;
  color: var(--first-color);
}
.home_social-icon:hover{
  color: var(--first-color-alt);
}
.home__blob{
  fill: var(--first-color);
  width: 200px;
}
.home_blob-image{
  width: 150px;
  float: left;
}
.home_data{
  grid-column: 1/3;
}
.home__data{
  display: grid;
  grid-column: initial;
  justify-content: space-between;
  grid-gap: 0.1vw;
}
.profile_title{
  font-size: var(--big-font-size);
}
.profile_subtitle{
  font-size: var(--font-medium);
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-75);
  margin-top: var(--mb-0-75);
  word-spacing: var(--mb-0-25);
}
.profile_description{
  margin-bottom: var(--mb-2);
}
/*==================== BUTTONS ====================*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: #FFF;
  padding: 1rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
}

.button:hover{
  background-color: var(--first-color-alt);
}

.button__icon{
  font-size: 1.25rem;
  margin-left: var(--mb-0-5);
  transition: .3s;
}


.button--flex{
  display: inline-flex;
  align-items: center;
}

.button--small{
  padding: .75rem 1rem;
}

.button--link{
  padding: 0;
  background-color: transparent;
  color: var(--first-color);
}

.button--link:hover{
  background-color: transparent;
  color: var(--first-color-alt);
}

/*==================== ABOUT ====================*/
.about__img{
  width: 150px;
  border-radius: .5rem;
  justify-self: center;
  align-self: center;
}
.about__description{
  text-align: center;
  margin-bottom: var(--mb-2-5);
}
.about__info{
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2-5);
}
.info__name{
  font-size: var(--smaller-font-size);
}
.info__title{
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  display: flex;
  text-align: center;
  color: var(--title-color);
  white-space: nowrap;
}
.info__title, 
.info__name{
  display: block;
  text-align: center;
}
.about__buttons{
  display: flex;
  justify-content: center;
}
/*==================== SKILLS ====================*/
.skills__container{
  row-gap: 1rem;
}

.skills__header{
  display: flex;
  align-items: center;
  margin-bottom: var(--mb-2-5);
  cursor: pointer;
}
.skills__icon,.skills__arrow{
  font-size: 2rem;
  color: var(--first-color);
}
.skills__icon{
  margin-right: var(--mb-0-75);
}
.skills__title{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: var(--mb-0-5);
  font-size: var(--h3-font-size);
}
.skills__subtitle{
  font-size: var(--small-font-size);
  color: var(--text-color-light)
}
.skills__arrow{
  margin-left: auto;
  transition: .4s;
}
.skills__name{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}
.skills__list{
  display: flex;
  flex-direction: row;
  justify-content: space-around;

}
.skills__close .skills__list{
  height: 0;
  overflow: hidden;
}
.skills__open .skills__list{
  height: max-content;
  margin-bottom: var(--mb-2-5);
}
.skills__open .skills__arrow{
  transform: rotate(-180deg);
}
.skills__name {
  color: var(--first-color-second);
  font-weight: var(--font-semi-bold);
  padding-right: var(--mb-3);
  padding-bottom: var(--mb-1-5);
  font-size: var(--normal-font-size);
}
.skills__data{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: space-evenly;
}




/*==================== QUALIFICATION ====================*/
.qualification__tabs{
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2);
}

.qualification__button{
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
}

.qualification__button:hover{
  color: var(--first-color);
}

.qualification__icon{
  font-size: 1.8rem;
  margin-right: var(--mb-0-25);
}

.qualification__data{
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
}

.qualification__title{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-25);
}

.qualification__subtitle{
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.qualification__calendar{
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.qualification__rounder{
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.qualification__line{
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  transform: translate(6px, -7px);
}

.qualification [data-content]{
  display: none;
}

.qualification__active[data-content]{
  display: block;
}

.qualification__button.qualification__active{
  color: var(--first-color);
}

/*==================== SERVICES ====================*/


/* Active Modal */


/*==================== PORTFOLIO ====================*/
.project{
  text-align: center;
}
.project__title{
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.project_description{
  margin-bottom: var(--mb-0-75);
  padding-bottom: 2.5rem;
}

.project__img{
  height: 21vh;
  width: 50vw;
  border-radius: .5rem;
  justify-self: center;
  cursor:pointer;
  transform: translate(41%);
}

swiper-container {
  width: 100%;
  height: 100%;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*==================== PROJECT IN MIND ====================*/


/*==================== TESTIMONIAL ====================*/


/*==================== CONTACT ME ====================*/
.contact__container{
  row-gap: 3rem;
}

.contact__information{
  display: flex;
  margin-bottom: var(--mb-2);
}

.contact__icon{
  font-size: 2rem;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}

.contact__title{
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact__subtitle{
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.contact__content{
  background-color: var(--input-color);
  border-radius: .5rem;
  padding: .75rem 1rem .25rem;
}

.contact__label{
  font-size: var(--smaller-font-size);
  color: var(--title-color);
}

.contact__input{
  width: 100%;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: .25rem .5rem .5rem 0;
}
/*==================== FOOTER ====================*/
.footer{
  padding-top: 2rem;
}

.footer__container{
  row-gap: 3.5rem;
}
.footer{
  padding: 2rem 0 3rem;
  background-color: var(--first-color);
}
.footer__title{
  font-size: var(--h1-font-size);
  font-style: var(--font-semi-bold);
  margin-bottom: var(--mb-0-75);
  color: white;
}
.footer__contact__subtitle{
  font-size: var(--small-font-size);
  color: white;
}

li{
  margin-top: var(--mb-1-5);
  padding-bottom: var(--mb-0-75);
}


.footer__container{
  row-gap: 3.5rem;
}
.footer__link{
  color: white;
  display: flex;
  font-style: italic;
}
.footer__link:hover{
  color: var(--first-color-lighter);
}
.footer__socials{
  display: flex;
  color: white;
  flex-direction: row;
  margin-right: var(--mb-1-5);
  font-size: var(--h1-font-size);
}
.footer__social{
  color: white;
  padding-right: var(--mb-1-5);
  padding-bottom: var(--mb-1-5);
}
.footer__social:hover{
  color: var(--first-color-lighter);
}
.footer__title,
.footer__contact__subtitle,
.footer__links,
.footer__socials{
    color: #FFF;
}

/*========== SCROLL UP ==========*/


/* Show scroll */


/*========== SCROLL BAR ==========*/


/*==================== MEDIA QUERIES ====================*/
/* For small devices */
@media screen and (max-width: 350px){

  .swiper-button-next:after{
    --swiper-navigation-size: 17px;
  }
  .nav__menu{
    padding: 2rem .25rem 4rem;
}
.nav__list{
    column-gap: 0;
}
}

/* For medium devices */
@media screen and (min-width: 500px){
  .home_content{
    grid-template-columns: max-content 1fr 1fr;
}
.home_data{
  grid-column: initial;
}
.home__icon{
    order: 1;
    justify-self: center;
}

.uil{
  display: grid;
}
.button {
  display: flex;
  align-items: center;
  width: 9rem;
  height: 4rem;
}
.home_social-icon{
  padding-inline: 13px;
}
.home_social{
  padding-bottom: 8vh;
}
.about__container, .skills__container,.contact__container{
  grid-template-columns: repeat(2, 1fr);
}
.contact__form{
  width: 55vw;
}
.home__icon{
  order: 1;
  justify-self: center;
}
.qualification__active[data-content]{
  display: grid;
  grid-template-columns: .6fr;
  justify-content: center;
}
.skills__container{
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
}

@media screen and (min-width: 760px)
{
  .header, .main, .footer__container {
    padding: 0 1rem;
}
  .container{
    margin-left: auto;
    margin-right: auto;
    gap: 3.5rem
  }
  .section {
    padding: 1rem 0rem 3rem;
  }
  .qualification__active[data-content]{
    padding: 0 9rem 3rem 9rem;
  }
  .skills__container {
    padding-left: 4rem;
    padding-right: 4rem;
}
.about__container{
  padding-right: 4rem;
}

.home__content{
  grid-template-columns: .25fr 3fr;
}
.home__blob{
  width: 180px;
}
.project__img {
  height: 20rem;
  width: 25rem;
  transform: translate(32%)
}
.contact__container,.portfolio{
  margin-left: var(--mb-3);
  margin-right: var(--mb-3);
}
.header{
  top: 0;
  bottom: initial;
}
.header,
    .main,
    .footer__container{
        padding: 0 1rem;
    }
    .nav{
      height: calc(var(--header-height) + 1.5rem);
      column-gap: 1rem;
  }
  .nav__icon,
  .nav__close,
  .nav__toggle{
      display: none;
  }
  .nav__list{
      display: flex;
      column-gap: 2rem;
  }
  .nav__menu{
      margin-left: auto;
  }
  .home_content {
    padding-top: 5.5rem;
    column-gap: 2rem;
}

.about__description{
  text-align: initial;
  font-size: 1rem;
}
.about__info{
  justify-content: space-between;
}
.about__buttons{
  justify-content: initial;
}
.footer__container{
  grid-template-columns: repeat(3, 1fr);
  margin-right: 0rem;
  padding-right: 0rem;
}
.footer__bg{
  padding: 1rem 0 3.5rem;
}

.footer__links{
  flex-direction: row;
  column-gap: 2rem;
  margin-top: -1.7rem;
  display: flex;
}
.footer__socials{
  justify-self: flex-end;
}
.footer__copy{
  margin-top: 4.5rem;
}
.about__img{
  width: 200px;
}
}
/* For large devices */
@media screen and (min-width: 900px)
{
  .header, .main, .footer__container {
    padding: 0 1rem;
}

  .section {
    padding: 6rem 0rem 8rem;
}
  .header,
  .main,
  .footer__container{
      padding: 0;
  }
  .home__blob{
    width: 320px;
}
.home_social{
    transform: translateX(-2rem);
}
.project__img{
  width: 40vw;
  align-items: center;
}

.contact__container{
  margin-left: 19vw;
}
.portfolio__content{
  column-gap: 5rem;
}
.swiper-portfolio-icon{
  font-size: 3.5rem;
}
.swiper-button-prev{
  left: -3.5rem;
}
.swiper-button-next{
  right: -3.5rem;
}
.swiper-horizontal > .swiper-pagination-bullets{
  bottom: -4.5rem;
}
swiper-wrapper > .swiper - slide {
  background-position: center;
  background-size: cover;
}
.contact__form{
  width: 460px;
}
.contact__inputs{
  grid-template-columns: repeat(2, 1fr);
}
.profile_description, .about__description{
  font-size: var(--normal-font-size);
}
.profile_subtitle{
  font-size: var(--h2-font-size);
}
.profile_title{
  font-size: var(--big-font-size);
  letter-spacing: .03rem;
}
.nav__link,.nav__logo{
  font-size:var(--body-font-size);
}
.qualification__title{
  font-size: var(--body-font);
}
.qualification__subtitle{
  font-size: var(--normal-font-size);
}
.qualification__calender{
  display: flex;
}
.qualification__active[data-content] {
  padding: 0 0rem 0rem 0rem;
}
.uil-calendar-alt:before{
  padding-right: 10px;
}
.project__data{
  padding-left: 0vw;
}
.footer__container{
  margin-left: 16rem;
}
.contact__subtitle{
  font-size: var(--normal-font-size);
}
.contact__label{
  font-size: var(--small-font-size);
}
.footer__title{
  font-size: var(--big-font-size)
}
.footer__contact__subtitle{
  font-size: var(--h2-font-size);
}
.footer__link{
  font-size: var(--h2-font-size);
}
#footer__media{
  font-size: var(--h1-font-size);
}
.uil{
  font-size: var(--h1-font-size);
}
.nav__link,.nav__logo{
  font-size: var(--h2-font-size);
}
.footer__container{
  gap: 8em;
}
.footer__information{
  width: 14vw;
}
.project__img{
  transform: translate(23%);
}
}

@media screen and (min-width: 1420px)
{
  .project__img{
    transform: translate(15%);
  }
}
@media screen and (min-width: 1430px){
  body{
    width: 1420px;
    margin: 0 auto;
  }
}