/* nav */
.container {
 transform-style: preserve-3d;
}

.navbar .hamburger-menu {
 height: 4rem;
 width: 3rem;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: flex-end;
}
.navbar .hamburger-menu .bar {
 width: 1.9rem;
 height: 1.5px;
 border-radius: 2px;
 background-color: #eee;
 transition: 0.5s;
 position: relative;
}
.navbar .hamburger-menu .bar::before, .navbar .hamburger-menu .bar::after {
 content: "";
 position: absolute;
 width: inherit;
 height: inherit;
 background-color: #eee;
 transition: 0.5s;
}
.navbar .hamburger-menu .bar::before {
 transform: translateY(-9px);
}
.navbar .hamburger-menu .bar::after {
 transform: translateY(9px);
}
.navbar .logo {
 font-size: 1.8rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 2px;
 line-height: 4rem;
 margin-top: 20px;
}
.navbar .logo .logo span {
 font-size: 1.8rem;
 margin-left: 5px;
 color: #e20f2f;
}

.main {
 transform-origin: left;
 transform-style: preserve-3d;
 transition: 0.5s;
}

.title {
 font-size: 3rem;
}

.description {
 margin: 10px 0;
 text-align: center;
 width: 50%;
 font-size: 1.5rem;
}

.btn {
 margin-top: 1rem;
 padding: 0.6rem 0.6rem;
 background-color: #e20f2f;
 border: none;
 border-radius: 25px;
 color: #fff;
 text-transform: uppercase;
 cursor: pointer;
 text-decoration: none;
}

.links {
 position: absolute;
 width: 80%;
 left: 0;
 top: 0;
 height: 50px;
 z-index: 30;
 display: flex;
 justify-content: flex-start;
 align-items: center;
 margin: 0 auto;
}
.links ul.nav {
 list-style: none;
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 margin: 0 auto;
 width: auto;
 display: inline-table;
 padding: 0;
}
.links ul.nav li {
 float: left;
 margin: 0 10px;
}
.links ul.nav li.active a {
 color: #e20f2f;
}
.links ul.nav a {
 text-decoration: none;
 color: #eee;
 padding: 0.7rem 0;
 display: inline-block;
 font-size: 1.8rem;
 font-weight: 300;
 text-transform: uppercase;
 letter-spacing: 1px;
 transition: 0.3s;
 opacity: 0;
 transform: translateY(10px);
 animation: hide 0.5s forwards ease;
}
.links ul.nav a:hover {
 color: #e20f2f;
}

.shadow {
 position: absolute;
 width: 100%;
 height: 100vh;
 top: 0;
 left: 0;
 transform-style: preserve-3d;
 transform-origin: left;
 transition: 0.5s;
 background-color: #fff;
}

.shadow.one {
 z-index: -1;
 opacity: 0.15;
}

.shadow.two {
 z-index: -2;
 opacity: 0.1;
}

.container.active .links a {
 animation: appear 0.5s forwards ease var(--i);
}

.container.active .bar {
 transform: rotate(360deg);
 background-color: transparent;
}

.container.active .bar::before {
 transform: translateY(0) rotate(45deg);
}

.container.active .bar::after {
 transform: translateY(0) rotate(-45deg);
}

.container.active .main {
 animation: main-animation 0.5s ease;
 cursor: pointer;
 transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(310px) scale(0.5);
}

.container.active .shadow.one {
 animation: shadow-one 0.6s ease-out;
 transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(215px) scale(0.5);
}

.container.active .shadow.two {
 animation: shadow-two 0.6s ease-out;
 transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(120px) scale(0.5);
}

.container.active .main:hover + .shadow.one {
 transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(230px) scale(0.5);
}

.container.active .main:hover {
 transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(340px) scale(0.5);
}

