.lightbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgba(0,0,0,.7);
    z-index: 10;
}

    .message-wrapper {
        background-color: #FFE3D9;
        width: 77vmin;
        height: 58vmin;
        border-radius: 5vmin;
        margin-bottom: 3vmin;
        padding: 5vmin;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
    }

        .message-wrapper h1 {
            font-size: 4vmin;
        }

        .message-wrapper p {
            font-size: 2vmin;
            text-align: center;
        }

        #lightboxStart .message-wrapper img {
            width: 27vmin;
            height: auto;
        }

#lightboxGiraffe {
    display: none;
}

.close {
    color: #fff;
    position: absolute;
    right: 2vmin;
    top: 2vmin;
    z-index: 10;
    -webkit-appearance: none;
    --webkit-appearance: none;

}

    .close:before {
        content: "\2716";
        color: #fff;
        cursor: pointer;
        font-size: 4vmin;
        -webkit-appearance: none;
        --webkit-appearance: none;
    }

@media(max-height: 800px ) and (orientation: landscape) {
    .lightbox {
        flex-direction: row;
    }

    .close {
        right: 5vmin;
        top: 5vmin;
    }

        .close:before {
            font-size: 10vmin;
        }

    .message-wrapper {
        width: 100vmin;
        min-height: 80vmin;
    }

        .message-wrapper h1 {
            font-size: 5vmin;
        }

        .message-wrapper p {
            font-size: 4vmin;
        }
}

@media(max-width: 600px) and (orientation: portrait) {
    .message-wrapper {
        width: 85vmin;
        height: 108vmin;
    }

        .message-wrapper h1 {
            font-size: 6vmin;
        }

        .message-wrapper p {
            font-size: 5vmin;
        }

    .close {
        right: 5vmin;
        top: 5vmin;
    }

        .close:before {
            font-size: 10vmin;
        }
}

@media(min-width: 600px) and (max-height: 400px) {
    .message-wrapper {
        width: 127vmin;
    }
}
