@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

@font-face {
    font-family: 'El Messiri';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../ElMessiri.woff2') format('woff2');
    unicode-range: U+0600-06F;
  }

html[lang="ar"] *{
    font-family: "El Messiri","Raleway";
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway';

}
#nav2 {
    position: sticky;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 120px;
}

html[lang="en"] [lang="fr"],
html[lang="fr"] [lang="en"]{
  display: none;
}

html[lang="ar"] [lang="fr"],
html[lang="ar"] [lang="en"]{
  display: none;
}

html[lang="en"] [lang="ar"],
html[lang="fr"] [lang="ar"]{
  display: none;
}


html[lang="ar"] input{
    text-align:right;
    }

#nav {
    position: fixed;
    background: linear-gradient(white, rgb(217, 217, 217));
    z-index: 8;
    top: 0px;
    left: 0px;
    right: 0px;
    transition-duration: .5s;
}
.navbar{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    
    background: #f5f5f5;
    z-index: 8;
}
.nav{
    padding: 10px 10vw;
    display: flex;
    justify-content: space-between;

}
.brand-logo{
    height: 60px;
}
.nav-items{
    display: flex;
    align-items: center;
}
.search{
    width: 500px;
    display: flex;
}
.search-box{
    width: 80%;
    height: 40px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #d1d1d1;
    text-transform: capitalize;
    background: none;
    color: #a9a9a9;
    outline: none;


}
.search-btn{
    width: 20%;
    height: 40px;
    padding: 10px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #383838;
    color: #fff;
    text-transform: capitalize;
    font-size: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #646464;

}
.search-box::placeholder{
    color: #a9a9a9;

}
.nav-items a{
    margin-left: 20px;
    position: relative;
}
.nav-items a img{
    width: 30px;
    cursor: pointer;
}
.links-container{
    width: 100%;
    display: flex;
    padding: 10px 10vw;
    justify-content: center;
    list-style: none;
    border-top: 1px solid #d1d1d1;
}
.link{
    text-transform: capitalize;
    padding: 0 10px;
    margin: 0 30px;
    text-decoration: none;
    color: #383838;
    opacity: 0.5;
    transition: .5s;
    box-shadow: none;
    border: none;
    background-color: transparent;
    font-size: 15px;
    cursor: pointer;
}
.link:hover{
    opacity: 1;
}
.login-logout-popup{
    position: absolute;
    transform: translateX(-50%);
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    top: 80px;
    width: 200px;
    transition: .5s;
    border: 2px solid #f5f5f5;
    z-index: 2;
}

.notif-popup{
    position: absolute;
    left: 50%;
    transform: translateX(-20%);
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    top: 40px;
    width: 200px;
    transition: .5s;
    border: 2px solid #f5f5f5;
    z-index: 2;
}


.message-popup{
    position: absolute;
    left: 80%;
    transform: translateX(-25%);
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    top: 60px;
    display: block;
    width: 200px;
    transition: .5s;
    border: 2px solid #f5f5f5;
    z-index: 2;
}

.language-popup{
    position: absolute;
    left: 90%;
    transform: translateX(-30%);
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    top: 60px;
    display: block;
    width: 200px;
    transition: .5s;
    border: 2px solid #f5f5f5;
    z-index: 2;
}

.msg-btn {
    padding: 10px;
    background: #383838;
    color: #fff;
    border: none;
    outline: none;
    width: 100%;
    border-radius: 5px;
    margin-top: 20px;
    text-transform: capitalize;
    cursor: pointer;
}

.notif-block {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 100%;
    margin: 10px 0px;
    border-radius: 5px;
    transition-duration: .3s;
    cursor: pointer;
}
.notif-block:hover {
    background-color: #f8f8f8;
}


.login-logout-popup::after{
    content: '';
    position: absolute;
    top: -7.5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 5px;
}
.account-info{
    font-size: 20px;
    text-transform: capitalize;
}
#user-btn{
    padding: 10px;
    background: #383838;
    color: #fff;
    border: none;
    outline: none;
    width: 100%;
    border-radius: 5px;
    margin-top: 20px;
    text-transform: capitalize;
    cursor: pointer;
}

.hide{
    opacity: 0;
    pointer-events: none;
}



  *::-webkit-scrollbar{
    -webkit-appearance: none;
    width: 4px;
}

*::-webkit-scrollbar-track{
    margin: 7px 0;
    border-radius: 10px;
    background-color: #e1e1e1;
}

*::-webkit-scrollbar-thumb{
    border-radius: 4px;
    border: 0px solid rgba(255,255,255,0);
    background-clip: content-box;
    background-color: #000000;
}


#message-box {
    position: fixed;
    background: radial-gradient(circle at 0% 0%, #373b52, #252736 51%, #1d1e26);
  top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    border-radius: 30px;
    padding: 0px 5vw;
    justify-content: space-between;   
     display: none;
     box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;     z-index: 11;
     vertical-align: middle;
     color: white;


}




@keyframes gradient { 
    0%{background-position:0 0}
    100%{background-position:100% 0}
  }
  
    
  
    #message-box select {
      flex-grow: 1;
      color: #BFD2FF;
      font-size: 20px;
      line-height: 20px;
      vertical-align: middle;
      margin: 0 auto;
      background: rgba(57, 63, 84);
      border-radius: 2px;
      padding: 10px 10px 10px;
      border: none;
      width: 200px;
  
    }
    
  
    .sendamessage {
      position: fixed;
      right: 90px;
      top: 30px;
      font-size: 40px;
    }
    #message-box  input {
      flex-grow: 1;
      color: #BFD2FF;
      font-size: 15px;
      line-height: 20px;
      vertical-align: middle;
      margin: 0 auto;
      background: rgba(57, 63, 84);
      border-radius: 2px;
      padding: 10px 10px 10px;
      border: none;
      width: 200px;
  
    }
  
    #message-box  textarea {
      resize: none;
  
      flex-grow: 1;
      color: #BFD2FF;
      font-size: 20px;
      line-height: 20px;
      vertical-align: middle;
      margin: 0 auto;
      background: rgba(57, 63, 84);
      border-radius: 2px;
      padding: 10px 10px 10px;
      border: none;
      width: 600px;
  
    }

    .btn{
        width: 40%;
        padding: 10px;
        border-radius: 5px;
        background: none;
        border: 1px solid #383838;
        color: #ffffff;
        font-size: 15px;
        cursor: pointer;
        margin: 20px 0;
        text-transform: capitalize;
        transition-duration: .3s;
    }
    
  
    .linear {
      position: relative;
      background-position: 0% 0%;
      background: linear-gradient(to right, #B294FF, #57E6E6, #FEFFB8, #57E6E6, #B294FF, #57E6E6);
      background-size: 500% auto;    padding: 0px 0px 3px 0px;
      width: 200px;
      animation: gradient 3s linear infinite;
  }
  
  .linear2 {
      position: relative;
      background-position: 0% 0%;
      background: linear-gradient(to right, #B294FF, #57E6E6, #FEFFB8, #57E6E6, #B294FF, #57E6E6);
      background-size: 500% auto;    padding: 0px 0px 3px 0px;
      width: 600px;
      animation: gradient 3s linear infinite;
  }
  


.close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition-duration: .3s;
    z-index: 2;
}

#black {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 10;
}










#loader {
    
     position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(white, rgb(217, 217, 217));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}








.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #191919;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
