@font-face {
  font-family: America;
  src: url(/assets/fonts/GT-America-Trial-Condensed-Bold.otf);
  font-weight: 700; }
@font-face {
  font-family: America;
  src: url(/assets/fonts/GT-America-Regular.OTF);
  font-weight: 200; }
@font-face {
  font-family: Lydian;
  src: url(/assets/fonts/Simula-BookItalic.ttf); }
@font-face {
  font-family: Arabic;
  src: url(/assets/fonts/AdobeArabic-Italic.otf); }
:root {
  --mainColor: #f2634a; }

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased; }

body {
  margin: 0px;
  background: black;
  color: white;
  font-family: America; }

::selection {
  color: var(--mainColor); }

a[target=_blank] {
  cursor: alias; }

a[href="/"] {
  color: var(--mainColor); }

#rotate {
  width: 100vmin;
  height: 110vmin;
  border-radius: 50%;
  line-height: 100vmin;
  text-align: center;
  font-size: 14vmin;
  user-select: none;
  transform: rotate(0deg);
  cursor: url(../img/grab-01.png) 25 15, auto;
  margin: auto;
  color: var(--mainColor);
  position: fixed;
  left: calc(50% - 50vmin);
  top: calc(50% - 55vmin);
  white-space: nowrap;
  letter-spacing: -1px; }

#rotate:active {
  cursor: url(../img/grabbing-01.png) 25 15, auto; }

#rotate #english {
  font-family: Lydian;
  position: relative;
  left: -0.19em; }

#rotate #arabic {
  font-family: Arabic;
  transform: rotate(180deg) translateY(-77px);
  font-size: 24vmin;
  display: none; }

#arabic span {
  visibility: hidden; }

#arabic svg {
  width: 76%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%); }

#arabic path {
  fill: var(--mainColor); }

#rotate.preload {
  transition: transform 400ms; }

#rotate span {
  pointer-events: none; }

#nav {
  position: fixed;
  top: 0px;
  left: 10px;
  padding: 0px;
  margin: 0px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 212px;
  line-height: 0.83;
  letter-spacing: -0.05em;
  padding-top: 20px;
  z-index: 1; }

#nav.open {
  overflow: scroll;
  height: calc(100vh - 20px); }
  #nav.open li:first-child {
    color: white;
    -webkit-text-fill-color: white; }
    #nav.open li:first-child svg polyline {
      fill: white; }
  #nav.open li:first-child:hover {
    color: transparent;
    -webkit-text-fill-color: transparent; }
    #nav.open li:first-child:hover svg polyline {
      fill: transparent; }

ul {
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0; }

a {
  text-decoration: none;
  color: white; }

#nav li {
  display: none;
  cursor: pointer; }

#nav.open {
  z-index: 2; }

#nav.open li {
  display: block; }

#nav.open svg {
  transform: rotate(180deg); }

#nav.open ~ .black {
  z-index: 1; }

#nav.open ~ .halal {
  z-index: 1; }

#nav li:first-child {
  display: block;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white; }

#nav li:first-child:hover {
  color: white;
  -webkit-text-fill-color: white; }
  #nav li:first-child:hover svg polyline {
    fill: white; }

svg {
  width: 0.3em;
  margin: 0px 0.08em;
  position: relative;
  top: -0.28em; }

#nav li:hover, .bio a:hover {
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white; }

.colophon a:hover {
  text-decoration: underline; }

.black {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: black;
  top: 0px;
  left: 0px;
  z-index: -1; }

h1, .bio {
  text-transform: uppercase;
  font-size: 80px;
  line-height: 0.9;
  font-weight: 700; }

.bio {
  margin: 20px;
  margin-top: 200px;
  cursor: default;
  min-height: calc(100vh - 398px); }

.bio span {
  text-transform: none;
  font-family: Lydian;
  font-weight: normal;
  position: relative;
  left: -0.1em; }

.colophon {
  font-size: 13px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 16px;
  margin: 20px; }

.halal {
  width: 250px;
  height: auto;
  border-radius: 10px;
  position: fixed; }

.work {
  padding-top: 200px;
  z-index: 0;
  position: relative;
  display: flex;
  flex-wrap: wrap; }

h2, p {
  font-weight: 200;
  font-size: 16px;
  margin-top: 0px; }

.project-thumbnail {
  position: relative;
  margin: 0px;
  padding: 0px;
  width: 50%;
  height: 35vw;
  text-align: center; }

.project-thumbnail.inactive:hover {
  cursor: wait; }

.work h2 {
  position: fixed;
  text-align: center;
  font-family: Lydian;
  font-size: 13vmin;
  width: 100vw;
  height: 100vh;
  line-height: 100vh;
  top: 0px;
  left: 0px;
  visibility: hidden;
  pointer-events: none; }

#mobileLabel {
  visibility: visible;
  display: none;
  z-index: 10; }

.project-thumbnail img {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  visibility: visible;
  opacity: 1;
  transition: opacity 300ms; }

.project-thumbnail:hover {
  cursor: pointer;
  user-select: none; }

.project-thumbnail:hover img {
  opacity: 0.9;
  position: relative; }

.project-thumbnail:hover h2 {
  visibility: visible;
  z-index: 4; }

.img-container {
  width: 100%;
  height: 100%;
  background: #262626; }

.project-about {
  margin: 20px;
  margin-top: 230px;
  display: flex; }

.project-about > div {
  width: 50%;
  max-width: 600px;
  margin-right: 20px; }

.project-imgs {
  width: 100%;
  max-width: 1500px; }

.project-imgs img {
  width: 100%;
  margin-bottom: 20px; }

.project-about p {
  max-width: 300px; }

.project-about h1 {
  margin-top: 0px; }

@media screen and (max-width: 1150px) {
  .bio {
    font-size: 60px; }

  .project-about > div {
    width: auto;
    flex: 1; } }
@media screen and (max-width: 830px) {
  #nav {
    font-size: 120px;
    line-height: 100px;
    margin: 8px;
    overflow: visible;
    min-width: 600px; }

  .work {
    padding-top: 130px; }

  .bio {
    margin-top: 130px;
    font-size: 50px; }

  .project-about {
    margin-top: 150px; }

  h1, .bio {
    font-size: 70px; } }
@media screen and (max-width: 685px) {
  .project-thumbnail {
    width: 100%;
    height: 70vw; }

  .project-about {
    display: block;
    margin-bottom: 60px; }

  .project-about h1 {
    margin-bottom: 20px; }

  .project-about > div {
    max-width: 450px; }

  .project-imgs img {
    margin-bottom: -5px; } }
@media screen and (max-width: 600px) {
  .bio {
    font-size: 30px; } }
@media screen and (max-width: 430px) {
  #nav {
    font-size: 93px;
    letter-spacing: -0.04em;
    line-height: 80px;
    min-width: 375px; }

  h1 {
    font-size: 50px; }

  .work {
    padding-top: 110px;
    padding-bottom: 260px; } }
@media (hover: none) and (pointer: coarse) {
  .work h2 {
    display: none; }

  #mobileLabel {
    display: block; } }
