body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content3 {
    flex: 1;
    margin: 100px 12vw 0px 8vw;
    padding: 20px;
}

.main-content3 h1 {
    font-size: 2.2rem;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.main-content3 h2 {
    font-size: 2.2rem;
    text-align: center;
    font-weight: 1000;
    margin-top: 2vh;
    font-family: 'Montserrat', sans-serif;
}

.main-content3 h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 60px;
    text-align: center;
}

.logos {
    overflow-x: hidden;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
}

.logos:before {
    position: absolute;
    width: 300px;
    height: 360px;
    top: 10;
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
    content: "";
    z-index: 100;
}

.logos:after {
    position: absolute;
    width: 300px;
    height: 360px;
    top: 10;
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
    content: "";
    z-index: 100;
}

.logos-slide {
    display: inline-block;
    animation: 60s slide infinite linear;
}

.logos-slide img {
    height: 360px;
    width: auto;
    margin: 0 10px;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.logos2 {
    overflow-x: hidden;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
}

.logos2:before {
    position: absolute;
    width: 300px;
    height: 360px;
    top: 10;
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
    content: "";
    z-index: 100;
}

.logos2:after {
    position: absolute;
    width: 300px;
    height: 360px;
    top: 10;
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
    content: "";
    z-index: 100;
}

.logos-slide2 {
    display: inline-block;
    animation: 60s slide2 infinite linear;
}

.logos-slide2 img {
    height: 360px;
    width: auto;
    margin: 0 10px;
}

@keyframes slide2 {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .main-content3 {
        margin-left: 0;
        margin-right: 0;
        padding: 10px;
        margin-top: 120px;
    }

    .main-content3 h1 {
        font-size: 1.6rem;
    }

    .main-content3 h2 {
        font-size: 1.4rem;
    }

    .main-content3 h3 {
        font-size: 1.2rem;
    }

    .logos-slide img {
        height: 240px;
    }

    .logos:before {
        height: 240px;
        width: 20%;
    }
    
    .logos:after {
        height: 240px;
        width: 20%;
    }

    .logos-slide2 img {
        height: 240px;
    }

    .logos2:before {
        height: 240px;
        width: 20%;
    }
    
    .logos2:after {
        height: 240px;
        width: 20%;
    }
}
