/* Base declarations */


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

p {
    margin: 20px 0;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #ffffff;
}


/* Colours used in site */
/* Backgrounds */

.white-bg {
    background-color: #ffffff;
}

.purple-bg {
    background-color: #704a9e;
}

/* Text colours */

.grey {
    color: #808285;
}

.white {
    color: #ffffff;
}

.pink {
    color: #ec008c;
}

/* Section Divider */

.pink-bg {
    background-color: #ec008c;
}


/* Text */

h1 {
    font-family: articulat-cf, sans-serif;
    font-weight: 200;
    font-style: normal;
}

p {
    font-family: articulat-cf, sans-serif;
    font-weight: 200;
    font-style: normal;
}

.large {
    font-size: 40pt;
    line-height: 45pt;
    max-width: 48vw;
}

.medium {
    font-size: 28pt;
    max-width: 80vw;
}

.small-bold {
    font-family: articulat-cf, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 35pt;
}

.x-small {
    font-size: 15pt;
    letter-spacing: 1.5px;
}


/* Section Divider */

.divider {
    width: 150px;
    height: 10px;
    margin-bottom: 50px;
}


/* Section 1 */

.section1 {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0px;
    left: 0;
    width: 100%;
    height: 75vh;
    justify-content: space-between;
    align-items: left;
}

.paralax {
    background: url("../images/topbg.jpg") no-repeat; 

    height: 75vh;

      /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 0;
    left: 0;
    z-index: 100;
    padding-top: 30px;
    padding-left: 100px;
    padding-right: 100px;
}

.full-size-logo {
    padding-left: 10%;
    position: absolute;
    bottom: 0;
}

/* Section 2 */

.section2 {
    width: 80%;
    padding-left: 10%;
    padding-top: 70px;
    padding-bottom: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section 3 - replaced by carousel styles */
.section3 {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    height: auto;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}


/* Section 4 */

.section4 {
    padding-left: 3.5%;
    padding-right: 3.5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section 5 */

.section5 {
    width: 80%;
    padding-left: 10%;
    padding-top: 70px;
    padding-bottom: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

.new-forest {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section 6 */

.section6 {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section 7 */

.section7 {
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Section 8 */

.section8 {
    padding-top: 10px;
    padding-bottom: 80px;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer */

.footer {
    padding-top: 50px;
    padding-bottom: 100px;
    padding-left: 5%;
    padding-right: 5%;
}

.footer-last-line {
    padding-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    text-align: right;
}

.footer-email {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: baseline;
}

.margin-zero {
    margin-bottom: 0px;
    margin-top: 0px;
}


/* everything related to the carousel */

.carousel {
    position: relative;
    width: 90%;
    max-width: 1300px;
    height: 650px;
    margin: 0 auto;
}

.carousel__image {
    width: 100%;
    
}

.carousel__track-container {
    background: white;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel__track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 250ms ease-in;
}

.carousel__slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.carousel__button--left {
    left: -30px;
}

.carousel__button--right {
    right: -30px;
}

.carousel__button img {
    width: 20px;
}

.carousel__nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.carousel__indicator {
    border: 0;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: rgba(0,0,0,0.3);
    margin: 0 12px;
    cursor: pointer;
}

.carousel__indicator.current-slide {
    background: rgba(0,0,0,.75);
}

.is-hidden {
    display: none;
}


/* adjust carousel height at screens smaller than 1260 */

@media screen and (max-width: 1250px) {
    .carousel {
        height: 550px;
    }
}

@media screen and (max-width: 1150px) {
    .carousel {
        height: 500px;
    }
}

@media screen and (max-width: 1050px) {
    .carousel {
        height: 450px;
    }
}


/* Media queries to change styles for small screens */

@media screen and (max-width: 815px) {

    .large {
        font-size: 28pt;
        line-height: 32pt;
        max-width: 100%;
    }
    
    .medium {
        font-size: 22pt;
        max-width: 90vw;
    }

    .small-bold {
        font-size: 18pt;
    }
    

    .section1 {
        height: 50vh;
    }
    
    .nav {
        padding-left: 10%;
        padding-right: 10%;
    }

    .logo-top img {
        width: 61px;
        height: 60px;
    }

    .full-size-logo {
        width: calc(100vw-20px);
        height: auto;
    }

    .section2 {
        width: 70%;
       
    }

    .carousel {
        height: 330px;
    }

    .section4 {
        flex-direction: column;
    }

    .section4 img {
        width: 100%;
    }

    .section7 {
        flex-direction: column;
        padding: 5%;
    }

    .section7 img {
        width: 100%;
        padding: 10px 0;
    }

    .footer-last-line {
        padding-top: 10px;
        flex-direction: column;
    }


   
  }

  @media screen and (max-width: 600px) {
    .carousel {
        height: 205px;
    }
}



.grabbing {
    cursor: grabbing;
  }
  
  .grabbing .slide img{
    transform: scale(0.9);
    box-shadow: 5px 5px 40px -1px var(--shadow);
  }