body {
    background-color: #11233E;
}

strong {
    color: #7ec2d9;
}

img {
    margin-top: 0;
    box-shadow: none;
    border-radius: 0;
    vertical-align: middle;
}

#intro {
    margin-right: 0;
}

#intro_text {
    max-width: 55%;
}

#intro_img {
    max-width: 50%;
}

.bar {
    margin-top: 24px;
    background-color: #384a63;
    border-radius: 4px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);
}

.bar:hover {
    background-color: #1c2c41;
}

.banner {
    width: 70%;
    position: relative;
}

.banner > picture > img {
    border-radius: 4px 0px 0px 4px;
}

.overlay {
    position: absolute;
    bottom: 0;
    z-index: 5;
    /* extra "f2" declares 95% opacity */
    background-color: #d26237f2;
    border-radius: 4px 0px 0px 4px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
}

.bar:hover > .banner > .overlay {
    opacity: 1;
}

.overlay > div {
    text-decoration: none;
    padding-left: 80px;
    padding-right: 80px;
}

.overlay > div > p {
    font-weight: 700;
}

.logo {
    width: 30%;
}

.logo > picture {
    padding: 18%;
}

.logo > picture > img {
    width: calc(100% - (2 * 18%));
    filter: brightness(0) invert(1);
}

/* Tablet */
@media only screen and (max-width: 992px) {
    h2 {
        margin-bottom: 0;
    }

    .overlay {
        opacity: 1;
        height: 50%;
        border-radius: 0px 0px 0px 4px;
    }

    .overlay > div {
        padding-left: 40px;
        padding-right: 40px;
    }

    .overlay > div > p {
        font-size: 1em;
    }
}

/* Mobile */
@media only screen and (max-width: 480px) {
    #intro {
        margin-right: 8%;
    }

    #intro_text {
        margin-top: 32px;
        max-width: 100%;
    }

    #intro_img {
        display: none;
    }

    .logo {
        display: none;
    }

    .overlay > div > p {
        display: none;
    }

    .banner {
        width: 100%;
        padding-top: 100%;
        position: relative;
    }

    .banner > picture {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
    }

    .banner > picture > img {
        border-radius: 4px;
        object-fit: contain;
    }

    .overlay {
        border-radius: 0px 0px 4px 4px;
    }

    .overlay > div {
        display: flex;
        justify-content: center;
        height: 100%;
    }

    .overlay > div > h3 {
        text-align: center;
    }
}
