html,
body {
    margin: 0;
    padding: 0;
}

#side-bar {
    position: absolute;
    top: 5%;
    left: 0;
    width: 25%;
    text-align: center;
}

#logo {
    width: 75%;
}

#content-container {
    position: absolute;
    display: flex;
    top: 5%;
    left: 25%;
    width: 75%;
    align-content: flex-start;
    flex-wrap: wrap;
    overflow-x: hidden;
}

.item {
    position: relative;
    width: 20vw;
    height: 15vw;
    margin: 0 1vw 2vw 1vw;
    flex: none;
    font-family: Arial, Helvetica, sans-serif;
    color: #122038;
    font-size: 1vw;
    font-weight: bold;
    overflow: hidden;
}

.item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transform-origin: 50% 50%;
    transition: transform 0.2s;
}

.item:hover img {
    transform: scale(1.1);
}

.item .excerpt {
    display: none;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    background-color: #ebebeb;
    transition: opacity 0.2s;
}

.item .excerpt .excerpt-text {
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    padding: 10%;
}

.item:hover .excerpt {
    /*opacity: 1;*/
}

@media only screen and (max-width: 1500px) {
    .item {
        width: 30vw;
        height: 22.5vw;
    }
}


@media only screen and (orientation: portrait) {
    #side-bar, #content-container {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-top: 5vw;
        margin-bottom: 5vw;
    }
    #content-container {
        justify-content: center;
    }
    .item {
        display: inline-block;
        width: 90vw;
        height: 67.5vw;
        margin-bottom: 5vw;
    }
}
