body {
    font-family: 'Roboto', sans-serif;
    margin:0;
 height: 500vh;
}
html{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;

}
:root {
    --fg-light: #888;
    --fg: #555;
    --fg-deep: #222;
    --fg-deeper: #000;
}


#topnoti-link {
    text-decoration: none;
    display: block;
    margin: 0;
    padding: 0;
}

#topnoti {
    background-color: #1A73E9;
    color: white;
    padding: 10px;
    text-align: center;
    transition: background-color 0.3s ease, font-size 0.3s ease;
    font-size: 13px;
    margin: 0;
}

#topnoti:hover {
    background-color: #1666C1;
    font-size: 15px;
}

#topnoti::after {
    content: ' ➔';
    font-size: 1em;
    margin-left: 10px;
    transition: font-size 0.3s ease;
}

#topnoti:hover::after {
    font-size: 0.9em;
}

.styled-title {
    background: linear-gradient(to bottom right, black 30%, rgba(0, 0, 0, 0.4));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: left;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.6s;
    padding: 1.5rem 0rem;
    margin-bottom:0px;
    padding-bottom:0px;
    color: var(--fg-deeper);
   
    
    font-size: 3em;
    margin: 0px;

    line-height: 1.1111111;

}
.introtext{
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.6s;
    background-clip: text;
    -webkit-background-clip: text;
    opacity: 0;
    
}
.styled-subtitle {
    background: linear-gradient(to bottom right, black 30%, rgba(0, 0, 0, 0.2)); /* Slightly lighter tint */
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1rem; /* Slightly smaller font size */
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.05em;
    text-align: left;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.8s; /* Slight delay for a sequential effect */
    padding: 1rem 0;
    margin-top:10px;
    margin-bottom:10px;
    margin: 10px 0px 10px 0px;

   
  

}
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.4s;
    
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 10px;
    width: 100px;
    height: 100px;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    z-index: 1;
    gap: 10px;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 12px;
    border: 2px solid #1A73E9;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.tech-item:hover {
    transform: scale(0.95);
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
    object-fit: contain;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin: 75px 0px 20px 0px; 
       justify-content: center;

    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1s; /* Delay to create a sequential effect */
}

.social-icon {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #1A73E9; /* Color change on hover */
}
#software-stack-title {
    text-align: center;
    margin: 40px auto; 
    font-size: 2rem ;
    
}

.spacing {
    
    height: 25vh;
}
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}



#frontpage-div{
   margin: 0px auto;
   max-width: 70ch;
   font-size: 1rem;
   line-height: 1.75;
   padding-top: 75px;
}

#about-me-div {
    margin: 0px auto;
    max-width: 70ch;
    font-size: 1rem;
    line-height: 1.75;
    padding-top: 20px;
}



section {
    width: 100%;
    min-height: 40vh;
    padding: 20px 0;
}
#section-stack{
max-width: 80vh;
margin: 0px auto;
}


.contact-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #1A73E9;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.2s;
}

.contact-button:hover {
    background-color: #1666C1;
}



#projects-section {
    padding: 40px 20px;
}

.projects-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.8s;
}

.project-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    width: calc(50% - 20px);
    max-width: 500px;
    text-align: center;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.07);
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.project-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.project-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1A73E9;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #1666C1;
}

@media (max-width: 768px) {
    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .project-item {
        width: 100%;
        max-width: 400px;
    }
}






#dynamic-text {
    font-size: 2.5rem; /* Adjust size if necessary */
    text-align: center;
    margin-top: 20px;
    letter-spacing: -0.01em;
    
}

#dynamic-text span:first-child {
    color: var(--fg-deeper);
}

#typed-text {
    display: inline;
    white-space: nowrap;
    color: #1A73E9; /* Typed text color */
    border-right: 0.1em solid #1A73E9;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #1A73E9; }
}
#container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.project-div {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    width: 65%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.8);

}

.project-image-container {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    object-position: 15% center;
    transition: transform 0.3s ease;
}

.center-image {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* New class for iPhone simulator screenshots */
.iphone-simulator {
    border: 3px solid #000 !important; /* Simple black border */
    border-radius: 20px !important; /* Rounded corners */
    object-fit: contain !important; /* Change from cover to contain */
    width: calc(100% - 6px) !important; /* Account for border width */
    height: calc(100% - 6px) !important; /* Account for border height */
    margin: 3px !important; /* Add margin equal to border width */
    box-sizing: border-box !important; /* Include border in size calculation */
}

/* Gallery system for projects */
.project-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.gallery-thumbnails {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-thumbnail {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.9);
}

.gallery-thumbnail:hover {
    opacity: 1;
    border-color: #fff;
    transform: scale(1.1);
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: #1A73E9;
    box-shadow: 0 0 10px rgba(26, 115, 233, 0.5);
}

/* Mobile app screenshot styling */
.mobile-app-image {
    border: 2px solid #ddd;
    border-radius: 15px;
    max-width: 70%;
    margin: 10px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Website screenshot styling */
.website-image {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Desktop application styling */
.desktop-app-image {
    border: 2px solid #333;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* New class for desktop website screenshots */
.desktop-screenshot {
    object-fit: contain;
    object-position: center;
    background-color: #f5f5f5; /* Light background to fill empty space */
}

/* Adjust container for desktop screenshot projects on larger screens */
@media (min-width: 1024px) {
    .project-div.desktop-project .project-image-container {
        flex: 3; /* Give more space to the image */
        height: 300px; /* Taller container for better visibility */
    }

    .project-div.desktop-project .project-content {
        flex: 2; /* Less space for content */
    }
}

.project-div:hover .project-image {
    transform: scale(1.05);
}
.center-image {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
.project-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    padding-right: 1.5rem;
}

.project-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--fg-deeper);
    font-weight: 600;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1rem;
    color: var(--fg);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tech-tag {
    background-color: rgba(26, 115, 233, 0.1);
    color: #1A73E9;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background-color: rgba(26, 115, 233, 0.2);
}

.inner-div {
    background-color: #f0f0f0;   
     width: 50%;
    height: 50vh;

    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.inner-div:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 2px;
}

.inner-div:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.inner-div + .inner-div {
    border-left: 2px solid white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    max-width: 70ch;
    margin: 0px auto;
}

nav .emoji {
    font-size: 24px; 
}

nav .right-text {

    display: flex;
    gap: 20px; 
}

nav .right-text a {
    font-size: 16px; 
    text-decoration: none; 
    color: #000; 
    /* font-weight: bolder; */
    letter-spacing: 0.015em;

    font-family: Arial, sans-serif; 
}

nav .right-text a:hover {
    color: #007BFF; 
    font-size: 16.5px; 

}


@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.wave-emoji {
    display: inline-block;
    transition: transform 0.3s ease;
}

.wave-emoji:hover {
    animation: wave 2.5s ease infinite;
    transform-origin: 70% 70%;
}
