@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

@import 'animate.css';

/* :root {
    --lighting-color: #0089b7;
    --dark-color: #003d62;
    --darker-color: #003251;
    --secondary-color: #fff700;
} */
:root {
    --lighting-color: #000000;
    --dark-color: #1a1e21;
    --darker-color: #000000;
    --secondary-color: #fff700;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 1px solid red; */
}

html {
    font-size: 62.5%;
}

html,
body {
    line-height: 1.4;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    color: white;

}
.start{
/* margin-left:-50px;
 */
 display: flex;
 width: 100% !important;
 justify-content: start;
}
.start h4{
    font-size:3.5rem;
}
 /* h1{
    font-size:5.5rem;
} */
.contact .container .top_contact,.bottom_contact{
    font-size:2.5rem;
}
#contact .container h2{
    font-size:5rem;
}
#service h1{
    font-size: 5.5rem;
}
#service h4{
    font-size: 3rem;
}

body {
    font-size: 1.4rem;

}
.main-container{
    max-width: 100vw;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

header {
    background: var(--lighting-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;

}

nav ul a {
    text-decoration: none;
    color: white;

}

nav ul  li {
    font-size: 1.8rem;
    list-style: none;


}
.logo{
    z-index: 99;
}



nav ul {
    display: flex;
    gap: 1rem;
}

nav {
    padding: 2rem 0;
}

nav a {
    font-size: 2rem;
}

nav a {
    border-bottom: 0.4rem transparent;
    transition: 0.3s ease-in-out;
}
.burger{
    display: none;
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 15px;
    
}
.line{
    width: 30px;
    background-color: white;
    height: 4px;
    margin: 5px 3px;
}

nav a :hover {
    border-bottom: 0.4rem var(--secondary-color) solid;
    transition: 0.3s ease-in-out;

}


#hero {
    background: var(--dark-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100vh;
    border-bottom: 0.4rem solid var(--lighting-color);
}
.heroimg{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 15px;
}
.heroimg img{
    height: 350px;
    width: 350px;
    object-fit: cover;
    /* border: 2px dashed white; */
    -webkit-box-shadow: 16px 0px 5px -5px rgba(237,217,102,0.88);
-moz-box-shadow: 16px 0px 5px -5px rgba(237,217,102,0.88);
box-shadow: 16px 0px 5px -5px rgba(237,217,102,0.88);

}
.btn{
    margin: 10px 0;
}
.btn:hover{
    background-color: rgb(230, 226, 226);
    color: #000000;
    border: 2px solid white;
    font-size: 1.7rem;
    padding: 8px 10px;
    border-radius: 26px;
    transition: 0.3s ease-in-out; 
}

.img{
    border-radius: 60%;
    /* height: 300px; */
}


.herocontent {
   display: grid;
    place-items: center;
    
}

#hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hi {
    font-size: 6rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.name {
    font-size: 5rem;
}

#hero h2 {
    font-size: 4rem;
    font-weight: bold;
    overflow: hidden;
    /* Ensures the content is not revealed until the animation */
    border-right: 0.15em solid orange;
    /* The typwriter cursor */
    white-space: nowrap;
    /* Keeps the content on a single line */
    margin: 0 auto;
/*         width: fit-content; */
    /* Gives that scrolling effect as the typing happens */
    /* Adjust as needed */
    animation: typing 5s steps(40, end), blink-caret 0.75s step-end infinite;

}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: orange;
    }
}
/* service */
#service{
    background-color: var(--darker-color);
    height: 100vh;
}

.position-relative {
    position: relative!important;
}
.align-items-center {
    align-items: center!important;
}
.justify-content-center {
    justify-content: center!important;
}
.d-flex {
    display: flex!important;
}

    .text-white {
        color: #fff!important;
        font-size: 8rem;
    }
.text-white {
    color: rgb(248, 245, 245)!important;
    font-size: 7rem;
    
}

