@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Roboto:wght@400;500&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
 
  --first-color: #FE9FBF;
  --title-color: hsl(207, 4%, 16%);
  --text-color: hsl(207, 4%, 28%);
  --text-color-light: hsl(207, 4%, 56%);
  --body-color: hsl(207, 4%, 99%);
  --container-color: hsl(207, 4%, 95%);

 
  --gradient-color: linear-gradient(180deg,
                      #ffffff, #FFEFEA, #FE9FBF);                      ;

  /*========== Font and typography ==========*/
  --body-font: 'Roboto', sans-serif;
  --title-font: 'Lora', serif;
  --biggest-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;
    --tiny-font-size: .688rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background .4s; /* for dark mode animation */
}

h1, h2, h3 {
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}


/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-inline: auto;
}


.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 2.5rem;
}

.section__border {
  border-bottom: 1px solid var(--title-color);
  padding-bottom: 6rem;
}


.section__title, 
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: .25rem;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 5rem;
}

.main {
  overflow: hidden; /* For animation */
}

/*=============== HOME===============*/
.home__title{
  text-align: center;
  font-size: 1.55rem;
  letter-spacing: 1px;
  font-weight: var(--font-semi-bold);
  
  /* margin-bottom: -30rem; */
  position: relative;
}

.home__title_2{
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 1px;  
  margin-top: -6rem;
 
  position: relative;
 
}

.home__blob{
  position: relative;
  width: 270px;
  height: 400px;  
  background-color: var(--body-color);
  border: 2px solid var(--text-color-light);
  justify-self: center;
  border-radius: 200px 200px 0px 0px;
  place-items: center;
  margin-top: -7rem; 
  
}

.home__perfil{
  width: 266px;
  height: 397px;    
  border-radius: 200px 200px 0px 0px;
  background: var(--gradient-color);  
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;  
  position: absolute;

}

.home__perfil img{
  width: 220px;
  border-radius: 200px 200px 0px 0px;

}
.home__shape-waves,
.home__shape-circle{
  position: absolute;
  opacity: .1;
}

.home__shape-circle{
  width: 250px;
  bottom: -4rem;
  right: -7rem;
  transform: rotate(15deg);
  z-index: -1;
}
.home__shape-waves{
  width: 100px;
  left: -4rem;
  top: 10rem;
}

.home__container{
  grid-template-columns: 1fr 1fr;
  row-gap: 3rem;
  padding-top: 2rem;
  column-gap: 10rem;
}


.home__data{
  order: 0;

}


.home__info-title{
  font-family: var(--body-font);
  font-size: var(--smaller-font-size);
  font-weight: 400;
  color: var(--text-color-light);
  margin-bottom: 0.5rem;
  }


.home__info{
  row-gap: 2rem;
  margin-top: 1rem;
  display: grid;  
}

.home__info-description{
font-family: var(--title-font);
color: var(--title-color);
padding-right: 4rem;
}


/*=============== HEADER & NAV ===============*/


.header{
  top:0;
  width: 100%;
  position: fixed;
  bottom: initial;
  background-color: var(--body-color);
  transition: .4s;
  left: 0;
  z-index: var(--z-fixed);
}

.bg-header{
  box-shadow: 0 4px 20px hsla(207, 24%, 35%, .1);
}

.nav{
  width: initial;
  height: calc(var(--header-height) + 1.5rem);
  box-shadow: none;
  border-radius: none;
  column-gap: 3rem;
  margin-inline: 1.5rem;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--body-color);
  padding-inline: 1.5rem;

}

.nav__link{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: .25rem;
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  transition: color .3s;
}

.nav__link:hover{
  color: var(--first-color);
};



.nav__menu{
  position: fixed;
  width: 88%;
  left: 0;
  right: 0;
  bottom: -60%;
  margin: 0 auto;
  background-color: var(--body-color);
  box-shadow: 0 4px 20px var(--first-color);
  padding: 2rem 1.5rem 5rem;
  border-radius: 2rem;
  transition: background .3s;
  
}
.nav__logo{
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  
}

.nav__list{
  display: flex;
  column-gap: 3rem;
}


.section{
  padding-block: 6rem 0;

}

/*=============== SKILLS ===============*/

.skills__container{
  row-gap: 3.5rem;
}

.skills__title{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--small-font-size);
  margin-bottom: 5rem;
  font-weight: var(--font-semi-bold);
}

.skills__title i{
  font-size: 1rem;
  font-weight: initial;

}

.skills__info,
.skills__data,
.skills__blob{
  display: grid;
}

.skills__info{
  grid-template-columns: repeat(3,1fr);
  gap: 2.5rem 2rem;
  margin-top: 5rem;
}

.skills__data{
  justify-content: center;
  text-align: center;
}

.skills__blob{
  width: 80px;
  height: 100px;
  background-color: var(--container-color);
  border-radius: 3rem;
  margin-bottom: 1rem;
  place-items: center;
}

.skills__blob img{
  width: 40px;

}

.skills__name{
  font-size: var(--small-font-size);
  margin-bottom: .25rem;

}
.skills__subtitle{
  font-size: var(--tiny-font-size);
  color: var(--text-color-light);
}

/* Animation skills */
.skills__blob:hover img{
  animation: bounce-skills .6s
}

@keyframes bounce-skills{
  0%{
    transform: translate(0);

  }
  20%{
    transform: translateY(-6px);
  }
  40%{
    transrform: translate(0);
  }
  60%{
    transrform: translate(-3px);
  }
  80%{
    transform: translate(0);
  }
    
}
/*=============== EXPERIENCE ===============*/
.experience{
  position: relative;
}

