body {
    background-color: #FFEAE6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    background: rgba(255, 255, 255, 0);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFEAE6;
    color: #1E167C;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-7xl {
    max-width: 80rem;
}

ul {
    display: inline-block;
    border-width: 3px;
    border-color: #1E167C;
    background: #FFEAE6;
    
}

.name {
    font-size: large;
    font-weight: 600;
    color: #1E167C; /* Default color */
    display: inline-block;
    transition: all 0.3s ease;
}

.name:hover {
    color: #FF76C8; /* Change to pink on hover */
    animation: navBounce 0.5s ease infinite;
}

.name-light {
    color: #1E167C;
    transition:all 0.3s ease;
}

.name-light:hover {
    color: #FF76C8;
    text-decoration: underline;

    
}

@keyframes navBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobileMenu.active {
    max-height: 300px; /* Adjust this value based on your content */
}

@media (max-width: 1023px) {
    header nav ul {
        display: none;
    }
}

/* Add this to ensure the content below the header doesn't get covered */


.subtitle-name {
    font-size: xx-large;
    font-weight: 600;
    color: #FFEAE6;
}

.rounded-box {
    background-color: #0CCEFF;
    padding: 0.5rem 1.5rem; /* Adjust padding as needed */
    display: inline-block; /* Makes the div fit the content */
}


.rounded-box h2 {
    margin: 0; /* Removes default margin */
    
}

.subtitle {
    font-size: xx-large;
    font-weight: 600;
    color:#1E167C;
}

.subtitle-large {
    font-size: 3rem; /* Example size, adjust as needed */
    font-weight: 600;
    color: #1E167C; /* You can keep the same color or change it */
}



.portfolio-title{
    margin-bottom: 10px;
}

.home {
    background-color: #FFEAE6; /* Fallback color */
    background-image: url('../image/homebg-08.png'); /* Corrected syntax with parentheses */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 90vh; /* Ensure height is set */
}

.about {
    background-color: #FFEAE6;
    color: #1E167C;
}


.hello {
    font-family: 'Borel';
    font-size: xx-large;
}

.marquee {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    background: #FF76C8;
}

.animate-marquee {
    display: inline-block; /* Ensure the span is treated as an inline block */
    white-space: nowrap; /* Prevent text wrapping */
    animation: marquee 20s linear infinite; /* Adjust the duration as needed */
}


@keyframes marquee {
    0% {
        transform: translateX(0%); /* Start off-screen to the right */
    }
    100% {
        transform: translateX(-50%); /* End off-screen to the left */
    }
}

.experience {
    color: #1E167C;
}

.timeline-dot {
    position:relative
}

.timeline-dot::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: -31.25px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #FF76C8;
  border-radius: 100%;
}

.timeline-line::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 20px;
  width: 3px;
  height: calc(100% - 20px);
  background: #FF76C8
}

.grid a {
    
    transition: transform 0.3s ease; /* Smooth transition for the transform */
}

.grid a:hover {
    transform: scale(1.05); /* Scale up the image slightly on hover */
}

.button {
    background-color: #0CCEFF;
    color: #FFF8F8;
    font-size: large;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
}

.button:hover {
    transform: scale(1.05);
}

.button:active {
    transform: scale(0.95);
}

.socialButtons {
    transition: all 0.3s ease;
    max-width: 0;
    opacity: 0;
}

.button.expanded .socialButtons {
    max-width: 300px;
    opacity: 1;
}

.social-button {
    transition: all 0.3s ease;
    color: #ffffff;
}



.social-button:hover {
    animation: bounce 0.5s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 640px) {
    .button {
        font-size: medium;
    }

    .button.expanded {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 1rem;
    }

    .socialButtons {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .button.expanded .socialButtons {
        max-width: 100%;
    }
}

.confetti-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 15%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 15vw; 
    z-index: 10;
    overflow: visible;
    transform-origin: center;
    margin-bottom: 3vh;
}

.confetti-top-left img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: translateY(20%);
}

@media (max-width: 768px) {
   
    .confetti-top-left {
        display: none; /* Hide the decorative image on mobile */
    }
}

.butterfly-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 8%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 15vw; 
    z-index: 10;
    overflow: visible;
    transform-origin: center;
    margin-bottom: 3vh;
}

.butterfly-top-right img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: translateX(-20%);
}

