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

.pageTitle {
    animation: blackFade 500ms;
}

/* info list */

.competitionsContainer {
    margin: 2%;
    
}

.competitionInfo {
    display: flex;
    margin: 2%;
}

.robotImage {
    height: 20vw;
}

.competitionText {
    margin: 2%;
    margin-right: 20%;
    float: right;
}

#imageContainer img{
    object-fit: cover;
}

h1 {
    text-align: center;
}

.competitionsContainer h1 {
    text-align: left;
    font-size: 2em;
}

@media screen and (max-width: 700px) {
    .competitionText {
        margin: auto;
        font-size: 0.7em;
    }

    .competitionInfo {
        margin: none;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .robotImage {
        width:80vw;
        height: auto;
    }

    h1, h2 {
        text-align: center;
    }
}