@font-face {
    font-family: 'yekan';
    src: url('../font/Yekan.eot'), format('eot')
         url('../font/Yekan.woff2') format('woff2'),
         url('../font/Yekan.woff') format('woff'), 
         url('../font/Yekan.ttf')  format('truetype'), 
       
  }
  body{
    font-family:'yekan';
    margin: 0%;
    padding: 0%;
  
  }
  ul,li{
    margin: 0%;
    padding: 0%;
  }

/* ///////////////////////////////header/////////////////////////////////// */
header{
 background-color: #ffffff;
 

  
}
.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.background1{
   background: rgb(145, 78, 145);
   background: linear-gradient(183deg,  #B2A5FF 0%, rgb(188, 155, 235) 50%, #B2A5FF 100%);
  height: 6vh;
  justify-content: end;
  font-size: 14px;

  
}
.background1 a{
  margin: .5rem;
}
#nav-number{

  display: flex;
}




.background2{
  position: relative;
  background-color: #450b5c;
  height: 1vh;
  width: 75%;
}
/* 
 li:hover{
  border-bottom: 2px solid  #0b0e5c;
  transition: all 0.2s ease-in-out;
 
} */
.nav-item:hover{
  border-bottom: 2px solid  #420b5c;
  transition: all 0.3s ease-in-out;
}
ul{
  display: inline;
  margin: 0;
  padding: 0
}
ul li{
  margin: .1rem;
  font-size: 14px;
  font-weight: bold;
  color: #530b5c;
  display: inline-block;
}

ul li:hover ul {display: block;}

ul li ul {
  position: absolute;
  width: 200px;
  display: none;
}



nav a{
  color:  #420b5c;
 

}
nav button{
  color: #2e0b5c ;
  
}
.boxitem{
 margin-left: -6.5%;
}
.Design_li{
  width: 10rem;
  height: 2rem;
 
  position: relative;
  margin-bottom: 4px;
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  border: none;
  outline: none;
  color:  #3c0b5c;
  margin-bottom: .5rem;
  margin-right: 1rem;
 
  
}
.Design_li:hover{
  background: linear-gradient(183deg, rgb(154, 7, 228) 0%, rgb(239, 220, 247) 50%, rgb(154, 7, 228) 100%);
 
}
.navbar-toggler{
  padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 5px;
    border-left-width: 5px;
    padding-left: 5px;
    border: none;
    
}

/* ///////////////////////////////////////////////////////kard////////////////////////////////// */
.back_main{
   
    width: 100%;
    margin-top: 7rem;
    /* background-position: center;
    background-repeat: no-repeat;
    background-attachment:fixed; */

}

*{
    margin: 0;
    padding: 0;
    
}
.main{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.card{
    width: 495px;
    height: 550px;
    overflow: hidden;
    background-image: linear-gradient(160deg, #0093e9 0%, #e7ecec 100%);
    cursor: pointer;
}

.card img{
    width: 495px;
    height: 495px;
    border: 2px solid rgb(134, 132, 132);
    transition: all 0.5s;
}
.card:hover img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
.card h1{
    margin: 10px;
    text-decoration: none;
    width: 100%;
    height: 20vh;
    color: #7a24eb;}
.card h2{
    transform: translateX(300px);
    transition: all 0.5s;
    transition-delay: 0.2;
    font-family: cursive;
  
}
.card:hover h1{
  width: 90%;
  margin-right: 20%;
  transform: translateX(0);
}
.card:hover h2{
    margin-top: 10px;
    transform: translateX(0);
    width: 90%;
    margin-right: 15%;
}
.card p{
    margin-top: 10px;
    transform: translateX(-300px);
    transition: all 0.5s;
    transition-delay: 0.2;
    line-height: .9rem;
    width: 90%;
    margin-right: 5%;
}
.card:hover p{
    transform: translateX(0);
}
.card .bi{
    margin: 10px;
}



/* ////////////////////////////////////////media/////////////////////////////// */
@media screen and (max-width: 768px) {

  .back_main{
    width: 100%;
    margin-top: 10rem;
    /* background-position: center;
    background-repeat: no-repeat;
    background-attachment:fixed; */
   

}
  .main{
    width: 100%;
    height: 43vh;
    display: flex;
    align-items: center;
    justify-content: center;

  
}
.card{
  width: 495px;
  height: 40vh;
  overflow-y:scroll;
  align-items: center;
  cursor: pointer;
 

}


.card img{
  width:100%;
  height:33vh;
  border: 2px solid rgb(134, 132, 132);
  transition: all 0.5s;
  
}

.card h1{
  margin: 10px;
  text-decoration: none;
  color: #7a24eb;
}
.card h2{
  transform: translateX(300px);
  transition: all 0.5s;
  transition-delay: 0.2;
  font-family: cursive;
}
.card p{
  margin-top: 10px;
  transform: translateX(-300px);
  transition: all 0.5s;
  transition-delay: 0.2;
  line-height: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px;
  
}
}
