#pres {
    padding: 4% 0;
    background-image: url("../media/TestImages/background-pres_2.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    display: block;
}
#pres h1 {
    font-size: 5rem;
}
#pres h3 {
    font-weight: 400;
    text-align: center;
}
#pres .sec-wrapper {
    color: black;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 5% 10px;
    background-color: rgba(255, 255, 255, 0.596);
}
#pres.hide {
    display: none;
}

.wrapper.hide { display: none; }

.mainpage {
    padding: 2%;
}

.mainpage h1 {
    text-align: center;
}
.categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 10px;
}
.categories a {
    background-color: rgba(0,0,0,.1);
    padding: 2%;
    border-radius: 10px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.categories img {
    width: 500px;
    max-width: 95%;
    border: 5px solid darkgoldenrod;
}

.show {
    padding: 3%;
}
.submission-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    font-size: 0;
}
.submission {
    padding: 10px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,.1);
    margin: 2px;
    cursor: pointer;   
    height: fit-content;
    width: fit-content;
}
.submission img {
    width: 300px;
    max-width: 95%;
}
.credits {
    text-align: right;
    width: 100%;
    font-size: 1rem;
}



.imageDisplay {
    display: flex;
    position: fixed;
    z-index: 100;
    align-items: center;
    justify-content: center;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
}
.imageDisplay i {
    position: absolute;
    font-size: 3rem;
    color: rgb(200,0,0);
    bottom: 0;
}
.imageDisplay i:hover {
    cursor: pointer;
}
.imageDisplay img {
    width: 75%;
    max-width: 95%;
}
@media screen and (max-width: 1200px) {
    .categories {
        flex-flow: column;
    }
}

@media screen and (max-width: 800px) {
    #pres h1 {
        font-size: 3em;
    }
}

@media screen and (max-width: 400px) {
    a h1 {
        font-size: 1.5em;
    }
}