body, html {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
}

html {
    overflow-x: hidden;
}

@font-face { font-family: "MyCustomFontText"; src: url("../subTitle.otf"); }

@font-face { font-family: "MyCustomFont"; src: url("../Title.otf"); }


.svg-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #e8dab9; /* Fallback color */
    overflow: hidden;
}

svg {
    position: absolute;
    width: 100vw;
    height: 100vh;
}

.titleContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Ensure any overflow is hidden */
}

.centered-title {
    font-size: 10vw; /* This will be dynamically updated */
    font-family: 'MyCustomFont', sans-serif;
    color: #fff; /* Adjust color based on your preference */
    transform-origin: center center;
    white-space: nowrap; /* Prevents the text from wrapping to the next line */
}



/* Optional: Responsive typography */
@media (max-width: 600px) {
    .centered-title {
        font-size: 1.5rem;
    }
}

.content-box-two {
    position: relative;
    width: 100vw;
    height: auto;
    background-color: #201b1b;
    overflow-x: hidden;
    text-align: center;
}

.content-box-three {
    position: relative;
    width: 100vw;
    min-height: 80vh; /* Adjusted minimum height */
    background-color: #5b4b49;
    overflow-x: hidden;
}


.custom-shape-divider-bottom-1718786546 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 10;
    pointer-events: none;
}

.custom-shape-divider-bottom-1718786546 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1718786863 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform-origin: top center;
    transition: transform 1.5s ease-out;
    z-index: 10;
    pointer-events: none;
}

.custom-shape-divider-top-1718786863 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1718787113 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1718787113 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.custom-shape-divider-bottom-1718787113 .shape-fill {
    fill: #201B1B;
}

.hiddenElement {
    opacity: 0;
}

#borderTransition.in-view {
    opacity: 1;
    transition: opacity 0.85s;
}

.line-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100vh;
    width: 100%;
    position: relative;
}

.line-container #shape1 {
    position: absolute;
    top: 10vh;
    transform: translateX(25vw);
}

.line-container #shape2 {
    position: absolute;
    bottom: 10vh;
    transform: rotate(180deg);
}

/* Keyframes for circular appearance effect */
@keyframes circling-out {
    0% {
        opacity: 0;
        clip-path: circle(0% at 50% 50%);
    }
    100% {
        opacity: 1;
        clip-path: circle(150% at 50% 50%);
    }
}

/* Apply animation to the title */
#aboutTitle.in-view {
    animation: circling-out 1.5s ease-out forwards;
}

.pdf-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.pdf-embed {
    width: 80vw;
    height: 70vh; /* Increased height */
    border: none;
    border-left: 10px solid #c6b6a9;
    border-right: 10px solid #c6b6a9;
    border-top: 10px solid #c6b6a9;
    border-bottom: 80px solid #c6b6a9;
    z-index: 0;
}




.pdf-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

.pdf-title {
    font-size: 5vw;
    font-family: 'MyCustomFontText', sans-serif;
    color: #e8dab9; /* Adjust color based on your preference */
}

.outer-pdf{
    background-color: #5b4b49;
    overflow: hidden; /* Prevents any overflow from transformations */
}

.content-box-one {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c6b6a9;
    padding-top: 20px;
    position: relative;
    height: 100vh;
    overflow: hidden; /* Ensure overflow is hidden to enable parallax effect */
}

/* Default layout */
.content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 80%;
    background: #ac9f93;
    padding-left: 40px;
    padding-top: 20px;
    padding-bottom: 60px;
    box-shadow: inset 0px 4px 8px rgba(0,0,0,0.5);
    border-top: 10px solid #5b4b49;
    border-left: 10px solid #5b4b49;
    border-right: 10px solid #5b4b49;
    border-bottom: 40px solid #5b4b49;
    transform: translateY(100%); /* Start position underneath */
    transition: transform 0.4s ease-out; /* Smooth transition */
    gap: 20px; /* Add gap between the text and image */
}

/* Hide the image and adjust layout for screens below 700px */
@media (max-width: 850px), (max-height: 740px) {
    .image-area {
        display: none !important;
    }

    .content-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%; /* Make the content take full width */
        padding: 20px; /* Adjust padding as needed */
        height: auto; /* Adjust height based on content */
    }

    .text-area {
        width: 100%; /* Ensure the text takes full width */
        text-align: center; /* Center the text content */
    }
}



.text-area {
    padding-left: 20px;
    color: #5b4b49; /* Dark text for contrast */
    font-family: 'Playfair Display', serif;
}

.text-area p {
    padding-bottom: 5vh;
}

@media (min-width: 2000px) {
    .text-area p {
        font-size: 1.1rem; /* Adjust this value as needed for better readability on phones */
    }
}

@media (max-width: 1800px) {
    .text-area p {
        font-size: 1rem; /* Adjust this value as needed for better readability on phones */
    }
}



@media (max-width: 1550px) {
    .text-area p {
        font-size: 0.8rem; /* Adjust this value as needed for better readability on phones */
    }
}

@media (max-width: 1000px) {
    .text-area p {
        font-size: 0.7rem; /* Adjust this value as needed for better readability on phones */
    }
}

@media (max-width: 700px) {
    .text-area p {
        font-size: 0.6rem; /* Adjust this value as needed for better readability on phones */
    }
}

@media (max-width: 570px) {
    .text-area p {
        font-size: 0.4rem; /* Adjust this value as needed for better readability on phones */
    }
}


.text-area h2 {
    font-size: 3.5vw;
    color: #201b1b;
    margin-bottom: 20px;
    font-family: 'MyCustomFontText', sans-serif;
}

