@font-face {
  font-family: "HelveticaNeue-Light";
  src: url("/?originalUrl=https%3A%2F%2Forayyan.com%2FHelveticaNeue%2F%2520Light.ttf") format("truetype");
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("/?originalUrl=https%3A%2F%2Forayyan.com%2FHelveticaNeueLt.ttf") format("truetype");
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
span,
li,
code
a {
  font-family:  "Helvetica Neue";
  font-weight: 300;
}

#longNav {
  display: run-in;
}
#shortNav {
  display: none;
}
.ignore-css {
  all: unset;
}

@font-face {
  font-family: "Gotham";
  src: url("/?originalUrl=https%3A%2F%2Forayyan.com%2FGotham-Font%2FGothamMedium_1.ttf") format("truetype");
}

/*Google logo colors*/
.g-blue {
  color: #4285f4;
}
.o-red {
  color: #db4437;
}
.o-yellow {
  color: #f4b400;
}
.l-green {
  color: #0f9d58;
}
.e-red {
  display: inline-block;
}

@media (max-width: 430px) {
  #longNav {
    display: none;
  }

  #shortNav {
    display: block;
  }
}

#titleWidth {
  padding-left: 0px;
}

#title {
  font-size: revert;
}

@media (max-width: 474px) {
  #title {
    font-size: 23px;
  }
}

@media (max-width: 398px) {
  #titleWidth {
    padding-left: 20px;
  }
}

.demo a {
  position: absolute;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font: normal 400 20px/1 "Josefin Sans", sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.3s;
}

#section04 a {
  padding-top: 60px;
}
#section04 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #707070;
  border-bottom: 1px solid #707070;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb04 2s infinite;
  animation: sdb04 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb04 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    -webkit-transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
  }
}
@keyframes sdb04 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  20% {
    transform: rotate(-45deg) translate(-10px, 10px);
  }
  40% {
    transform: rotate(-45deg) translate(0, 0);
  }
}

.some-div .uk-icon {
  position: relative;
  top: -3px;
}

#card {
  border-radius: 10px;
}

/* Responsive: Stack video above text in Selected Works section */
@media (max-width: 650px) {
  #latestProjects .uk-grid-small[uk-grid] {
    flex-direction: column !important;
    display: flex !important;
  }
  #latestProjects .uk-width-auto,
  #latestProjects .uk-width-expand {
    width: 100% !important;
    max-width: 100% !important;
  }
  #latestProjects .uk-width-auto {
    margin-bottom: 16px;
  }
}
