@font-face {
  font-family: 'Regio Mono';
  src: url('./fonts/regio-mono/RegioMono-Regular.otf');
}

@font-face {
  font-family: 'Regio Mono Light';
  src: url('./fonts/regio-mono/RegioMono-Light.otf');
}

@font-face {
  font-family: 'Regio Mono Bold';
  src: url('./fonts/regio-mono/RegioMono-Bold.otf');
}

body {
  margin: 0;
  padding: 0;

  background-color: #000;
}

.container {
  display: none;
  overflow: hidden;
}

.container_mob {
  display: none;
  overflow: hidden;
}

.header-wrap {
  position: relative;
overflow: hidden;
  min-height: 100%;

  overflow: hidden;
}

.name {
  width: 260px;
  height: 20px;
  overflow: hidden;

  position: absolute;
  top: 30px;
  left: 40px;

  background-repeat: no-repeat;
  background-image: url(./img/404_name_desktop.svg);
}

.header {
  height: 100vh;
  overflow: hidden;

  background-color: #000;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(./img/404_bg_desktop.svg);
  background-position: center;
  z-index: 0;
}

.logo {
  width: 43vw;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}

.logo img {
  margin-bottom: -73%;
  max-width: 100%;
  overflow: hidden;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 2rem;
  overflow: hidden;
}

.header__content {
  font-family: Regio Mono Light, sans-serif;
  font-style: normal;
  font-size: 18px;
  line-height: 130%;

  text-align: center;
  letter-spacing: 0.2em;

  color: #727272;
  text-align: center;
  max-width: 35%;
  position: absolute;
  bottom: 10px;
  left: 33%;
  z-index: 3;
}

.header__content span {
  font-family: 'Regio Mono Bold', sans-serif;
  font-weight: bold;
}

.scroll-down {
  display: flex;
  justify-content:center
}

.scroll-down a {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
  -webkit-text-decoration-skip: ink;
  text-decoration-skip: ink;
}

.header-lines {
  width: 100%;
  height: 12.578vw;
  overflow: hidden;

  bottom: 0;
  z-index: 1;

  background-image: url(./img/404_lines_desktop.svg);
  background-color: #000;
  background-size: contain;
}


.submit-wrap {
  width: 100%;
  text-align: center;
}

.submit-wrap .submit-btn {
  width: 300px;
  height: 91px;
  display: inline-block;
  transition: 0.3s ease;
  position: relative;
}

.submit-wrap .submit-btn span:nth-child(2) {
  left: -15% !important;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: -1px;
  pointer-events: none;
}

.submit-wrap .submit-btn span:nth-child(2)::before {
  transform-origin: bottom right;
  transform: rotate(38deg);
  background: #FF5582;
  width: 28px;
  height: 2px;
  position: absolute;
  content: '';
  display: block;
  top: 50%;
  right: -64px;
  transition: 0.3s ease;
}

.submit-wrap .submit-btn span:nth-child(2)::after {
  transform-origin: bottom right;
  transform: rotate(321deg);
  background: #FF5582;
  width: 28px;
  height: 2px;
  position: absolute;
  content: '';
  display: block;
  top: 50%;
  right: -64px;
  transition: 0.3s ease;
}

.submit-wrap .submit-btn span:nth-child(3)::before {
  transform-origin: bottom right;
  transform: rotate(140deg);
  background: #FF5582;
  width: 28px;
  height: 2px;
  position: absolute;
  content: '';
  display: block;
  top: 47%;
  left: -90px;
  transition: 0.3s ease;
}

.submit-wrap .submit-btn span:nth-child(3)::after {
  transform-origin: bottom right;
  transform: rotate(220deg);
  background: #FF5582;
  width: 28px;
  height: 2px;
  position: absolute;
  content: '';
  display: block;
  top: 47%;
  left: -90px;
  transition: 0.3s ease;
}

.submit-wrap .submit-btn span:nth-child(3) {
  left: 15% !important;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: -1px;
  pointer-events: none;
}

.submit-btn__container {
  clip-path: polygon(20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%, 0 49%);
  background: #FF5582;
  height: 100%;
  transition: 0.3s ease;
}

.submit-btn__container:hover {
  background: #fff !important;
}

.submit-btn:hover span:nth-child(2)::after {
  background: #fff !important;
}

.submit-btn:hover span:nth-child(2)::before {
  background: #fff;
}

.submit-btn:hover span:nth-child(3)::after {
  background: #fff;
}

.submit-btn:hover span:nth-child(3)::before {
  background: #fff;
}

.submit-btn__container a {
  display: flex;
  align-items: center;
  justify-content: center;


  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  text-decoration: none;
  font-family: Regio Mono, sans-serif;
  font-size: 20px;

  background: #000;
  clip-path: polygon(20% 2%, 80% 2%, 99% 50%, 80% 98%, 20% 98%, 1% 49%) !important;
  color: #FF5582;
}

@media (max-width: 1024px) {
  .header-wrap {
    display: none;
  }

  .content {
    display: none;
  }

  .header-lines {
    height: 16.568vw;
    background-size: cover;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 2;
    background-image: url(./img/404_lines_tabler.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
  }

  .header__content {
    position: absolute;
    bottom: 24%;
    left: 19%;
    width: 100%;
    max-width: 64%;

    font-family: Regio Mono Light,
    sans-serif;
    font-style: normal;
    font-size: 18px;
    line-height: 130%;

    text-align: center;
    letter-spacing: 0.2em;

    color: #727272;
  }

  .container {
    display: block;
    height: 100vh;

    background-image: url(./img/404_bg_tablet.svg);
     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
  }

  .logo {
    width: 604px;
  }

  .logo img{
    margin-bottom: -37%;
    z-index: 3;
  }

  .submit-btn__container {
    font-family: Regio Mono,
    sans-serif;
    font-style: normal;
    font-size: 18px;
    line-height: 130%;

    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .scroll-down {
   position: absolute;
   bottom: 14%;
   left: 49%;
  }

}

@media (max-width: 640px) {
  
  .scroll-down {
    display: none;
  }

  .container {
    display: none;
  }

  .header-lines {
    display: none;
  }

  .container_mob {
    overflow: hidden;

    display: block;
    height: 100vh;

    background-image: url(./img/404_bg_mobile.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .name {
    background-image: url(./img/404_name_mobile.svg);
  }

  .logo {
    width: 315px;
  }

  .header__content {
    font-size: 12px;
    max-width: 91%;
    bottom: 15%;
    overflow: hidden;
    left: 5%;
    font-family: Regio Mono Light, sans-serif;
  }

  .header-lines {
    height: 25vw;
    background-size: cover;
    width: 100%;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    z-index: 2;
    background-image: url(./img/404_lines_mob.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;

  }

  .submit-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .submit-wrap .submit-btn {
    width: 201px;
    height: 51px;
  }

  .submit-btn__container a  {
    font-size: 12px;
  }

  .submit-wrap .submit-btn span:nth-child(2)::before {
    right: -43px;
  }

  .submit-wrap .submit-btn span:nth-child(2)::after {
    right: -43px;
  }

  .submit-wrap .submit-btn span:nth-child(3)::before {
    left: -73px;
  }

  .submit-wrap .submit-btn span:nth-child(3)::after { 
    left: -73px;
  }
  
}

@media (max-width: 321px) {

  body {
    overflow: hidden;
  }
  .header__content {
    max-width: 94%;
    bottom: 18%;
    left: 5%;
    overflow: hidden;
  }
}