
@import url('https://fonts.googleapis.com/css2?family=poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url(' https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'poppins',sans-serif;
}
:root{
    --bg-color:linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(7, 28, 30) 35%, #0f637f 100%);
    --second-bg-color:rgb(0, 0, 0);
    --third-bg-color:rgb(30, 199, 202);
    --text-color:white;
    --main-color:#19eefd;

}
html{
    font-size: 62.5%;
    overflow-x: hidden;

}
body{
    background-image: url(bg.jpg);
    position: relative;
    color: var(--text-color);
}
section{
    box-shadow:0 0 6rem var(--main-color);
    min-height: 150vh;
    padding: 10rem 9% 2rem;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 2rem 9%;
    background:  linear-gradient(90deg, rgba(2,0,36,1) 0%, rgb(1, 19, 30),rgb(3, 40, 63) ,rgb(1, 19, 30),rgba(2,0,36,1));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow:0 0 3rem var(--main-color);


}
.header.sticky{
    border-bottom: .1rem solid rgb(235, 227, 227);
}
.logo{
    font-size: 4.5rem;
    color: var(--text-color);
    font-weight: 500;
     cursor: default;
     text-shadow: 0px 4px 4px rgb(3, 255, 242);
     }
.logo a{
    text-align: left;
    
}
.logo:hover{
    color: #0fefff60;
}
.navbar a{
    font-size: 1.9rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .3s;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
    
    
}

.navbar:hover{
    color: rgb(255, 255, 255);
    
    
}

.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
    border: 2px solid #032e35;
    background-color: #031e27;
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}
.home{
   display: flex;
   justify-content: center;
   align-items: center;
   background-repeat: no-repeat;
   background-size: 1800px 900px ;
}

.home-img img{
    width: 25vw;
    animation: floatImage 4s ease-in-out infinite;
   }
@keyframes floatImage{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-2.4rem);
    }
    100%{
        transform: translateY(0);
    }
    
}
.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    font-family: cursive;
    

}
.home-content h3:nth-last-of-type(2){
    margin: bottom 2rem; 
}
.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-shadow:0 0 1rem var(--main-color);
    -webkit-text-stroke: 3px black;
    

}
.home-content p{
    font-size: 2rem;
    text-align: center;
    line-height: 3;
    }
