body{
    padding: 0px;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgrey;
    overflow-x: hidden;
}
html{
    scroll-behavior: smooth;
}
.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: #001f7c38;
}
.back-vid{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: lighten;
}
header{
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px #72a1de68;
    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.30);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #72a1de65;
}
header ul li{
    list-style: none;
}
header ul a{
    text-decoration: none;
    color: lightgrey;
    font-weight: 700;
    margin: 0 10px;
}
.box-icons{
    display: flex;
    gap: 40px;
}
.box-icons a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid #727fde;
    text-decoration: none;
    color: lightgrey;
    border-radius: 50%;
    transition: 0.3s;
}
.box-icons a:hover{
    background-color: #727fde;
    color: black;
    box-shadow: 0 0 15px #72a1de6f;
}
.blackhole-box{
    z-index: -1;
    position: absolute;
    top: 0;
    width: 100%;
    justify-content: center;
    mix-blend-mode: lighten;
}
.blackhole-box video{
    width: 100%;
    margin-top: -23.5%;
}

 .hero-info{
    position: absolute;
    left: 5%;
}
.hero-info .hero-info-title{
    color: #727fde;
    padding: 8px 5px;
    border: 1px solid #727fde77;
    width: 240px;
    background-color: #2200493d;
    box-shadow: 0 0 5px #727fde88;
    border-radius: 50px;
    margin-top: 120px;
}
.hero-info h1{
font-size: 50px;
max-width: 600px;
font-weight: 700;
line-height: 70px;
margin-top: 40px;
margin-bottom: 30px;
}
.hero-info p{
    font-size: 20px;
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
}
.hero-info button{
        color: white;
        padding: 15px 35px;
        border-radius: 10px;
        border: 1px solid #727fdeb4;
        background-color: #2200493d;
        box-shadow: 0 0 5px #727fde86;
        cursor: pointer;
        transition: 0.3s;
}
.hero-info button:hover{
    box-shadow: 0 0 15px #72a1de86;
}
.gradient{
    background: linear-gradient(to right, #008baa, #7e42a7, #6600c5, #6070fd, #2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animateGradient 0.2s linear infinite;
}
@keyframes animateGradient{
    to{
        background-position: 200%;

    }
}
.hero-vid-box{
    position: absolute;
    right: 3%;
}
.hero-vid-box video{
    height: 700px;
    mix-blend-mode: lighten;
}
.scroll-down{
    height: 50px;
    width: 30px;
    position: absolute;
    border: 2px solid lightgray;
    left: -18%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(211, 211, 211, 0.477);

}
.scroll-down::before,
.scroll-down::after{
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    border: 2px solid lightgray;
    transform: translate(-50%, -100%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    animation: scrollDown 2s ease-in-out infinite;
}
.scroll-down::before{
    top: 30%;
    animation-delay: 0.5s;
}
@keyframes scrollDown{
    0%{
        opacity: 0;
    }
    30%, 60%{
        top: 40%;
        opacity: 0.5;
    }
    100%{
        top: 90%;
        opacity:0
    }
}
.info-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-top: 45rem;
    margin-bottom: 1rem;
}
.section-title{
    font-size: 40px;
    font-weight: 700;
}
.info-card{
    display: grid;
    grid-template-columns: auto auto auto ;
    gap: 20px;
    width: 100%;
    height: 100%;
    margin-top: 30px;
}
.card{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: auto;
    height: 40vh;
    overflow: hidden;
    border: 1px solid gray;
    background-color: #080020b7;
    border-radius: 20px;
    transition: 0.3s;
}

.card img{
    width: 50%;
    height: 50%;
    object-fit: cover;
}
.card h1{
    position: absolute;
    margin: 0;
    bottom: 43%;
    left: 5%;
    font-size: 25px;
    z-index: 1;
    color: lightgray;

}
.card p{
    position: absolute;
    bottom: 0%;
    left: 5%;
    z-index: 1;
    max-width: 300px;
    font-size: 12px;
    line-height: 20px;
}
.card video{
    margin-top: 10%;
    width: 70%;
    height: 50%;
    object-fit: cover;
    mix-blend-mode: lighten;
}
.card  button{
      color: white;
        padding: 10px 15px;
        border-radius: 10px;
        border: 1px solid #727fdeb4;
        background-color: #2200493d;
        box-shadow: 0 0 5px #727fde86;
        cursor: pointer;
        transition: 0.3s;
        position: absolute;
        bottom: 2%;
}
.card button:hover{
    box-shadow: 0 0 15px #72a1de86;
}
.card:hover{
    box-shadow: 0 0 15px rgba(211, 211, 211, 0.5);
}
.card:nth-child(3){
    grid-row: span 2;
    height: 83vh;
}
.card:nth-child(3) p{
    bottom: 12%;
}

.card:nth-child(4){
    grid-column: span 2;
}
.card:nth-child(4)p{
    max-width: 650px;
}
.card:nth-child(4)h1{
    bottom: 35%;
}
.my-projects{
 display: flex;   
 flex-direction: column;
 gap: 10px;
 align-items: center;
 position: relative;
 width:80%;
 height:100vh;
 margin-top:150px;
 margin-bottom:400px;
}
.project-card{
    display: flex;
    width: 100%;
    height:40%;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    justify-content: center;
}
.project-vidbox{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    position: relative;
    cursor: pointer;
    min-width: 400px;
    transition: 0.5s;
    mix-blend-mode: exclusion;
}
.project-vidbox video{
    object-fit: cover;
    width: 100%;
    box-shadow: 0 0 15px lightgray;
    border-radius: 20px;
    transition: 0.5s;

}
.project-vidbox video:hover {
        box-shadow: 0 0 25px lightgray;

}
.project-info{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 50%;
    margin-left: 10%;
}
.project-info h1{
    width: 90%;
    font-size: 30px;
    font-weight: bold;
    text-wrap: nowrap;
    margin-bottom: 10px;
    margin-top: 0;
   max-width: 450px;
}
.project-info p{
    width: 90%;
    max-width: 400px;
    min-width: 300px;
    margin-bottom: 50px;
    margin-top: 0;
}
.project-info button{
    color: white;
        padding: 15px 15px;
        border-radius: 10px;
        border: 1px solid #727fdeb4;
        background-color: #2200493d;
        box-shadow: 0 0 5px #727fde86;
        cursor: pointer;
        transition: 0.3s;
}
.project-info button:hover{
    box-shadow: 0 0 15px #72a1de86;
}
.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: 50%;
    animation: hoverAnimation 2s ease-in-out infinite;
}
@keyframes hoverAnimation{
    0%{
        box-shadow: 0 0 15px lightgray;
        transform: translate(100%, 50%) rotate(45deg);
    }
    
    100%{
        box-shadow: 0 0 15px lightgray;
        transform: translate(80%, 50%) rotate(0deg);
    }
}
.hover-sign.active{
    display: none;
}
.skill-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.skills-box{
    width: 100%;
    height: 90vh;
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
}
.skills-images{
    width: 70%;
    mix-blend-mode: lighten;
    opacity: 0.7;
}
.designer{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    top: 25%;
    left: 5%;
    max-width: 300px;
}
.coder{
     position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    top: 25%;
    right: 5%;
    max-width: 300px;
}
.skills-box h1{
    font-size: 50px;
    display: flex;
    align-items: center;

}
.skills-box p{
    line-height: 25px;
}
.slider{
    position: absolute;
    gap: 20px;
    bottom: -5%;
    right: 20%;
    width: 60%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
    mix-blend-mode: difference;
    opacity: 0.8;
}
.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: autRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc(10s / var(--quantity) * var(--position) * -1);
}
.slider .list .item img{
    width: 100%;
    
}
@keyframes autRun{
   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{
    width: 80%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}
.contact-section h1{
    position: absolute;
    top: -10%;
    left: 40%;
}
.social-box{
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}
.social-box a{
    color: lightgrey;
    text-decoration: none;
    font-size: 15px;
}

.social-box i{
    color: #727fde;
    font-size: 30px;
    margin-right: 10px;
}
.contact-form p{
    max-width: 400px;
    margin-top: 30px;
    margin-bottom: 5px;
}
.contact-form input{
    padding: 8px 30px;
    background-color: lightgray;
    width: 80%;
    height: 20px;
    border: none;
    outline: none;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.contact-form button{
        margin: 30px;
        color: white;
        padding: 10px 15px;
        border-radius: 10px;
        border: 1px solid #727fdeb4;
        background-color: #2200493d;
        box-shadow: 0 0 5px #727fde86;
        cursor: pointer;
        transition: 0.3s;
}
.contact-form button:hover{
    box-shadow: 0 0 15px #72a1de86;
    opacity: 0.7;
}
footer{
    display: flex;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    
    align-items: center;
    justify-content: center;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px #72a1de68;
    z-index: 999;
}
footer h1{
    font-size: 30px;
}
.menu-icon{
    font-size: 35px;
    cursor: pointer;
    display: none;
}
.sidebar{
    position: fixed;
    right: 0;
    bottom: 70%;
    top: 0;
    width: 0%;
    background-color: #000000b8;
    backdrop-filter: blur(10px);
    z-index: 999;
    box-shadow: 0 0 20px rgba(211, 211, 211, 0.411);
    border-bottom-left-radius: 100%;
    opacity: 0;
}
.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 gray;
}
.sidebar .social-icons{
    padding-left: 20px;
    margin-top: 60px;
    text-wrap: nowrap;
}

.sidebar .social-icons a{
    font-size: 35px;
    padding: 5px 5px;
    cursor: pointer;
}
.sidebar .social-icons a:hover{
    box-shadow: 0 0 15px #72a1de6f;
}
.sidebar.open-sidebar{
    animation: openSidebarAnimation 1.5s forwards;
}
@keyframes openSidebarAnimation{
    to{
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;

    }
}
.sidebar.close-siderbar{
           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%;
    }
}
.autoBlur{
    animation: autoBlurAnimation linear both;
    animation-timeline: view();
}
@keyframes autoBlurAnimation{
    0%{
        filter: blur(40px);
        opacity: 0;
    }
   35%, 60%{
        filter: blur(0);
        opacity: 1;
    }
    100%{
        filter: blur(40px);
        opacity: 0;
    }
}
.autoDisplay{
    animation: autoDisplayAnimation both;
    animation-timeline: view();
}
@keyframes autoDisplayAnimation{
    from{
        filter: blur(10px);
        transform: translateY(-200px) scale(0);
        opacity: 0;
    }
    50%{
        filter: blur(0);
        transform: translateX(0) scale(1);
        opacity: 1;
    }
   
}
.fadeInRight{
    animation: fadeInRightAnimation both;
    animation-timeline: view();
}
@keyframes fadeInRightAnimation{
    from{
        transform: translateX(500px) scale(0.2);
        opacity: 0;
        filter: blur(20px);
    }
    35%, 65%{
        transform: translateX(0px) scale(1);
        opacity: 1;
        filter: blur(0);
    }
    100%{
        
        filter: blur(20px);
    }
}

