body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
    overflow-x: hidden;
}

html{
    scroll-behavior: smooth;
}

.container{
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(70px, 8vw, 120px);
    background-color: #001f7c38;
}


.back-vid{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode:overlay;
}


header{
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.121);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px #72a1dea2;
    z-index: 999;
}

.left{
    display: flex;
    align-items: center;
}

.left img{
    width: 40px;
    margin: 0 15px;
}


header ul{
    display: flex;
    justify-content: space-between;
    width: 30%;
    padding: 15px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 69, 0.326);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #72a1de63;
}

header ul li{
    list-style: none;
}

header ul a{
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: 0.3s;
    margin: 0 10px;
}

header ul a:hover{
    text-shadow: 0 0 15px black;
}

.box-icons{
    display: flex;
    gap: 40px;
}

.box-icons p{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #72a1de;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s;
}

.box-icons p:hover{
    background-color: #72a1de;
    color: black;
    box-shadow: 0 0 15px #72a1de;
}

.blackhole-box{
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: -1;
    mix-blend-mode: lighten;
  }
  
.blackhole-box video{
    width: 100%;
    margin-top: -23.5%;
}

.hero{
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100vh;
    height: auto;
    padding-top: 70px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
}

.hero-info{
    position: absolute;
    left: 5%;
}

.hero-info .hero-info-title{
    color: #72a1de;
    padding: 8px 5px;
    border-radius: 50px;
    border: 1px solid #72a1de94;
    width: max-content;
    max-width: 100%;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de84;
}

.hero-info h1{
    font-size: 60px;
    max-width: 600px;
    font-weight: 700;
    line-height: 70px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.hero-info p{
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
    font-size: 20px;
}

.hero-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
}

.hero-info button:hover{
    box-shadow: 0 0 15px #72a1de81;
}

/* Gradient Animation */
.gradient{
    background: linear-gradient(to right,#00aaa7, #7e42a7, #6600c5, #6070fd,#2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}
@keyframes animate-gradient {
    to{
        background-position: 200%;
    }
}

.skills-video-box{
    position: absolute;
    right: 3%;
}

.skills-video{
    height: 900px;
    mix-blend-mode:lighten;
}


.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid lightgray;
    position: absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.626);
  }
  .scroll-down::before,
  .scroll-down::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid lightgray;
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
  }
  .scroll-down::before {
    top: 30%;
    animation-delay: 0.5s;
    /* animation: scroll-down 1s ease-in-out infinite; */
  }
  
  @keyframes scroll-down {
    0% {
      /* top:20%; */
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      opacity: 1;
    }
    100% {
      top: 90%;
      opacity: 0;
    }
  }




.info-section{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 80%;
    margin-top: 100px;
}

.section-title{
    font-size: 40px;
    font-weight: 700;
}

.info-cards{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    width: 100%;
    height: 100%;
    margin-top: 30px;
}

.card{
    display: flex;
    align-items:flex-start;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid gray;
    background-color: #080020b7;
    border-radius: 20px;
    transition: 0.5s;
}

