body.overlay {
    overflow: hidden;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9990;
    cursor: pointer;
}

#overlay img {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -0%);
    max-width: 1280;
    max-height: 1280;
}

#overlay-content {
    max-width: 34em;
}

#overlay-content h3:before {
    content: '→';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.33em;
    color: #000;
    background-color: #ff0;
    border-radius: 50%;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1279px) {
    #overlay img {
        display: none;
    }

    #overlay-content {
        cursor: pointer;
        justify-self: center;
        height: calc(100% - 7em);
        align-content: center;
        text-align: center;
        padding-bottom: 3em;
        margin: 2em;

        h1 {
            font-size: 3.2em;
        }

        color: #fff;
    }

    #overlay-content h3:before {
        content: '→';
        display: inline-block;
        width: 1em;
        height: 1em;
        margin-right: 0.33em;
        color: #000;
        background-color: #ff0;
        border-radius: 50%;
        vertical-align: middle;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    section.banner.overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
    }
}

@media screen and (min-width: 1280px) {
    div#overlay div#overlay-content {
        display: none;
    }

    section.banner.overlay {
        display: grid;
        place-items: center;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9998;
        min-height: 363px;
        align-content: center;
    }

    section.banner.overlay #overlay-content {
        position: relative;
        z-index: 9999;
        max-width: 45rem;
        text-align: center;
        color: #fff;
        padding: 2em;
        cursor: pointer;
        margin-bottom: 4em;
    }

    section.banner.overlay #overlay-content h1 {
        font-size: 3.2em;
        margin-bottom: 0.5em;
    }

}