:root {
    --primary-colour: #111;
    --white-colour: #f1f1f1;
    --offwhite-colour: #cdcdcd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    font-synthesis: none !important;
}

.scrollbar-track, .scrollbar-track-y {
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: #111;
}

html, body {
  overflow: hidden;
}

#content-wrapper {
  height: 100vh;
  overflow: auto;
}

#overlay-top 
{
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(#0000009a, var(--primary-colour));
    z-index: 1;
}

.picture-section {
    position: relative; /* Establish positioning context for the overlay */
    height: 800px;
    width: 100vw;
    padding: 0 1rem;
    background-color: var(--primary-colour);
    display: flex;
    justify-content: center;
    align-items: center;
}

.picture-wrapper {
    width: 1300px;
    max-width: 100vw;
    border-radius: 40px;
    height: 700px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.picture-wrapper img{
    width: 1300px;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
    justify-content: center;
    align-items: center;
}

.text-section {
    position: relative; /* Establish positioning context for the overlay */
    height: 120vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-colour);
    animation: fadezoom 1s ease forwards;
}

.text-section h3 {
    margin-bottom: 40px;
    color: var(--white-colour);
}

.text-section p {
    width: 30%;
    text-align: left;
    color: var(--offwhite-colour);
    font-size: 1.02rem;
}

#slider {
    position: relative; /* Establish positioning context for the overlay */
    height: 800px;
    width: 100vw;
    background-color: var(--primary-colour);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-slider{
    width: 100vw;
    height: 700px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.image-slider .list{
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}

.image-slider .list img{
    width: 100%;
    max-width: 1300px;
    height: 100%;
    object-fit: cover;
}

.image-slider .dots{
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.image-slider .dots li{
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}

.image-slider .dots li.active{
    width: 30px;
}

.primarybutton-white {
    padding: 0.95rem 4rem;
    color: var(--white-colour);
    border: 2px solid var(--white-colour);
    border-radius: 50px;
    background-color: var(transparent);
    z-index: 3;
    transition: 0.2s ease-in;
}

.primarybutton-white:hover {
    background-color: var(--white-colour);
    color: var(--primary-colour);
    transform: scale(1.04);
}

@keyframes fadezoom {
    from {
        opacity: 0;
        transform: scale(1.4);
    }
    
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (width <= 1350px) {
    .section-wrapper {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }  

    .picture-wrapper {
        width: 70vw;
    }

    .text-section p {
        width: 40%;
    }
}

@media (width <= 1000px) {
    .text-section p {
        width: 50%;
    }
}

@media (width <= 530px) {
    .text-section p {
        width: 80%;
    }
}