* {
    margin: 0px;
    padding: 0px;
    font-family: sans-serif;
}

body {
    background-color: white;
}


/* Navbar stylings for other pages */

#navbar {
    color: white;
    background-color: black;
    display: block;
    text-align: right;
    margin-bottom: 40px;
}

#navbar h1 {
    float: left;
    padding: 20px;
    font-size: 2rem;
    letter-spacing: 2px;
}

#navbar ul {
    display: block;
    margin-right: 3%;
    font-size: 0;
}

#navbar li {
    display: inline-block;
}

#navbar a {
    display: inline-block;
    border-left: solid thin white;
    padding: 30px 1vw;
    text-decoration: none;
    letter-spacing: 1px;
    color: white;
    font-size: 1rem;
}

#navbar a:hover {
    background-color: rgb(57, 57, 57);
}

#navbar a.selected {
    background-color: white;
    color: black
}

#navbar li:last-child {
    border-right: solid thin white;
}


/* Content stylings */

.container {
    width: 90%;
    margin: auto;
}

.container h1 {
    font-size: 3rem;
    margin: 15px;
    letter-spacing: 1px;
}

.container p {
    font-size: 1rem;
    margin: 15px;
    margin-top: 0px;
    text-align: justify;
}

article, section {
    margin: 10px 0px;
    display: inline-block;
    width: 100%;
}

article ul {
    display: inline-block;
    margin: 0px 20px;
    list-style-position: inside;
}

article li {
    margin: 5px 0px;
}

article h2, section h2 {
    text-transform: uppercase;
    text-align: justify;
    margin: 15px;
}

article h3 {
    text-transform: uppercase;
    font-weight: normal;
    text-align: justify;
    margin: 15px;
    margin-bottom: 0px;
    font-size: 1rem;
}

article img, section img {
    border: solid 3px black;
}

article img.right-30, section img.right-30s {
    vertical-align: top;
    float: right;
    width: 35%;
    margin-left: 25px;
    margin-bottom: 20px;
}

section iframe.right-30 {
    float: right;
    margin: 0px 0px 15px 20px;
    height: 400px;
    width: 100%;
    border: solid 3px black;
    box-sizing: border-box;
}

article img.left-30, section img.left-30 {
    vertical-align: top;
    float: left;
    width: 30%;
    margin-right: 25px;
    margin-bottom: 20px;
}


/* Image column stylings for the gallery */

.row {
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 0px;
}

img.col-gallery {
    margin: 1%;
    width: 22%;
    display: inline-block;
    vertical-align: middle;
    border: solid 3px black;
}

img.col-gallery:hover {
    cursor: pointer;
}


/* Form column styling */

form div.col {
    text-align: left;
    width: 29%;
    margin: 15px 1.9%;
    display: inline-block;
    vertical-align: top;
}


/* Input fields and forms */

form {
    margin: 20px;
    display: inline-block;
}

label {
    margin-top: 20px;
    display: block;
    font-size: 1.05rem;
}

input, select, textarea {
    box-sizing: border-box;
    display: block;
    margin-bottom: 20px;
    border: solid thin black;
    padding: 5px;
    font-family: sans-serif;
    font-size: 0.9rem;
}

input[type="text"], textarea {
    width: 100%;
}

input[type="date"], input[type="time"], input[type="number"], select {
    width: 50%;
}

input[type="submit"] {
    float: right;
    background-color: white;
    padding: 5px 10px;
}

input[type="submit"]:hover {
    cursor: pointer;
}


/* Footers */

footer {
    display: inline-block;
    border-top: dotted thin black;
    width: 100%;
    margin: auto;
    margin-top: 30px;
}

footer p {
    display: inline-block;
    margin: 20px;
    font-size: 0.8rem;
}

footer p.right {
    float: right;
}


/* Media queries */

@media screen and (max-width: 1050px) {
    #navbar h1 {
        font-size: 1.6rem;
        margin-top: 5px;
    }
    #navbar ul {
        margin-right: 0px;
    }
    img.col-gallery {
        width: 46%;
    }
}

@media screen and (max-width: 900px) {
    #navbar ul {
        margin: 0px;
    }
    #navbar li {
        display: block;
    }
    #navbar a {
        display: block;
    }
    #navbar li:last-child {
        border: none;
    }
    img.col-gallery {
        width: 98%;
    }
    form div.col {
        width: 100%;
    }
    footer p {
        display: block;
    }
    footer p.right {
        float: none;
    }
}
