:root {
    --yellow: #F9CD22;
    --goldenYellow: #FCB415;
    --lightBlue: #62BBFF;
    --blue: #3E7BBF;
    --navyBlue: #23334C;
    --darkNavyBlue: #172236;
    --black: #121212;
}

/* Standard CSS styles for page elements */
body, html {
    scroll-behavior: smooth;
}
body {
    color: white;
    margin: 0;
    background-image: url('../images/BackgroundImage1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
h2 {
    font-family: "Changa One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4em;
    color: var(--yellow);
}
p {
    font-family: "Saira", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 1.4em;
}
.highlighted-text {
    color: var(--goldenYellow);
}

/* Styles for each section below */
.section {
    padding: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    width: 100%;
}
.section :first-child {
    margin-top: 0;
}
.section-0 {
    background-color: transparent;
    justify-content: center;
}

/* Styles for all section containers / panels below */
.sectionPanel-outerBorder {
    background-color: transparent;
    width: 100%;
    position: relative;
    padding: 10rem 0 0;
    overflow: hidden;
}
.sectionPanel {
    background-color: var(--navyBlue);
    padding: 3vw;
    box-shadow: 0 0 3em var(--darkNavyBlue);
}
.sectionPanel-innerBox {
    background-color: var(--darkNavyBlue);
    width: 50%;
    padding: 2vw;
    border-radius: 2rem;
    box-shadow: 0 0 3em var(--darkNavyBlue);
}
.innerBox-variant2 {
    margin-left:auto;
}
.innerBox-variant3 {
    margin:auto;
}
.innerBox-variant4 {
    margin:auto;
    width: 40%;
}
.innerBox-variant5 {
    margin:auto;
    width: 60%;
}

/* Positioning for all section images below */
.section-image {
    position: absolute;
    filter: drop-shadow(10px 10px 10px black);
    transition: 0.5s ease;
}

/* Section 1 Images */
.section1-image1 {
    top: 18.5%;
    left: 0;

}

/* Section 2 Images */
.section2-image1 {
    right: 12%;
    top: 58%;
}
.section2-image2 {
    right: -5%;
    top: 10%;
}

/* Section 3 Images */
.section3-image1 {
    left: -5%;
    top: 10%;
}
.section3-image2 {
    left: -45%;
    top: 55%;
}

/* Section 4 Images */
.section4-image1 {
    left: -3%;
    top: 15%;
}
.section4-image2 {
    left: 4%;
    top: 42%;
}
.section4-image3 {
    left: -3%;
    top: 65%;
}
.section4-image4 {
    right: -3.25%;
    top: 16%;
}

/* Section 5 Images */
.section5-image1 {
    left: -10%;
    top: 16%;
}

/* Section 6 Images */
.section6-image1 {
    right: 8%;
    top: 25%;
}
.section6-image2 {
    right: -25%;
    top: 10%;
}
.section6-image3 {
    right: -5%;
    top: 39%;
}

/* Section 7 Images */
.section7-image1 {
    left: -11%;
    top: 19%;
}
.section7-image2 {
    right: -5%;
    top: 18%;
}

/* Fade Up Behaviour */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 400ms;
}
.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left.in-view.section-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Fade Up From Right Behaviour */
.fade-in-right {
    opacity: 0;
    transform: translateX(200px);
    transition: all 1000ms;
}
.fade-in-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Up From Left Behaviour */
.fade-in-left {
    opacity: 0;
    transform: translateX(-200px);
    transition: all 1000ms;
}
.fade-in-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Hover behaviours for images after they have been fade in */
.fade-in-right.in-view.section-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}
.fade-in-left.in-view.section-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Accordian Styles */
.accordian-content {
    height: 0;
    overflow: hidden;
    transition: all 300ms;
}
.accordian-title {
    font-size: 3em;
    transition: 0.4s ease;
    font-family: "Changa One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--yellow);
    margin: auto 3.5em;
    filter: drop-shadow(2px 2px 5px black);
    
}
.accordian-title:hover {
    transform: scale(1.05);
    color: var(--goldenYellow);
}
.accordian-title::before {
    content: "\221F";
    display: inline-block;
    margin-right: 0.6em;
    rotate: -45deg;
    vertical-align: text-bottom;
}
.accordian-title::after {
    content: "\221F";
    display: inline-block;
    margin-left: 0.6em;
    rotate: -45deg;
    vertical-align: text-bottom;
}
.accordian.open {
    .accordian-content {
        height: auto;
        padding-bottom: 20remx;
    }
    .accordian-title::before {
        rotate: 135deg;
        transform: translateY(-8px);
    }
    .accordian-title::after {
        rotate: 135deg;
        transform: translateY(-8px);
    }
}

