@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;
}

.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;
  height: 3px;
  border-radius: 2px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 2px;
  -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;
}

.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;
}

.carousel-item {
  height: 100vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  background-size: cover;
}

.carousel-caption {
  color: white;
  width: 80%;
  height: 19%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
  z-index: 0;
}

.carousel-caption .c-title {
  font-size: 44px;
  text-align: center;
  letter-spacing: 4px;
  line-height: 1.2;
}

@media only screen and (max-width: 600px) {
  .carousel-caption .c-title {
    font-size: 32px;
    letter-spacing: 2px;
    line-height: 1;
  }
}

.carousel-caption .credits {
  font-size: 18px;
  margin-top: 10px;
  letter-spacing: 1px;
  line-height: 1.3;
}

@media only screen and (max-width: 600px) {
  .carousel-caption {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1;
  }
}

.carousel-caption:hover {
  width: 80%;
  height: 20%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  -webkit-transition: opacity 0.9s;
  transition: opacity 0.9s;
  z-index: 0;
  background-image: url("../icon/playicon.svg");
  background-repeat: no-repeat;
  background-position: center !important;
  background-size: 80px;
  opacity: 1px;
}

.carousel-caption:hover .c-title {
  display: none;
}

.carousel-caption:hover .credits {
  display: none;
}

.carousel-control-prev, .carousel-control-next {
  background: none;
  position: absolute;
  top: 42%;
  bottom: 0;
  z-index: 0;
  align-items: center;
  -ms-flex-pack: center;
  -ms-flex-align: center;
  justify-content: center;
  -webkit-box-pack: center;
  -webkit-box-align: center;
  width: 12%;
  height: 12%;
  color: none;
  text-align: center;
  opacity: .5;
  -webkit-transition: opacity .15s ease;
  transition: opacity .15s ease;
}

.carousel-control-prev:hover {
  background: url("../icon/arrow-left.svg");
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 42%;
  bottom: 0;
  z-index: 0;
}

.carousel-control-next:hover {
  background: url("../icon/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 42%;
  bottom: 0;
  z-index: 0;
}

.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;
}
