.home {
    display: flex;
    align-items: center;
   
}

.home-ofpage{
    height: 100vh;
    background: url(./pectures/pexels-tima-miroshnichenko-5640575.jpg) no-repeat center /cover;
    background-attachment:fixed ;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, #ccc 1px, transparent 1px);
  background-size: 50px 100%;
  pointer-events: none;
  opacity: 1;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}
.home::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.15)
  );
}

.inf-home{
    margin-top:16vh;
    margin-left:40px;

    
}

.titls h1 {
    font-size: 4.4rem;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 800;
    color: #252324;
    font-family: Rajdhani;
    opacity: 99;
}

.disc p {
    margin-top: 30px;
    line-height: 1.6;
    font-size: 1.5rem;
    font-weight: 500;
    font-family:Bahnschrift SemiBold ;
    opacity: 99;
    color: #9ccd62;
    background-color: #3a3c42;
    padding: 20px;
}
 
.fancy {
 background-color: #9ccd62;
 border: 2px solid #3a3c42;
 border-radius: 0;
 box-sizing: border-box;
 color: #3a3c42;
 cursor: pointer;
 display: inline-block;
 font-weight: 700;
 letter-spacing: 0.05em;
 margin: 0;
 outline: none;
 overflow: visible;
 padding: 1.25em 2em;
 position: relative;
 text-align: center;
 text-decoration: none;
 text-transform: none;
 transition: all 0.3s ease-in-out;
 user-select: none;
 font-size: 13px;
 margin-top: 30px;
 font-family:MV Boli ;
}

.fancy::before {
 content: " ";
 width: 1.5625rem;
 height: 2px;
 background: #3a3c42;
 top: 50%;
 left: 1.5em;
 position: absolute;
 transform: translateY(-50%);
 transform-origin: center;
 transition: background 0.3s linear, width 0.3s linear;
}

.fancy .text {
 font-size: 1.125em;
 line-height: 1.33333em;
 padding-left: 2em;
 display: block;
 text-align: left;
 transition: all 0.3s ease-in-out;
 text-transform: uppercase;
 text-decoration: none;
 color: #252324;
}

.fancy .top-key {
 height: 2px;
 width: 1.5625rem;
 top: -2px;
 left: 0.625rem;
 position: absolute;
 background: #9ccd62;
 transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
 height: 2px;
 width: 1.5625rem;
 right: 1.875rem;
 bottom: -2px;
 position: absolute;
 background: #9ccd62;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
 height: 2px;
 width: 0.625rem;
 right: 0.625rem;
 bottom: -2px;
 position: absolute;
 background: #9ccd62;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy:hover {
 color: #9ccd62;
 background: #3a3c42;
}

.fancy:hover::before {
 width: 0.9375rem;
 background: #9ccd62;
}

.fancy:hover .text {
 color: #9ccd62;
 padding-left: 1.5em;
}

.fancy:hover .top-key {
 left: -2px;
 width: 0px;
}

.fancy:hover .bottom-key-1,
 .fancy:hover .bottom-key-2 {
 right: 0;
 width: 0;
}
.bgvideo{
    margin-top: 90px;
    margin: 30px;
    background-color: #f9f8ed;
    padding: 30px 50px;
    border-radius: 20px;

}
.relvidio {
    height: 70vh;
}
.relvidio video{
    width: 100%;
    height: 100%;
    border-radius: 12px;
}
@media (max-width: 768px) {
.bgvideo{
  margin-top: 90px;
  width: 100%;
  padding: 0 0 0 0;
}
.relvidio{
    height: 20vh;
    width: 100%;
}
}
.motiveted {
    margin-top: 20px;      
    text-align: center;    
    text-transform: capitalize;
    color: #5a5956;
    width: 70%;           
    margin-left: auto;      
    margin-right: auto;     
}
.motiveted h1{
    font-size: 2.2rem;
    font-family:MV Boli ;
}
@media (max-width: 992px) {

  .home {
    flex-direction: column;
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
  }

  .inf-home {
    margin-top: 20vh;
    margin-left: 0;
    padding: 0 20px;
    align-items: center;
  }

  .titls h1 {
    font-size: 3rem;
  }

  .disc p {
    font-size: 1.1rem;
  }

  .fancy {
    margin: 30px auto 0 auto;
  }

  .bgvideo {
    margin: 40px 30px;
    padding: 20px;
     width: 90%;
  }

  .relvidio {
    height: 40vh;
  }

  .motiveted {
    width: 90%;
  }

  .motiveted h1 {
    font-size: 1.8rem;
  }
  html.rtl .home{
    padding: 10px;
    padding-right: 0px;
}
}
@media (max-width: 576px) {

  .titls h1 {
    font-size: 2.2rem;
  }

  .disc p {
    font-size: 1rem;
  }

  .relvidio {
    height: 30vh;
  }

  .motiveted h1 {
    font-size: 1.5rem;
  }
  html.rtl .home{
    padding: 10px;
    padding-right: 0px;
}


}
html.rtl .home{
    padding: 10px;
    padding-right: 50px;
}
html.rtl .About-us{
    padding: 12px;

}


html.rtl .text-center{
     padding-right:30px;
}