.footer {
    padding-bottom: 15px;
}

.footer__body {
    background: var(--card-bg);
    box-shadow: 0px 4px 14px 1px rgba(220, 220, 220, 0.25);
    padding-block: 30px;
}

.footer a,
.footer p {
    color: var(--dark-color);
}

.footer__top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.3);
}

.footer__top-contact {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer__bottom {
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__bottom-details a {
    display: block;
}

.footer__bottom-details a:not(:last-child),
.footer__bottom-details p:not(:last-child) {
    margin-bottom: 15px;
}

@media (hover: hover) {
    .footer a {
        transition: color 0.3s;
        -webkit-transition: color 0.3s;
        -moz-transition: color 0.3s;
        -ms-transition: color 0.3s;
        -o-transition: color 0.3s;
    }

    .footer a:hover {
        color: var(--accent-bg);
    }
}

@media (min-width: 768px) {

    .footer__top,
    .footer__bottom,
    .footer__top-contact {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer__top-contact {
        align-items: center;
    }
}

@media (min-width: 1380px) {
    .footer {
        padding-top: 100px;
        padding-bottom: 30px;
    }
    .footer__top-tel {
        font-size: 18px;
    }
}
