
html{
    scroll-behavior: smooth;
}
body {
    background-image: url("../img/bg-body.jpg");
    background-size: contain, contain;
    visibility: hidden;
}
  

.project-parent-container{
    background: rgba(41, 47, 54, 0.5);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(41, 47, 54, 0.3);
}

.container-fluid{
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-padding, 100px);
}

.contents{
    padding: 10% ;
    position: fixed;
}

.contents a{
    text-decoration: none;
    color: #f7fff7;
    transition: all 300ms ease-in-out;
}

.contents a:hover{
    color: #ffe66d;
}

.portfolio-loader {
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 9999 !important;
    display: none;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    overflow: hidden;
}

#grain-wrapper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 99999 !important;
    pointer-events: none;
}

.portfolio-loader-trigger{
    height: 100%;
    width: 100%;
    background-color: #F7FFF7;
    position: relative;
}

.portfolio-loader-trigger img {
    height: auto;
    width: 100%;
    max-width: 20rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


/* Keyframe animation for circular exit */
@keyframes circleExit {
    0% {
        transform: scale(1);
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
    50% {
        transform: scale(1.5);
        border-radius: 50%;
        width: 1000px;
        height: 1000px;
        top: 0;
        left: 0;
    }
    100% {
        transform: scale(0); /* Shrink to 0 */
        width: 1000px;
        height: 1000px;
        border-radius: 50%; /* Maintain circle shape */
        top: -500px; /* Moves further up and left */
        left: -500px; /* Moves further up and left */
    }

}

/* Apply the animation */
.portfolio-loader-trigger.exit {
    animation: circleExit 0.5s ease forwards; /* Match with transition duration */
    /* `forwards` ensures the final state persists */
}


.fade-page {
    animation: fadeInAnimation ease 0.8s;
    animation-iteration-count: 1;
    animation-fill-mode: backwards;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.navbar{
    border-bottom: 0.3rem solid #ffe66d;
}



footer{
    border-top: 0.3rem solid #ffe66d;
}


.navbar-brand {
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    color: #ffe66d !important;
}

.navbar-nav .nav-item .nav-link {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: #f7fff7;
    transition: all 300ms ease-in-out;
    text-align: center;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #ffe66d !important;
    transform: scale(1.1);
}

.navbar-nav .nav-item .nav-link.active {
    color: #ffe66d !important;
    transform: scale(1.1);
}

.gallery-content {
    position: relative; /* Add this */

}

.gallery-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 300ms ease-in-out;
    z-index: 1; /* Add this */
}

.gallery-content:hover::before {
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-content:hover .overlay-text {
    opacity: 1;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0;
    transition: opacity 300ms ease-in-out;
    z-index: 2; /* Add this */
}

.gallery-content img{
    object-fit: cover;
    height: 25rem;
    width: 100%;
    overflow-clip-margin: unset;
    overflow: visible;

}



/* slider */

.slider{
    margin-top: 5rem;
    height: 45rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: transparent !important;
    box-sizing: border-box;
}

.slider .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}

.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list .item video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list .item .content-wrapper {
    position: absolute;
    top: 20%;
    width: 100%;
    padding: 2%;
    box-sizing: border-box;
}

.slider .list .item .content-wrapper .content{
    color: #fff;
    text-shadow: 0 5px 10px #0004;
    position: relative;
}


.slider .list .item .content-wrapper .content .description {
    height: 5rem;
}

.slider .list .item .content-wrapper .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(41, 47, 54, 0.8);/* Background color with transparency */
    background-image: repeating-linear-gradient(-45deg, rgba(255,255,255, 0.10), rgba(255,255,255, 0.10) 1px, transparent 1px, transparent 6px);
    background-size: 8px 8px;
}

.slider .list .item .content-wrapper .content .title {
    font-family: "Oxygen", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3em;
}

.slider .list .item .content-wrapper .content .type{
    font-family: "Oxygen", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.5em;
}
.slider .list .item .type{
    color: #FFE66D;
}

.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}

.thumbnail .item{
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}


.nextPrevArrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.nextPrevArrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FF6B6B;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.slider .list .item:nth-child(1){
    z-index: 1;
}


.slider .list .item .button a{
    color: black;
    font-family: "Oxygen", sans-serif;
    background-color: #FFE66D;
    border-radius: 5rem;
    transition: 0.4s;
    font-size: 0.75rem;
    font-weight: 700;
}

.slider .list .item .button a:hover{
    background-color: #F7FFF7;
}

/* animation text in first item */

