:root {
    --dark-teal: hsl(178, 96%, 29%);
    --accent-colour: #946b1b;
    --accent-colour-hover: #8e671e;
    --subtle-grey: #fafafa;
}

html {
    margin: 0px;
    height: 100%;
}

body {
    background-color: white;
    display: block;
    margin: 0px;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.highlighted-text {
    color: var(--accent-colour);
}

/* Assets */

button {
    background-color: var(--accent-colour);
    border: 0px;
    border-radius: 5px;
    margin: 5px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: var(--accent-colour-hover);
}

/* Nav bar */

nav {
    display: flex;
    flex-flow: row;
    background-color: var(--subtle-grey);
    box-sizing: border-box;
    min-width: unset;
    max-width: unset;
    width: 100%;
    height: 70px;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    font-family: 'Source Serif Pro', sans-serif;
    border-bottom: 1px solid #eee;
}


.title-container {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.title-container img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 1px solid #CCC;
    margin: 0px 10px;
}

.title-container a {
    text-decoration: none;
}

.title-container h1 {
    font-weight: 500;
    font-size: 1.25em;
    color: #222;
    margin: 0px;
}


.links-container {
    display: flex;
    flex-flow: row;
    align-items: center; 
    margin: 0px 10px;
}

.links-container a {
    margin: 5px;
    font-size: 1em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
}
.links-container a:hover {
    text-decoration: underline;
}

.social-media-container {
    display: flex;
}

.social-media-container a {
    background-color: #333;
    border-radius: 5px;
    margin: 5px;
    display: flex;
    align-items: center;
    padding: 3px;
}

.social-media-container a img {
    height: 25px;
    width: 25px;
}

.menu-icon {
    display: none;
}


/* Side menu */

#side-menu {
    position: fixed;
    top: 0;
    width: 250px;
    height: 100%;
    display: flex;
    flex-flow: column;
    background-color: #fff;
    z-index: 2;
    transition: .25s all;
    color: grey;
    border-left: 1px solid #d3d3d3;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.side-menu-open {
    right: 0px;
}

.side-menu-closed {
    right: -250px;
}

.side-menu-top-bar {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

#side-menu .links-container {
    display: flex;
    flex-flow: column; 
    font-family: 'Source Serif Pro', sans-serif;
    color: var(--accent-colour);
}

#side-menu .social-media-container {
    display: flex;
}


main {
    height: calc(100% - 75px);
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow-y: scroll;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.section-container {
    display: flex;
    position: relative;
    justify-content: center;
}

section {
    display: flex;
    flex-flow: row;
    color: #333;
    font-family: 'Source Serif Pro', sans-serif;
    margin-bottom: 40px;
    /* padding: 40px 0px; */
    align-items: center;
    max-width: 1200px;
    /* border-bottom: 1px solid rgba(0,0,0,0.25); */
}

section h1 {
    /* font-family: 'Source Serif Pro', sans-serif; */
    font-family: 'Source Serif Pro', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--accent-colour);
}

section .section-text {
    padding: 40px;
    line-height: 1.75em;
    flex-grow: 1;
    flex-basis: 50%;
}

.section-line {
    position: absolute;
    bottom: 0px;
    width: 800px;
    border-bottom: 1px solid rgba(0,0,0,0.25);
}

#home {
    border-bottom: 1px solid rgba(0,0,0,0.25);
    margin-bottom: 40px;
}

section .top-container {
    margin: 40px 0px 80px 0px;
}

    section .top-container h1 {
        font-size: 3em;
        text-transform: unset;
        margin: 0px;
        color: #222;
    }

    section .top-container .tagline {
        font-size: 1.5em;
    }

    section .top-container .top-text-container {
        text-align: center;
        margin-bottom: 40px;
    }

    section .top-container .social-media-container {
        margin-top: 20px;
        justify-content: center;
    }


section .section-home-banner {
    display: block;
}

section .image-reel-container {
    display: flex;
}

    section .image-reel-container img {
        width: 280px;
        height: 280px; 
        margin-right: 20px;
    }

    section .image-reel-container img:last-child {
        margin-right: unset;
    }


