body {
    user-select: none;
    margin: 0;
    padding: 0;
    height: 100vh;
    background: url('../img/i.gif') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Arial, sans-serif; 
    animation: fadeIn 2s ease-in-out forwards;
}

#intro-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
    font-size: 72px;
    white-space: nowrap;
    opacity: 0;
    z-index: 1000; 
    animation: fadeInOutIntro 2.2s forwards;
    color: white;
    text-decoration:underline;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.image1-overlay {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-item p {
    color: black;
    text-decoration: none;
}

.project-item p:hover {
    color: #fff;
    text-decoration: none;
}

.trans0{
    opacity: 0.5;
}

.text-content {
    display: none;
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: black; /* Set text color */
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.text-content a {
    color: #fff; /* Set link color */
}



.container{
    opacity: 0;
}

.fade-in {
    animation: fadeIn 2s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 2s ease-in-out forwards;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeInOutIntro {
    0%, 100% {
        opacity: 0;
    }
    25%, 75% {
        opacity: 1;
    }
}

.content {
    text-align: center;
}

.floating-image {
    user-select: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); 
    transition: transform 0.3s ease-in-out;
}

.image1 {
    animation: floatAnimation 4s infinite alternate, shineAnimation 2.5s infinite;
}

.image2 {
    animation: floatAnimation 4s infinite alternate, shineAnimation 2.5s infinite;
    animation-delay: 3.5s; 
}

.image3 {
    animation: floatAnimation 4s infinite alternate, shineAnimation 2.5s infinite;
    animation-delay: 4.5s;
}


@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50px);
    }
    100% {
        transform: translateY(-10px);
    }
}

@keyframes shineAnimation {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
    100% {
        filter: brightness(1);
    }
}

@keyframes zoomAnimation {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

#typing-text {
    position: fixed;
    top: 90vh;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


/* RESPONSIVENESS */
@media (max-width: 768px) {
    .vh-100 {
        padding: 100px;
    }

    #typing-text{
        font-size: 18px;
    }
}

/* Media query for small screens (up to 576px) */
@media (max-width: 576px) {
    /* Adjust styles for small screens */
    .container {
        padding: 10px; /* Example adjustment */
    }

    /* Add more adjustments as needed */
}

/* Media query for screens around 320px */
@media (min-width: 320px) and (max-width: 320px) {
    /* Adjust styles for screens around 320px */
    #intro-name {
        font-size: 36px;
    }

    .container {
        padding: 15px; /* Example adjustment for 320px screens */
    }

    #typing-text{
        font-size: 10px;
        top: 95vh;
    }

    .row{
        padding: 1000px 0px 0px 0px;
    }

    .row>* {
        padding: 25px;
    }

    /* Add more adjustments as needed */
}

/* Media query for screens around 320px */
@media (min-width: 321px) and (max-width: 376px) {
    /* Adjust styles for screens around 320px */
    #intro-name {
        font-size: 36px;
    }

    .container {
        padding: 15px; /* Example adjustment for 320px screens */
    }

    #typing-text{
        font-size: 10px;
        top: 95vh;
    }

    .row{
        padding: 1250px 0px 0px 0px;
    }

    .row>* {
        padding: 25px;
    }

    /* Add more adjustments as needed */
}

/* Media query for screens around 320px */
@media (min-width: 377px) and (max-width: 576px) {
    /* Adjust styles for screens around 320px */
    #intro-name {
        font-size: 36px;
    }

    .container {
        padding: 15px; /* Example adjustment for 320px screens */
    }

    #typing-text{
        font-size: 10px;
        top: 95vh;
    }

    .row{
        padding: 1700px 0px 0px 0px;
    }

    .row>* {
        padding: 25px;
    }

    /* Add more adjustments as needed */
}


/* Media query for medium screens (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    /* Adjust styles for medium screens */
    .container {
        padding: 20px; /* Example adjustment */
    }

    .row{
        padding: 50px 0px 0px 25px;
    }

    .row>* {
        padding: 25px;
    }

    /* Add more adjustments as needed */
}

/* Media query for large screens (769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    /* Adjust styles for large screens */
    .container {
        padding: 30px; /* Example adjustment */
    }

    .row>* {
        padding: 25px;
    }
    /* Add more adjustments as needed */
}

/* Media query for extra-large screens (993px and above) */
@media (min-width: 993px) {
    /* Adjust styles for extra-large screens */
    .container {
        padding: 40px; /* Example adjustment */
    }

    /* Add more adjustments as needed */
}