/* //nav */
@keyframes shadow-two {
 0% {
  transform: translate(0);
 }
 20% {
  transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(310px) scale(0.5);
 }
 100% {
  transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(120px) scale(0.5);
 }
}
@keyframes shadow-one {
 0% {
  transform: translate(0);
 }
 5% {
  transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(310px) scale(0.5);
 }
 100% {
  transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(215px) scale(0.5);
 }
}
@keyframes appear {
 from {
  opacity: 0;
  transform: translateY(10px);
 }
 to {
  opacity: 1;
  transform: translateY(0px);
 }
}
@keyframes hide {
 from {
  opacity: 1;
  transform: translateY(0px);
 }
 to {
  opacity: 0;
  transform: translateY(10px);
 }
}
@keyframes main-animation {
 from {
  transform: translate(0);
 }
 to {
  transform: perspective(1300px) rotateY(20deg) translateY(10px) translateZ(310px) scale(0.5);
 }
}
.loading::before, .js .loading::after {
 content: "";
 position: fixed;
 z-index: 1000;
}

.loading::before {
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: var(--color-bg);
}

.loading::after {
 top: 50%;
 left: 50%;
 width: 60px;
 height: 60px;
 margin: -30px 0 0 -30px;
 border-radius: 50%;
 opacity: 0.4;
 background: var(--color-link);
 animation: loaderAnim 0.7s linear infinite alternate forwards;
}

.wrapper {
 display: flex;
 justify-content: center;
 align-items: center;
}

.loading-bar-face:after, .loading-bar-wrapper .loading-bar-top:before {
 content: "";
 left: 0;
 width: 0%;
 background: #f57809;
 height: 100%;
 z-index: -1;
 position: absolute;
 transition: 0.3s linear all;
 transform-origin: left;
 animation: move 15s cubic-bezier(0.2, 0.71, 0.73, 0.74) infinite;
}

.wrapper {
 width: 100vw;
 height: 100vh;
 flex-direction: column;
}

.face-side {
 width: 46px;
 height: 35px;
 background: linear-gradient(rgba(255, 255, 255, 0.24) 10%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.05));
 position: absolute;
 top: 34px;
 right: -35px;
 box-shadow: inset 3px 1px 0px rgba(255, 255, 255, 0.4);
 transform: rotateX(-21deg) rotateY(95deg) rotateZ(1deg) skew(-21deg, -2deg);
}

.loading-bar-wrapper.full {
 perspective-origin: 200% 70%;
}

.loading-bar-wrapper {
 margin: 50px 0;
 position: relative;
 perspective: 500px;
}

.loading-bar-wrapper .loading-bar-top {
 width: 350px;
 height: 40px;
 transform: rotateX(65deg);
 transform-origin: bottom;
 background: linear-gradient(rgba(240, 240, 240, 0.4), rgba(250, 250, 250, 0.3));
 background: linear-gradient(rgba(240, 240, 240, 0.28), rgba(255, 255, 255, 0.2784313725), rgba(250, 250, 250, 0.48));
 background: linear-gradient(rgba(240, 240, 240, 0.26), rgba(250, 250, 250, 0.08));
 z-index: 2;
 position: relative;
}

.loading-bar-wrapper .loading-bar-top:before {
 z-index: -1;
 top: 0;
 background-color: #f57809;
 opacity: 0.8;
}

.loading-bar-wrapper .loading-bar-top .s-line {
 position: absolute;
 background: linear-gradient(to top, rgba(255, 255, 255, 0.5), transparent);
 height: 20px;
 width: 2px;
 bottom: 0;
 left: 0;
}

.loading-bar-wrapper .loading-bar-top .s-line:nth-child(2) {
 left: unset;
 right: 0;
}

.loading-bar-face {
 width: 350px;
 height: 40px;
 background: linear-gradient(rgba(255, 255, 255, 0.6) 3%, rgba(255, 255, 255, 0.4) 3%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.13));
 position: relative;
 box-shadow: -1px 14px 29px -10px rgba(0, 0, 0, 0.3);
 overflow: hidden;
 border-radius: 0 0 2px 2px;
}

