body {
    font-family: "Rubik", sans-serif;
    ;
}

.font_Sec {
    font-family: "Playfair Display", serif !important;
}

.slideshow-container {
    max-width: 100vw;
    /* height: 90vh; */
    position: relative;
    margin: auto;
    overflow: hidden;
}

/* Hide the images by default */
.mySlides {
    display: none;
    position: relative;
    overflow: hidden;
}

/* Parallax effect for image */
.parallax-img {
    /* transform: translateZ(0); */
    transform: scale(1.1);
    transition: transform 1s cubic-bezier(0.48, 0.04, 0.31, 0.95);
}

/* Adding parallax effect on hover or during the sliding */
.parallax:hover .parallax-img {
    transform: translate3d(0, 10px, 0);
}

/* Overlay for images */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Semi-transparent black overlay */
    z-index: 1;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 2;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    padding: 8px 12px;
    position: absolute;
    bottom: 70px;
    width: 100%;
    text-align: center;
    z-index: 2;
    opacity: 0;
    /* Start with hidden text */
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    z-index: 2;
}

/* Caption animation */
@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-caption {
    animation: slideIn 2s cubic-bezier(0.42, 0, 0.19, 0.99) forwards;
}

/* Fading animation for slides */
.fade {
    animation: fade 1.5s cubic-bezier(0.42, 0, 0.19, 0.99) forwards;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}


.home_photo {
    background-image: linear-gradient(0deg, rgba(13, 12, 19, 0.80), rgba(17, 16, 23, 0.80)), url("../img/photo_parallax.jpg");
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (max-device-width: 1366px) {
    .home_photo {
        background-attachment: scroll;
    }
}