@media (max-width: 768px) {
   
    .confetti-top-right {
        display: none; /* Hide the decorative image on mobile */
    }
}

.confetti-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 15%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 15vw; 
    z-index: 10;
    overflow: visible;
    transform-origin: center;
    margin-bottom: 3vh;
}

.confetti-top-right img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: translateX(-10%);
}

@media (max-width: 768px) {
   
    .confetti-top-right {
        display: none; /* Hide the decorative image on mobile */
    }
}

.confetti-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 15vw; 
    z-index: 10;
    overflow: hidden;
    transform-origin: center;
    margin-bottom: 3vh;
}

.confetti-bottom-right img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
   
    .confetti-bottom-right {
        display: none; /* Hide the decorative image on mobile */
    }
}

.confetti-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 15vw; 
    z-index: 11;
    overflow: hidden;
    transform-origin: center;
    margin-bottom: 3vh;
}

.confetti-bottom-left img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
   
    .confetti-bottom-left {
        display: none; /* Hide the decorative image on mobile */
    }
}

.elephant-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 35vw; 
    z-index: 10;
    overflow: visible;
    /* overflow-visible to show full image despite the image container size */
    transform-origin: center;
    margin-bottom: 3vh;
}

.elephant-bottom-left img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(270%); 
    /* translateY to move the object down */
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
   
    .elephant-bottom-left .butterfly-top-right {
        display: none; /* Hide the decorative image on mobile */
    }
}

.decor-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 15%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 15vw; 
    z-index: 10;
    overflow: hidden;
    transform-origin: center;
    margin-bottom: 3vh;
}

.decor-left img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
   
    .decor-left {
        display: none; /* Hide the decorative image on mobile */
    }
}

:root {
    --scroll: 0; /* Initialize scroll variable */
}

.decor-left {
    position: absolute; /* make sure it stays put so we can see it! */
    animation: rotate 10s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    transform-origin: center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.confetti-top-right-dynamic {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 20vw; 
    z-index: 10;
    overflow: visible;
    transform-origin: center;
    margin-bottom: 3vh;
}

.confetti-top-right-dynamic img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    object-fit: cover;

}

@media (max-width: 768px) {
   
    .confetti-top-right-dynamic {
        display: none; /* Hide the decorative image on mobile */
    }
}

:root {
    --scroll: 0; /* Initialize scroll variable */
}

.confetti-top-right-dynamic {
    position: absolute; /* make sure it stays put so we can see it! */
    animation: rotate 35s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    transform-origin: center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.experience-content {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
}


.decor-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10%; /* Adjust this value to make the image smaller, accounting for padding */; /* Adjust this value to make the image smaller */
    height: 10vw; 
    z-index: 10;
    overflow: hidden;
    transform-origin: center;
    margin-bottom: 3vh;
}

.decor-right img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
   
    .decor-right {
        display: none; /* Hide the decorative image on mobile */
    }
}

:root {
    --scroll: 0; /* Initialize scroll variable */
}

.decor-right {
    position: absolute; /* make sure it stays put so we can see it! */
    animation: rotate 25s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    transform-origin: center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#uiux {
    position: relative;
    overflow: hidden;
}

.uiux-content {
    position: relative;
    z-index: 2;
    background-color: #FF76C8;
    border-radius: 5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-top: 5rem;
    margin-bottom: 5rem;
    margin-right: 15%;
}


.uiux-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%; /* Adjust this value to make the image smaller */
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.uiux-decor img {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .uiux-content {
        margin-right: 0;
        border-radius: 5rem;
    }

    .uiux-decor {
        display: none; /* Hide the decorative image on mobile */
    }
}

#illustration {
    position: relative;
    overflow: hidden;
}

.illustration-content {
    position: relative;
    z-index: 2;
    background-color: #0CCEFF;
    border-radius: 5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: 5rem;
    margin-bottom: 5rem;
    margin-left: 15%;
}


.illustration-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%; /* Adjust this value to make the image smaller */
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.illustration-decor img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .illustration-content {
        margin-left: 0;
        border-radius: 5rem;
    }

    .illustration-decor {
        display: none; /* Hide the decorative image on mobile */
    }
}

.container-skill {
    font-size: large;
    font-weight: 600;
    display: inline-block;
    border-color: #FF76C8;
    border-width: 3px;
}

