
.home{
  box-sizing: border-box;
  background: var(--blue);
  min-height: 100vh;
  display: flex;
  padding: 5rem 0;
}

.home__container{
  display: flex;
  width: 80%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10%;
}

.home__info{
  text-align: center;
  vertical-align: middle;
  max-width: 30%;
}

.home__title__name{
  text-align: left;
  font-size: 5rem;
  color: var(--green);
  font-family: var(--play);
  font-weight: 700;
  transition: margin .7s;
}

.home__title__name:hover{
  margin-left: 10%;
}

.home__title__lastname{
  text-align: right;
  font-size: 5rem;
  color: var(--green);
  font-family: var(--play);
  font-weight: 700;
  transition: margin .7s;
}

.home__title__lastname:hover{
  margin-right: 10%;
}

.home__subtitle{
  text-align: left;
  font-size: 2rem;
  color: var(--gray1);
  line-height: 2.5rem;
  margin-top: 1.5rem;
  font-weight: 700;

}

.home__description{
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;

  text-align: left;
  font-size: 1rem;
  color: var(--gray1);
  font-weight: 500;
  text-transform: uppercase;

  color: var(--gray1);
}

.home__description__function{
  text-transform: uppercase;
  padding-right: 5%;
  margin-right: 5%;
  border-right: solid 1px var(--gray1);
}


.home__avatar{
  position: relative;
  /* width: 37.5rem; */
  width: 37.5vw;
  z-index: 10;
}

.square__up{
  position: absolute;
  top: 0;
  right: 0;
  width: 30vw;
  min-height: 65%;
  background-color: var(--yellow);
}
.square__down{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30vw;
  min-height: 35%;
  background-color: var(--coral);
}

@media screen and (max-width: 1020px){
  

  .home__container{
    flex-direction: column;
    gap: 5%;
    align-items: center;

  }

  .home__images{
    order: -1;
    align-self: center;
  }

  .home__avatar{
    width: 75vw;
  }
  
  .home__info{
    z-index: 15;
    max-width: 70vw;
    
  }

  .home__title__name{
    text-align: center;
    font-size: 5rem;
    width: fit-content;
  }
  
  .home__title__lastname{
    text-align: center;
    font-size: 5rem;
    width: fit-content;
  }

  .home__subtitle{
    max-width: 65vw;
  }    

  
  .square__up{
    width: 20vw;
  }

  .square__down{
    width: 20vw;
  }

}