*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
}

.slide-section {
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide-section #top-controlled-slide {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: flex;
    cursor: grab;
}

.slide-section .slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    user-select: none;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: flex-end;
}

.slide-section .slide.last-clone {
    position: absolute;
    top: 0;
    right: 100%;
}

.slide-section .section-part {
    perspective: 500px;
}

.slide-section .right-part{
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.slide-section .left-part {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    /* box-shadow: 1px 1px 5px #666,
                -1px -1px 5px #555; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vw 30px;
    max-width: 480px;
    width: 80%;
    margin-bottom: 100px;
}

.slide-section .section-part .sect-content-wrapper {
    overflow: hidden;
}


.slide-section .section-part .section-name {
    font-size: 32px;
    font-weight: 100;
    color: #fff;
    margin-top: 10px;
    transform: translateY(-100px);
    opacity: 0;
    font-family: "Quintessential", serif;
}

.slide-section .section-part .section-paragraph {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 100;
    line-height: 1.5;
    margin-top: 5px;
    opacity: 0;
}

.slide-section .slide .slide-action-btns .main-action {
    transform: translateY(100px);
    opacity: 0;
    font-family: "Cormorant SC", serif;
}

.slide-section .slide.active .sect-content-wrapper .section-name {
    animation: caption-slide-from-top 0.8s forwards;
}

.slide-section .slide.active .sect-content-wrapper .section-paragraph {
    animation: caption-fade-in 0.7s 0.8s forwards;
}

.slide-section .section-part .slide-action-btns {
    margin-top: 20px;
    display: flex;
}

.slide-section .slide.active .slide-action-btns .main-action {
    animation:  caption-slide-from-bottom 0.8s forwards;
}

@keyframes caption-fade-in {
    from{opacity: 0;}
    to{opacity: 1;}
}

@keyframes caption-slide-from-top {
    from{opacity: 0; transform: translateY(-100px);}
    to{opacity: 1; transform: translateY(0)}
}

@keyframes caption-slide-from-bottom {
    from{opacity: 0; transform: translateY(100px);}
    to{opacity: 1; transform: translateY(0)}
}


.slide-section .section-part .section-main-img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    user-select:none;
    user-drag: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
}


.slide-markers {
    position: absolute;
    left: 50%;
    bottom: 20px;
    height: 40px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-markers .slide-marker {
    width: 15px;
    height: 15px;
    margin: 0 10px;
    background-color: #a6b1bb;
    cursor: pointer;
}

/*Rules for when a marker is active based on slide*/
.slide-markers .slide-marker.active {
    background-color: #391e15;
}

.slide-arrow-btn {
    color: #fff;
    background-color: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 35px;
    cursor: pointer;
    border: none;
}

.slide-arrow-btn.right-arrow {
    right: 20px;
}

.slide-arrow-btn.left-arrow {
    left: 20px;
}


@media screen and (max-width: 480px) {
    .slide-arrow-btn.right-arrow {
        right: 8px;
    }
    
    .slide-arrow-btn.left-arrow {
        left: 8px;
    }

    .slide-section .section-part .section-paragraph {
        font-size: 16px;
    }
}

@media screen and (max-width: 400px) {
    .slide-section .section-part .section-paragraph {
        font-size: 14px;
    }
}