.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    background:rgb(5, 21, 37);
    border:0.1rem solid rgb(0, 0, 0);
    border-radius: 50%;
    font-size: 3.5rem;
    color: rgb(255, 255, 255);
    margin: 3rem 1.5rem 3rem 0;
    box-shadow:0 0 1rem var(--main-color);
}
.social-media a:hover{
    background: var(--main-color);
    color: var(--third-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}
.button-container{
 display: flex;
 justify-content: center;
 align-content: center;
}
.btn{
    padding: 1rem 2.8rem;
    background-color: var(--main-color);
    border-radius: 4rem;
    box-shadow:0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    text-align: center;
    justify-content: center;
    width: 250px;
    border:0.1rem solid rgb(0, 0, 0);

}
.btn:hover{
    box-shadow: none;
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-repeat: no-repeat;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    background-size: 2000px 1000px ;
    
}


.about-img img{
    width: 20vw;


}
.heading{
    text-align: center;
    font-size: 5rem;
    text-decoration: underline;
    text-shadow:0 0 2rem rgb(0, 217, 255);
    line-height: 3em;
    -webkit-text-stroke: 3px black;

}
.about-content h2{
    text-align: left;
    line-height: 3em;
    font-size: 4.5rem;
}
.about-content h3{
    font-size: 3rem;
}
.about-content p{
    font-size: 2rem; 
    margin: 2rem 0 3rem;
    font-family: 'Times New Roman';
    line-height: 32px;
}

.portfolio{
    background-image: url("bg.jpg");
    background-repeat: no-repeat;
    background-size: 2000px 1000px ;
}
.portfolio h2{
    margin-bottom: 4rem;
    

}
.portfolio-container{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap:2.5rem;
}
.portfolio-container.portfolio-box{
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
}
.portfolio-box img{
    width: 100%;
    transition: .5s ease;
}
.portfolio-box:hover img{
     transform: scale(1.1);
}
.portfolio-box.portfolio-layer1{
    position:absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(black,rgb(11, 161, 169));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;
}
.portfolio-box:hover .portfolio-layer{
    transform: translateY(0);
}
.portfolio-layer h4{
    font-size: 3rem;

}
.portfolio-layer p{
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}
.portfolio-layer a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
}
.portfolio-layer a i{
    font-size: 2rem;
    color: var(--third-bg-color);

}
.contact h2{
    margin-bottom: 3rem;

}
.contact{
    background-image: url("bg.jpg");
    background-repeat: no-repeat;
    background-size: 2000px 1000px ;
}
.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
.contact form .input-box{
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background:linear-gradient(147deg, #000000 0%, #2c3e50 74%);
    margin: .7rem 0;
}
.contact form .input-box input{
     width: 49%;
}
.contact form textarea{
    resize: none;
}
.contact form .btn{
    margin-top: 2rem;
    cursor: pointer;

}
.footer{
    box-shadow:0 0 3rem var(--main-color);
    display: flex;
    justify-content: space-between;
    text-align: center !important;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: rgb(9,27,29);
    background:  linear-gradient(90deg, rgba(2,0,36,1) 0%, rgb(1, 19, 30),rgb(3, 40, 63) ,rgb(1, 19, 30),rgba(2,0,36,1));
}

.footer-text p{
    font-size: 1.6rem;

}
.footer-iconTop a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background:var(--main-color) ;
    border-radius: .8rem;
    transition: .5s ease;
}
.footer-iconTop:hover{
    box-shadow: 0 0 1rem var(--main-color);
}
.footer-iconTop a i{
    font-size: 2.4rem;
    color:var(--second-bg-color);
}
@media(max-width: 1200px){
    html{
        font-size: 55%;
    }
}
@media(max-width: 991px){
    .header{
        padding: 2rem 3%;

    }
    section{
        height: 150vh;
        padding: 10rem 3% 2rem;
    }
    .services{
        padding-bottom: 7rem;
    }
    .portfolio{
        padding-bottom: 7rem;
    }
    .contact{
        min-height: auto;

    }
    .footer{
        padding: 2rem 3%;
    }
}
@media(max-width:768px){

    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 3.7rem;
        left: 0;
        width: 100%;
        /* padding: 1rem 3%; */
        background:  linear-gradient(90deg, rgba(2,0,36,1) 0%, rgb(1, 19, 30),rgb(3, 40, 63) ,rgb(1, 19, 30),rgba(2,0,36,1));
        border-top: .1rem solid rgba(0,0,0,.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
        display: none;

    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem ;
        margin: 3rem 0;

    }
    .home{
        flex-direction: column;
    }
    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content h1{
        font-size: 5rem;
    }       
    .home-img img{
        width: 47vh;
        margin-top: 4rem;
    }
    .about{
        flex-direction: column-reverse;

    }
    .about img{
        width: 100%;
        margin-top: 4rem;

    }
    .services h2{
        margin-bottom: 3rem;
    }
    .portfolio h2{
        margin-bottom: 3rem;
    }
    .portfolio-container{
        grid-template-columns: repeat(2,1fr);

    }
    }
    @media(max-width:617px){
        .portfolio-container{
            grid-template-columns: 1fr;
        }
    }
@media(max-width:450px){
    html{
        font-size: 50%;
    }
    .contact form.inpt-box input{
             width:100% ;
    }
    .about-img {
        width: 100%;
        }
    body{
        background-image: url("bg.jpg");
        height: auto;
    }
    #menu-icon{
        display: block;
    }
    .navbar{
        position: absolute;
        top: 3.7rem;
        left: 0;
        width: 100%;
        /* padding: 1rem 3%; */
        background:  linear-gradient(90deg, rgba(2,0,36,1) 0%, rgb(1, 19, 30),rgb(3, 40, 63) ,rgb(1, 19, 30),rgba(2,0,36,1));
        border-top: .1rem solid rgba(0,0,0,.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
        display: none;

    }
    .navbar.active{
        display: block;
    }
    .navbar a{
        display: block;
        font-size: 2rem ;
        margin: 3rem 0;

    }
    
}
@media(max-width:365px){
    
    .about-img img{
        width: 100%;
        height: auto;
    }
    .footer{
        flex-direction:column-reverse ;
    }
    .footer p{
        text-align: center;
        margin-top: 2rem;
    }
    
}
 .bgAnimation{
    position: absolute;
    top:0 ;
    left: 0;
    width: 100%;
    height: 150vh;
    display: grid;
    grid-template-columns: repeat(20,1fr);
    grid-template-rows: repeat(20,1fr);
    background:  rgb(1, 19, 30);
    filter: saturate(2);
    overflow: hidden;

 }
 .colorBox{
    z-index: 2;
    filter: brightness(1.2);
    transition: 7s ease;
    position: relative;
    margin: 2px;
    background:  rgb(2, 11, 17);
 


 }
 .colorBox:hover{
    background: #19eefd;
    transition-duration: 0s;
 }
 .backgroundAnim{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #0fefff;
    filter: blur(60px);
    animation: animBack 6s linear infinite ;

 }
 @keyframes animBack{
    0%{
        top: -60px;
    }
    100%{
        top: 1200px;
    }
 }
.abt h3{
    color: aliceblue !important ;
    font-size: 2rem !important;
    padding-top: 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    
}