/* General Layout */
body {
    display: flex;
    overflow: hidden;
}

h1 {
	font-family: "Favorit Mono Variable", Icons;
    font-size: 21px;
    color: #fff;
	font-style: normal;
	font-weight: 400;
	font-variation-settings: 'slnt' 0;
}

h2 {
	font-family: "Favorit Variable", Icons;
	font-style: normal;
	font-weight: 500;
	font-variation-settings: 'slnt' 0;
    font-size: 42px;
    color:#fff;
}

/* Sticky About Section */
.about-section {
    width: 40vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #000;
    padding: 20px;
    box-sizing: border-box;
}

.about-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 16px;
    color: #fff;
    text-decoration: underline;
    font-family: "Favorit Mono Variable", Icons;
	font-style: normal;
	font-weight: 300;
	font-variation-settings: 'slnt' 0;
}

.about-link:hover {
    text-decoration: underline;
}

/* Scrolling Projects Section */
.projects-section {
    width: 60vw; /* Adjust width based on viewport width instead */
    max-width: 100vw; /* Prevents overflow */
    margin-left: 40vw; /* Keeps positioning intact */
    overflow-y: auto;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    background-color: #000;
    font-family: "Favorit Mono Variable", Icons;
    font-style: normal;
    font-weight: 400;
    font-variation-settings: 'slnt' 0;
    color: white;
    font-size: 10.5px;
    text-transform: uppercase;
}


.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* Adjust as needed */
    height: 60vh;
    margin: 0 auto; /* Centers horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents overflow */
}

.slide {
    width: 100%;
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    display: none; /* Hides all slides initially */
}

.slide.active {
    display: block; /* Only show the active slide */
}



/* Project Styling */
.project {
    margin-bottom: 60px;
}

.project p {
    max-width: 500px; /* Adjust width to control line length */
    margin: 20px auto 0 auto; /* Centers the text below the slideshow */
    text-align: center; /* Ensures text is centered */
}


/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10; /* Ensure buttons appear over images */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

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









@media screen and (max-width: 768px) {
    body {
       overflow: auto;
       background-color: black;
       height: 100vh !important;
    }

    .about-section {
        width: 100vw;
        height: 160px;
        position: relative;
        text-align: center; /* Center align content for better mobile UX */
    }

    /* Mobile-specific typography */
    .about-section h1 {
        font-size: 15px; /* Adjust size */
        font-weight: 500; /* Customize weight */
        text-transform: uppercase; /* Example styling */
        color: #fff; /* Adjust color */
        text-align: left;
        padding-left: 0px;
    }

    .about-section h2 {
        font-size: 21px;
        font-weight: 400;
        line-height: 1.2;
        color: #ddd;
        text-align: left;
        padding-left: 0px;
    }

    .about-link {
        font-size: 11px;
        font-weight: 300;
        text-decoration: underline; /* Remove underline */
        color: #fff;
        padding-left: 0px;
        top:160px;
    }

    .project {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers everything inside */
        width: 100%;
    }
    
    .project p {
	font-family: "Favorit Mono Variable", Icons;
	font-style: normal;
	font-weight: 350;
	font-variation-settings: 'slnt' 0;
        font-size: 11px;
        text-transform: uppercase;
}
    
    .projects-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0px !important;
        height: auto;
        background-color: black;
    }

    .slideshow-container {
        width: 100% !important;
        max-width: 100vw !important;
        left:-6px;
    }

    .slide {
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
    }
}