:root {
    --textAccent: rgb(23, 142, 189);
    --textAccentDark: rgb(9, 88, 112);
}

* {
    box-sizing: border-box;
    font-family: 'futura-lt-w01-book', sans-serif;
}

html, body {
    height: 100%;
    overflow: auto;
}

body {
    margin: 0;
    justify-content: center;
    background-image: url(../img/background.gif);
    background-size: cover;
    background-repeat: repeat;
}

/* generall styling: */

h1 {
    color: #000;
    text-decoration: underline;
}

h2 {
    color: #000;
    text-decoration: underline;
}

h3 {
    color: #000;
}

p {
    text-align: justify;
    color: #fff;
}

a {
    text-decoration: none;
    color: var(--textAccent);
    font-weight: bold;
}

a:hover {
    color: var(--textAccentDark);
}

.fas, .fab, .far {
    color: white;
}

/* Navbar styling: */

nav {
    top: 0;
    position: sticky;
    width: 100%;
    background-color: rgb(190, 230, 235);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #fff;
}

.sidebarIcon>.fas {
    padding: 10px 20px;
}

nav a {
    display: inline;
    color: black;
    padding: 10px 20px;
    border: 1px solid transparent;
    transition: color 0.25s ease-out;
}

nav a:hover {
    border-left: 1px solid var(--textAccentDark);
    border-right: 1px solid var(--textAccentDark);
}

/* main content styling: */

main {
    width: 100%;
    height: 100%;
    max-width: 800px;
    margin: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

header {
    background-image: url('../img/hawaii.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 40%;
}

section {
    background-color: rgba(9, 88, 112, 75%);
    padding: 50px;
    text-align: center;
    max-width: 800px;
}

footer {
    text-align: center;
    padding-bottom: 50px;
    padding-top: 1px;
}

.socialMedia {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

footer h2 {
    color: #fff;
    margin-top: 100px;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover i {
    color: var(--textAccentDark)
}

footer p {
    color: white;
    text-align: center;
}

footer .fab, .far {
    margin: 0 10px;
}

/* banner styling */

.banner-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.banner {
    border: #fff 1px solid;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
    padding: 20px 20px;
    font-weight: normal;
}

.banner:hover {
    background-color: rgb(9, 88, 112);
}

.banner * {
    display: block;
}

.banner p {
    font-size: large;
    text-align: center;
}

.banner span {
    font-weight: bold;
    font-size: xx-large;
    color: rgb(160, 230, 155);
}

.banner i {
    color: #fff;
}

/* special styling for small screens */

@media only screen and (max-width: 1000px) {
    nav {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }

    nav a {
        display: none;
    }

    section {
        padding: 20px;
    }

    .sidebarIcon>.fas {
        cursor: pointer;
    }
}
