html {
    scroll-behavior: smooth;
}

body {
    font-size: var(--font-size-small);
    font-family: var(--font-stack);
    font-weight: 400;
    line-height: var(--line-height-normal);
    overflow-x: hidden;
    
    /* background: rgb(14, 14, 14); */
    /* color: var(--white-1); */
}

.row {
    padding-top: 3rem;
}

/* --------------------------------------- */
/* ----- About ----- */
/* --------------------------------------- */

.about__content {
    display: flex;
    flex-direction: row-reverse;
    align-items: left;
    justify-content: left;
    /* align-items: center; */
}


@media(max-height: 1900px) {
    .row {
        padding-top: 5rem;

    }
    .nav{
        padding: var(--gutter-small-1) 0;
    
        }
}

@media(max-height: 1028px) {
    .row {
        padding-top: 12rem;
    }
    .nav{
        padding: var(--gutter-small-2) 0;
    }
    .work__text {
        flex: 0 0 50%;
    }
    .work__text p {
        font-size : var(--font-size-small);
    } 
}



@media(max-width: 900px) {
    .about__content {
        flex-direction: column-reverse;
        align-items: initial;
    }
}

/* .about__photo-container2 {

} */

@media(min-width: 901px) {
    .about__text {
        flex: 0 0 40%;
    }
    .about__text2 {
        text-align: center;
    }
    
    .about__photo-container {
        flex: 1;
        align-items: left;
        text-align : left;

    }
}

.about__photo {
    max-width: 60%;

}

.img-container {
    max-width: auto;
    position: relative;
    margin: auto;
    margin-left: -6rem;
}

.myimg {
    display:none;
    text-align : center;
}

.myimg img {
    max-width: 100%;
    width: 90%;
    height: 600px;
    object-fit: contain;
}

.slideshow-container {
    max-width: auto;
    position: relative;
    margin: auto;
    margin-left: 0 rem;
}

/* .slideshow-container2 {
max-width: auto;
position: relative;
margin: auto;
margin-left: -6rem;
} */

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;

    margin-left: 0rem;

    padding: 8px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev{
/* margin-left: -8rem; */
}


/* .prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
} */


/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom:20px;
    width: 100%;
    text-align: center;
}

.mySlides {
    display:none;
    text-align : center;

}

.mySlides img {
    max-width: 100%;
    width: 90%;
    height: 650px;
    object-fit: contain;
}



@media(max-height: 900px) {
    .row {
        padding-top: 4rem;

    }
    .nav{
        padding: var(--gutter-small-0) 0;
    }
    .mySlides img {
        max-width: 100%;
        width: 90%;
        height: 600px;
        object-fit: contain;
    }   
}

.active-slide {
display:block;
}

.dot {
cursor:pointer;
height: 13px;
width: 13px;
margin: 0 2px;
margin-left: 0rem;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.dot:hover {
background-color: #717171;
}

/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}


.magnify{
    border-radius: 0%;
    border: 0px black;
    position: absolute;
    z-index: 20;
    background-repeat: no-repeat;
    background-color: white;
    /* box-shadow: inset 0 0 20px rgba(0,0,0,.5); */
    display: none;
    cursor: none;
  }
.dark-mode .magnify{
    border-radius: 0%;
    border: 0px black;
    position: absolute;
    z-index: 20;
    background-repeat: no-repeat;
    background-color: black;
    /* box-shadow: inset 0 0 20px rgba(0,0,0,.5); */
    display: none;
    cursor: none;
  }