*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
}

body{
    width: 100%;
    overflow-x: hidden;
    background-color: black;
    
}

header{
    /* position: fixed; */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    min-height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 30px 100px;
    z-index: 100;
}

/* header .sticky{
    padding: 5px 100px;
    background-color: white;
} */

header .logo{
    position: relative;
    font-weight: 700px;
    color: white;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.6s;
    cursor: pointer;
}

.nav-list{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li{
    position: relative;
   list-style: none;
}

header ul li a{
   position: relative;
   margin: 0 15px;
   text-decoration: none;
   color: white;
   letter-spacing: 2px;
   font-weight: bold;
   text-transform: capitalize;
    transition: 0.6s;
}

header ul li a:hover{
    color: #f9004d;
    transition: .4s;
 }

span{
    color: #f9004d;
}

header .btn{
    color: white;
    background-color: #f9004d;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: bold;
    padding: 7px 16px;
    border-radius: 25px;
    transition: transform .4s;
}

header .btn:hover{
    transform: scale(1.2);
} 

/* header #menu-icon{
    color: white;
    display: none;
} */

.home{
    position: relative;
    display: flex;
    align-items: center;
    justify-self: center;
    height: 100vh;
    /* transform: translateY(-50%); */
    width: 100%;
    /* background-color: blue; */
    padding-bottom: 170px;
    padding-left: 135px;
    background-image: url(image/bg2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* opacity: 0.8; */
}

.slide{
    margin-bottom: 20px;
}

.one{
    display: inline-block;
    margin-top: 80px;
    margin-right: 15px;
    height: 32px;
    padding: 0 15px;
    line-height: 32px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 5px;
    background-color: #f9004d;
    color: white;
}

.two{
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    color:white;
}

.home-text{
  width: 80%;
}
.home-text h1{
    color: white;
    margin: 0px 0px 8px ;
    font-size: 45px;
    font-weight: 700;
    line-height: 1.1;
}

.home-text h3{
    color: white;
    margin: 0 0 25px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.home-text p{
    font-size: 16px;
    color: white;
    line-height: 1.8;
    margin-bottom: 20px;
}

.home-text .button-home{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-text .button-home .btn1{
   display: inline-block;
   padding: 12px 28px;
   background-color: #f9004d;
   color: white;
   border-radius: 5px;
   font-size: 1rem;
   letter-spacing: 1px;
   font-weight: 600;
   transition: all 0.45s ease;
   text-decoration: none;
}

.home-text .button-home .btn1:hover{
 transform: scale(0.9);
}

.home-text .button-home .btn2{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    margin-left: 35px;
}

.home-text .button-home .btn2 span i{
   height: 40px;
   width: 40px;
   color: white;
   background-color: #f9004d;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 18px;
   border-radius: 50%;
   margin-right: 15px;
   transition: all 0.45s ease;
}

.home-text .button-home .btn2 span i:hover{
   transform: scale(1.1) translateY(5px);
}

.about{
    position: relative;
    width: 100%;
    height: 50%;
    padding: 50px 0px;
    background-color: #191919;
}

.about-img img{
      width: 100%; 
}

.about-text{
    width: 400px;
}

.about-main{
    /* width: 1130px; */
    /* max-width: 100%; */
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.about-text h3{
    color: white;
    font-size: 75px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.about-text h5{
   color: white;
   letter-spacing: 2px;
   font-size: 22px;
   margin-bottom: 25px;
   text-transform: capitalize;
}

.about-text p{
    color: #fcfc;
   letter-spacing: 1px;
   line-height: 28px;
   font-size: 18px;
   margin-bottom: 45px;
}

.about-button{
    background-color: #f9004d;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
}

.about-button:hover{
    background-color: transparent;
    border: 2px solid #f9004d;
    cursor: pointer;
}

.services{
    background: #101010;
    /* height: 100vh; */
    padding: 100px 0px;
}

.main-text{
 text-align: center;
}

.main-text p{
 color: white;
 font-size: 17px;
 margin-bottom: 15px;
}

.main-text h2{
    color: white;
    font-size: 55px;
}

.service-content{
  display: flex;
  margin: 0 80px;
}

.service-content .box{
  padding: 23px;
  margin: 34px;
  border-radius: 15px;
  background-color: #191919;
  color: white;
  min-height: 300px;
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.box .s-icons {
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
}

.box h3{
    font-size: 23px;
    color: white;
    margin-bottom: 20px;
}

.box p{
    font-size: 16px;
    color: #fcfc;
}

.box .read{
   margin: 24px auto;
    padding: 15px;
    width: 120px;
    font-size: 17px;
    border-radius: 9px;
    background-color: #f9004d;
    color: white;
    text-decoration: none;
}

.box .read:hover{
  transform: scale(0.9);
  background-color: #3333;
  border: 2px solid #f9004d;
}

.portfolio{
    background-color:#191919;
    width: 100%;
    padding: 35px 0;
}

.portfolio-main-text{
    text-align: center;
}

.portfolio-main-text p{
    font-size: 25px;
    color: white;
    margin-bottom: 12px;
}

.portfolio-main-text h2{
    font-size: 32px;
    line-height: 1;
    color: white;
}

.portfolio-content{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.3rem;
    margin-left: 5%;
}

.row{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 17px;
}

.row img{
    width: 80%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
    height: 220px; 
    /* width: 350px; */
    
}

.layer{
    width: 80%;
    height: 20%;
    background: linear-gradient(rgba(0,0,0,0.1), #ff004f);
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content:center;
    text-align: center;
    padding: 0 40px;
    transition: height 0.5s;
    flex-direction: column;
}

.layer h5{
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.layer p{
    color: #fcfc;
    font-size: 1rem;
    line-height: 1.8;
}

.layer i{
    color: #f9004d;
    margin-top: 20px;
    font-size: 20px;
    background-color: white ;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row:hover img{
    transform: scale(1.1);
}

.row:hover .layer{
    height: 100%;

}

.contact{
background-color: #101010;
}

.contact-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin: 0 80px;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    /* width: 100%; */
}

.contact-text h2{
color: white;
line-height: 1;
margin: 25px 50px;
}
.contact-text h4{
    color: white;
    margin: 22px 50px;
    font-size: 20px;
    font-weight: 600;
}
.contact-text p{
    color: #fcfc;
    font-size: 17px;
    line-height: 1.1;
    margin-bottom: 20px;
    /* margin: 50px; */
    margin-left: 50px;
}

.list{
    margin-bottom: 2.8rem;
     margin-left: 50px;
}

.list ul{
    color:  #fcfc;
}

.list li{
    margin-bottom: 12px;
}

.list li a{
    display: block;
  color: #fcfc;
    font-size: 15px;
    transition: all 0.45s ease;
    text-decoration: none;
    list-style: none;
}

.list li a:hover{
   color: white;
   transform: translateX(5px);
}


.contact-icons{
    margin-left: 50px;
}

.contact-icons div{
    display: inline-block;
}
.contact-icons i{
    justify-content: center;
    margin-right: 8px;
    height: 45px;
    width: 45px;
    background-color: #f9004d;
    color: white;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    transition: all 0.45s ease;
}

.contact-icons i:hover{
    background-color: white;
    color: #f9004d;
    cursor: pointer;
}

.contact-form{
    margin-top: 39px;
}

.contact-form form{
    position: relative;
}

.contact-form form input{
    width: 70%;
    padding: 12px;
    background-color: #191919;
    color: white;
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
   
}

.contact-form textarea{
    width: 70%;
    padding: 14px;
    background-color: #191919;
    color: white;
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    resize: none;
    height: 240px;
}

.contact-form .submit{
    display: block;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid transparent;
    background-color: #f9004d;
    color: white;
    margin-bottom: 15px;
    padding: 8px 15px;
    border-radius: 14px;
    /* width: 120px; */
    transition: all 0.45s ease;
}

.contact-form .submit:hover{
   transform: scale(1.1);
   cursor: pointer;
}

.end{
    padding: 9px 15%;
    width: 100%;
    flex-wrap: wrap;
    /* background-color: #191919; */
    background-color: #f9004d;
    /* gap: 2rem; */
    display: flex;
    align-items: center; 
    justify-content: space-around;
}

.last-text p{
    color: white;
    font-size: 15px;
}

/* .top a i{
    border-radius: 8px;
    font-size: 13px;
    padding: 10px;
    background-color: #f9004d;
    color: white;
}

.top i:hover{
    transform: scale(1.1);
} */

.burger{
    display: none;
    position: absolute;
    top: 40px;
    cursor: pointer;
    right: 5%;
}
.line{
    width: 33px;
    background-color: white;
    height: 4px;
    margin: 5px 3px;
}


@media only screen and (max-width: 1052px){
    header{
        height: 670px;
        display: flex;
        flex-direction: column;
        transition: all 0.7s ease-out;
    }
    .logo{
        margin-top: 10px;
    }

    .nav-list{
        flex-direction: column;
        top:10px;
        width:100%;
        align-items: center;
        padding: 20px 0;
        font-size: 24px;

    }
    .nav-list li{
        padding-bottom: 50px;
    }
    .btn-resp{
        flex-direction: column;
        padding: 11px 17px;
        font-size: 21px;
        /* margin-top: 7px; */
    }

    .burger{
        display: block;
    }
    .h-nav-resp{
        height: 100px;
    }
    .v-class-resp{
        opacity: 0;
    }

    .about-main{
        flex-direction: column;
        
    }
    .about-img{
        margin: auto;
    }
    .about-img img{
        width: 90%;
    
    }
    .about-text{
        margin: auto;
        width: auto;
    }
    .about-text h3{
        padding-top: 45px;
       font-size: 60px;
       text-align: center;
       margin-bottom: 30px;
    }
    .about-text h5{
        font-size: 30px;
        padding: 10px 50px;
    }
    .about-text p{
        padding: 10px 50px;
    }
    .about-button{
        display: block;
        margin: auto;
    }
    
    .service-content{
        flex-direction: column;
    }
    .service-content .box{
        padding: 10px 20px; 
        min-height: 208px;
      }

    .service-content .box h3{
        padding: 0px 20px; 
    }
    
    .main-text h2{
        margin-bottom: 25px;
        font-size: 40px;
    }

    .contact-container{
        margin: 0px;
    }
    .contact-text h2{
        margin: 25px 50px;
    }

    .contact-form{
        margin: 30px 50px;
    }
    .contact-icons{
        /* margin-left: 55px; */
        margin-bottom: 13px;
    }
    .contact-icons i{
        margin-bottom: 10px;
    }
    .submit{
        padding: 7px 2px;
        font-size: 8px;
    }

    .last-text p{
        font-size: 10px;
    }

    .portfolio-content{
        /* display: block; */
        justify-content: center;
        align-items: center;
    }

    .portfolio-content .row{
        margin: auto;
        max-width: 420px;
        width: 100%;
     }
     .portfolio-content .row img{
        max-width: 380px;
        max-height: 250px;
        margin: 10px auto;
      }
    .portfolio-main-text p{
        font-size: 30px;
        color: white;
        margin: 17px;
    }
    
    .portfolio-main-text h2{
        font-size: 50px;
        line-height: 1;
        color: white;
        margin-bottom: 68px;
    }
    .about-img img{
        display: block;
        margin: auto;
        border-radius: 10px;
    }
    .layer{
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 780px){
    .portfolio-content .row img{
        width: 550px;
        height: 350px;
        margin: 19px auto;
      }
      .layer{
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 650px){
    .contact-container{
        display: flex;
        flex-direction: column;
    }

    .portfolio-content{
        display: block;
        justify-content: center;
        align-items: center;
    }

    .portfolio-content .row{
       margin: auto;
       max-width: 400px;
       width: 100%;
    }
    .portfolio-content .row img{
        max-width: 380px;
        max-height: 250px;
        margin: 14px auto;
    }

    .layer{
        margin-bottom: 10px;
    }

    .service-content .box{
        padding: 10px 20px; 
       margin: 30px -30px;
      }
    .service-content .box h3{
        font-size: 17px;
    }
    .home-text{
        margin: -40px -74px;
    }
    .home-text .slide{
        margin-top: -220px;
    }
     /* .home-text .one.two{
       font-size: 16px;
    } */
    .home-text h1{
       font-size: 36px;
       margin-right: -97px;
    }
    .home-text h3{
       font-size: 26px;
       margin-right: -97px;
    } 
    .about-text h3 {
        font-size: 40px;
    }
    .about-text h5 {
        margin-right: -46px;
        font-size: 24px;
        margin-bottom: 4px;
    }
    .about-img img{
        display: block;
        margin: auto;
        border-radius: 10px;
    }
    .contact-text p{
        margin-right: 6px;
    }
}

@media only screen and (max-width: 370px){
    .portfolio-content .row img{
        /* width: auto; */
        margin-right: 30px;
    }
    .layer{
        margin-bottom: 10px;
    }

}