title {
    font-family: Ubuntu, "Times New Roman", serif;
}

body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

* {
    box-sizing: inherit;
}

p {
    font-family: "Noto Serif", "Times New Roman", serif;
    font-weight: 600;
}

.noto-serifer {
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* NAVBAR */

div#navbar {
    height: 50px;
    clear: both;
    position: fixed;
    top: 0px;
    right: 5px;
    width: 100%;
}

.navbar-transparent {
    background-color: transparent;
}
.navbar-white {
    background-color: white;
}

ul {
    font-family: "Noto Serif", serif;
    list-style-type: none;
    /* float: right; */
    margin-right: 1em;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: white;
}

li {
    display: inline;
    font-weight: 900;
    font-family: sans-serif;
    text-decoration: none;
    font-size: 1.5em;
    padding: 0.5em;
}

a {
    text-decoration: none;
}

ul li a:hover {
    font-weight: 900;
    text-decoration: none;
    color: darkblue;
}

ul li a:active {
    font-size: 1.1em;
    color: purple;
}

a:visited {
    color: white;
}

div.container {
    /* display: block; */
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/*CHANGE BACKGROUND IMAGE TO A NORMAL IMAGE. OTHERWISE IT WON'T SCROLL AWAY */
div#background {
    height: 650px;
    /* width: 100%; */
    display: flex;
    justify-content: space-between;
    align-items: first baseline;
    background-image: url(/images/port.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    /* height: 100%; */
}

div.container #background #logo {
    margin-left: 2em;
    margin-top: 1.5em;
    height: 5em;
}

#slogan {
    width: 800px;
    font-weight: bold;
    font-size: 32px;
    font-family: "Noto Serif", serif;
    align-self: center;
    text-align: center;
}

/* #parent-subsections {
    padding: 0;
} */

.subsection {
    height: auto;
    width: 100%;
    margin-left: 0.5em;
}

footer {
    padding: 5px;
    background-color: #45a1ff;
    color: #fff;
    justify-content: center;
    text-align: center;
}

/* Media queries for mobile devices */
@media (max-width: 480px) {
    body {
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    div#background {
        height: 100%;
        width: 100%;
        background-size: cover;
    }
    div.container #background #logo {
        height: 40%;
        width: 40%;
    }
    .subsection {
        font-size: 8px;
        width: fit-content;
        height: fit-content;
        margin-left: 0.5em;
        margin-right: 0.5em;
        font-size: 1em;
    }

    footer {
        padding: 0.25em;
        width: auto;
        height: 4em;
        font-size: 1em;
        align-content: center;
    }

    /* For Android devices */
    @media (max-width: 768px) {
        body {
            height: 100%;
            width: 100%;
            margin: 0;
            padding: 0;
        }
        div#background {
            height: 100%;
            width: 100%;
            background-size: cover;
        }
        div.container #background #logo {
            height: 40%;
            width: 40%;
        }
        .subsection {
            font-size: 8px;
            width: fit-content;
            height: fit-content;
            margin-left: 0.5em;
            margin-right: 0.5em;
            font-size: 1em;
        }

        footer {
            padding: 0.25em;
            width: auto;
            height: 4em;
            font-size: 1em;
            align-content: center;
        }
    }
    @media (orientation: landscape) {
        html,
        body {
            width: 100%;
            height: 100%;
        }
    }
}