#illustrationsSlider {
    height: 65vh; /* Set the height of the parent container to the full viewport height */
    width: calc(100% - 3rem); /* Adjust this value based on your layout */
    overflow: hidden;
}

#illustrationsSlider img {
    height: 500px; /* Set a fixed height */
    width: auto; /* Allow width to adjust automatically */
    object-fit: contain; /* Ensure the entire image is visible without stretching */
    display: flex;
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
    
}

#sliderProgress {
    background-color: #FFCB64;
}

#sliderHandle {
    background-color: #FFCB64;
}

.subtitle-negative {
    color: #FFF8F8;
    font-size: 3rem;
}

/* v0 css */

.blur-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(15px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: white;
            text-align: center;
            padding: 1rem;
        }
        .illustration:hover .blur-overlay {
            opacity: 1;
        }
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: white;
            text-align: center;
        }
        .video-container:hover .video-overlay {
            opacity: 1;
        }

.text-overlay {
    color: #FFF8F8;
}     

.laptop-overlay {
    margin: 1rem 4.5rem 2.5rem 5.25rem;
    transition: opacity 0.3s ease;
}

.laptop-overlay:hover {
    margin: 1rem 4.5rem 2.5rem 5.25rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 2);
    opacity: 1;
    
}

.phone-overlay {
    margin: 0.005rem;
    border-radius: 1.25rem;
    transition: opacity 0.3s ease;
    
}

.phone-overlay:hover {
    margin: 0.005rem;
    border-radius: 1.25rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 2);
    opacity: 1;
}

.feather-overlay {
    box-shadow: 0 0 20px rgba(0, 0, 0, 3);
}

.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.scrollable-image {
    max-width: 100%;
    max-height: 100%;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* Adjust space below the line */
}

.line {
    flex-grow: 1; /* This allows the line to grow and take available space */
    height: 3px; /* Line thickness */
    background-color: #FF76C8; /* Line color */
    margin: 0; /* Space between dots and line */
}

.dot {
    width: 10px; /* Dot size */
    height: 10px; /* Dot size */
    background-color: #FF76C8; /* Dot color */
    border-radius: 50%; /* Make it circular */
    display: inline-block; /* Ensure it behaves like a block element */
}

#motion {
    background-color: #FFEAE6;
    color: #1E167C;
    position: relative;
    overflow: hidden;
}

.subtitle-large {
    font-size: 3rem;
    font-weight: 600;
    color: #1E167C;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

.left-button {
    left: 0;
}

.right-button {
    right: 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.tv-frame {
    width: 100%;
    height: auto;
}

.video-wrapper {
    position: absolute;
    top: 59%;
    left: 42.2%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 0;
    padding-bottom: 45%;
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.indicator {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.indicator.active {
    background-color: #0CCEFF;
}
.indicator.inactive {
    background-color: rgba(0, 0, 0, 0.5);
}

/* 3D Design */

#videoOverlay {
    transition: opacity 0.3s ease-in-out;
    backdrop-filter: blur(15px);
    border-radius: 2.5rem; /* This will round the corners of the overlay */
    overflow: hidden; /* This helps to keep the corners rounded */
}

#playButton {
    transition: background-color 0.3s ease-in-out;
}

#playButton:hover {
    background-color: #0ab3e0;
}

.rounded-corner {
    border-radius: 2.5rem;
    overflow:hidden;
}

.other-work-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Creates a square aspect ratio */
    overflow: hidden;
    cursor: pointer;
}

.other-work-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.other-work-item .thumbnail {
    z-index: 1;
}

.other-work-item .fullsize {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(10px);
}

.other-work-item:hover .thumbnail {
    opacity: 0;
}

.other-work-item:hover .fullsize {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.rounded-lg {
    border-radius: 1.5rem;
}

#contact {
    background-color: #FF76C8;
    color: #FFEAE6;
    height: auto; /* Set height as needed or use a specific value */
    
}

#typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.social-link {
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .uiux-content {
        margin-right: 0;
        border-radius: 5rem;
    }

    .laptop-overlay, .phone-overlay {
        padding: 1rem;
    }

    .laptop-overlay h3, .phone-overlay h3 {
        font-size: 0.75rem;
    }

    .laptop-overlay p, .phone-overlay p {
        font-size: 0.5rem;
    }

    #videoOverlay {
        display: none;
    }
}