body {
    color: white;
    background: #000;
}

div#main {
    background: #000 url("../assets/banner-large.jpg") no-repeat;
    background-size: auto 378px;
    background-position: center top;
    margin: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

div#nav {
    width: 100%;
    order: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 30px;
}

#nav a {
    padding: 10px 20px;
    color: white;

}

div#header {
    order: 2;
    height: 328px;
    display: flex;
    justify-content: center;
    background: url("../assets/mouselight.svg") no-repeat;
    background-position: center top;
    background-size: auto 200px;
}

div#browser-button {
    margin-top: 240px;
    padding-top: 5px;
    width: 400px;
    height: 50px;
    border-radius: 5px;
    border: 1px solid white;
    background-color: #00ADEE;
    text-align: center;
    vertical-align: middle;
}

div#browser-button a {
    color: white;
    font-size: x-large;
}

div#content {
    order: 3;
    margin-top: 20px;
    margin-bottom: 0px;
    margin-left: 60px;
    margin-right: 60px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
}

div#left-content {
    order: 2;
    flex: 1 1 auto;
}

div#carousel_container {
    order: 3;
    flex: 1 1 auto;
}

div#carousel_inner {
    margin-top: 20px;
    margin-bottom: 40px;
    margin-left: 5px;
    margin-right: 5px;
}

div#carousel {
    height: auto;
    min-width: 340px;
    margin-left: 10px;
    margin-right: 10px;
    /*max-width: 670px;*/
}

div#right-content {
    order: 4;
    flex: 1 1 auto;
}

div.side-content {
    flex: 0 0 auto;
    height: auto;
    max-width: 304px;
    border: 1px solid white;
}

img.carousel-item {
    max-height: 500px;
    /*max-width: 666px;*/
    margin: auto;
    object-fit: contain;
}

div.carousel-item {
    max-height: 500px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

video.carousel-item {
    max-height: 500px;
    max-width: 100%;
    object-fit: contain;
}

div#tagline {
    order: 4;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 25px;
    max-width: 900px;
    background-color: #00324D;
    font-size: larger;
    text-align: justify;
}

@media only screen and (max-width: 1000px) {
    div#content {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
    }
    div#left-content {
        order: 4;
    }
    div#carousel_container {
        order: 2;
    }
    div#right-content {
        order: 3;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    div#carousel_inner {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    img.carousel-item {
        max-height: 300px;
    }

    div.carousel-item {
        max-height: 300px;
    }

    video.carousel-item {
        max-height: 300px;
    }
}

@media only screen and (max-width: 600px) {
    #nav a {
        padding: 5px;
    }

    div#nav {
        flex-wrap: wrap;
    }

    div#header {
        height: 164px;
        background-size: auto 75px;
    }

    div#main {
        background-size: auto 189px;
    }

    div#browser-button {
        margin-top: 80px;
        padding-top: 0px;
        width: 200px;
        height: 20px;
        border-radius: 5px;
    }

    div#browser-button a {
        color: white;
        font-size: small;
    }
}