body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

#wrapper {
    align-items: center;
    justify-content: center;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: var(--page-width);
    width: 100%;
    padding: 0 20px;
    justify-content: center;
}

article {
    width: 100%;
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
} 

article a,
article p {
    font-size: 1.1rem;
    display: block;
    text-align: center;
    font-weight: 300;
    padding: 10px;
    margin: 0;
    color: white;
    opacity: var(--opacity-2);
}

article a:hover {
    opacity: 1;
}

article p {
    position: absolute;
    bottom: 0;
}

article p a {
    font-size: .8rem;
    display: inline-block;
    padding: 5px;
    opacity: var(--opacity-2);
    text-decoration: none;
}


@media screen and (max-width: 650px) {
    article {
        flex-direction: column;
        height: 60vh;
    }
}

@media screen and (max-width: 550px) {
    main {
        padding: 0 15px;
    }
}