footer {
    width: 100%;
    color: var(--color-neutral-40);
    background-color: var(--tertiary-color);
}

.footer-link {
    text-decoration: none;
}

#footer_content {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20rem;
    padding: 3rem 3.5rem;
    max-width: 115rem;
    margin: 0 auto;
}

#footer_contacts {
    width: 33%;
    display: flex;
    gap: 70px;
    align-items: center;
    text-align: center;
}

#footer_contacts h1 {
    margin-bottom: 0.75rem;
    font-size: 4rem;
}

#footer_contacts img {
    width: 25rem;
    margin-left: -25px;
}


#footer_contacts p {
    font-family: var(--title-font);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: white;
    display: block;
}

#footer_social_media {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

#footer_social_media .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4.5rem;
    width: 4.5rem;
    color: var(--color-neutral-40);
    border-radius: 50%;
    transition: all 0.4s;
}

#footer_social_media .footer-link i {
    font-size: 2.25rem;
}

#footer_social_media .footer-link:hover {
    opacity: 0.8;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.footer-list h3 {
    color: white;
    font-size: 2rem;
    font-family: var(--title-font);
    font-family: 600;
    padding-bottom: 20px;
}

.footer-list .footer-link {

    color: #CECECE;
    font-size: 1.8rem;
    transition: all 0.4s;
    font-family: 400;
}

.footer-list .footer-link:hover {
    color: var(--primary-color);
}

#footer_subscribe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#footer_copyright p {
    text-align: center;
    font-size: 1.9rem;
    padding: 1.5rem;
    font-weight: 500;
    color: #CECECE;
}

#footer_copyright span {
    color: var(--primary-color);
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    #footer_contacts img {
        width: 25rem;
        margin-left: 0;
        margin: 0 auto;
    }

    #footer_content {

        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20rem;
        padding: 3rem 3.5rem;
        max-width: 115rem;
        margin: 0 auto;
    }

    #footer_contacts {
        width: 100%;
        display: flex;
        gap: 20px;
        flex-direction: column;
        align-items: initial;
    }

    #footer_social_media {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 1.5rem;
        width: 100%;
    }
}

.p {
    margin-bottom: 0;
  }

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