.slider .list .item:nth-child(1) .content-wrapper .content .title,
.slider .list .item:nth-child(1) .content-wrapper .content .type,
.slider .list .item:nth-child(1) .content-wrapper .content .description,
.slider .list .item:nth-child(1) .content-wrapper .content .button
{
    transform: translateX(-50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateX(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.slider .list .item:nth-child(1) .content-wrapper .content .title{
    animation-delay: 0.4s !important;
}
.slider .list .item:nth-child(1) .content-wrapper .content .type{
    animation-delay: 0.6s !important;
}
.slider .list .item:nth-child(1) .content-wrapper .content .description{
    animation-delay: 0.8s !important;
}
.slider .list .item:nth-child(1) .content-wrapper .content .buttons{
    animation-delay: 1s !important;
}

/* Adjusted background animation timing */
.slider .list .item:nth-child(1) .content-wrapper .background {
    opacity: 0;
    animation: showBG .5s .1s linear 1 forwards; /* Adjusted duration and delay */
}

@keyframes showBG {
    to {
        opacity: 1;
    }
}

/* Animation for next button click */
.slider.next .list .item:nth-child(1) img{
    width: 150px;
    height: 150px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .4s linear 1 forwards;
    filter: blur(20px);
}

.slider.next .list .item:nth-child(1) video{
    width: 150px;
    height: 150px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .4s linear 1 forwards;
    filter: blur(20px);
}

@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        filter: blur(0px);
        border-radius: 0;
    }
}

.slider.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail 0.4s linear 1 forwards;
}
.slider.prev .list .item img{
    z-index: 100;
}

.slider.prev .list .item video{
    z-index: 100;
}


@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}


.slider.next .thumbnail{
    animation: effectNext 0.4s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}


/* Animation for prev button click */
.slider.prev .list .item:nth-child(2){
    z-index: 2;
}

.slider.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}

.slider.prev .list .item:nth-child(2) video{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 150px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
        filter: blur(20px);
    }
}

.slider.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
}
.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button{
    pointer-events: none;
}


.slider.prev .list .item:nth-child(2) .content-wrapper .content .title,
.slider.prev .list .item:nth-child(2) .content-wrapper .content .type,
.slider.prev .list .item:nth-child(2) .content-wrapper .content .description,
.slider.prev .list .item:nth-child(2) .content-wrapper .content .button
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateX(200px);
        filter: blur(20px);
        opacity: 0;
    }
}

/* End of SLider */



.graphic-design{
    margin-top: 8rem;
    position: relative;
    padding-bottom: 5rem;

}

.graphic-design .sparkling-1{
    position: absolute;
    left: 0;
    height: 4rem;
    pointer-events: none !important;
}

.graphic-design .sparkling-2{
    position: absolute;
    right: 0;
    height: 4rem;
    pointer-events: none !important;
}

