.container {
  position: relative;
  left: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;

  font-size: 25px;
  font-family: "Roboto", sans-serif;
}
header {
  position: fixed;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: inherit;
  height: 55px;
  margin-bottom: 42px;
  padding-bottom: 15px;

  background-color: white;
}
header::after {
  content: "";
  position: absolute;
  top: 70px;

  width: 100%;
  height: 1px;

  background-color: #dbd8d8;
}
.menu {
  margin-top: 10px;
  margin-right: 99px;
}
.hamburger-input,
.menu span {
  display: none;
}
.menu-list {
  display: flex;
  align-items: center;
  width: 512px;
  margin: 0;
  padding: 0;

  list-style: none;
}
.menu-list li {
  position: relative;

  display: flex;
  margin-right: 54px;

  cursor: pointer;
}
.menu-list li:last-child {
  margin-right: 0;

  transform: translateX(8px);
}
.submenu {
  display: none;
}
.menu-link {
  position: relative;

  margin-right: 5px;

  font-size: 25px;
  text-align: center;
  color: #636363;
  text-decoration: none;
}
.menu-link-arrow::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 85px;

  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  margin-right: 0.5em;

  border-top: 0.07em solid #636363;
  border-right: 0.07em solid #636363;
  transform: rotate(135deg);
}
.menu-link-last::after {
  left: 135px;
}

@media screen and (max-width: 1180px) {
  .container {
    left: 0;
  }
}

@media screen and (max-width: 925px) {
  .hamburger-input {
    position: absolute;
    z-index: 3;

    display: block;
    width: 30px;
    height: 32px;

    cursor: pointer;
    opacity: 0;
  }
  .menu span {
    position: relative;
    z-index: 2;

    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;

    background: #636363;
    transform-origin: 4px 0;

    transition: all 0.2s linear;
  }
  .menu span:nth-last-child(2) {
    transform-origin: 0 100%;
  }

  .hamburger-input:checked ~ span {
    transform: rotate(45deg) translate(-2px, -1px);
  }
  .hamburger-input:checked ~ span:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger-input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg) translate(0, -1px);
  }
  .menu {
    margin-top: 21px;
    margin-right: 30px;
  }
  .menu-list {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    flex-direction: column;
    justify-content: space-around;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 70px;
    height: 45vh;
    padding: 0;

    background: white;
    border-bottom: 2px solid black;
    transform: translate(150%, 0);

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  }
  .hamburger-input:checked ~ .menu-list {
    box-sizing: border-box;
    padding-top: 20px;

    transform: none;
  }
  .menu-list li {
    flex-direction: column;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .menu-list li:last-child {
    transform: none;
  }
  .submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .submenu a {
    color: #636363;
    text-decoration: none;
    font-size: 15px;
  }
  .menu-link {
    font-size: 20px;
    margin-right: 0;

    color: black;
    text-transform: uppercase;
  }
  .menu-link-arrow::after {
    content: none;
  }

  .menu-link-last::after {
    left: 113px;
  }
}

@media screen and (max-width: 600px) {
  .menu {
    margin-top: 18px;
    margin-left: 12px;
  }
  .menu span {
    width: 25px;
  }
  .hamburger-input:checked ~ span {
    transform: rotate(45deg) translate(1px, 4px);
  }

  .menu-list li {
    margin-bottom: 20px;
  }
}

@media screen and (max-height: 370px) {
  .menu-list {
    height: 100vh;
  }
}