/* styles for bottom of page */
.page-bottom-bar {
    background-color: var(--darkNavyBlue);
    height: 10vh;
    width: 100%;
    display: flex;
    justify-content: center;
}
.link {
    color: var(--yellow);
}
.link:hover {
    color: var(--goldenYellow);
}

/* styles for buttons */
.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 3em;
    padding: 0 1em 2em;
}
button {
    padding: 0.2em;
    width: 15rem;
    height: 80px;
    font-family: "Saira", sans-serif;;
    font-size: 1.4em;
    background-color: var(--blue);
    color: white;
    border: double 0.2em var(--navyBlue);
    box-shadow: 0 0.3em 0.75em black;
    border-radius: 1.25em;
    transition: 300ms ease;
}
button:hover {
    transform: scale(1.1);
    font-size: 1.5em;
    background-color: var(--navyBlue);
    color: var(--goldenYellow);
    border: double 0.2em var(--darkNavyBlue);
}

/* styles for side navigation panel */
nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    ul {
        list-style: none;
    }
    li {
        margin-bottom: 1.4em;
    }
    a {
        height: 1.075em;
        width: 1.075em;
        background-color: white;
        display: block;
        border-radius: 0.75em;
        opacity: 0.3;
    }
    a.active {
        opacity: 1;
    }
}

/* styles for mobile view */
@media screen and (max-width: 800px) {

    .logo {
        scale: 0.4;
    }
    h2 {
        margin-bottom: 1.5rem;
    }
    p {
        font-size: 1.3rem;
        margin: 0.75rem auto;
    }

    .section-image {
        z-index: -1;
    }
    .sectionPanel-outerBorder {
        height: 80%;
        overflow: visible;
    }
    .sectionPanel {
        padding: 3vw;
        box-shadow: 0 0 2em var(--darkNavyBlue);
    }
    .sectionPanel-innerBox {
        margin: auto;
        width: 80%;
        padding: 2rem;
        box-shadow: 0 0 1em var(--darkNavyBlue);
    }

    .section1-image1 {
        scale: 0.28;
        top: -23%;
        left: -50%;
    }
    .section2-image1 {
        scale: 0.27;
        top: -5%;
        right: -22%;
    }
    .section2-image2 {
        scale: 0.27;
        top: -28%;
        right: -50%;
    }
    .section3-image1 {
        scale: 0.3;
        top: -18%;
        left: -62%;
    }
    .section3-image2 {
        scale: 0.3;
        top: -9%;
        left: -170%;
    }
    .section4-image1 {
        scale: 0.35;
        top: -8%;
        left: -32%;
    }
    .section4-image2 {
        scale: 0.34;
        top: -1%;
        left: -30%;
    }
    .section4-image3 {
        scale: 0.3;
        top: -4%;
        left: -15%;
    }
    .section4-image4 {
        scale: 0.3;
        top: -24%;
        right: -34%;
    }
    .section5-image1 {
        scale: 0.25;
        top: -26.75%;
        left: -86%;
    }
    .section6-image1 {
        scale: 0.25;
        top: -14%;
        right: -55%;
    }
    .section6-image2 {
        scale: 0.25;
        top: -9%;
        right: -52%;
    }
    .section6-image3 {
        scale: 0.25;
        top: -19%;
        right: -82.5%;
    }
    .section7-image1 {
        scale: 0.3;
        top: -24%;
        left: -55%;
    }
    .section7-image2 {
        scale: 0.3;
        top: -25%;
        right: -39%;
    }

    .accordian-title {
        font-size: 1.3em;
        margin: auto 1.2em;
    }
    .button-container {
        display: block;
        margin-top: 1.5em;
        padding: 0 4.1em 0;
    }
    button {
        padding: 0.2em;
        width: 14rem;
        height: 5rem;
        margin: 0.8rem auto;
        font-size: 1.3em;
    }

    .page-bottom-bar {
        height: 5vh;
    }
    .page-bottom-bar p {
        font-size: 0.85rem;
    }

}