section .section-float {
    float: left;
    font-size: 0.85em;
    margin: 0px 40px 15px 0px;
    background-color: var(--subtle-grey);
    padding: 20px;
    border-radius: 3px;
    max-width: 350px;
}

    section .section-float > * {
        max-width: inherit;
    }

    section .section-float h2 {
        margin: 20px 0px 0px 0px;
    }

    section .section-float-image-container {
        display: flex;
        margin-top: 20px;
        justify-content: space-between;
    }
        
        section .section-float-image-container img {
            width: 160px;
            height: 160px;
            border: 1px solid rgba(0,0,0,0.1);
        }

.section-image-gallery {
    flex-grow: 1;
    display: flex;
    flex-basis: 630px;
    min-width: 630px;
    height: 630px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box;
    margin: 40px 0px;
}

    .section-image-gallery .image-box {
        height: 200px;
        width: 200px;
        margin: 5px;
    }

.image-box img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}


section .section-form {
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    justify-content: center;
}

    section .section-form .form-image {
        max-width: 338px;
    }

form {
    background-color: var(--subtle-grey);
    padding: 20px;
    border-radius: 3px;
    margin-right: 20px;
    box-sizing: border-box;
    /* height: 560px; */
}

.form-item {
    margin-bottom: 20px;
}

.form-submit-item {
    display: flex;
    justify-content: space-between;
}

input, textarea {
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    width: 400px;
}

.form-item input {
    max-width: inherit;
    height: 30px;
}

.form-item textarea {
    height: 200px;
}


@media (max-width: 1600px) {

    .section-image-gallery {
        display: flex;
        flex-basis: 480px;
        min-width: 480px;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        height: 480px;
        box-sizing: border-box;
    }
    
        .section-image-gallery .image-box {
            height: 150px;
            width: 150px;
            margin: 5px;
        }
}


@media (max-width: 1024px) {

    section .image-reel-container img {
        width: 180px;
        height: 180px;
        margin-right: 20px;
    }

    .section-image-gallery {
        max-width: 320px;
        min-width: 320px;
        max-height: 320px;
    }
    
        .section-image-gallery .image-box {
            height: 90px;
            width: 90px;
            margin: 5px;
        }

        input, textarea {
            width: 300px;
        }

        section .section-form .form-image {
            width: 100%;
        }

        .section-line {
            width: calc(100% - 120px);
        }
}


@media (max-width: 768px) {

    section {
        flex-flow: column;
        flex-direction: column-reverse;
    }

    section .image-reel-container {
        flex-flow: column;
        align-items: center;
    }

    section .image-reel-container img {
        width: 300px;
        margin-right: 0px;
        margin-bottom: 10px;
    }


    section .section-text {
        font-size: 0.9em;
        padding: 0px 20px;
    }


    section .section-form {
        display: flex;
        flex-flow: column;
        align-items: center;
    }

    section .section-form form {
        margin: 0px 0px 20px 0px;
    }


    .title-container {
        flex-flow: row;
    }   
    
    .title-container h1 {
        font-size: 1.25em;
    }

    
    .links-container {
        display: none;
    }

    .menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        background-color: unset;
        font-size: 1.25em;
        color: #333;
    }

    .menu-icon:hover {
        background-color: rgba(0,0,0,0.1);
    }

    .section-text {
        text-align: center;
    }

    .section-text ul {
        list-style: none;
        padding: 0px;
    }

    section .section-about-text {
        display: flex;
        flex-flow: column;
        justify-content: center;
    }

    section .section-float {
        float: unset;
        margin: unset;
        padding: 20px 0px;
        max-width: unset;
    }

    section .section-float > img {
        max-width: 250px;
    }

    section .section-float-image-container {
        margin: 20px;
    }

    section .section-float .social-media-container {
        justify-content: center;
    }

    section .section-form .form-image {
        width: 100%;
    }
}


@media (max-width: 520px) {

    section .top-container h1 {
        font-size: 2em;
    }

    section .top-container .tagline {
        font-size: 1.25em;
    }

    section .section-form .form-image {
        max-width: 250px;
    }
}