.card h1{
    position: absolute;
    margin: 0;
    bottom: 40%;
    left: 5%;
    font-size: 25px;
    max-width: 90%;
    line-height: 1.2;
    z-index: 1;
    color: lightgray;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card p{
    position: absolute;
    bottom: 3%;
    left: 5%;
    z-index: 1;
    max-width: min(90%, 320px);
    color: gray;
    font-size: 13px;
    line-height: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.card img{
    width: 80%;
    height: 50%;
    object-fit: cover;
}

.card video{
    margin-top: 10%;
    width: 70%;
    height: 50%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

.card button{
    position: absolute;
    bottom: 5%;
    left: 5%;
    padding: 10px 25px;
    border: 1px solid gray;
    background-color: #0f1217;
    color: gray;
    border-radius: 20px;
    box-shadow: 0 0 5px lightgray;
    cursor: pointer;
    transition: 0.3s;
}

.card button:hover{
    box-shadow: 0 0 15px lightgray;
    opacity: 0.7;
}

.card:hover{
    box-shadow: 0 0 15px rgb(211, 211, 211);
}

.card:nth-child(3){
    grid-row: span 2;
    height: auto;
    min-height: 0;
    align-self: stretch;
}

.card:nth-child(3) p{
    bottom: 12%;
}

.card:nth-child(3) h1{
    bottom: 21%;
}

.card:nth-child(4){
    grid-column: span 2;
}

.card:nth-child(4) p{
    max-width: min(90%, 650px);
}

.card:nth-child(4) h1{
    bottom: 35%;
}

@media screen and (min-width: 1201px){
    .info-cards .card:nth-child(3) video{
        object-fit: contain;
        width: 92%;
        height: 60%;
    }
}


.my-project{
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    position: relative;
    width: 80%;
    height: auto;
    margin-top: 110px;
    margin-bottom: 120px;
}

.project-card {
    display: flex;
    width: 100%;
    min-height: 320px;
    height: auto;
    align-items: center;
    gap: 6%;
    justify-content: center;
}

.project-vidbox{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 420px;
    width: 100%;
    max-width: 560px;
    mix-blend-mode:exclusion;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
    min-width: 0;

}

.project-vidbox video{
    object-fit: cover;
    width: 100%;
    box-shadow: 0 0 10px lightgray;
    border-radius: 20px;
    transition: 0.5s;
}

.project-card video:hover{
    box-shadow: 0 0 25px rgb(255, 255, 255);
}

.project-info{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    flex: 1 1 320px;
    width: 100%;
    padding-left: clamp(0px, 2vw, 35px);
}

.project-info h1{
    width: 100%;
    font-size: 25px;
    font-weight: bold;
    text-wrap: balance;
    margin-top: 0;
    margin-bottom: 10px;
    max-width: 520px;
}

.project-info p{
    width: 100%;
    max-width: 520px;
    min-width: 0;
    margin-bottom: 30px;
    margin-top: 0;
}

.project-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
}

.project-info button:hover{
    opacity: 0.8;
    box-shadow: 0 0 15px #72a1de81;
}

.project-vidbox .hover-sign{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 100px;
}

.hover-sign::before,
.hover-sign::after {
    content: "👆";
    text-align: center;
    position: absolute;
    font-size: 50px;
    top: 20%;
    left: 40%;
    border-radius: 40px;
    animation: hover-animation 4s ease-in-out infinite;

}

.hover-sign.active{
    display: none;
}

@keyframes hover-animation {
  0% {
    /* top:20%; */
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translate(100%, 50%) rotate(30deg);
  }

  100% {
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translateX(80%, 80%) rotate(20deg);
  }
}




/* Skills section */
.skills-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.skills-box{
    width: 100%;
    min-height: 90vh;
    height: auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "image image"
        "designer coder"
        "slider slider";
    align-items: start;
    justify-content: center;
    mix-blend-mode:lighten;
    opacity: 0.7;
    gap: 30px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.skills-image{
    grid-area: image;
    width: min(70%, 900px);
    justify-self: center;
    mix-blend-mode:difference;
}

.Designer{
    grid-area: designer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    top: auto;
    left: auto;
    max-width: 380px;
    justify-self: start;
}

.Designer h1{
    font-size: 50px;
    display: flex;
    align-items: center;
}

.Designer p{
    line-height: 23px;
}


.coder{
    grid-area: coder;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    top: auto;
    right: auto;
    max-width: 380px;
    justify-self: end;
}

.coder h1{
    font-size: 50px;
    display: flex;
    align-items: center;
}

.coder p{
    line-height: 23px;
}



.coder-text{

    font-size: 50px;
}

/* SLIDER  */

.slider{
    grid-area: slider;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
    mix-blend-mode:difference;
    opacity: 0.7;
    margin-top: 10px;
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 10s)!important;
}
.slider .list .item img{
    width: 100%;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}
.slider:hover .item{
    animation-play-state: paused!important;
    filter: grayscale(1);
}
.slider .item:hover{
    filter: grayscale(0);
}


  /* CONTACT SECTION */
.contact-section{
    width: 80%;
    min-height: 0;
    height: auto;
    display: flex;
    justify-content: center;
    gap: clamp(30px, 6vw, 90px);
    align-items: center;
    position: relative;
    padding: 140px 0 24px;
    box-sizing: border-box;
}

.contact-section h1{
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.social-box {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 18px 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(13, 19, 56, 0.78), rgba(9, 15, 44, 0.58));
    border: 1px solid rgba(114, 161, 222, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28), inset 0 0 22px rgba(114, 161, 222, 0.12);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.social-box-header{
    margin-bottom: 4px;
}

.social-kicker{
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ec5ff;
    font-weight: 700;
}

.social-box-header h3{
    margin: 6px 0 0;
    color: #e6f1ff;
    font-size: 24px;
    line-height: 1.2;
}

.social-link-row{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    background: rgba(10, 17, 48, 0.78);
    border: 1px solid rgba(114, 161, 222, 0.28);
    transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}

.social-link-row:hover{
    transform: translateY(-2px);
    border-color: rgba(114, 161, 222, 0.55);
    box-shadow: 0 8px 20px rgba(114, 161, 222, 0.16);
}

.social-link-icon{
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(120deg, rgba(29, 51, 122, 0.44), rgba(35, 0, 73, 0.4));
    border: 1px solid rgba(114, 161, 222, 0.52);
    box-shadow: inset 0 0 12px rgba(114, 161, 222, 0.18);
}

.social-link-icon i{
    font-size: 22px;
    color: #b4d2ff;
}

.social-link-copy{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.social-link-copy strong{
    color: #eef5ff;
    font-size: 15px;
}

.social-link-copy small{
    color: #9db1cf;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-link-arrow{
    margin-left: auto;
    color: #8eb8ff;
    font-size: 22px;
    transition: transform 0.2s, color 0.25s;
}

.social-link-row:hover .social-link-arrow{
    transform: translateX(4px);
    color: #cbe0ff;
}

.social-icons{
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-icons a{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    border: 1px solid rgba(114, 161, 222, 0.45);
    background: rgba(10, 17, 48, 0.72);
    transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s;
}

.social-icons a:hover{
    transform: translateY(-2px);
    border-color: rgba(114, 161, 222, 0.68);
    box-shadow: 0 0 14px rgba(114, 161, 222, 0.45);
}

.social-icons a i{
    color: #e4efff;
    font-size: 20px;
    margin: 0;
}

.contact-box{
    width: 100%;
    max-width: 560px;
    padding: 26px 24px 24px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(13, 19, 56, 0.78), rgba(9, 15, 44, 0.58));
    border: 1px solid rgba(114, 161, 222, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28), inset 0 0 22px rgba(114, 161, 222, 0.12);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.contact-lead{
    margin: 0 0 18px;
    color: #d7e6ff;
    line-height: 1.6;
    max-width: 95%;
}

.contact-form{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field-group{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-group span{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ec5ff;
    font-weight: 700;
}

.field-group input,
.field-group textarea{
    width: 100%;
    padding: 13px 14px;
    font-family: inherit;
    color: #f4f8ff;
    background: rgba(10, 17, 48, 0.78);
    border: 1px solid rgba(114, 161, 222, 0.45);
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
    box-sizing: border-box;
}

.field-group input::placeholder,
.field-group textarea::placeholder{
    color: #95a7c6;
}

.field-group input:focus,
.field-group textarea:focus{
    border-color: #8bb7ff;
    box-shadow: 0 0 0 2px rgba(114, 161, 222, 0.28), 0 0 18px rgba(114, 161, 222, 0.2);
    background-color: rgba(12, 21, 58, 0.92);
}

.field-message textarea{
    min-height: 136px;
    resize: vertical;
    line-height: 1.45;
}

.contact-box button{
    margin-top: 6px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    padding: 13px 30px;
    border-radius: 12px;
    border: 1px solid rgba(114, 161, 222, 0.62);
    background: linear-gradient(120deg, rgba(29, 51, 122, 0.42), rgba(35, 0, 73, 0.45));
    box-shadow: 0 0 10px rgba(114, 161, 222, 0.34);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s, opacity 0.3s;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-box button:hover{
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 0 18px rgba(114, 161, 222, 0.62);
}

.contact-status{
    margin: 4px 0 0;
    min-height: 20px;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-status.show{
    opacity: 1;
    transform: translateY(0);
}

.contact-status.success{
    color: #90ffd5;
    text-shadow: 0 0 8px rgba(144, 255, 213, 0.25);
}

.contact-status.error{
    color: #ffb8c3;
    text-shadow: 0 0 8px rgba(255, 184, 195, 0.18);
}

@media screen and (min-width: 701px){
    .contact-section .social-box,
    .contact-section .contact-box{
        margin-top: 24px;
    }
}

.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.121);
    z-index: 999;
    padding: 0 3rem;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
}

.footer h1{
    margin: 0;
}


/* BLUR EFFECT ANIMAION */

.autoBlur{
    animation: autoBlurAnimation linear both;
    animation-timeline: view();

}
@keyframes autoBlurAnimation{
    0%{
        filter: blur(40px);
    }
    35%,65%{
        filter: blur(0);
        opacity: 1;
    }
    100%{
        filter: blur(40px);
        opacity: 0;
    }
}


/* AUTO DISPLAY ANIMAION */
.autoDisplay{
    animation: autoDisplayAnimation both;
    animation-timeline: view();

}

@keyframes autoDisplayAnimation{
    from{
        filter: blur(10px);
        transform: translateY(-200px) scale(0);
    } 50%{
        opacity: 1;
        filter: blur(0px);
        transform: translateX(0) scale(1);
    }
}


/* FADEIN_LEFT */

.fadein-left{
    animation: fadeInLeftAnimation both;
    animation-timeline: view();
}

@keyframes fadeInLeftAnimation{
    0%{
        opacity: 0;
        transform: translateX(-500px) scale(0.2);
        filter: blur(10px);
    } 35%,65%{
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0px);
    }100%{
        filter: blur(10px);
    }
}

/* Sidebar */

.menu-icon{
    font-size: 35px;
    cursor: pointer;
    display: none;
}


.sidebar{
    position: fixed;
    right: 0;
    top: 0;
    bottom: 70%;
    width: 0%;
    background-color: #000000b8;
    z-index: 999;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.479);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-bottom-left-radius: 100%;
    
}

.close-icon{
    font-size: 50px;
    color: lightgray;
    padding-left: 10px;
    cursor: pointer;
}

.sidebar ul{
    padding-left: 20px;
}

.sidebar ul li{
    list-style: none;
    margin-bottom: 30px;
}

.sidebar ul li a{
    text-decoration: none;
    color: lightgray;
    font-size: 30px;
    font-weight: 900;
    text-shadow:0 0 15px #4c4c4c;
}

.social-sidebar{
    padding-left: 20px;
    margin-top: 60px;
    text-wrap: nowrap;
}

.social-sidebar a{
    font-size: 35px;
    padding: 5px 5px;
    cursor: pointer;
    transition: 0.5s;
}

/* Sidebar Open ANimation */
.sidebar.open-sidebar{
    animation: openSideBarAnimation 1.5s forwards;
}

@keyframes openSideBarAnimation {
    to{
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
}

/* Sidebar close ANimation */

.sidebar.close-sidebar{
    animation: closeSideBarAnimation 1.5s forwards;
}

@keyframes closeSideBarAnimation {
    from{
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
    to{
        width: 0;
        opacity: 0;
        bottom: 70%;
        border-bottom-left-radius: 50%;
    }
}






@media (max-aspect-ratio: 16/9){
    .back-vid{
        width: auto;
        height: 100%;
    }
}

@media (min-aspect-ratio: 16/9){
    .back-vid{
        width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 1201px){
    .skills-section{
        width: 90%;
    }

    .skills-box{
        max-width: 1280px;
        margin: 0 auto;
        grid-template-columns: minmax(220px, 0.9fr) minmax(500px, 1.8fr) minmax(220px, 0.9fr);
        grid-template-areas:
            "designer image coder"
            "slider slider slider";
        align-items: center;
        column-gap: clamp(30px, 4vw, 70px);
        row-gap: 28px;
    }

    .skills-image{
        width: min(100%, 860px);
    }

    .Designer,
    .coder{
        max-width: 320px;
        justify-self: center;
    }

    .slider{
        width: min(100%, 980px);
        justify-self: center;
        margin-top: 0;
    }
}


@media screen and (max-width: 1200px){
    .blackhole-box video{
        margin-top: -20%;
    }

    .hero-info h1{
        font-size: 46px;
        max-width: 520px;
        line-height: 1.1;
    }

    .hero-info p{
        max-width: 420px;
        font-size: 18px;
    }

    .skills-video-box{
        right: 0%;
    }

    .skills-video-box video{
        height: 620px;
    }

    .info-cards{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card:nth-child(3){
        grid-column: 1 / -1;
        grid-row: auto;
        height: auto;
        min-height: 460px;
    }

    .card:nth-child(4){
        grid-column: 1 / -1;
    }

    .card:nth-child(3) p{
        bottom: 10%;
    }

    .card:nth-child(3) h1{
        bottom: 20%;
    }

    .my-project{
        margin-top: 80px;
        margin-bottom: 100px;
        gap: 50px;
    }

    .project-card{
        gap: 30px;
    }

    .project-info h1{
        font-size: 24px;
        max-width: 100%;
    }

    .project-info p{
        max-width: 100%;
    }

    .skills-box{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "image image"
            "designer coder"
            "slider slider";
        align-items: start;
        gap: 30px;
        min-height: auto;
        padding-bottom: 40px;
    }

    .skills-image{
        grid-area: image;
        width: min(760px, 95%);
        justify-self: center;
    }

    .Designer{
        grid-area: designer;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        max-width: none;
        padding: 0 10px;
    }

    .coder{
        grid-area: coder;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        max-width: none;
        padding: 0 10px;
    }

    .Designer h1,
    .coder h1{
        font-size: 38px;
        margin: 0 0 10px;
    }

    .slider{
        grid-area: slider;
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        margin-top: 10px;
    }

    .contact-section{
        width: 90%;
    }

    .contact-section .section-title{
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 700px){
    header{
        position: fixed;
        height: 50px;
        padding: 0 15px;
    }

    header ul{
        display: none;
    }

    header .box-icons{
        display: none;
    }

    .menu-icon{
        display: inline;
    }

    .blackhole-box video{
        width: 100%;
        margin-top: -15%;
    }

    .autoBlur{
        animation: none;
    }

    .fadein-left{
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .project-info{
        opacity: 1;
        transform: none;
        filter: none;
    }

    .hero{
        flex-direction: column;
        justify-content: center;
        padding: 78px 20px 34px;
        min-height: 100vh;
    }

    .hero-info{
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 580px;
        margin-top: 0;
    }

    .hero-info .hero-info-title{
        width: max-content;
        max-width: 100%;
        font-size: 14px;
    }

    .hero-info h1{
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.15;
        margin-top: 20px;
    }

    .hero-info p{
        max-width: 100%;
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .hero .skills-video-box{
        display: none;
    }

    .skills-video{
        height: min(280px, 45vh);
        max-width: 100%;
    }

    .scroll-down{
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
    }

    .info-cards{
        grid-template-columns: 1fr;
    }

    .card,
    .card:nth-child(3),
    .card:nth-child(4){
        grid-column: auto;
        grid-row: auto;
        height: auto;
        min-height: 320px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        padding: 20px;
        box-sizing: border-box;
    }

    .card h1,
    .card p,
    .card button{
        position: relative;
        left: auto;
        bottom: auto;
        margin: 0;
    }

    .card h1{
        font-size: 22px;
        max-width: 100%;
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
    }

    .card p{
        max-width: 100%;
        font-size: 14px;
        line-height: 1.45;
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        -webkit-box-orient: initial;
    }

    .card img,
    .card video{
        width: 100%;
        height: 220px;
        margin-top: auto;
        object-fit: cover;
        border-radius: 12px;
    }

    .card:nth-child(3) p,
    .card:nth-child(3) h1,
    .card:nth-child(4) p,
    .card:nth-child(4) h1{
        bottom: auto;
        max-width: 100%;
    }

    .card button{
        margin-top: 4px;
    }

    .my-project{
        width: 90%;
        margin-top: 8px;
        margin-bottom: 80px;
        gap: 40px;
    }

    .project-card{
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 10px;
        margin-left: 0;
    }

    .project-card + .project-card{
        margin-top: 18px;
    }

    .project-vidbox{
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .project-vidbox video{
        width: 100%;
        margin-left: 0;
    }

    .project-info{
        flex: 0 0 auto;
        width: 100%;
        justify-content: flex-start;
        padding-left: 0;
        margin-left: 0;
        overflow: visible;
    }

    .project-info h1{
        font-size: 24px;
        max-width: 100%;
        text-wrap: balance;
    }

    .project-info p{
        font-size: 14px;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 20px;
    }

    .project-info button{
        padding: 10px 20px;
    }

    .skills-section{
        width: 90%;
    }

    .skills-box{
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "designer"
            "coder"
            "slider";
        gap: 20px;
        padding-bottom: 20px;
        margin-right: 0;
    }

    .skills-image{
        width: 100%;
        max-width: 520px;
    }

    .Designer,
    .coder{
        padding: 0;
        align-items: flex-start;
    }

    .Designer h1,
    .coder h1{
        font-size: 32px;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .slider{
        width: 100%;
        margin-top: 0;
    }

    .slider .list .item img{
        width: 70%;
    }

    .contact-section{
        width: 90%;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-top: 40px;
        margin-bottom: 8px;
        padding: 130px 0 24px;
    }

    .contact-section .section-title{
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .social-box{
        margin-left: 0;
        width: 100%;
        gap: 10px;
        padding: 16px 14px 14px;
    }

    .social-box-header h3{
        font-size: 20px;
    }

    .social-link-row{
        padding: 10px;
        gap: 10px;
    }

    .social-link-icon{
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .social-link-icon i{
        font-size: 20px;
    }

    .social-link-copy strong{
        font-size: 14px;
    }

    .social-link-copy small{
        font-size: 11px;
    }

    .social-icons{
        margin-top: 6px;
    }

    .social-icons a{
        width: 38px;
        height: 38px;
    }

    .contact-box{
        width: 100%;
        max-width: none;
        padding: 20px 16px 18px;
    }

    .contact-lead{
        max-width: 100%;
        margin-bottom: 14px;
    }

    .contact-grid{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .field-group span{
        font-size: 11px;
    }

    .field-group input,
    .field-group textarea{
        font-size: 14px;
        padding: 12px;
    }

    .field-message textarea{
        min-height: 120px;
    }

    .contact-box button{
        width: 100%;
        justify-content: center;
    }

    .footer{
        font-size: 12px;
        padding: 12px 16px;
        height: auto;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .footer h1{
        margin: 0;
        max-width: none;
    }

    .footer .box-icons{
        gap: 12px;
    }
}


@media screen and (max-width: 480px) {
    .hero .skills-video-box{
        display: none;
    }

    .blackhole-box{
        overflow: hidden;
    }

    .blackhole-box video{
        width: 140%;
        margin-top: -27%;
    }

    .left{
        scale: 0.9;
        margin-left: 0;
    }

    .left h2{
        font-size: 20px;
    }

    .hero{
        scale: 1;
    }

    .hero-info h1{
        font-size: 32px;
    }

    .scroll-down{
        bottom: 12px;
    }

    .section-title{
        font-size: clamp(24px, 7vw, 30px);
    }

    .card{
        min-height: 300px;
    }

    .card h1{
        font-size: 20px;
    }

    .project-card{
        height: auto;
    }

    .skills-box{
        min-height: auto;
        height: auto;
        gap: 16px;
    }

    .Designer,
    .coder{
        padding: 0;
    }

    .slider{
        margin-top: 10px;
    }

    .contact-section{
        scale: 1;
        min-height: auto;
        height: auto;
    }

    .contact-section .section-title{
        top: 20px;
        left: 50%;
    }

    .footer h1{
        max-width: 100%;
    }
}








