/*=============== FOOTER ===============*/
.grid {
    display: grid;
    gap: 1.5rem;
}

.footer{
    padding-block: 2.5rem;
    background-color: black;
    font-size: .938rem;
    color: hsl(0, 0%, 70%);
}

.footer__content{
    row-gap: 3.5rem;
}

.footer__logo{
    display: inline-block;
    color: hsl(0, 0%, 95%);
    font-size: 1.25rem;
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

  
.footer__data{
    grid-template-columns: repeat(2, max-content);
    gap: 2.5rem 3.5rem;
}
  
.footer__title{
    font-size: 1rem;
    margin-bottom: 1rem;
}
  
.footer__links{
    display: grid;
    row-gap: .75rem;
}
  
.footer__link{
    color: hsl(0, 0%, 70%);
    transition: color .4s;
}
  
.footer__link:hover{
  color: hsl(0, 0%, 95%);
}
  
.footer__group,
.footer__social{
    display: flex;
}
  
.footer__group{
    margin-top: 5rem;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
}
  
.footer__social{
    column-gap: 1.5rem;
}
  
.footer__social-link{
    color: hsl(0, 0%, 70%);
    font-size: 1.25rem;
    transition: color .4s, transform .4s;
}
  
.footer__social-link:hover{
    color: hsl(0, 0%, 95%);
    transform: translateY(-25.rem);
}
  
.footer__copy{
    font-size: .75rem;
    color: hsl(0, 0%, 60%);
    text-align: center;
}

.footer__copy a {
    color: white;
} 

.footer ul{
    list-style: none;
}

.footer .container {
    width: 90%;
    margin-inline: 1.5rem;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.join__form{
    display: grid;
    row-gap: 1rem;
}
  
.join__input{
    padding: 1.25rem 1rem;
    background-color: hsl(0, 0%, 8%);;
    border: none;
    color: #fff;
}

.join__button input, button{
    outline: none;
    border: none;
}

.join__button{
    background-color: hsla(0, 0%, 100%, .2);
    padding: 1.25rem 1.5rem;
    color: hsl(0, 0%, 95%);
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    backdrop-filter: blur(24px);
    cursor: pointer;  
}
  
.footer_description{
    padding-bottom: 1rem;
}

@media screen and (max-width: 340px){
    .footer .container {
        margin-inline: 1rem;
    }

    .footer__data {
        grid-template-columns: max-content;
    }
}


@media screen and (min-width: 576px){
    .footer__data{
        grid-template-columns: repeat(3, max-content);
    }
}

@media screen and (min-width:768px){
    .footer__content{
        grid-template-columns: repeat(1, max-content);
        justify-content: space-between;
    }
    
    .footer__group{
        flex-direction: row;
        justify-content: space-between;
    }
    .footer__copy{
        order: -1;
    }
}

@media screen and (min-width: 1023px) {
    .footer__data{
        grid-template-columns: repeat(4, max-content);
        column-gap: 4.5rem;
      }
}


@media screen and (min-width: 1152px){
    .footer{
        padding-block: 5rem 3rem;
    }
    
    .footer__title{
        margin-bottom: 1.5rem;
    }
    
    .footer__group{
        margin-top: 7rem;
    }
    
    .footer__social{
        column-gap: 2rem;
    }
    
    .footer__social-link{
        font-size: 1.5rem;
     }

     .footer__content{
        grid-template-columns: repeat(2, max-content);
        justify-content: space-between;
    }
}