.experience__container{
  row-gap: 3.5rem;
  margin-top: 3rem;
  column-gap: 14rem;
  justify-content: center;
}

.experience__title{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5rem;
  font-size: 1.4rem;
  font-weight: var(--font-semi-bold);
  margin-bottom: 3rem;
}

.experience__title i{
  font-size: 1.25rem;
  font-weight: intial;
}

.experience__info{
  display: grid;
  
}


.experience__name{
  font-size: var(--normal-font-size);
  margin-bottom: .1rem;
}

.experience__place,
.experience__years{
  display: block;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light)
  
}

.experience__container{
  justify-content: center;
  column-gap: 10rem;
  grid-template-columns: repeat(2, max-content);
}

/*=============== PROJECTS ===============*/
.projects__container{
  overflow: hidden;
  width: 900px;
  
}

.projects__content{
  display: grid;
  justify-content: center;
  margin-top: 3rem;
}

.projects__img{
  width: 320px;
  border-radius: .75rem;
  grid-template-columns: repeat(2, max-content);
  overflow: hidden;

}

.projects__subtitle{
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 3rem;
  

}

.projects__title{
  font-size: 1.25rem;
 

}

.projects__button{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
  margin-top: -4rem;
}

.projects__button:hover{
  color: var(--first-color)
}

.projects__button i{
  font-size: 1rem;
  transition: transform .3s;

}

.projects__button:hover i{
  transform: translateX(.25rem);
  color: var(--first-color)
}
/* Swiper class */
.projects__container .swiper-button-prev::after,
.projects__container .swiper-button-next::after{
  content: '';
}
.projects__container .swiper-button-prev,
.projects__container .swiper-button-next{
  width: initial;
  height: initial;
  margin: initial;
  font-size: 3rem;
  color: var(--title-color);
}

.projects__container .swiper-button-prev{
  left: -1rem;
  top: 10rem;
}

.projects__container .swiper-button-next{
  right: -1rem;
  top: 10rem;
}

.projects__container .swiper-slide{
  margin-bottom: 6.5rem;
}

.projects__container .swiper-pagination-bullers{
  bottom: 0;
}

.projects__container .swiper-pagination-bullet{
  background-color: var(--text-color-light);
  opacity: initial;
}

.projects__container .swiper-pagination-bullet-active{
  background-color: var(--first-color);
  opacity: initial;
}

/*=============== CONTACT FORM ===============*/
.contact__title{
 
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--small-font-size);
  
  margin-bottom: 2.5rem;
  margin-top: 2rem;
}
.contact__form{
  position: relative;
  row-gap: 2.5rem;
   
  justify-content: center;
}

/* .contact__form-div{
  position: relative;
  height: 4rem;
  align-items: center; 
  display: grid;
  justify-content: center; 
  max-width: 350px;

  
} */

.contact__form-input{
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--text-color-light);
  border-radius: 2rem;
  padding: 1.5rem;
  font-size: var(--normal-font-size);
  font-family: var(--title-font);
  color: var(--title-color);
  background: none;
  outline: none;
  z-index: 1;
  max-width: 350px;
 
  
  align-items: center;
  margin-bottom: 2rem;
  
}

.contact__form-tag{
  position: relative;
  top: -.75rem;
  left: 1.25rem;
  z-index: 10;
  background-color: var(--body-color);
  font-size: var(--smaller-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  padding: .35rem;

}


.contact__form-area{
  height: 10rem;
}

.contact__form-area textarea{
  resize: non;
}

.contact__button{
  background-color: initial;
  font-size: var(--normal-font-size);
  font-family: var(--title-font);
  
  cursor: pointer;
  outline: none;
  margin-top: .75rem;
  border: none;
}

.contact__button i{
  font-size: 1.5rem; 
  margin-left: 0.5rem;
}
.contact__button:hover{
  transform: translateX(0.25rem);
  color: pink;
}


.contact__form .contact__button{
  border: none;
  background: none;
  font-size: var(--normal-font-size);
  font-family: var(--title-font);
  
  cursor: pointer;
  outline: none;
  margin-top: .75rem;

}

.contact__form .contact__button i{
  font-size: 1.5rem;
  font-weight: initial;
  font-size: var(--h2-font-size);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  outline: none;
  margin-top: .75rem;
}  

.contact__form .contact__button i{
  font-size: 1.5rem;
  font-weight: initial;
} 

.contact__notification{
  font-size: var(--small-font-size);
  margin-top: 1rem;
  position: relative;
  bottom: 2.8rem;
  margin-bottom: -2rem;
  
  text-align: center;
}

/* Status color */
.color-red{
  color: hsl(4, 71%, 50%);

}

.color-blue{
  color: hsl(207,56%,45%)
}

.contact__link{
  color: var(--title-color); 
  display: flex;
  column-gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
  
}

.contact__link:hover{
  color: var(--first-color);
}

/*=============== FOOTER ===============*/
.footer__container{
  padding: 3rem 0 7rem;
  text-align: center;
  
}

.footer__subtitle{
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  
}
.footer__copy{
  text-align: center;
  display: block;
  margin-top: 4.5rem;
  margin-bottom: 2rem;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.footer__container{
  padding: 4rem 0 3rem;
}




/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(40, 100%, 93%);

}

::-webkit-scrollbar-thumb{
  background-color: black;
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover{
  background-color: pink;
  
}






 

