* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'kobenhavn-cs', 'Helvetica', 'Arial', sans-serif;
}

h1, h2 {
    margin: 0;
}

h1 {
    font-size: 50px;
}

h2 {
    font-weight: normal;
    font-size: 45px;
}

.main-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow: hidden;
}

.main-wrapper .left-box,
.main-wrapper .middle-box,
.main-wrapper .right-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    text-align: center;
    justify-content: center;
}

.main-wrapper .left-box,
.main-wrapper .right-box {
    background: #00154f;
    color: #FFFFFF;
    flex-basis: 50%;
}
/* .main-wrapper .right-box {
    background: #E30613;
} */

.main-wrapper .middle-box {
    width: 40%;
    background: #FFFFFF;
    overflow: hidden;
    min-height: 300px;
}

.main-wrapper .left-box .first-element,
.main-wrapper .left-box .second-element,
.main-wrapper .left-box .third-element,
.main-wrapper .right-box .first-element,
.main-wrapper .right-box .second-element,
.main-wrapper .right-box .third-element {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-wrapper .left-box .first-element img,
.main-wrapper .left-box .third-element img,
.main-wrapper .right-box .first-element img,
.main-wrapper .right-box .third-element img {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}

.main-wrapper .left-box .first-element,
.main-wrapper .right-box .first-element {
    align-items: flex-end;
}

.main-wrapper .left-box .second-element,
.main-wrapper .right-box .second-element {
    padding: 100px 0;
    flex-grow: 0;
    height: auto;
}

.main-wrapper .right-box .second-element .logo {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 0 auto 20px;
}

.main-wrapper .right-box .second-element .hashtag {
    font-size: 30px;
    color: #FFFFFF;
    font-weight: 600;
    margin: 0 auto 20px;
}

.main-wrapper .right-box .second-element .social-links {
    margin: 0 auto;
}

.main-wrapper .right-box .second-element .social-links a {
    display: inline-block;
}

.main-wrapper .right-box .second-element .social-links a:not(:first-of-type) {
    margin-left: 10px;
}

.main-wrapper .right-box .second-element .social-links a img {
    display: block;
    width: 40px;
    height: auto;
}

.main-wrapper .right-box .second-element .website {
    margin: 0 auto;
}

.main-wrapper .right-box .second-element .website a {
    font-size: 21px;
    color: #FFFFFF;
    text-decoration: none;
}

.main-wrapper .right-box .second-element .website a:hover {
    text-decoration: underline;
}

.main-wrapper .middle-box video {
    width: auto;
    height: 100%;
}

@media only screen and (max-width: 1300px) {
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 35px;
    }
}

@media only screen and (max-width: 1024px) {
    .main-wrapper {
        flex-direction: column;
        overflow: auto;
    }

    .main-wrapper .left-box,
    .main-wrapper .middle-box,
    .main-wrapper .right-box {
        display: flex;
        flex-direction: row;
        flex-grow: 0;
    }

    .main-wrapper .left-box,
    .main-wrapper .right-box {
        flex-basis: auto;
        height: auto;
        padding: 20px;
        align-items: center;
    }
    
    .main-wrapper .left-box {
        min-height: 180px;
    }

    .main-wrapper .right-box {
        min-height: 200px;
    }

    .main-wrapper .middle-box {
        position: relative;
        overflow: hidden;
        width: auto;
    }

    .main-wrapper .left-box .first-element,
    .main-wrapper .right-box .first-element {
        padding-right: 40px;
    }

    .main-wrapper .left-box .first-element img,
    .main-wrapper .right-box .first-element img {
        margin: auto 0 auto auto;
    }

    .main-wrapper .left-box .second-element,
    .main-wrapper .right-box .second-element {
        padding: 0;
    }

    .main-wrapper .left-box .third-element,
    .main-wrapper .right-box .third-element {
        padding-left: 40px;
    }

    .main-wrapper .left-box .third-element img,
    .main-wrapper .right-box .third-element img {
        margin: auto auto auto 0;
    }

    .main-wrapper .right-box .second-element .social-links a img {
        width: 25px;
    }

    .main-wrapper .middle-box video {
        position: absolute;
        bottom: 0;
        left: 50%;
        height: auto;
        width: 100%;

        transform: translateX(-50%);
        background: #D3ECFB;
    }

    .main-wrapper .right-box .second-element .logo {
        max-width: 180px;
    }

    .main-wrapper .right-box .second-element .hashtag {
        font-size: 24px;
    }
}

@media only screen and (max-width: 700px) {
    h1 {
        /* font-size: 28px; */
        white-space: nowrap;
    }
    
    h2 {
        /* font-size: 20px; */
        white-space: nowrap;
    }

    .main-wrapper .left-box .second-element,
    .main-wrapper .right-box .second-element {
        padding: 0;
    }
}

@media only screen and (max-width: 600px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 20px;
    }

    .main-wrapper .left-box {
        min-height: 110px;
    }

    .main-wrapper .left-box .first-element,
    .main-wrapper .right-box .first-element {
        padding-right: 10px;
    }

    .main-wrapper .left-box .third-element,
    .main-wrapper .right-box .third-element {
        padding-left: 10px;
    }

    .main-wrapper .left-box .first-element img,
    .main-wrapper .left-box .third-element img,
    .main-wrapper .right-box .first-element img,
    .main-wrapper .right-box .third-element img {
        max-width: 90px;
    }
}

@media only screen and (max-width: 472px) {
    .main-wrapper .middle-box {
        overflow: unset;
    }

    .main-wrapper .middle-box video {
        /* background: #FFFFFF; */
    }

    .main-wrapper .right-box {
        min-height: 166px;
    }

    .main-wrapper .right-box .second-element .logo {
        margin-bottom: 15px;
    }

    .main-wrapper .right-box .second-element .hashtag {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .main-wrapper .right-box .second-element .website a {
        font-size: 18px;
    }
}

@media only screen and (min-height: 900px) {
    .main-wrapper .middle-box video {
        display: inline;
        position: relative;
        bottom: auto;
        left: auto;
        height: auto;
        width: 100%;

        transform: none;
    }
}

@media only screen and (max-height: 800px) {
    .main-wrapper .middle-box video {
        display: inline;
        position: relative;
        bottom: auto;
        left: auto;
        height: auto;
        width: 100%;

        transform: none;
    }
}

@media only screen and (max-width: 1024px) and (max-height: 900px) {
    .main-wrapper .middle-box video {
        display: inline;
        position: relative;
        bottom: auto;
        left: auto;
        height: auto;
        width: 100%;

        transform: none;
    }
}