/*=============== VARIABLES CSS ===============*/
:root {

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --primary: #a6a6a6;

  --black-color: hsl(0, 0%, 0%);
  --body-color: hsl(0, 0%, 94%);
  --container-color: white;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --biggest-font-size: 2.5rem;
  --h1-font-size: 20px;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 14px;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.5rem;
    --h1-font-size: 3rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== 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);
  color: var(--text-color);
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}


img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/


/*========== Variables Dark theme ==========*/


/*========== 
	Color changes in some parts of 
	the website, in dark theme
==========*/


/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 4rem 2rem;
}

.section__title-1,
.section__title-2 {
  position: relative;
  font-size: var(--h1-font-size);
  width: max-content;
  margin: .75rem auto 2rem;
}


.geometric-box {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  rotate: -30deg;
}

.geometric-box::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--black-color);
  left: -5px;
  top: -5px;
}

.main {
  overflow: hidden;
  /* For animation ScrollReveal */
}



/*=============== BUTTON ===============*/
/*.button,*/
/*.button-ghot {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  column-gap: .5rem;*/

/*}*/

.button {
  background-color: var(--black-color);
  padding: 1.1rem 1.5rem;
  color: var(--white-color);
  font-weight: var(--font-medium);
  transition: background-color .4s;
  width: 200px;
}

.btn {
  /* display: inline; */
  width: fit-content;
  padding: 4px 12px;
  cursor: pointer;
  color: white;
  transition: all .5s ease;
  background-color: var(--black-color);

}


.btn::before {
  content: "";
  background: var(--primary);
  height: 35px;
  position: absolute;
  z-index: -1;
  display: inline-block;
  width: 110px;

}

/*.button i {*/
/*  font-size: 1.25rem;*/
/*}*/

.button:hover {
  background-color: var(--primary);
}

/*.button-ghost {*/
/*  border: 3px solid var(--black-color);*/
/*  color: var(--black-color);*/
/*  padding: .5rem;*/
/*  transition: border .4s, color .4s;*/
/*}*/

/*=============== ABOUT ===============*/

.about {
  background-color: var(--container-color);
  transition: background-color .4s;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.about__container {
  row-gap: 0;
}

.about__perfil {
  position: relative;
  justify-self: center;
  margin-block: 2.5rem 4.5rem;
}

.about__image {
  /*width: 220px;*/
}

.about__img {
  position: relative;
  border: 4px solid var(--white-color);
  z-index: 1;
}

.about__shadow,
.about__line,
.about__box {
  position: absolute;
}

.about__shadow {
  width: 150px;
  height: 385px;
  background-color: var(--body-color);
  top: -2.5rem;
  right: -2.5rem;
  border-bottom: 4px solid var(--primary);
  transition: background-color .4s;
}

.about__perfil .geometric-box {
  top: 1.5rem;
  right: -2.2rem;
}

.about__line {
  filter: invert(1);
  right: -1.25rem;
  top: 6rem;
  width: 50px;
  transition: filter .4s;
}

.about__box {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  right: -1.8rem;
  bottom: 1.5rem;
  /* bottom: -1.2rem; */
}
.about__perfil::before{
  transform: rotate(45deg);
  content: '';
  position: absolute;
  left: 40px;
  bottom: 20rem;
  width: 40px;
  height: 40px;
  background-color: #F0F0F0;
  border: 2px solid var(--primary);
  right: -1.8rem;
  z-index: 0;
}



.about__description {
  position: relative;
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.about__description::after {
  content: '';
  width: 20px;
  height: 1px;
  background-color: var(--title-color);
  position: absolute;
  left: -1.75rem;
  top: .5rem;
}

.about-last-paragraph {
  position: relative;
  top: 7rem;
  padding: 20px;
}

@media screen and (max-width: 1150px) {
  .about-last-paragraph {
    position: relative;
    top: 2rem;
  }
}
@media screen and (max-width: 360px) {
  .about__perfil::before{
  z-index: -1;
  }
}

/* .cta-about {
  padding: 5px 12px;
  background-color: var(--primary);
  color: white;
  width: fit-content;
  margin-top: 20px;
  border-bottom: 1px solid white;
  margin-right: 20px;
  +padding: 4px 10px;
  cursor: pointer;
  position: inherit;
  z-index: 3;
}


.cta-about a::before {
  content: "";
  background: var(--primary);
  width: 110px;
  height: 35px;
  position: absolute;
  z-index: -1;
  display: block;
}
.cta-about:hover{
 background-color: black;
} */

@media(min-width: 400px) and (max-width:1150px) {
  .about__image {
    width: 320px;
  }
}

.about__list {
  list-style: square;
  color: var(--title-color);
  margin-bottom: 3rem;
}

/*.about__buttons {*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  column-gap: 1rem;*/
/*}*/



/* For small devices */
@media (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .about__image {
    width: 180px;
  }

  .about__shadow {
    height: 330px;
    right: -2.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .about__container {
    grid-template-columns: 550px;
    justify-content: center;
  }
}



/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 7rem 2rem;
  }

  .section__title-1::after,
  .section__title-2::after {
    width: 70px;
    height: 48px;
  }

  .geometric-box {
    transform: scale(1.2);
  }

  .about__container {
    grid-template-columns: 440px 525px;
    gap: 1rem 9rem;
    /*align-items: center;*/
    padding-block: 1rem;
  }

  .about__perfil {
    order: -1;
    grid-row: 1 / 3;
  }

  .about__image {
    width: 350px;
  }

  .about__img {
    border: 8px solid var(--white-color);
  }

  .about__shadow {
    width: 240px;
    height: 615px;
    top: -4rem;
    right: -5.5rem;
    border-bottom: 6px solid var(--primary);
  }

  .about__perfil {
    right: -4rem;
    top: 4.5rem;
  }

  .about__line {
    width: 80px;
    right: -2rem;
    top: 10rem;
  }

  .about__info {
    padding-left: 1.65rem;
  }
}

.cta::before {
  content: '';
  animation: none;
  width: 160px;
}
.btn{
  transition: background-color 0.2s ease-in-out;
}
.btn:hover::before {
  animation: none;
  background-color: var(--primary);
}






@media screen and (max-width: 385px) {
  .cta {
      font-size: var(--normal-font-size);
      margin-top: 10px;
      margin-left: 0;
  }
}