*{
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
    /*font-family: 'Dancing+Script', sans-serif;*/
    text-decoration: none;
    font-family: 'Kaushan Script', cursive;
    font-weight: bold;
    font-family: 'Kaushan Script', cursive;


}

body{
    overflow-x: hidden;
}
#banner{
    background: linear-gradient(rgaba(0, 0, 0, 0.5), ), url(images/image1.jpg);
}
.main-div{
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0px 20px;
}
.main{
    
    /*background-color: darkcyan;*/
    background: linear-gradient(rgba(0,0,0,0.5),#009688), url(images/image2.jpg);
    background-size: contain;
    background-position: center;
   
    background-position: center;
    height: 100vh;
    background-repeat: no-repeat;
    
}
header{
    position: relative;
    padding: 40px 0 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}
.logo i{
    height: 55px;
    width: 55px;
    background: transparent;
    border: 20px solid rgb(131, 236, 93);
    border-style:groove;
    color: rgb(81, 227, 27);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;

}
nav .hamburger{
    width: 35px;
    height: 24px;
    right: 3%;
    top: 60px;
    background: white;
    z-index: 5;
    position:absolute;
    cursor:pointer;
    display: none;

}
nav .hamburger span{
    display: block;
    background: greenyellow;
    height: 4px;
    width:100%;
    transition: .3s;
    transition-property: transform,opacity;
}
nav .hamburger span:nth-child(2){
    margin: 7px 0px;
}


nav .navigation{
    list-style: none;
    backdrop-filter: blur(12px);
    border-radius: 20px;
   
}
nav .fa-solid{
    display: none;
}
nav .navigation li{
    display: inline-block;
}
nav .navigation li a{
    color: white;
    margin-left: 40px;
    font-weight: bolder;
    text-transform: uppercase;
}
nav .navigation li:not(:last-child) a:hover{
    color: black;
    transition: 1s;
}
nav .navigation li.btn a{
    display: inline-block;
    background: transparent;
    border: 4px solid white;
    padding: 9px 30px;
    border-radius: 32px;
    line-height: 1.6;
    color:white ;
    
}
nav .navigation li.btn:hover a{
    background: black;
    border: 6px solid transparent;
    transition: 1s;
    color:chartreuse;
}
.container1{
    padding-top: 50px;
}
.container1 .main-text{
    margin-bottom: 40px;
}
.container1 .main-text h1{
    color: white;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin: 20px 0px 20px;
    font-family: 'Kaushan Script', cursive;

}
span{
    color:rgb(145, 237, 87);
    font-family: 'Kaushan Script', cursive;

}
.container1 .main-text h4{
    font-weight: lighter;
    font-size: 25px;
    color: white;
    font-family: 'Kaushan Script', cursive;
}
.container1 .main-text p{
    width: 500px;
    max-width: 100%;
    color: white;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-family: 'Kaushan Script', cursive;
    
}
.container1 .main-text button{
    display: inline-block;
    background: transparent;
    border: 4px solid white;
    padding: 9px 30px;
    border-radius: 32px;
    line-height: 1.6;
    
}
.container1 .main-text button a{
    color:white;

}
.container1 .main-text button:hover{
    background: black;
    border: 6px solid transparent;
    transition: 1s;
    color: chartreuse;

}
/* ---------------------about me page--------------------*/
.about{
    padding: 70px 0;
    
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    background-size: cover;
    color: rgba(224, 235, 224, 0.733);
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 20%;
    padding: 60px 0px;


}
.about-col-1 img{
    width: 100%;
    border-radius: 100%;
    border: 60px outset #009688; 
    margin-left: 50px;
   
    
}
.about-col-2{
    flex-basis: 50%;
    margin-right: 6px;
}
#sub {
    
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}
p{
    line-height: 1.5;
    margin-right: 20px;

}
/*--skills, edu, exp---*/
.titles{
    display: flex;
    margin: 20px 0 40px;
}
.links{

    margin-left: 60px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    position: relative;
    
}
.links:hover{
    color:chartreuse;
}

.contents ul li{
   margin: 5px 0;
   font-weight: bold;
   font-size: larger;

}
.contents{
    display: none;
}
.contents.active{
    display: block;

}
/*-----------------services----------------------------*/
.services{
    padding: 70px 0;
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    background-size: cover;
    color: #abab;
}
.services .sub2{
    text-align: center;
    color: white;
    font-size: 60px;
    font-weight: 600;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px, 2fr));
    grid-gap: 20px;
    margin-top: 60px;
    
    
}