.graphic-design-wrapper{
    display: flex;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.graphic-design-wrapper .text-container{
    width: 100%;
}
.graphic-design-wrapper .text-container h1 {
    margin: 0;
    line-height: 90%;
    color: #ffe66d;
}


.graphic-design-wrapper .text-container h1:nth-child(1) {
    font-size: clamp( 1.5rem, 12vw, 12vh);
    font-family: "DM Serif Display", serif;
}

.graphic-design-wrapper .text-container h1:nth-child(2) {
    font-size: clamp( 2rem, 15vw, 15vh);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.gd-vm{
    text-align: end;
}

.graphic-design-wrapper .text-container .gd-vm a {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    text-decoration: none;
    color: #F7FFF7;
    transition: all .2s ease-in-out;
}

.graphic-design-wrapper .text-container .gd-vm a:hover {
    letter-spacing: 0.5rem;
    color: #4ECDC4;
}

.graphic-design-wrapper .text-container p{
    padding-top: 1rem;
    text-align: end;
    color: #F7FFF7;
    font-family: "Poppins", sans-serif;
}


@media (max-width: 992px) { 

    .graphic-design-wrapper {
        display: block;
    }

}



/* Video Edits Home section */
.video-heading h1{
    font-family: "DM Serif Display", serif;
    font-size: clamp( 2rem, 12.5vw, 12.5vh);
    line-height: 80%;
    color: #ffe66d;
}

.video-heading .lead{
    color: #F7FFF7;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
} 

.video-heading .sparkling-vid-title {
    height: auto;
    max-width: 8%;
    pointer-events: none !important;
}



.ve-vm a{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.ve-vm a{
    color: #F7FFF7;
    font-size: 1.2rem;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.ve-vm i {
    color: #F7FFF7;
    font-size: 1.2rem;
    text-decoration: none;
    animation: upDown 1s infinite alternate;
}

@keyframes upDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

.ve-vm a:hover{
    letter-spacing: 0.2rem;
    color: #4ECDC4;
}



.graphic-design-wrapper-page{
    display: flex;
    padding-top: 10rem;
    padding-bottom: 2rem;
}

.graphic-design-wrapper-page .text-container{
    width: 100%;
}
.graphic-design-wrapper-page .text-container h1 {
    margin: 0;
    line-height: 90%;
    color: #ffe66d;
}


.graphic-design-wrapper-page .text-container h1:nth-child(1) {
    font-size: clamp( 1.5rem, 7vw, 7vh);
    font-family: "DM Serif Display", serif;
}

.graphic-design-wrapper-page .text-container h1:nth-child(2) {
    font-size: clamp( 2rem, 13vw, 13vh);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}


.edit-video-card {
    border: 2px solid #ffe66d;
    border-radius: 1rem;
    overflow: hidden;
}

/* .edit-video-card .embed-vid {
    padding: 1rem;
} */

.edit-video-card .desc{
    border-top: 2px solid #ffe66d;
    padding: 0.7rem 1rem 0.7rem 1rem;
}

.edit-video-card .desc h5 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    margin: 0;
    color: #ffe66d;
}

.edit-video-card .desc p{
    color: #F7FFF7;
    margin: 0;
}


.project-container .display-6 {
    font-family: "DM Serif Display", serif;
    color: #ffe66d;
}

.project-container .type-of-app{
    color: #F7FFF7;
}

.project-container .h4{
    color: #ffe66d;
}

.project-container p, .project-container a{
    color: #F7FFF7;
}

.project-container p a{
    color: #F7FFF7;
}

.project-container ul, .project-container li {
    color: #F7FFF7;
}

.projects-content .title{
    font-family: "DM Serif Display", serif;
    font-size: 2.5rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: #ffe66d;
}

.projects-content .type{
    margin: 1rem 0rem 0rem 0rem;
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5rem;
    color: #F7FFF7;
}

.projects-content .description{
    margin: 1rem 0rem 1rem 0rem;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #F7FFF7;
}

.projects-content .button a{
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.1rem;
    text-decoration: none;
    color: #F7FFF7;
    transition: all .2s ease-in-out;
}

.projects-content .button a:hover {
    letter-spacing: 0.2rem;
    color: #4ECDC4;
}

.showcase{
    height: 48rem;
    width: 100%;
    position: relative;
}

.showcase .vid{
    position: absolute;
    height: 100%;
    width: 100%;
}

.showcase .vid video{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.showcase .showcase-title {
    position: absolute;
    left: 1%;
    top: 1%;
}

.showcase .showcase-title h1{
    font-family: "Poppins", serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #F7FFF7;
    line-height: 0;
    margin: 0;
    padding-left: 0.3rem;
}

.showcase-desc-right {
    position: absolute;
    right: 1%;
    top: 2.2%;
}

.showcase-desc-right h1 {
    font-family: "Poppins", serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: end;
    color: #F7FFF7;
    line-height: 1.5rem;
    margin: 0;
}

.showcase-desc-right p {
    color: #F7FFF7;
    font-family: "Poppins", serif;
    width: 22rem;
    text-align: end;
    font-size: 0.8rem;
    padding-top: 0.5rem;
}

.showcase-desc-left-down {
    position: absolute;
    left: 1%;
    bottom: 1%;
}

.showcase-desc-left-down h1 {
    font-family: "Poppins", serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: start;
    color: #ffe66d;
    text-shadow: -4px 1px 7px rgba(0,0,0,0.82);
    line-height: 1.5rem;
    margin: 0;
    padding-bottom: 0.5rem;
}

.showcase-desc-left-down p {
    color: #F7FFF7;
    font-family: "Poppins", serif;
    width: 100%;
    max-width: 40rem;
    text-align: start;
    font-size: 0.8rem;
    margin: 0;
}

.showcase-desc-left-down p:nth-child(3) {
    padding-top: 0.5rem;
}

.showcase-desc-left-down p:nth-child(3) a {
    color: #ffe66d;
    transition: all 300ms ease-in-out;
}

.showcase-desc-left-down p:nth-child(3) a:hover {
    color: #FF6B6B;
}


.other-projects{
    font-family: "Poppins", sans-serif;
    font-size: clamp( 2rem, 7vw, 7vh);
    line-height: 80%;
    color: #ffe66d;
    font-weight: 600;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

