*{
        font-family: 'Poppins',sans-serif;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        text-decoration: none;
        scroll-behavior: smooth;
        border: none;
        outline: none;
        
}
:root{
    --bg-color: #081b29;
    --sec-color:#112e42;
    --text-color:#fff;
    --main-color:#59b2f4;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
}
body{
    background-color: var(--bg-color);
    color: var(--text-color);
}
section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background-color:var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    
}
.logo{
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
    cursor: pointer;
}
.logo:hover{
    color:  #0ef;
}
.navbar a{
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 700;
    margin-left: 4rem;
}
.navbar a:hover,
.navbar a:active{
    color: var(--main-color);
    transition: .5s;
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}
.home{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #081b29;
}
.home-content h3{
    font-size: 3.2rem;
    font-weight: 700;
    margin-left: 18px;
}
.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}
span{
    color: var(--main-color);
}
.home-content h1{
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    margin-left: 18px;
}
.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 p{
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
    padding: 19px;
    line-height: 1.8;
}
.social-media{
    margin-left: 18px;
}
.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height:4rem;
    background-color: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;  
    font-size: 2.3rem;
    color:#0ef;
    margin:3rem 1.5rem 3rem 0;
    transition: .3s ease;
}
.social-media a:hover{
    background-color: #0ef;
    color: #081b29;
    box-shadow: 0 0 1rem #0ef;
 }
.btn{
    display: inline-block;
    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(--bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    margin-left: 18px;
}
.btn:hover{
    box-shadow: none;
}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-color: #112e42;
}
.about-img img{
    width: 39vw;
    border-radius: 50%;
}
.heading{
    text-align: center;
    font-size: 4.6rem;
}
.about-content h2{
    text-align: left;
    line-height: 1.2;
}
.about-content h3{
    font-size: 2.6rem;
}
.about-content p{
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}
.services h2{
    margin-bottom: 5rem;
}
.services-container{
    display: flex;
    justify-content: baseline;
    align-items: center;
    gap: 2rem;
}
.services-container .services-box{
    flex: 1 1 30rem;
    background-color:var(--bg-color);
    padding: 2rem 3rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--sec-color);
    transition: .5s ease;
}
.services-container .services-box:hover{
    border-color: var(--main-color);
    transform: scale(1.04);
}
.services-box i{
    font-size: 7rem;
    color: var(--main-color);
}
.services-box h3{
    font-size: 2.6rem;
}
.services-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}
.portfolio{
    background-color: #112e42;
}
.portfolio h2{
    margin-bottom: 3rem;
}
.portfolio-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    gap: 2.5rem;
}
.portfolio-container .portfolio-box{
    position: relative;
    background: var(--bg-color);
    border-radius:4rem ;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
    width:300px;
    height: 230px;
}
.portfolio-container .portfolio-box:nth-child(2)
{
    color: #081b29;
}
.portfolio-box img{
  transition: .5s ease;
}
.portfolio-box:hover img{
    transform: scale(1.1);
}
.portfolio-box .portfolio-layer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 230px;
    background: linear-gradient(rgba(6, 155, 6, 0.1), #0ef);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;
    font-size: 2rem;
}
.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: 4rem;
    height: 4rem;
    background: var(--text-color);
    border-radius: 50%;
    font-weight: 600;
}
.portfolio-layer a i{
    font-size: 2rem;
    color: black;
    color: var(--second-bg-color);
}
.contact h2{
    margin-bottom: 3rem;
}
.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}
.contact form .input-box{
    display: flex;
    justify-content: space-between;
}
.contact form .input-box input,
.contact form textarea{
    border: 1px solid #081b29;
    width: 100%;
    padding: 1.8rem;
    font-size: 1.6rem;
    color: white;
    background-color: #112e42;
    border-radius: 2rem;
    margin: .7rem 0;
}
.contact form .input-box input{
    width: 49%;
}
.contact form textarea{
    resize: none;
}
.contact form .btn{
    margin-top: 2rem;
    font-size: 14px;
    cursor: pointer;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background-color: #112e42;
}
.footer-text{
    font-size:1.6rem;
}
.footer-icon{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem 1rem;
    background-color: #59b2f4;
    border-radius: .8rem;
    transition: .5s ease;
}
.footer-icon:hover {
    box-shadow: 0 0 1rem var(--main-color);
}
.footer-icon a i{
      font-size: 2.2rem;
    color: var(--sec-color);
}
@media (max-width : 1200px) {
    html{
        font-size: 55%;
    }
}
@media (max-width : 991px){
    .header{
        padding: 2rem 3%;
    }
    section{
        padding: 10rem 6%;
    }
    .services{
        padding: 7rem;
    }
    .portfolio{
        padding-bottom: 7rem;
    }
    .contact{
        min-height: auto;
    }
    .footer{
        padding: 2rem 3%;
    }
}
@media (max-width : 768px){
    #menu-icon{
        display: block;
    }
    .home{
        flex-direction: column;
    }
    .home-content h3{
        font-size: 2.4rem;
    }
    .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background-color: var(--bg-color);
        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;
        color: #0ef;
    }
    .home-content{
        order: 2;
    }
    .home-content h1{
        font-size:4rem;
    }
    .home-img img{
        width: 90vw;
        margin-top: 4rem;
    }
    .about{
        flex-direction: column;
    }
    .about h2{
        font-size: 30px;
    }
    .about-img img{
        width: 90vw;
        margin-top: 4rem;
    }
    .services h2{
        margin-bottom: 3rem;
    }
     .portfolio-container{
        grid-template-columns: repeat(1, 1fr);
    }
    .portfolio-container .portfolio-box{
        margin-left: 60px;
    }
    .services .services-container{
        flex-direction: column;
    }
}