@font-face {
    font-family: 'leo';
    src: url(fonts/Hokuto\ Regular.ttf)
}

@font-face {
    font-family: 'leo2';
    src: url(fonts/RobotoSlab-Regular.ttf)
}

@font-face {
    font-family: 'shazde';
    src: url(fonts/Digi\ Nozha2\ Bold.ttf)
}

@font-face {
    font-family: 'always';
    src: url(fonts/Lato-Reg.ttf)
}

* {
    margin: 0px;
    padding: 0px;
}

#banner {
    background: linear-gradient(rgba(0, 0, 0.2, 0.2), #ffc0cb), url(images/b4.jpg);
    background-size: cover;
    background-position: center;
    height: 400px;
}

.logo {
    height: 140px;
    width: 140px;
    position: absolute;
    top: 1%;


}

.banner-text {
    text-align: center;
    color: white;
    padding-top: 100px;

}

.banner-text h1 {
    font-size: 130px;
    font-family: 'leo';

}

.banner-text p {
    font-size: 20px;
    font-family: 'leo2';
    margin-top: 0px;
}

.banner-btn {
    margin: 30px auto 0;
}

.banner-btn a {
    width: 150px;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    padding: 12px 0;
    color: white;
    border: 0.5px solid white;
    font-style: italic;
    position: relative;
    z-index: 1;
    transition: 0.5s;
}

.banner-btn a span {
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    z-index: -1;
    transition: 0.5s;
}

.banner-btn a:hover span {
    width: 100%;
}

.banner-btn a:hover {
    color: #fa6bc6
}

#nav {
    width: 150px;
    height: 100vh;
    position: fixed;
    right: -200px;
    top: 0;
    background: rgb(255, 194, 204);
    z-index: 2;
    transition: 0.7s;


}
.home{
    margin-top: 80px;
}

nav ul li {
    list-style-type: none;
    margin: 50px 20px;



}

nav ul li a {
    text-decoration: none;
    color: white;
    font-family: 'shazde';
    font-size: 20px;
    padding: 10px;

}
nav ul li a:hover{
    background-color: #fa6bc6;
   border-radius: 7px;
   background-clip: padding-box;
}

#menuicon {
    width: 50px;
    height: 50px;
    background: #ffc0cb;
    text-align: center;
    position: fixed;
    right: 30px;
    top: 20px;
    border-radius: 4px;
    z-index: 3;
    cursor: pointer;
}

#menuicon img {
    width: 30px;
    margin-top: 10px;

}

/* features */
#features {
    width: 100%;
    padding: 70px 0;
}

.title-text {
    text-align: center;
    padding-bottom: 70px;
    font-family: always;
    font-style: italic;
}

.title-text p {
    margin: auto;
    font-size: 20px;
    color: #ffc0cb;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.title-text h1 {
    font-size: 50px;
}

.title-text p::after {
    content: "";
    width: 50px;
    height: 35px;
    background: linear-gradient(#ffc0cb, white);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: -1;
    transform: rotate(10deg);
    border-bottom-right-radius: 35px;
    border-top-left-radius: 35px;
}

.features-box {
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.features {
    flex-basis: 50%;
}

.features-img {
    flex-basis: 50%;
    margin: auto;
}

.features-img img {
    width: 70%;
    border-radius: 10px;
   
}

.features h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #ffc0cb;
    font-size: 30px;
    font-weight: bold;
    font-family: 'always';

}

.features p {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    font-family: 'always';
}

/* products */

#products{
    width: 100%;
    padding: 70px 0;
    background: #efefef ;
}

.products-box{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}
.single-products{
    flex-basis: 48%;
    text-align: center;
    border-radius: 7px;
    margin-bottom: 20px;
    color: white;
    position: relative;
}
.single-products img{
    width: 100%;
    border-radius: 7px;
}
.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(rgba(0,0,0,0.5), #ffc0cb);
    opacity: 0;
    transition: 1s;
}
.single-products:hover .overlay{
    opacity: 1;
}
.products-desc{
    width: 80%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: 1s;
}
.single-products:hover .products-desc{
    bottom: 40%;
    opacity: 1;
}
hr{
    background: white;
    height: 2px;
    border: 0;
    margin: 15px auto;
    width: 60%;
}
.single-products p{
    font-size: 14px;
}

/*--comments--*/
#comments{
    width: 100%;
    padding: 70px 0;
  }

  .comments-row{
    width: 80%;
    margin:auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .comments-col{
    flex-basis: 28%;
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 10px 20px 3px #ffc0cb;
    cursor: pointer;
    transition: transform 0.5s;
  }

  .comments-col p{
    font-size: 14px;
    font-family: 'leo2';
  }
   

  .user{
    display: flex;
    margin: 20px 0;
    align-items: center;
  }

  .user img{
    width: 40px;
    height: 40px;
    margin-right: 20px;
    border-radius: 3px;
  }
  .comments-col:hover{
    transform: translateY(7px);
  }



  /*--footer--*/

#footer{
    padding: 100px 0 20px;
    background: #efefef;
    }
    
    .foooter-row{
      width: 80%;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    
    .footer-left, .footer-right{
      flex-basis: 45%;
      padding: 10px;
      margin-bottom: 20px;
    }
    
    .footer-right{
      text-align: right;
    }
    
    .foooter-row h1{
      margin:10px 0;
      font-family: 'leo';
    }
    
    .foooter-row p{
      line-height: 35px;
      font-family: 'always';
    }