.text-area p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .content-inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .text-area {
        font-size: 1.5vw;
    }

    .text-area h2 {
        font-size: 4vw;
    }
}

@media (max-width: 768px) {
    .content-inner {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .text-area {
        font-size: 2vw;
    }

    .text-area h2 {
        font-size: 5vw;
    }
}

@media (max-width: 480px) {
    .content-inner {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .text-area {
        font-size: 3vw;
    }

    .text-area h2 {
        font-size: 6vw;
    }
}

.image-area {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-area img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 80vh; /* Adjust based on your preference */
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3); /* Add shadow to the image for depth */
    border-radius: 5px; /* Optional: rounded corners */
    margin: 0 auto; /* Center the image */
    display: block; /* Ensure the image behaves like a block element */
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .image-area img {
        max-width: 90vw;
        max-height: 70vh;
    }
}

@media (max-width: 768px) {
    .image-area img {
        max-width: 100vw;
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .image-area img {
        max-width: 100%;
        max-height: 50vh;
    }
}



.svg-container, .content-box-one, .content-box-two, .content-box-three {
    overflow-x: hidden;
}


@keyframes wipeInFromLeft {
    0% {
        clip-path: inset(0 0 0 100%);
        opacity: 0;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes wipeInFromBottom {
    0% {
        clip-path: inset(100% 0 0 0);
        opacity: 0;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

#shape1.in-view {
    animation: wipeInFromLeft 4s ease-out forwards;
}

#shape2.in-view {
    animation: wipeInFromLeft 2s ease-out 0.5s forwards;
}

#shape3.in-view {
    animation: wipeInFromBottom 2s ease-out 1s forwards; /* Added 1s delay */
}


.skills-parallax-container {
    position: relative;
    width: 100vw;
    height: 15rem;
    overflow-x: hidden;
  }
  
.skills-parallax-content {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    transform: translateX(-100vw); /* Start off-screen to the left */
    display: flex; /* Make sure items are in a single line */
}


.skills-list {
    display: flex;
    gap: 8rem; /* Adjust gap between skills */
    padding: 1rem;
    list-style: none;
}

.skills-list li {
    font-size: 7vw; /* Adjust font size as needed */
    font-style: italic;
    color: white;
}
  
.skills-title {
    padding-top: 5vh;
    font-size: 5vw;
    font-family: 'MyCustomFontText', sans-serif;
    color: #e8dab9; /* Adjust color based on your preference */
    font-weight: bold;
}

.icon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin: 0 auto;
    gap: 1vw; /* Adjust spacing between icons */
    border-top: 5px solid black;
    border-bottom: 5px solid black;
    background-color: #c6b6a9;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

.icon-container img {
    height: auto;
    max-width: 4vw; /* Adjust size as needed */
}

.download-cv-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px 20px;
    background-color: #5b4b49;
    color: #e8dab9;
    border: 2px solid #e8dab9;
    border-radius: 25px;
    font-family: 'MyCustomFont', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    z-index: 1000; /* Make sure it stays above other elements */
}

.download-cv-button:hover {
    background-color: #e8dab9;
    color: #5b4b49;
}

.menu-icon {
    position: absolute;
    top: 10px; /* Adjust as needed */
    left: 25vw; /* Adjust as needed */
    width: 24px; /* Adjust width as needed */
    height: 24px; /* Adjust height as needed */
    fill: #2d2525; /* Adjust fill color */
    cursor: pointer; /* Add pointer cursor for interaction */
    z-index: 100;
}


/* Keyframes for sliding up */
@keyframes slideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100vh);
    }
}

.svg-container, .parallax-container {
    transition: transform 0.5s ease-in-out;
}

/* Class to trigger the slide up effect */
.slide-up {
    animation: slideUp 0.5s forwards;
}

.hidden-navigation {
    position: fixed;
    bottom: -100vh; /* Start below the view */
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #c6b6a9;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: bottom 0.3s ease-in-out;
}

.hidden-navigation.show {
    bottom: 0;
}

.hidden-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hidden-navigation ul li {
    margin: 20px 0;
}

.nav-list li a {
    text-decoration: none; /* Remove underline from links */
    color: #2d2525; /* Change link color as needed */
    font-family: 'MyCustomFontText', sans-serif; /* Use your custom font */
    font-size: 4.5vw; /* Adjust font size as needed */
    transition: color 0.3s; /* Smooth transition for color change */
}

.nav-list li a:hover {
    color: white; /* Change hover color to white */
}

.latest-work-container {
    padding: 40px 0;
    text-align: center;
}

.latest-work-title {
    font-size: 5vw;
    font-family: 'MyCustomFontText', sans-serif;
    color: #e8dab9;
    margin-bottom: 40px;
}

.latest-work-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.work-image img {
    max-width: 20vw; /* Adjust size as needed */
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
}

.work-description {
    max-width: 50vw;
    text-align: left;
    font-size: 1.2vw;
    color: #e8dab9;
    font-family: 'Playfair Display', serif;
}

.work-description p {
    margin-bottom: 20px;
}

.see-more-button {
    padding: 10px 20px;
    background-color: #5b4b49;
    color: #e8dab9;
    border: 2px solid #e8dab9;
    border-radius: 25px;
    font-family: 'MyCustomFont', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.see-more-button:hover {
    background-color: #e8dab9;
    color: #5b4b49;
}

/* Keyframes for the delay between each sheen effect */
@keyframes sheen-delay {
    0%, 9.5% { /* Adjust these percentages to sync with sheen-timer */
        animation-play-state: paused; /* Pause the sheen effect */
    }
    10%, 100% {
        animation-play-state: running; /* Run the sheen effect */
    }
}
