@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400..700&display=swap');
@font-face {
    font-family: 'OFF-H';
    src: url('../fonts/Gambarino-Regular.woff2') format('woff2'),
         url('../fonts/Gambarino-Regular.woff') format('woff'),
         url('../fonts/Gambarino-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
  }

:root {
    --offlab-dark: #0F0E0F;
    --offlab-light: #F2F2F2;
    --offlab-accent: #002BEC;
    --offlab-second-accent: #1CE1FF;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  ::-moz-selection {
    background-color: var(--offlab-accent);
    color: var(--offlab-light);
  }
  
  ::selection {
    background-color: var(--offlab-accent);
    color:  var(--offlab-light);
  }

  html, body {
  cursor: none;
  }

  body {
    margin: 0;
    padding: 0;
    line-height: 1.45em;
    letter-spacing: -1px;
    word-spacing: 1px;
    font-family: "Source Serif 4", serif;
    font-weight: 300;
    font-size: 1.3em;
    color: var(--offlab-light);
    background-color: var(--offlab-dark);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  p{
    margin: 0px;
  }

  h1, h2, h3, h4, h5, h6{
    margin: 0px;
    padding: 0px;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
  }

  h3{
    display: inline;
    font-weight: 500;
  }

  h3::before{
    content: "● ";
    margin-left: 10px;
    margin-right: 10px;
  }

  a, a:active{
    color: var(--offlab-light);
    text-decoration: none;
    font-weight: 300;
    cursor: url("../Assets/pointer.png"), pointer;
  }

  a:hover{
    color: var(--offlab-second-accent);
  }

  .home-video-h{
    z-index: -100;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    opacity: 50%;
  }

  .home-video-v{
    z-index: -100;
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    opacity: 50%;
  }
  
  .container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    cursor: url("../Assets/cursor.png"), auto;
  }

.navbar{
    width: 100%;
    height: 10%;
    display: flex;
    position: fixed;
    z-index: 200;
    align-items:center;
    flex-direction: row;
    justify-content:space-evenly;
    padding: 20px 50px;
    background-color: var(--offlab-dark);
}

.navbar-OFF-icon{
    width: 3.5rem;
    fill: var(--offlab-light);
}

.navbar-OFF-icon-wrapper{
    width: 30%;
    height: auto;   
}

.navbar-menu{
    width: 70%;
    height: auto;
    text-align: right;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    margin: 0;
}

.navbar-menu-btn{
  width: 70%;
  height: auto;
  text-align: right;
  display: none;
  flex-direction: row;
  justify-content: end;
  list-style: none;
  margin: 0;
}

.navbar-menu li{
    flex: auto;
}

.navbar-menu-m {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--offlab-dark);
  width: 100%;
  height: 100%;
  z-index: 210;
  transform: translateX(100%);
}

.navbar-menu-m-btn{
  width: 100%;
  height: 10%;
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  padding-right: 50px;
}

.navbar-menu-m-links{
  width: 100%;
  height: 70%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  padding: 100px 50px 0px 50px;
  font-size: 1.7em;
  line-height: 1.8;
}

.disabled{
  display: block;
}

.enabled{
  display: none;
}

.navbar-menu-m-logo{
  width: 100%;
  height: 20%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding: 0px 50px 50px 50px;
}

.navbar-menu-m-logo-wordmark{
  fill: var(--offlab-accent);
  width: 100%;
  height: auto;
}

.navbar-menu-btn-circle{
  width: 3rem;
  fill: var(--offlab-light);
}

.navbar-menu-btn-circle:hover{
  fill: var(--offlab-accent);
}

.navbar-menu-btn-circle-close{
  width: 3rem;
  fill: var(--offlab-accent);
}

.home-statement{
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    margin-top: 10%;
    padding: 0px 50px 0px 50px;
  }

.home-services{
    width: 100%;
    height: 20%;
    display: flex;
    align-items: flex-end;
    text-align: justify;
    text-justify: distribute;
    padding: 0px 50px 50px 50px;
  }

.headline-1{
    font-family: "OFF-H", serif;
    font-size: 1.8em;
    line-height: 1.2em;
  }

.headline-2{
  font-family: "OFF-H", serif;
  font-size: 2em;
  line-height: 1.05em;
}

.headline-3{
  width: 100%;
  font-family: "OFF-H", serif;
  font-size: 2.4em;
  line-height: 1.1em;
  text-align: left;
  margin-top: 14%;
  padding: 0px 50px 50px 50px;
}

.headline-4{
  width: 100%;
  font-family: "OFF-H", serif;
  font-size: 6em;
  text-align: left;
  padding: 0px 50px 0px 50px;
  margin-bottom: -60px;
}

.highlighted-text{
  color: var(--offlab-second-accent);
}

