* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

html,
body,
.main-container,
.wrapper {
    height: 100%;
}
p {
    line-height: 1.3;
    margin: 20px 0;
}
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
}

.content-box {
    display: flex;
    color: #fff;
    max-width: 1000px;
}

.content-block {
    margin: 0 20px;
    padding: 40px 50px 50px;
    background-color: rgba(0, 0, 0, 0.8);
    line-height: 2;
    font-size: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.logo {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-position: left center;
    margin: 0 0 0 10px;
    width: 110px;
    height: 85px;
    position: absolute;
}
.content-block-title {
    font-weight: bold;
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}
.content-block-title span {
    border-bottom: 3px solid #b31919;
    display: inline-block;
}
.message {
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
    margin-top: 40px;
    text-transform: uppercase;
    font-weight: bold;
    color: #aaa;
    background-image: url(../img/icons8-under-construction-50.png);
    background-repeat: no-repeat;
    background-position: left center;
    min-height: 40px;
    padding-left: 45px;
    display: flex;
    align-items: center;
}
.content-block.secondary {
    font-size: 1.6rem;
}

.header {
    height: 10px;
    background-color: #b31919;
    position: relative;
}

.crossfade {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.crossfade::after {
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.5);

}
.crossfade>figure {
    animation: imageAnimation 30s linear infinite 0s;
    backface-visibility: hidden;
    background-size: cover;
    background-position: center center;
    color: transparent;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.crossfade>figure:nth-child(1) {
    background-image: url('../img/bg-01.jpg');
}

.crossfade>figure:nth-child(2) {
    animation-delay: 6s;
    background-image: url('../img/bg-02.jpg');
}

.crossfade>figure:nth-child(3) {
    animation-delay: 12s;
    background-image: url('../img/bg-03.jpg');
}

.crossfade>figure:nth-child(4) {
    animation-delay: 18s;
    background-image: url('../img/bg-04.jpg');
}

.crossfade>figure:nth-child(5) {
    animation-delay: 24s;
    background-image: url('../img/bg-05.jpg');
}

@keyframes imageAnimation {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
    }

    8% {
        animation-timing-function: ease-out;
        opacity: 1;
    }

    17% {
        opacity: 1
    }

    25% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

@media (max-width: 600px) { 
    body {
        overflow: auto;
    }
    html, body, .main-container, .wrapper {
        height: auto;
    }
    .main-container {
        padding: 70px 0 0 0;
    }
    .content-box {
        flex-direction: column;
    }
    .content-block {
        margin: 10px 20px;
        padding: 20px;
        font-size: 1.8rem;
    }
    .content-block-title {
        font-size: 3rem;
    }
    .message {
        margin: 20px;
    }
}