@keyframes blackFade {
    0% {
        transform: translate(5vw, 0);
        filter: blur(20px);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0);
        filter: blur(0px);
        opacity: 1;
    }
}



#sponsorTitle {
    text-align: center;
    opacity: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    animation: blackFade 500ms;
    animation-fill-mode: forwards;
}

#mainInfoDiv {
    display: grid;

    grid-template-columns: 1fr 1fr;
}

#mainInfoText {
    opacity: 0;
    margin: 20px 10vw 0 10vw;
    animation: blackFade 500ms;
    animation-delay: 50ms;
    animation-fill-mode: forwards;
}

#mainInfoButtons {
    display: grid;
    grid-template-rows: 1fr 1fr;
    opacity: 0;
    animation: blackFade 500ms;
    animation-delay: 100ms;
    animation-fill-mode: forwards;
}

/*
#mainInfoButtons button{
    color: white;
    background-color: black;
    border: solid 5px;
    margin-left: 10%;
    margin: auto;
    display: block;
    text-align: center;
    width: 30%;
    height: 50%;
    transition: 250ms;
}
*/

/** carousel **/

#sponsorCarousel {
    margin-top: 15%;
    text-align: center;
}

#sponsorContainer {
    display: flex;
    width: min-content;
    margin: 10px auto;
}

#sponsorContainer div {
    margin: 15px;
    width: 14vw;
    height: 18vw;
    opacity: 0;
    text-align: center;
    overflow: hidden;
    padding-top: 20px;
    border-width: 5px;
}

.carouselImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 300ms;
}

.carouselImage:hover {
    transform: translate(0, -15px) scale(1);
}

#one {
    animation: loadIn 500ms;
    animation-fill-mode: forwards;
    animation-delay: 0ms;

}
#two {
    animation: loadIn 500ms;
    animation-fill-mode: forwards;
    animation-delay: 100ms;
}
#three {
    animation: loadIn 500ms;
    animation-fill-mode: forwards;
    animation-delay: 200ms;
}


@keyframes loadIn {
    0% {
        transform: translate(50px, 0) scale(1);
        filter: blur(20px);
    }
    100%{
        transform: translate(0px, 0) scale(1, 1);
        filter: blur(0px);
        opacity: 1;
    }
}

.carouselImage + p {
    position: absolute;
    bottom: 0px;
    color: white;
    z-index: 2;
    width: 100%;
    height: 20%;
    transform: translate(0, 100%);
    visibility: hidden;
    background-color: #21094E;
    transition: 250ms;
}

.carouselImage:hover + p {
   visibility: visible;
   transform: translate(0, 50%);
}

@media screen and (max-width: 700px) {
    #mainInfoDiv {
        display: block;
    }

    #sponsorContainer {
        margin: 5px auto;
    }

    #sponsorContainer div {
        margin: 15px;
        width: 18vw;
        height: 24vw;
        opacity: 0;
        text-align: center;
        overflow: hidden;
        padding-top: 20px;
    }

    .carouselImage p {
        display: none;
     }

     .carouselImage:hover + p {
        display: none;
     }

     .carouselImage:hover {
        transform: translate(0px, 0px);
    }

}