.text-uppercase {
    text-transform: uppercase!important;
}
.text-primary {
    font-size: 4rem;
    color: var(--lighting-color)!important;
}
.text-uppercase {
    text-transform: uppercase!important;
}
.position-absolute {
    position: absolute!important;
}
.font-weight-bolder, h1 {
    font-weight: 900!important;
}
.pt-5, .py-5 {
    padding-top: 3rem!important;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.pb-3, .py-3 {
    padding-bottom: 1rem!important;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.font-weight-bold{
    font-size: 3.7rem;
    font-weight: bold;
}
.fa-2x {
    padding-bottom: 13px;
    font-size: 2.7em;
    border: 1px solid white;
    border-radius: 50%;
}
.fa-2x {
    font-size: 2em;
    /* border-radius: 40%; */
    height: 50px;
    padding-left: 9px;
    width: 54px;
    padding-bottom: 40px;
}


.col-lg-4{
    margin: 10px 0;
}
.col-lg-4 p{
    font-size: 2.7rem;
}



    
    .skills-section{
    padding-top: 20px;
    /* margin: 60px 0; */
    height: 100vh;
    background-color: var(--darker-color);
    }
    
    .skills-header{
    text-align: center;
    color: #fff;
    padding: 1rem;
    font-size: 5rem;
    position: relative;
    }
    
    .skills-header:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #2ecc71;
    border-radius: 2px;
    }
    
    .skills-container{
    display: grid;
    grid-tempLate-columns: repeat(5, 2fr);
    justify-content:center;
    align-items:center;
    text-align: center;
    grid-gap:1rem;
    padding: 1rem 80px;
    font-size: 1.2rem;
    }
    .skills-box{
    padding: 1rem;
    color: #ffffff;
    cursor:pointer;
    }
    .skills-box:hover > .skills-title: after, 
    .skills-box:hover > .skills-title: before{
    width: 30px;
    }
    .skills-box:hover .skills-img{
    transform: translateX(-20px);
    }
   
    
    .skills-title{
    display:flex;
    flex-direction: column;
    align-items:center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    }
    
    .skills-title:after{
    content: '';
    position:absolute;
    bottom: 0;
    right: 55%;
    width:20px;
    height:4px;
    border-radius: 2px 0 0 2px;
    background-color: #2ecc71;
    transition: .5s;
    }
    
    .skills-title:before{
    content: '';
    position:absolute;
    bottom: 0;
    left: 30%;
    width:100px;
    height:4px;
    border-radius: 0 2px 2px 0;
    background-color: #2ecc71;
    }
    
    .skills-icons{
    width:50px;
    z-index:2;
    }
    
    .skills-img{
    width:90px;
    height:90px;
    position: relative;
    border-radius: 45px;
    background-color: #fff;
    display:flex;
    justify-content:center;
    align-items:center;
    transition: .5s;
    }
    
    .skills-img:after{
    content: '';
    position:absolute;
    top:0;
    left: 0;
    width:50%;
    height:90px;
    background: rgba(100, 100, 100, 0.5);
    border-radius: 45px 0 0 45px;
    }
    .skills-title h3{
    color: #ffffff;
    margin-top: 0.5rem;
    }

    
    @media screen and (max-width:990px){
     .skills-container{
     grid-tempLate-columns: repeat(2, 1fr);
     padding: 2rem 50px;
     }
    }
    
    @media screen and (max-width:650px){
     .skills-container{
     grid-tempLate-columns:2fr;
     padding: 2rem 50px;
     }
    }



    

/* service end */

#projects {
    background: var(--dark-color);
}

#projects h1 {
    font-size: 7rem;
    text-align: center;
    padding: 3rem;
    font-weight: 800;

}







.project {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
    justify-items: center;
}

.griditem {
    display: grid;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.griditem:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
}

