.title-section {
    display: flex;
    color: var(--global-colour-text-light);
    background-color: var(--global-section-colour-a);
    height: 100vh;
    align-items: center;
    position: relative;
    overflow-y: hidden;
}
@media (max-width: 1024px) {
    .title-section {
    }
}

.title-section img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 0;
    overflow-y: hidden;
}

.title-subsection {
    display: flex;
    flex-direction: column;
    color: var(--global-colour-text-light);
    background-color: var(--global-section-colour-a);
    width: 100%;
    height: auto;
    /*padding-top: 85px;*/
}


.body-section {
    display: flex;
    color: var(--global-colour-text-light);
    background-color: black;
    height: auto;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1024px) {
    .body-section {
        padding-top: 0%;
    }
}
@media (max-width: 769px) {
    .body-section {
        padding-top: 0%;
    }
}

.body-subsection {
    display: flex;
    flex-direction: column;
    color: var(--global-colour-text-light);
    padding-top: 38%;
    height: auto;
    align-items: center;    
    background-color: unset;
    max-width: 1500px;
}
@media (max-width: 1550px) {
    .body-subsection {
        width: 98%;
        margin-left:1%;
        margin-right:1%;
    }
}
@media (max-width: 1024px) {
    .body-subsection {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}


.body-subsection-short {
    padding-top: 3%;
    padding-bottom: 3%;
}
@media (max-width: 769px) {
    .body-subsection-short {
        padding-bottom: 8%;
        padding-top: 2%;        
    }
}

#set-height {
    display: inline-block;
}
.vid-holder {
    top: 20%;
    left: 0;
    width: 100%;
}

.vid-holder video {
    width: 100%;
}

.body-subsection {

}

.image-body-section {
    padding-bottom: 5%;
}

.body-section-light {
    background-color: rgb(234, 229, 218);
    color: black;
}
.body-subsection-light {
    background-color: rgb(234, 229, 218);
    color: black;
}

/* Configurator */

.body-grid-configurator-container {
    margin-left: 5%;
}

.configurator_function_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;  
}

.config_underliner {
    border-bottom: 1px solid #000000;
    padding-bottom: 4px;
}

.body-grid-light {
    background-color: #eae5da;
    color: black;
    border-radius: 28px;
    justify-content: space-between;    
}
@media(max-width: 1024px) {
    .body-grid-light {
        grid-template-columns: 100%;
    }
}

input[type=range] {
    width: 75%;
    padding: 12px 20px;
    margin: 8px 2px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 28px;
    box-sizing: border-box;
    accent-color: red;
    background-color: #cac6bc;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #000000;
    height: 26px;
    width: 26px;
    border-radius: 28px;
    background: rgba(206, 255, 26, 1);
    cursor: pointer;
    margin-top: -14px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
    /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;  Add cool effects to your sliders! */
}
input[type=range]::-moz-range-thumb {
    /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
    border: 0px solid #000000;
    height: 26px;
    width: 26px;
    border-radius: 28px;
    background: rgba(206, 255, 26, 1);   ;
    cursor: pointer;
}
input[type=range]::-moz-range-track {
    background: #eae5da;
}

#config_form {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.scroll-carousel-container {
    max-height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}
  
.scroll-carousel-panel {
    scroll-snap-align: start;
    height: 100vh;
}
  
.scroll-carousel-red {
    background-color: #cf3535;
    background-image: none;
}
  
.scroll-carousel-panel p {
    font-size: 32px;
}

.title-subsection {
    display: flex;
    flex-direction: column;
    color: var(--global-colour-text-light);
    width: 100%;
    height: auto;
    z-index: 1;
    background-color: unset;
}
@media (max-width: 1024px) {
    .title-subsection {
    }
}

h1 {
    display: flex;
    font-size: 88px;
    line-height: 110%;
    padding-top: 0%;
    font-weight: 500;
    letter-spacing: -1.5px;
    text-align: center;
    justify-content: center;
}
@media (max-width: 1024px) {
    h1 {
        padding-top: 12%;
        padding-bottom: 3%;
        font-size: 68px;
    }
}
@media (max-width: 769px) {
    h1 {
        padding-top: 35%;
        font-size: 48px;
    }
}


/* Accordian Section */

.expanding-title {
    font-size: 44px;
    font-weight: 600;
    width: 100%;
    text-align: left;
    padding-top: 5%;
    padding-bottom: 3%;
    color: rgb(234, 229, 218);
}
@media (max-width: 1024px) {
    .expanding-title {
        width: 95%;
    }
}
@media (max-width: 769px) {
    .expanding-title {
        padding-top: 8%;
        padding-bottom: 5%;
        width: 85%;
    }
}
@media (max-width: 400px) {
    .expanding-title {
        font-size: 38px;
    }
}

.expanding-container {
    display: flex;
    flex-direction: column; 
    width: 100%;
    max-width: 1485px;

    row-gap: 15px;
}
@media (max-width: 1024px) {
    .expanding-container {
        justify-content: center;
        align-items: center;
    }
}