@media (max-aspect-ratio: 16/9) {
    .back-vid{
        width: auto;
        height: 100%;
    }
    
}
@media (min-aspect-ratio: 16/9) {
    .back-vid{
        width: 100%;
        height: auto;
    }
    
}

/* Tablet Responsiveness */

@media screen and (max-width: 1000px) {
    .container{
        overflow-x: hidden;
        
    }
    .blackhole-box video{
        margin-top: -20%;
    }
    .hero-info{
        left: 10%;
    }
    .hero-info h1{
        font-size: 40px;
        line-height: 50px;
        max-width: 400px;
    }
    .hero-info p{
        font-size: 18px;
        max-width: 300px;
    }
    .hero-vid-box{
        right: 0;
        top: 1.5%;
    }
    .hero-vid-box video{
        height: 500px;
    }
    .scroll-down{
    
    bottom: -30%;
    height: 30px;
    width: 20px;
  }
  .info-section{
    
    margin-top: 45rem ;
  }
    .section-title{
        font-size: 30px;
    }
    .info-card{
        grid-template-columns: auto;
    }
    
    .card:nth-child(3){
        grid-column: span 2;
        height: 60vh;
    }
    
    
    .card video{
        height: 62%;
        margin-top: 3%;
    }
    .my-projects{
        margin-bottom: 300px;
    }
    .project-vidbox video{
        width: 250px;
        
    }
    .project-info {
        padding-left: 0;
        margin-left: -90px;
    }
   .project-info h1{
    font-size: 20px;
    max-width: 200px;
    text-wrap: wrap;
   }
   .project-info p{
    font-size: 10px;
    text-wrap: wrap;
    max-width: 200px;
    min-width: 0;
   }
   
   .contact-section .section-title{
    font-size: 30px;
    margin-top: 25rem;
    
  }
   footer h1{
    font-size: 20px;
   }
   .autoBlur{
    animation: none;
  }
}
@media screen and (max-width: 700px) {
  header{
    position: fixed;
    height: 40px;
  }
  header ul{
    display: none;
  }
  header .box-icons{
    display: none;
  }
  header h1{
    font-size: 25px;
  }
  .blackhole-box{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .blackhole-box video{
    margin-top: -16%;
  }
  .hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50vh;
  }
  .hero-info{
    position: relative;
    left: 0;
    margin-top: 37rem;
    text-align: center;
  }
  .hero-vid-box{
    position: relative;
    right: 0;
    top: 0;
    
    width: 100%;
    height: 30vh;
    margin-top: 5rem;
  }
  /* .autoBlur{
    animation: none;
  } */
  
  .scroll-down{
    left: 40%;
    bottom: -70%;
    height: 30px;
    width: 20px;
  }
  .card img{
    width: 80%;
    height: 40%;
    object-fit: cover;
  }
  .card h1{
    font-size: 20px;
    bottom: 50%;
  }
  .card video{
    width: 100%;
  }
  .my-projects{
    margin-bottom: 400px;
  }
  .project-card{
    flex-direction: column;
    margin-left: 8%;
    gap: 30px;
  }
  .project-info{
    width: 85%;
  }
  .project-info h1{
    text-wrap: nowrap;
  }
  .project-info p{
    max-width: 300px;
  }
  .designer{
    top: 15%;
    left: 18%;
  }
  .coder{
    top: 48%;
    right: 18%;
  }
  .skills-box h1{
    margin-bottom: 0;
    margin-top: 70px;
  }
  .slider{
    bottom: 0;
  }
  .slider img{
    width: 60%;
  }
  .contact-form h1{
    font-size: 30px;
    margin-top: 60px;
    
  }
  .footer h1{
    font-size: 17px;
  }
  .menu-icon{
    display: inline;
  }
}
@media screen and (max-width: 500px) {
    .hero-vid-box video{
       margin-top: -33%;
       margin-left: 7%;
    }
    .scroll-down{
        margin: -10% 3%;
    }
.my-projects{
    margin-bottom: 300px;
  }
  .project-card{
    flex-direction: column;
    margin-left: 8%;
    
  }
  .project-info{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  
  .project-info h1{
    text-wrap: nowrap;
  }
  .project-info p{
    max-width: 300px;
  }
  .project-info.fadeInRight button{
    align-items: center;
    margin-top: -40px;
  }
   .designer.autoDisplay{
    top: 25%;
    left: 25%;
  }
  .coder.autoDisplay{
    top: 65%;
    right: 17%;
  }
  .slider{
    bottom: -27%;
  }
  .slider img{
    width: 50%;
  }
}
@media screen and (max-width: 400px) {
    .card img{
    width: 70%;
    height: 35%;
    object-fit: cover;
  }
  .card h1{
    font-size: 18px;
    bottom: 50%;
  }
  .project-info{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  .project-info h1{
    text-wrap: nowrap;
  }
  .project-info p{
    max-width: 250px;
  }
  .project-info.fadeInRight button{
    align-items: center;
    margin-top: -40px;
  }
   .designer.autoDisplay{
    top: 25%;
    left: 15%;
  }
  .coder.autoDisplay{
    top: 63%;
    right: 9%;
  }
  .slider{
    bottom: -20%;
  }
  .slider img{
    width: 50%;
  }
}