:root{
  --green: #0E723A;
  --white: #FFFFFF;
  --strong-gray: #242038;
}

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

body{
  overflow-x: hidden;
}

.title{
  font-family: 'Jost', sans-serif;
}

.text{
  font-family: 'Quicksand', sans-serif;
}

.footer{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 6rem;
  padding: 1.3rem 10%;
  background-color: var(--green);
}

.footer-container{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  width: 33%;
  min-width: min-content;
}

.footer-container-icons{
  justify-content: center;
}

.footer-container-legal{
  text-align: right;
}

.footer-container-contact .footer-container-item, .footer-container-legal .footer-container-item{
  width: 100%;
}
.footer-container-item{
  list-style: none;
  color: var(--white);
  font-weight: 800; 
}

.footer-container-item a{
  text-decoration: none;
  color: var(--white);
}

.footer-icons{
  font-size: 4rem;
}

#legal-item-button{
  position: absolute;
  right: 3%;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  padding: .8rem;
  height: 2.5rem;
  width: 2.5rem;
  background-color: var(--strong-gray);
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
} 

@media screen and (min-width: 1400px){
  .footer{
    padding: 1.5rem 140px;
  }
}

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

}

@media screen and (max-width: 768px){
  .footer{
    gap: 1rem;
  }
  .footer-container{
    width: 100%;
  }
  .footer-container-contact{
    order: 3;
    text-align: center;
  }
  .footer-container-legal{
    justify-content: space-between;
    align-items: center;
  }
  .footer-container-legal .footer-container-item{
    width: 30%;
    text-align: center;
  }
}

@media screen and (max-width: 480px){
  .footer-container-item{
    font-size: .8rem;
  }
  .footer-icons{
    font-size: 2rem;
  }
  #legal-item-button{
    font-size: 1rem;
    padding: .8rem;
    height: 2rem;
    width: 2rem;
  }
}