.expanding-section {
    display: flex;
    flex-direction: row;    
    column-gap: 15px;
    padding-bottom: 15px;
    align-items: flex-end;
    height: 415px;
    border-bottom: solid 1px #888;
    transition: all .25s linear;
}
@media (max-width: 1024px) {
    .expanding-section {
        width: 96%;
    }
}
@media (max-width: 769px) {
    .expanding-section {
        flex-direction: column; 
        height: unset;
    }
}



.expanding-section-hidden {
    height: 125px;
}
@media (max-width: 769px) {
    .expanding-section-hidden {
        height: 105px;
    }
}

.expanding-section-hidden a {

}
@media (max-width: 769px) {
    .expanding-section-hidden a {
        bottom: 25%;
        position: relative;
    }
}

.expanding-text-section {
    display: flex;
    flex-direction: column; 
    justify-content: flex-end;
    height: 100%;
    width: 100%;
}
@media (max-width: 769px) {
    .expanding-text-section {
        width: 92%;
        padding-right: 2%;        
    }
}

.expanding-tile-header {
    font-size: 38px;
    font-weight: 600;
    padding-bottom: 2%;
}
@media (max-width: 1024px) {
    .expanding-tile-header {
        font-size: 36px;
    }
}
@media (max-width: 769px) {
    .expanding-tile-header {
        font-size: 32px;
        padding-bottom: 2%;
        /*overflow: hidden;*/
        /*white-space: nowrap;*/
    }
}
@media (max-width: 400px) {
    .expanding-tile-header {
        font-size: 28px;
    }
}

.expanding-tile-subheader {
    padding-bottom: 4%;
}

.expanding-tile-arrow {
    aspect-ratio: 1/1;
    width: 60px;
}
@media (max-width: 769px) {
    .expanding-tile-arrow {        
        width: 60px;
    }
}

.expanding-tile-body {
    font-size: 16px;
    font-weight: 100;
    margin-right: 4%;
    line-height: 140%;
}
@media (max-width: 1024px) {
    .expanding-tile-body {
        margin-right: 0%;
    }
}
@media (max-width: 769px) {
    .expanding-tile-body {        
    }
}

.expanding-tile-body-hidden {
    display: none;
}

.expanding-tile-image {
    width: 115%;
    height: 100%;
}
@media (max-width: 769px) {
    .expanding-tile-image {
        display: none;
    }
}

.expanding-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.expanding-tile-hidden-img {
    filter: grayscale();
    height: 50%;
}

.expanding-tile-hidden-arrow, .expanding-tile-hidden-subheader {
    filter: grayscale() brightness(50%);
}

.expanding-tile-hidden-arrow {
    aspect-ratio: 1/1;
    width: 60px;
}


.expanding-tile-hidden-title {
    filter: brightness(50%);
}

.arrow-button {
    cursor: pointer;
}

.expanding-section-total {
    display: flex;
    flex-direction: row;
    width: 50%;
}
@media (max-width: 769px) {
    .expanding-section-total {
        width: 95%;
    }
}

.expanding-section-total a {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
}

/* Highlight Grid*/

.highlight-title {
    font-size: 32px;
    text-align: center;
    width: 90%;
    font-weight: 500;
}
@media (max-width: 1024px) {
    .highlight-title {
        padding-top: 25px;
    }
}
@media (max-width: 769px) {
    .highlight-title {
        font-size: 24px;
        padding-top: 50px;
    }
}

.highlight-grid {
    width: 100%;
    max-width: 1500px;
    display: grid;
    grid-template-columns: 32% 32% 32%;
    column-gap: 30px;
    row-gap: 5px;
}
@media (max-width: 1024px) {
    .highlight-grid {
        width: 95%;
        grid-template-columns: 100%;
    }
}
@media (max-width: 769px) {
    .highlight-grid {
        row-gap: 15px;
        padding-top: 5%;
    }
}

.grid-highlight-item {    
    grid-column: span 1;
    overflow: hidden;
    border-radius: 10px;
    padding: 25px;
    background-color: rgba(66, 66, 66, 0.6);
}

/* Style hyperlinks in grid highlight items */
.grid-highlight-item .expanding-tile-body a {
    color: #ffffff;
    text-decoration: underline;
}

.grid-highlight-item .expanding-tile-body a:hover {
    color: #cccccc;
    text-decoration: none;
}

.grid-highlight-item .expanding-tile-body a:visited {
    color: #ffffff;
}
@media (max-width: 1024px) {
    .grid-highlight-item {   
    } 
}



/* Image Grid */

.subsection-title {
    color:#000000;
    font-size: 44px;
    font-weight: 600;
    padding-bottom: 3%;
    align-self: start;
}
@media (max-width: 1024px) {
    .subsection-title {
        padding-left: 2.5%;
    }
}
@media (max-width: 769px) {
    .subsection-title {
        padding-top: 2.5%;
    }
}

.image-grid {
    width: 100%;
    max-width: 1550px;
    display: grid;
    grid-template-columns: 49.5% 49.5%;
    column-gap: 1%;
    row-gap: 0.8%;
}
@media (max-width: 1024px) {
    .image-grid {
        width: 94.5%;
    }
}

.grid-image {    
    grid-column: span 1;
    overflow: hidden;
    border-radius: 10px;
}

.grid-image-wide {
    grid-column: span 2;
}

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