.loading-bar-face .s-line {
 position: absolute;
 background: linear-gradient(rgba(255, 255, 255, 0.5), transparent);
 height: 20px;
 width: 2px;
 top: 0;
 left: 0;
}

.loading-bar-face .s-line:nth-child(2) {
 left: unset;
 right: 0;
}

.loading-bar-face:after {
 top: 0;
}

.loading-bar-wrapper {
 margin: 50px 0;
 position: relative;
 perspective: 150px;
}

.loading-bar-wrapper .loading-bar-top:before {
 z-index: -1;
 top: 0;
 background-color: #f5096b;
 opacity: 0.8;
}

.loading-bar-wrapper .loading-bar-top:before {
 z-index: -1;
 top: 0;
 background-color: #f5096b;
 opacity: 0.8;
}

.loading-bar-wrapper .loading-bar-top:before {
 z-index: -1;
 top: 0;
 background-color: #a30a1f;
 opacity: 0.8;
}

.loading-bar-face:after, .loading-bar-wrapper .loading-bar-top:before {
 content: "";
 left: 0;
 width: 0%;
 background: #f50928;
 height: 100%;
 z-index: -1;
 position: absolute;
 transition: 0.3s linear all;
 transform-origin: left;
 animation: move 4s cubic-bezier(0.2, 0.71, 0.73, 0.74) normal;
}

@keyframes move {
 0% {
  width: 0%;
 }
 20% {
  width: 10%;
 }
 30% {
  width: 20%;
 }
 40% {
  width: 45%;
 }
 45% {
  width: 60%;
 }
 60% {
  width: 80%;
 }
 80% {
  width: 85%;
 }
 85% {
  width: 100%;
 }
 100% {
  width: 100%;
 }
}
#load {
 position: absolute;
 width: 600px;
 height: 36px;
 left: 50%;
 top: 40%;
 margin-left: -300px;
 overflow: visible;
 -webkit-user-select: none;
 -moz-user-select: none;
 user-select: none;
 cursor: default;
}

#load div {
 position: absolute;
 width: 20px;
 height: 36px;
 opacity: 0;
 font-family: Helvetica, Arial, sans-serif;
 animation: movex 2s linear infinite;
 transform: rotate(180deg);
 -o-transform: rotate(180deg);
 -moz-transform: rotate(180deg);
 -webkit-transform: rotate(180deg);
 color: #f50928;
 font-family: "saira";
 font-weight: 700;
 font-size: 30px;
}

#load div:nth-child(2) {
 animation-delay: 0.2s;
 -o-animation-delay: 0.2s;
 -moz-animation-delay: 0.2s;
 -webkit-animation-delay: 0.2s;
}

#load div:nth-child(3) {
 animation-delay: 0.4s;
 -o-animation-delay: 0.4s;
 -webkit-animation-delay: 0.4s;
 -webkit-animation-delay: 0.4s;
}

#load div:nth-child(4) {
 animation-delay: 0.6s;
 -o-animation-delay: 0.6s;
 -moz-animation-delay: 0.6s;
 -webkit-animation-delay: 0.6s;
}

#load div:nth-child(5) {
 animation-delay: 0.8s;
 -o-animation-delay: 0.8s;
 -moz-animation-delay: 0.8s;
 -webkit-animation-delay: 0.8s;
}

#load div:nth-child(6) {
 animation-delay: 1s;
 -o-animation-delay: 1s;
 -moz-animation-delay: 1s;
 -webkit-animation-delay: 1s;
}

#load div:nth-child(7) {
 animation-delay: 1.2s;
 -o-animation-delay: 1.2s;
 -moz-animation-delay: 1.2s;
 -webkit-animation-delay: 1.2s;
}

@keyframes movex {
 0% {
  left: 0;
  opacity: 0;
 }
 35% {
  left: 41%;
  transform: rotate(0deg);
  opacity: 1;
 }
 65% {
  left: 59%;
  transform: rotate(0deg);
  opacity: 1;
 }
 100% {
  left: 100%;
  transform: rotate(-180deg);
  opacity: 0;
 }
}