footer {
    background-color: rgb(167 163 149);
    color: #1F1C24;
    position: relative;
}

footer a {
    color: #1F1C24;
    text-decoration: underline;
    transition: all 0.3s;
}

footer a:hover{
    color: #625963;
}

.footer-main-container {
    display: flex;
    justify-content: right;
    gap: 5rem;
    margin-left: 3rem;
}

.logos {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    padding-block: 3rem;
    width: 80%;
}

/* .logos:hover .logo-slide{
    animation-play-state: paused;
} */

.logos:before,
.logos:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 7rem;
    z-index: 10;
}

.logos::before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgb(167 163 149));
}

.logos::after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(167 163 149));
}

.logo-slide {
    display: inline-block;
    animation: slide 40s infinite linear;
}

.logo-carousel {
    display: flex;
    align-items: center;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos img {
    max-width: 15rem;
    margin-left: 3rem;
    object-fit: cover;
    object-position: center;
}

.links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: right;
    gap: 3rem;
}

.link-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.link-items img{
    height: 2.5rem;
    width: 2.5rem;
}

.footer-logo{
    height: 10rem;
}

.line{
    width: 100%;
    border-top: 1px solid #1F1C24;
}

.copyright-message{
    text-align: center;
}

@media(max-width: 992px){
    .footer-main-container{
        flex-direction: column;
        margin-left: 0;
        gap: 2rem;
        align-items: center;
        margin-bottom: 3rem;
    }

    .logos{
        padding-bottom: 0;
        padding-top: 3rem;
        width: 100%;
    }

    /* .logos::before,
    .logos::after{
        content: none;
    } */
}

@media(max-width: 768px){
    .links{
        margin-top: 3rem;
    }
}

