html {
    background: black;
}

.background {
    background: url(https://media.downdogapp.com/misc/investors/tort-web.jpg) no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
}

.button {
    padding: 5px 15px;
    border-radius: 6px;
    color: rgb(255, 255, 255);
    font-weight: 700;
    margin-top: 10px;
    font-size: 24px;
    background: #4A94DD;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 0 none;
    cursor: pointer;
}

.container {
    position: absolute;
    left: 0;
    top: 0;
    height: 65vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.front {
    opacity: 1;
}

.back {
    opacity: 0;
}


.container p {
    margin: 0;
    font-size: 32px;
    text-align: center;
    width: 80%;
    color: white;
    text-shadow: 1px 1px 1px black;
    opacity: 0;
}

.showing1 {
    animation: fadeIn1 ease 4s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.showing2 {
    animation: fadeIn2 ease 8s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.showing3 {
    animation: fadeIn3 ease 12s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.hiding {
    animation: fadeOut ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeIn1 {
    0% {
        opacity: 0
    }
    50% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes fadeIn2 {
    0% {
        opacity: 0
    }
    75% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes fadeIn3 {
    0% {
        opacity: 0
    }
    87% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}