@media (max-width: 767px) {
    .main-row {
        height: 700px;
    }
    .center-square {
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
    }
    .top-line {
        font-size: 9vmax;
    }
    .second-line {
        font-size: 6vh;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .main-row {
        height: 800px;
    }
    .center-square {
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
    }
    .top-line {
        font-size: 9vmax;
    }
    .second-line {
        font-size: 5vh;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .main-row {
        height: 450px;
    }
    .center-square {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .top-line {
        font-size: 8vh;
    }
    .mid-buffer {
        height: 25px;
    }
    .second-line {
        font-size: 4.5vh;
    }
}

@media (min-width: 1200px) {
    .main-row {
        height: 495px;
    }
    .center-square {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .top-line {
        font-size: 8.5vh;
    }
    .mid-buffer {
        height: 35px;
    }
    .second-line {
        font-size: 4.5vh;
    }
}

html {
    height: 100%;
}

body {
    height: 100%;
    background-color: #007399;
}


/*
div {
    border: 1px solid black;
}
*/

.center-square {
    display: block;
    background-color: #FFFFFF;
    height: inherit;
    width: auto;
    margin: auto;
    border-bottom-color: #00ace6;
    border-top-color: #00ace6;
    border-bottom-style: solid;
    border-top-style: solid;
    border-width: thick;
}

.content-box {
    display: block;
    position: relative;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.first-row {
    min-height: 60px;
}

.second-row {
    display: flex;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 100%;
    max-height: 395px;
}

.top-line {
    color: #e68a00;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.second-line {
    text-align: right;
    font-family: 'Ubuntu', sans-serif;
    font-style: italic;
}

#center-image {
    position: relative;
    height: auto;
    width: auto;
}

#center-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 80%;
    width: 80%;
}

.side-box {
    position: relative;
    display: block;
    align-items: center;
    height: 100%;
}

.main-text {
    position: absolute;
    bottom: 0px;
}

.narrative-container {
    position: relative;
    bottom: 0px;
}

.narrative {
    text-align: right;
    font-size: 115%;
    font-family: 'Raleway', sans-serif;
}

.bottom-buffer {
    min-height: 80px;
}