.card {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card img {
    object-fit: cover;
    width: 320px;
    height: 360px;
    transition: transform 0.5s ease;
}

.card:hover {
    transform: scale(1.08);
    box-shadow: 0px 12px 36px rgba(0, 0, 0, 0.3);
}

.card:hover img {
    transform: scale(1.1);
}

.gridcontent {
    padding: 2rem;
    background: rgba(8, 3, 3, 0.45);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.67);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.card:hover .gridcontent {
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.gridcontent h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
   
}

.gridcontent p {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.6;
   
}







body{
    background-color: #000;
}

.main {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 1px;
    width: 1px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: -42vw -4vh 0px 0px #fff,25vw -41vh 0px 0px #fff,-20vw 49vh 0px 1px #fff,5vw 40vh 1px 1px #fff,29vw 19vh 1px 0px #fff,-44vw -13vh 0px 0px #fff,46vw 41vh 0px 1px #fff,-3vw -45vh 0px 1px #fff,47vw 35vh 1px 0px #fff,12vw -8vh 1px 0px #fff,-34vw 48vh 1px 1px #fff,32vw 26vh 1px 1px #fff,32vw -41vh 1px 1px #fff,0vw 37vh 1px 1px #fff,34vw -26vh 1px 0px #fff,-14vw -49vh 1px 0px #fff,-12vw 45vh 0px 1px #fff,-44vw -33vh 0px 1px #fff,-13vw 41vh 0px 0px #fff,-36vw -11vh 0px 1px #fff,-23vw -24vh 1px 0px #fff,-38vw -27vh 0px 1px #fff,16vw -19vh 0px 0px #fff,28vw 33vh 1px 0px #fff,-49vw -4vh 0px 0px #fff,16vw 32vh 0px 1px #fff,36vw -18vh 1px 0px #fff,-25vw -30vh 1px 0px #fff,-23vw 24vh 0px 1px #fff,-2vw -35vh 1px 1px #fff,-25vw 9vh 0px 0px #fff,-15vw -34vh 0px 0px #fff,-8vw -19vh 1px 0px #fff,-20vw -20vh 1px 1px #fff,42vw 50vh 0px 1px #fff,-32vw 10vh 1px 0px #fff,-23vw -17vh 0px 0px #fff,44vw 15vh 1px 0px #fff,-40vw 33vh 1px 1px #fff,-43vw 8vh 0px 0px #fff,-48vw -15vh 1px 1px #fff,-24vw 17vh 0px 0px #fff,-31vw 50vh 1px 0px #fff,36vw -38vh 0px 1px #fff,-7vw 48vh 0px 0px #fff,15vw -32vh 0px 0px #fff,29vw -41vh 0px 0px #fff,2vw 37vh 1px 0px #fff,7vw -40vh 1px 1px #fff,15vw 18vh 0px 0px #fff,25vw -13vh 1px 1px #fff,-46vw -12vh 1px 1px #fff,-18vw 22vh 0px 0px #fff,23vw -9vh 1px 0px #fff,50vw 12vh 0px 1px #fff,45vw 2vh 0px 0px #fff,14vw -48vh 1px 0px #fff,23vw 43vh 0px 1px #fff,-40vw 16vh 1px 1px #fff,20vw -31vh 0px 1px #fff,-17vw 44vh 1px 1px #fff,18vw -45vh 0px 0px #fff,33vw -6vh 0px 0px #fff,0vw 7vh 0px 1px #fff,-10vw -18vh 0px 1px #fff,-19vw 5vh 1px 0px #fff,1vw 42vh 0px 0px #fff,22vw 48vh 0px 1px #fff,39vw -8vh 1px 1px #fff,-6vw -42vh 1px 0px #fff,-47vw 34vh 0px 0px #fff,-46vw 19vh 0px 1px #fff,-12vw -32vh 0px 0px #fff,-45vw -38vh 0px 1px #fff,-28vw 18vh 1px 0px #fff,-38vw -46vh 1px 1px #fff,49vw -6vh 1px 1px #fff,-28vw 18vh 1px 1px #fff,10vw -24vh 0px 1px #fff,-5vw -11vh 1px 1px #fff,33vw -8vh 1px 0px #fff,-16vw 17vh 0px 0px #fff,18vw 27vh 0px 1px #fff,-8vw -10vh 1px 1px #fff;
  
  /* stars were too big with the layers above but left the code in case no one cares  -- as in, if noone's just that  one other loner who actually cares    */
  
  box-shadow: 24vw 9vh 1px 0px #fff,12vw -24vh 0px 1px #fff,-45vw -22vh 0px 0px #fff,-37vw -40vh 0px 1px #fff,29vw 19vh 0px 1px #fff,4vw -8vh 0px 1px #fff,-5vw 21vh 1px 1px #fff,-27vw 26vh 1px 1px #fff,-47vw -3vh 1px 1px #fff,-28vw -30vh 0px 1px #fff,-43vw -27vh 0px 1px #fff,4vw 22vh 1px 1px #fff,36vw 23vh 0px 0px #fff,-21vw 24vh 1px 1px #fff,-16vw 2vh 1px 0px #fff,-16vw -6vh 0px 0px #fff,5vw 26vh 0px 0px #fff,-34vw 41vh 0px 0px #fff,1vw 42vh 1px 1px #fff,11vw -13vh 1px 1px #fff,48vw -8vh 1px 0px #fff,22vw -15vh 0px 0px #fff,45vw 49vh 0px 0px #fff,43vw -27vh 1px 1px #fff,20vw -2vh 0px 0px #fff,8vw 22vh 0px 1px #fff,39vw 48vh 1px 1px #fff,-21vw -11vh 0px 1px #fff,-40vw 45vh 0px 1px #fff,11vw -30vh 1px 0px #fff,26vw 30vh 1px 0px #fff,45vw -29vh 0px 1px #fff,-2vw 18vh 0px 0px #fff,-29vw -45vh 1px 0px #fff,-7vw -27vh 1px 1px #fff,42vw 24vh 0px 0px #fff,45vw -48vh 1px 0px #fff,-36vw -18vh 0px 0px #fff,-44vw 13vh 0px 1px #fff,36vw 16vh 0px 1px #fff,40vw 24vh 0px 0px #fff,18vw 11vh 0px 0px #fff,-15vw -23vh 1px 0px #fff,-24vw 48vh 0px 1px #fff,27vw -45vh 1px 0px #fff,-2vw -24vh 0px 1px #fff,-15vw -28vh 0px 0px #fff,-43vw 13vh 1px 0px #fff,7vw 27vh 1px 0px #fff,47vw 5vh 0px 0px #fff,-45vw 15vh 1px 1px #fff,-5vw -28vh 0px 1px #fff,38vw 25vh 1px 1px #fff,-39vw -1vh 1px 0px #fff,5vw 0vh 1px 0px #fff,49vw 13vh 0px 0px #fff,48vw 10vh 0px 1px #fff,19vw -28vh 0px 0px #fff,4vw 7vh 0px 0px #fff,21vw 21vh 1px 1px #fff,-15vw -15vh 0px 1px #fff,-6vw -42vh 1px 0px #fff,-15vw 48vh 1px 1px #fff,-23vw 25vh 1px 1px #fff,-48vw 25vh 0px 1px #fff,-31vw -19vh 0px 1px #fff,4vw 37vh 1px 1px #fff,-43vw 28vh 0px 0px #fff,3vw -25vh 0px 1px #fff,-39vw 14vh 0px 1px #fff,-40vw 31vh 0px 1px #fff,35vw -36vh 1px 1px #fff,16vw 49vh 0px 0px #fff,6vw 39vh 0px 0px #fff,3vw -35vh 0px 1px #fff,-44vw -2vh 1px 0px #fff,-6vw 21vh 1px 0px #fff,48vw 9vh 1px 1px #fff,-43vw 30vh 1px 1px #fff,29vw -12vh 1px 1px #fff,-48vw 13vh 1px 0px #fff,-42vw 32vh 1px 1px #fff,34vw 15vh 1px 1px #fff,29vw -37vh 1px 1px #fff,28vw 2vh 0px 0px #fff;
  animation: zoom 16s alternate infinite; 
}

@keyframes zoom {
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.5);
    }
}