.services-list div{
    padding: 50px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 20px;
    margin: 10px 10px;
    background-color: rgb(5, 58, 58);
   
    transition: background 0.5s;
    transition: transform 1s;
    
    
}
.services-list div i{
    font-size: 60px;
    margin-left:40%;
    margin-bottom: 20px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
    color: white;
}
.services-list div:hover{
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    transform: scale(1.1);
   
   
}
/*------------------------work-------------------------------------*/
.portifolio{
    padding: 70px 0;
    
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    background-size: cover;
    color: rgba(231, 241, 231, 0.938);
}
.container4 .sub3{
    text-align: center;
    color: white;
    font-size: 60px;
    font-weight: 600;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px, 2fr));
    grid-gap: 20px;
    margin-top: 60px;
}
.work{
    border: 7px;
    position: relative;
    overflow: hidden;
    margin: 10px 10px;
    border-radius: 70px;
}

.work img{
    width:100%;
    height: 100%;
    border-radius: 7px;
    display: block;
    transition: transform  1s;
}
.layer{
    
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    border-radius: 70px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 60px;
    text-align: center;
    font-size: 15px;
    transition: height  1s ;
    padding: 4px;
    
}
.layer h3{
    font-size: 20px;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
    color: white;
    margin-right: 20px;

}
.work:hover img{
    transform:scale(1.1);


}
.work:hover .layer{
    height: 100%;
    
}
/*--------------Contact------------------------------------*/
.contact{
    background: linear-gradient(rgba(0,0,0,0.5),#009688);

}
.contact-left{
    flex-basis: 30%;
    
    margin-left: 20px;
}

.contact-right{
    flex-basis: 40%;
    margin-top: 50px;
    padding-top: 60px;
    
}


.contact-left p{
    
    margin-top: 10px;
}   
.contact-left p i{
    color: aqua;
}

.social{
    margin-top: 20px;
}
.social a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 20px;
    display: inline-block;
    color: aqua;
    transition: transform 1s; 
}
.social a:hover{
        color: rgb(3, 40, 40);
        transform: translateY(10px);
}

.btn2{
    display: inline-block;
    background: aqua;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none grey;
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    padding: 20px;
    margin: 20px 0;
    color: white;
    font-size: 20px;
    border-radius: 7px;

}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    font-weight: 300;
    margin-top: 20px;
}
.copyright i{
    color: aqua;
}
.sub4{
    text-align: center;
    color: white;
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 60px;
    
    
}
.sub4 p{
    color: white;
}
.copyright{
    color-scheme: white;
}
/*------------------------------nav bar ---------------------------------------*/

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
  }
  body {
    font-family: Arial, sans-serif;
  }
  nav {
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    border: 0px;
    
  }
  nav .mainMenu {
    display: flex;
    list-style: none;
    
  }
  nav .mainMenu li a {
    display: inline-block;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    
    font-size: 18px;
    transition: 0.2s ease;
    border-left: 0px;
  }
  nav .mainMenu .btn a {
    display: inline-block;
    background: transparent;
    border: 4px solid white;
    padding: 9px 30px;
    border-radius: 32px;
    line-height: 1.6;
    color:white ;
  }
  nav .mainMenu li a:hover {
    
    border: 6px solid ;
    border-radius: 20px;
    border-left: 0px;
    transition: 0.5s;
    color:chartreuse;
  }
  nav .openMenu {
    font-size: 2rem;
    margin: 20px;
    display: none;
    cursor: pointer;
  }
  nav .mainMenu .closeMenu,
  .icons i {
    font-size: 2rem;
    display: none;
    cursor: pointer;
  }
  .fa-facebook:hover {
    color: rgb(0, 110, 255);
  }
  .fa-twitter:hover {
    color: rgb(86, 154, 243);
  }
  .fa-instagram:hover {
    color: rgb(255, 0, 191);
  }
  .fa-github:hover {
    color: rgb(3, 1, 0);
  }
  nav .logo {
    margin: 6px;
    cursor: pointer;
    text-transform: uppercase;
  }
  @media (max-width: 800px) {
    nav .mainMenu {
      height: 100vh;
      position: fixed;
      top: 0px;
      right: 0px;
      left: 0px;
      z-index: 10;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: rgb(1, 31, 36);
      transition: top 1s ease 0s;
      display: none;
    }
    nav .mainMenu .closeMenu {
      display: block;
      position: absolute;
      top: 20px;
      right: 20px;
      color:#fff;
    }
    nav .openMenu {
      display: block;
    }
    nav .mainMenu li a:hover {
      background: none;
      color: rgb(30, 255, 0);
    }
    .icons i {
      display: inline-block;
      padding: 12px;
    }
  }
  
