@font-face {
  font-family: 'Akkurat';
  src: URL("../fonts/Akkurat.ttf") format("truetype");
}

@font-face {
  font-family: 'DekarLight';
  src: url("../fonts/Dekar-Light.ttf") format("truetype");
}

@font-face {
  font-family: 'DekarRegular';
  src: url("../fonts/Dekar-Regular.ttf") format("truetype");
}

*, body {
  margin: 0;
  padding: 0;
  font-family: "Akkurat";
}

a {
  text-decoration: none;
}

/*work page*/
.works-mr-top {
  margin-top: 100px;
}

.h-20vh {
  height: 20vh;
}

@media screen and (max-width: 600px) {
  .h-20vh {
    height: 10vh;
  }
}

@media screen and (max-width: 900px) and (min-width: 600px) {
  .h-20vh {
    height: 16vh;
  }
}

.work-font a {
  color: #000;
  font-size: 100px;
  font-weight: 600;
}

@media screen and (max-width: 600px) {
  .work-font a {
    font-size: 25px;
  }
}

@media screen and (max-width: 900px) and (min-width: 600px) {
  .work-font a {
    font-size: 60px;
  }
}

.work-font a:hover {
  color: #ff0033;
  -webkit-transition: all 1ms;
  transition: all 1ms;
}

.fixed-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(11%, #ffffffd1), color-stop(94%, #fff0));
  background: linear-gradient(to bottom, #ffffffd1 11%, #fff0 94%);
}

.nav-100 {
  height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.content-name {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
  padding-left: 163px;
  color: #000;
  margin-top: 40px;
}

@media only screen and (max-width: 600px) {
  .content-name {
    padding-left: 62px;
  }
}

.hamburger {
  position: fixed;
  top: 38px;
  height: 25px;
  width: 30px;
  z-index: 100;
  -webkit-transition: opacity .25s ease;
  transition: opacity .25s ease;
  cursor: pointer;
}

.hamburger span {
  background: #000;
  border: none;
  height: 3px;
  border-radius: 2px;
  width: 100%;
  position: absolute;
  left: 0;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}

.hamburger:hover span {
  background: #ff0033;
}

.hamburger.active:hover span {
  z-index: 101;
  background: #ff0033;
}

.hamburger.active .t {
  -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
          transform: translateY(8px) translateX(0) rotate(45deg);
  background: #000;
}

.hamburger.active .m {
  opacity: 0;
  background: #000;
}

.hamburger.active .b {
  -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
          transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: #000;
}

.hamburger span:nth-of-type(2) {
  top: 11px;
}

.hamburger span:nth-of-type(3) {
  top: 22px;
}

.logo {
  float: right !important;
  padding-top: 16px;
}

.logo a {
  text-decoration: none;
}

.logo img {
  max-width: 120px;
}

@media only screen and (max-width: 600px) {
  .logo img {
    max-width: 100px;
  }
}

.overlay {
  position: fixed;
  background: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  z-index: 1;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

.overlay-menu {
  position: relative;
  height: 70%;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 35px;
  font-weight: 400;
  text-align: center;
}

.overlay ul {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: inline-block;
  position: relative;
  height: 100%;
}

.overlay ul li {
  display: block;
  height: 12%;
  position: relative;
  opacity: 0;
}

.overlay ul li a {
  display: block;
  position: relative;
  color: #000;
  text-decoration: none;
  overflow: hidden;
}

.overlay ul li a:hover {
  color: #ff0033 !important;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}

.fade {
  background: #000;
}

.modal-content {
  border: none !important;
  background: none;
}

.modal-header {
  background: #fff;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.modal-header .mdl-heading {
  margin: 0;
  margin-left: 15px;
  line-height: 0;
  padding-top: 14px;
  padding-bottom: 6px;
  font-family: 'Akkurat';
}

.modal-header .mdl-heading .mdl-title {
  margin: 0;
  font-size: 18px;
}

.modal-header .mdl-heading .mdl-tag-line {
  font-size: 14px;
}

.modal-header .mdl-close {
  border: none !important;
  background: none;
  margin-top: 4px;
  margin-right: 16px;
}

.modal-dialog {
  max-width: 74%;
  margin: 30px auto;
}

@media only screen and (max-width: 700px) {
  .modal-dialog {
    max-width: 100%;
  }
}

.modal-body {
  position: relative;
  padding: 0px;
}

.ctitlemodal {
  font-size: 44px;
  text-align: center;
  letter-spacing: 4px;
  line-height: 1.2;
}

.workSec {
  width: 100%;
}

.works-mr-top {
  margin-top: 100px;
}

.works-mr-btm {
  margin-bottom: 10px;
  margin-left: 10px;
}

.mrpd-0 {
  margin: 0;
  padding: 0;
}

.work-img {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  -webkit-transition: .9s ease;
  transition: .9s ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.work-title {
  color: #fff;
  font-weight: 800;
  padding: 6px;
  position: absolute;
  top: 50%;
  left: 50%;
  text-transform: uppercase;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  letter-spacing: .05em;
}

.a-work-img-hover:hover .work-img {
  opacity: 0.2;
}

.a-work-img-hover:hover .work-title {
  text-shadow: 1px 1px 7px #000000be;
  color: #fff;
  z-index: 1000;
}

.works {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.works:hover > .works-vid-btn {
  opacity: 1;
}

.works-img {
  display: block;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.works-img:hover {
  -webkit-animation: scale 10s infinite;
          animation: scale 10s infinite;
}

.works-vid-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: -webkit-transform 0.9s;
  transition: -webkit-transform 0.9s;
  transition: transform 0.9s;
  transition: transform 0.9s, -webkit-transform 0.9s;
  opacity: 0;
}

.works-title {
  position: absolute;
  left: 50%;
  top: 80%;
  color: #fff;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

@-webkit-keyframes scale {
  50% {
    -webkit-transform: scale(1);
    transform: scale(1.1);
  }
}

@keyframes scale {
  50% {
    -webkit-transform: scale(1);
    transform: scale(1.1);
  }
}