#contact {
    display: grid;
    place-items: center;
    background: var(--darker-color);
    gap: 3rem;
    padding: 4rem;
}

#contact .container {
    display: grid;
    place-items: center;
    gap: 3rem;
}

.top_contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* flex-direction: column; */
    gap: 1rem;
    font-size: 4rem;
}

.bottom_contact {
    display: flex;
    gap: 4rem;
    font-size: 4rem;
}

#contact h2 {
    font-size: 6rem;
    text-align: center;
}
#contact{
    /* display: flex; */
  
}
.form1{margin-top:20px ;}
form .name{
    font-size: 3rem;
}


.contact_way {
    display: flex;
    gap: 2rem;
font-size: 3rem;
}
.name{
    text-align: center;
}
 input{
    margin-top: 12px;
    border: gray;
    border-radius: 8px;
    font-size: 1.5rem;
    padding: 10px ;
    width: 63rem;
}
#contact textarea{
    margin-top: 12px;
    border: gray;
    border-radius: 8px;
    padding: 10px;
    font-size: 1.5rem;
    width: 63rem;
}
i {
    padding-top: 1.5rem;
}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}
.d{
    display: flex;
    gap: 1rem;
    align-items: baseline;

}

footer {
    background: var(--darker-color);
    font-size: 3rem;
    padding: 4rem;
    text-align: center;
    margin-bottom: 3rem;
}

@media screen and (max-width:875px) {
    #hero {
        
        display: flex;
       flex-direction: column;
    }
    .heroimg img{
        height: 450px;
        width: 450px;
        object-fit: cover;
    }

    
}
@media screen and (max-width:767px){

    .main-container .container{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .main-container .container ul{
        flex-direction: column;

    }
    .burger{
        display:block;
        z-index: 99;
       
        
    }

    ul a {
        margin-bottom:20px;
        display: block;
    }
    .hight{
        height: 72px;
    }
    .vclass{
        
        display:none;
        /* height:80vh; */
        background-color: #000000;
    } 
    .active{
        display: block;
        margin-top: 270px;
        width: 108%;
        text-align: center;
        height: 80vh;
        padding: 20px 20px;
    }
    
   
}

@media screen and (max-width:710px) {

    #contact input,textarea {
   
    width: 43rem;
 }
 #contact textarea {
   
    width: 43rem;
 }

}
@media screen and (max-width:510px) {

    #contact input,textarea {
   
    width: 33rem;
 }
 #contact textarea {
   
    width: 33rem;
 }
 .heroimg img{
    height: 250px;
    width: 250px;
    object-fit: cover;
}

}

@media screen and (max-width:710px) {
    .img{
        height: 300px;
    }
}

@media screen and (max-width:440px) {
    .bottom_contact {
        display: flex;
        flex-direction: column;
        gap: 4rem;
        font-size: 4rem;
    }
    
    #contact h2,.name{
        font-size: 3rem;
    }
    #contact h3{
        font-size: 2.7rem;
    }

    #contact {
        display: grid;
       /* padding-left: 10px; */
    }
    #contact input,textarea {
   
        width: 26rem;
     }
     #contact textarea {
       
        width: 26rem;
     }

}
