@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600&display=swap');
footer {
    width: 100%;
    color: #f5f5f5;
   transition: opacity 0.4s ease-in-out;
   opacity: 0;
   display: none;
}

footer.visible {
  opacity: 1;
  display: block;
}

.footer-link {
    text-decoration: none;
}

#footer_content {
    width: 100%;
    background-color: #171717;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 3.5rem;
}

#footer_contacts h1 {
    margin-bottom: 0.75rem;
}

#footer_social_media {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
} 

#footer_social_media .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    color: #f5f5f5;
    border-radius: 50%;
    transition: all 0.4s;
}

#footer_social_media .footer-link i {
    font-size: 1.25rem;    
}

#footer_social_media .footer-link:hover {
    opacity: 0.8;
}

#instagram {
    background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

#facebook {
    background-color: #4267b3;
}



.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-list .footer-link {
    color: #a8a29e;
    transition: all 0.4s;
}



#footer_copyright {
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
    padding: 1.5rem;
    font-weight: 100;
}

@media screen and (max-width: 1100px) {
    #footer_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 800px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 2rem;
    }
}@media screen and (max-width: 320px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 20px 40px 20px;
    }

    
#footer_contacts h1 {
    font-size: small;
    padding: 20px 40px 20px;
}

#footer_contacts p {
    font-size: small;
    padding: 20px 40px 20px;
}


#footer_content ul {
  font-size: small;
  padding: 20px 40px 20px;
}

  
#footer_social_media {
    padding: 20px 40px 20px;
} 

#footer_social_media .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    color: #f5f5f5;
    border-radius: 50%;
    transition: all 0.4s;
}

  #footer_copyright {
    font-size: small;
  }
}