.the-lab-columns-level-1{
  width: 100%;
  max-width: 1400px;
  margin-top: 10%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 50px;
  margin-bottom: 200px;
  margin-left: auto;
  margin-right: auto;
}

.the-lab-columns-level-2-1{
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.the-lab-columns-level-2-2{
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px 0px 0px 150px;
}

.the-lab-columns-level-3{
  width: 100%;
  padding-left: 8%;
}

.the-lab-headline{
  width: 32%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.the-lab-video-d{
  display: block;
  width: 100%;
  padding-right: 50px;
}

.cases-container{
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px;
  margin-bottom: 200px;
  margin-left: auto;
  margin-right: auto;
}

.cases-item-1{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;
  text-align: left;
  direction: ltr;
}

.cases-item-2{
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;
  text-align: left;
  direction: ltr;
}

.cases-item-image{
  width: 100%;
  display: flex;
}

.cases-item-title{
  margin-top: 15px;
  font-family: "OFF-H", serif;
  font-size: 1.6em;
}

.cases-item-subtitle{
  margin-top: 10px;
  margin-bottom: 0px;
  line-height: 1.3em;
  font-size: 0.85em;
}

.projects-container{
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 50px;
  margin-bottom: 200px;
  margin-left: auto;
  margin-right: auto;
}

.project-header{
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 14%;
  padding-bottom: 20px;
}

.project-title{
  width: 75%;
  font-family: "OFF-H", serif;
  font-size: 2.4em;
  line-height: 1.1em;
  text-align: left;
}

.project-info{
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

a.project-info-btn, a:active.project-info-btn{
  padding: .3em .8em .3em .8em;
  font-weight: 300;
  color: var(--offlab-light);
  background-color: var(--offlab-accent);
  display: flex;
}

a:hover.project-info-btn{
  color: var(--offlab-accent);
  background-color: var(--offlab-second-accent);
}

a.project-info-btn-expanded, a:active.project-info-btn-expanded, a:hover.project-info-btn-expanded{
  padding: .3em .8em .3em .8em;
  font-weight: 300;
  color: var(--offlab-accent);
  background-color: var(--offlab-second-accent);
  display: none;
}

.projects-description{
  width: 100%;
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.projects-EN-description{
  width: 47%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: justify;
  direction: ltr;
}

.projects-AR-description{
  width: 47%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Noto Naskh Arabic", serif;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
  direction: rtl;
  line-height: 1.55em;
  font-size: .95em;
}

.projects-credits{
  width: 100%;
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 50px;
}

.projects-credits-EN-columns{
  width: 23.5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  direction: ltr;
}

.projects-credits-AR-columns{
  width: 23.5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Noto Naskh Arabic", serif;
  font-weight: 400;
  font-style: normal;
  text-align: right;
  direction: rtl;
  line-height: 1.55em;
  font-size: .95em;
}

.projects-credits-EN-details{
  padding-left: 7%;
}

.projects-credits-AR-details{
  padding-right: 7%;
}

.projects-description-AR-Mobile{
  width: 100%;
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  
}

.projects-AR-description-Mobile{
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Noto Naskh Arabic", serif;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
  direction: rtl;
  margin-top: 20px;
  line-height: 1.45;
  font-size: 1em;
}

.projects-credits-AR-Mobile{
  width: 100%;
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 20px;
  margin-bottom: 50px;
}

.projects-credits-AR-columns-Mobile{
  width: 40%;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Noto Naskh Arabic", serif;
  font-weight: 400;
  font-style: normal;
  text-align: right;
  direction: rtl;
  line-height: 1.45;
  font-size: 1em;
}

.projects-item-1{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.projects-item-2{
  width: 49%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.projects-video-H{
  display: block;
  width: 100%;
  margin: 0px;
  position: relative;
  aspect-ratio: 16 / 9;
}

.projects-video-V{
  display: block;
  width: 100%;
  margin: 0px;
  position: relative;
  aspect-ratio: 4 / 5;
}

.projects-video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  display: block;
  pointer-events: none;
}

.projects-video-video{
  z-index: 10;
  width: 100%;
  height: 100%;
}

.not-found-container{
  display: flex;
  width: 100%;
  height: 90%;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.not-found-bg{
  background: var(--offlab-dark) url("../Assets/404--bg.jpg") no-repeat center center;
  background-size: cover;
}

.papers-container{
  display: flex;
  width: 100%;
  height: 90%;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  color: var(--offlab-accent);
}

.papers-bg{
  background: var(--offlab-dark) url("../Assets/papers/__PAPERS.jpg") no-repeat center center;
  background-size: cover;
}

@media only screen and (max-width: 1500px) {
  .headline-2{
    font-family: "OFF-H", serif;
    font-size: 1.4em;
  }
}

  @media only screen and (max-width: 1100px) {
    
    body{
      font-size: 1em;
      line-height: 1.45em;
    }

    .navbar-menu{
      display: none;
    }

    .navbar-menu-btn{
      display: flex;
    }

    .home-statement{
      width:100%;
      align-items:flex-end;
      margin-top: 12%;
    }

    .home-services{
      height: 10%;
    }

    .headline-1{
      font-size: 1.8em;
    }

    .headline-3{
      margin-top: 25%;
    }

    .home-video-v{
      display: block;
    }

    .home-video-h{
      display: none;
    }

    .home-video-v{
      display: block;
    }

    .the-lab-columns-level-1{
      margin-top: 18%;
      margin-bottom: 120px;
    }

    .the-lab-columns-level-2-2{
      width: 70%;
      padding: 0px 0px 0px 50px;
    }
    .the-lab-video-d{
      width: 100%;
      padding: 0px;
    }

    .the-lab-headline{
      display: none;
    }

    .enabled{
      display: block;
    }

    .cases-item-2{
      width: 48%;
    }

    .cases-container{
      margin-bottom: 120px;
    }
    
    .projects-container{
      margin-bottom: 120px;
    }

    .project-header{
      margin-top: 25%;
    }

    .projects-AR-description{
      line-height: 1.45;
      font-size: 1em;
    }

    .projects-credits-AR-columns{
      line-height: 1.45;
      font-size: 1em;
    }

    .projects-item-2{
      width: 49%;
    }

  }

  @media only screen and (max-width: 600px) {

    .navbar-menu{
      display: none;
    }

    .navbar-menu-btn{
      display: flex;
    }

    .navbar-menu-m-btn{
      padding-right: 20px;
    }

    .home-statement{
      width:100%;
      height: 70%;
      align-items:flex-end;
      padding: 0px 20px 40px 20px;
      margin-top: 30%;
    }

    .home-services{
    height: 20%;
    align-items: flex-start;
    text-align: justify;
    text-justify: distribute;
    padding: 0px 20px 0px 20px;
    }

    .headline-1{
      font-size: 1.8em;
    }

    .headline-3{
      margin-top: 40%;
      padding: 0px 20px 50px 20px;
    }

    .headline-4{
      padding: 0px 20px 0px 20px;
      margin-bottom: -40px;
    }

    .home-video-v{
      display: block;
    }

    .home-video-h{
      display: none;
    }

    .navbar-OFF-icon{
      width: 3rem;
    }

    .navbar-menu-btn-circle{
      width: 1.8rem;
    }
    
    .navbar-menu-btn-circle-close{
      width: 1.8rem;
    }

    .disabled{
      display: none;
    }

    .enabled{
      display: block;
    }
    
    .navbar{
      padding: 20px
  }

  .navbar-menu-m-links{
    padding: 50px 20px 0px 20px;
  }
  
  .navbar-menu-m-logo{
    padding: 0px 20px 20px 20px;
  }

  .the-lab-columns-level-1{
    flex-direction: column;
    margin-top: 18%;
    padding: 20px 20px 20px 20px;
    margin-bottom: 100px;
  }

  .the-lab-columns-level-2-1{
    width: 100%;
  }

  .the-lab-columns-level-2-2{
    width: 100%;
    padding: 60px 0px 0px 0px;
  }
  .the-lab-video-d{
    width: 100%;
    padding: 0px;
  }

  .the-lab-headline{
    display: none;
  }

  .cases-item-2{
    width: 100%;
    margin-bottom: 20px;
  }

  .cases-item-subtitle{
    margin-top: 5px;
    margin-bottom: 10px;
  }

  .cases-container{
    width: 100%;
    padding: 20px;
    margin-bottom: 100px;
  }

  .projects-container{
    padding: 20px;
    margin-bottom: 100px;
  }

  .project-header{
     margin-top: 30%;
  }

  a.project-info-btn, a:active.project-info-btn{
  font-weight: 500;
  }

  a.project-info-btn-expanded, a:active.project-info-btn-expanded,  a:hover.project-info-btn-expanded{
  font-weight: 500;
  }

  .projects-EN-description{
    width: 100%;
  }

  .projects-AR-description{
    width: 100%;
    margin-top: 20px;
    display: none;
  }

  .projects-credits{
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .projects-credits-EN-columns{
    width: 40%;
  }

  .projects-credits-AR-columns{
    width: 40%;
    display: none;

  }

  .projects-credits-EN-details{
  padding-left: 10%;
  }

  .projects-credits-AR-details{
  padding-right: 10%;
  }

  .projects-item-2{
    width: 100%;
  }

  .projects-credits-AR-Mobile{
    margin-top: 20px; 
  }

  .projects-AR-description-Mobile{
     display: flex;
  }

  .projects-credits-AR-columns-Mobile{
    display: flex;
  }

  }