 /* 
 colors:
 1.  #04639f
 2.  #0399df
 3.  #000000
 4.  #ffffff
  */
 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: cursive;
 }
 html{
  scroll-behavior: smooth;
 }
 body{
   background: #080808;
   color: #fff;
 }
 #header{
   width: 100%;
   height: 100vh;
   background: #000 url(assets/IMG_2099_0.jpg) no-repeat;
   background-size: cover;
   background-position-x: 350px;
   background-position-y: 50px;
 }
 .container{
   margin: 10px 4%;
 }
 nav{
   display: flex;
   align-items: center;
   justify-content: space-between;
   flex-wrap: wrap;
 }
 .logo{
   width: 100px;
 }
 nav ul li{
   display: inline-block;
   margin: 10px 20px;
 }
 nav ul li a{
   text-decoration: none;
   font-size: 18px;
   text-transform: uppercase;
   color: #0399df;
   position: relative;
 }
 nav ul li a::after{
   content: " ";
   width: 0;
   height: 3px;
   background: #fff;
   border-radius: 6px;
   position: absolute;
   left: 0;
   bottom: -2px;
   transition: .4s;
 }
 nav ul li a:hover::after{
   width: 100%;
 }
 .header-text{
   margin-top: 15%;
   font-size: 30px;
 }
 .header-text h1{
   font-size: 60px;
 }
 .header-text h1 span{
   color: #0399df;
 }
 .skill{
   width: max-content;
   position: relative;
 }
 .skill::before{
   content: " ";
   width: 0;
   height: 3px;
   background: #0399df;
   border-radius: 5px;
   position: absolute;
   left: 0;
   bottom: -1px;
   transition: 0.4s ease;
 }
 .skill:hover::before{
   width: 100%;
 }
 .skill::after{
  content: " ";
  width: 0;
  height: 3px;
  background: #0399df;
  border-radius: 0 0 10px 0;
  position: absolute;
  left: 0;
  bottom: -1px;
  transition: 0.4s ease;
 }

 /*--------------About-----------------------*/
 #about{
  padding: 80px 0px;
  color: #fff;
}
.row{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about_col_1{
  flex-basis: 35%;
}
.about_col_1 img{
  width: 100%;
  border-radius: 20px;
}
.about_col_2{
  flex-basis: 60%;
}
.about_col_2 h1{
  font-size: 60px;
  font-weight: 500;
  color: #0399df;
}
.tab_titles{
  display: flex;
  margin: 20px 0 10px;
}
.tab_links{
  margin-right: 50px;
  font-size: 18px;
  font-weight: 400;
  position: relative;
  cursor: pointer;
  color: #0399df;
}
.tab_links::after{
  content: " ";
  width: 0;
  height: 2px;
  left: 0;
  bottom: -1px;
  background-color: #fff;
  border-radius: 5px;
  position: absolute;
  transition: 0.5s ease;
}
.tab_links:hover:after{
  width: 100%;
}
.tab_links.active_link::after{
  width: 50%;
}
.tab_contents ul li{
  list-style-type: none;
  margin: 10px 0;
}
.tab_contents ul li span{
  color: #0399df;
  font-size: 15px;
}
.tab_contents {
  display: none;
}
.active_tab{
  display: block;
}

 /*--------------Services-----------------------*/

#services{
  padding: 30px 0;
}
.services_list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}
.services_list div{
  text-align: center;
  background: #0399df;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  padding: 40px;
  transition: background 0.5s, transform 0.5s;
}
.services_list div i{
  font-size: 60px;
  margin-bottom: 20px;
}
.services_list div h2{
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}
.services_list div p,a{
  text-align: justify;
}
.services_list div a{
  text-decoration: none;
  font-size: 12px;
  color: #fff;
  margin-top: 20px;
  display: inline-block;
}
.services_list div:hover{
  background: #04639f;
  transform: translateY(-10px);
}
 /*--------------portfolio-----------------------*/
 #portfolio{
  padding: 30px 0;
 }
 .work_list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
 }
 .work{
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.work img{
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
  
}
.layer{
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0,0,0,0.1), #0399df);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  font-size: 15px;
  transition: height 0.5s;
}
.layer h3{
  font-weight: 500;
  margin-bottom: 10px;
}
.layer a{
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-decoration: none;
  border-radius: 50%;
  color: #0399df;
  background: #fff;
  margin-top: 15px;
  text-align: center;
  font-size: 18px;
}
.work:hover img{
  transform: scale(1.1);
}
.work:hover .layer{
  height: 100%;
}
.btn{
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 2px solid #0399df;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  background: #0399df;
  transition: background 0.5s;
}
.btn:hover{
  background: none;
}
/* -----------Contact----------- */
.contact-left{
  flex-basis: 35%;
}
.contact-right{
  flex-basis: 60%;
}
.contact-left p{
  margin-top: 30px;
}
.contact-left p i{
  font-size: 25px;
  color: #0399df;
  margin-right: 10px;
}
.social-icons{
  margin-top: 30px;
}
.social-icons a{
  font-size: 30px;
  color: #0399df;
  display: inline-block;
  text-decoration: none;
  margin-right: 15px;
  transition: transform 0.5s;
}
.social-icons a:hover{
  color: #fff;
  transform: translateY(-5px);
}
.btn.btn2{
  display: inline-block;
  background: #0399df;
}
.contact-right form{
  width: 100%;
}
form input, form textarea{
  width: 100%;
  border: 0;
  outline: none;
  background: #8e8e8e;
  margin: 15px 0;
  padding: 15px;
  color: #fff;
  font-size: 18px;
  border-radius: 5px;
}
input{type:text}:focus{
  border: 2px solid #0399df;
}
form .btn2{
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 50px;
  cursor: pointer;
}
.copyright{
  width: 100%;
  text-align: center;
  background: #04639f;
  padding: 25px 0;
  margin-top: 20px;
  font-weight: 500;
  font-size: 25px;
}

/* ------------------screen small devices----------------- */

nav .fas{
  display: none;
}
@media only screen  and (max-width:600px){
  #header{
    background-image: url(image_2.png);
  }
  .header-text{
    margin-top: 100%;
    font-size: 16px;
  }
  .header-text h1{
    font-size: 30px;
  }
  nav .fas{
    display: block;
    font-size: 25px;
  }
  nav ul {
    background: #0399df;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
  }
  nav ul li{
    display: block;
    margin: 25px;
  }
  nav ul li a{
    color: #fff;
  }
  nav ul .fas{
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }
  .sub_title{
    font-size: 40px;
  }
  .about_col_1, .about_col_2{
    flex-basis: 100%;
  }
  .about_col_1{
    margin-bottom: 20px;
  }
  .about_col_2{
    font-size: 15px;
  }
  .tab_links{
    font-size: 15px;
  }
  .contact-left, .contact-right{
    flex-basis: 100%;
  }
}
#msg{
  color: #fff;
  margin-top: -40px;
  display: block;
  font-size: 20px;
}
