* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #000424;
}

.container {
  max-width: 1480px;
  padding: 0 20px;
  margin: 0 auto;
}

header div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.logo {
  width: 300px;
  height: 50.45px;
}

.logo:hover {
  opacity: 0.45;
}

.controller {
  display: none;
}

label {
  display: none;
}

a {
  text-decoration: none;
}

.nav-portfolio {
  font-weight: 900;
  color: white;
}

.nav-contact {
  word-spacing: 0;
}

nav {
  padding-top: 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 20px;
  word-spacing: 40px;
  letter-spacing: 0.04em;
}

nav p {
  display: inline-flex;
  color: #94aec2;
  font-weight: 400;
}

.portal {
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 48px;
  background-color: #038eff;
  border: none;
  border-radius: 24px;
}

.portal:hover {
  background-color: #03589d;
}

.portal p {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 28px;
  letter-spacing: 0.06em;
  color: white;
}

.portfolio {
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 3.125rem;
  line-height: 50px;
  letter-spacing: 0.06em;
  margin: 125.55px 0 0;
}

.web {
  margin: 24px 0 24px 0;
  color: #038eff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 35px;
}

.web-port {
  display: flex;
  font-family: "Montserrat", sans-serif;
}

.web-port div:not(:last-child) {
  padding-right: 40px;
}

.web-port>div img {
  width: 95%;
  border-radius: 25px;
}

.web-title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
}

.web-text {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 35px;
  width: 460px;
  color: #c7c7c7;
}

.application {
  margin: 60px 0 24px 0;
  color: #038eff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 35px;
}

.app-port {
  display: flex;
  font-family: "Montserrat", sans-serif;
}

.app-port div:not(:last-child) {
  padding-right: 25px;
}

.app-port>div img {
  width: 90%;
  border-radius: 25px;
}

.app-title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
}

.app-text {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 35px;
  width: 460px;
  color: #c7c7c7;
}

.nft {
  margin: 60px 0 24px 0;
  color: #038eff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 35px;
}

.nft-port {
  display: flex;
  font-family: "Montserrat", sans-serif;
}

.nft-port div:not(:last-child) {
  padding-right: 40px;
}

.nft-port>div img {
  width: 95%;
  border-radius: 25px;
}

.nft-title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
}

.nft-text {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 35px;
  width: 460px;
  color: #c7c7c7;
}

.game-portal {
  margin: 60px 0 24px 0;
  color: #038eff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 35px;
}

.game-port {
  display: flex;
  font-family: "Montserrat", sans-serif;
}

.game-port div:not(:last-child) {
  padding-right: 25px;
}

.game-port>div img {
  width: 90%;
  border-radius: 25px;
}

.game-title {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
}

.game-text {
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 35px;
  width: 460px;
  color: #c7c7c7;
}

.sci-fi {
  background-image: linear-gradient(to top, #000424 1%, rgba(0, 4, 36, 0) 20%),
    linear-gradient(to left, #000424 50%, rgba(0, 4, 36, 0) 70%),
    linear-gradient(to bottom, #000424 0%, rgba(0, 4, 36, 0) 30%),
    url("/assets/images/sci-fi.png");
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  border: 1px solid #000424;
  margin-top: 130px;
  height: 1080px;
}

.about {
  display: flex;
  flex-direction: column;
  margin-left: 950px;
  font-family: "Montserrat", sans-serif;
  color: white;
}

.about-title {
  margin: 0;
  font-weight: 900;
  font-size: 3.125rem;
  line-height: 50px;
  letter-spacing: 0.06em;
}

.about-text {
  font-size: 1.25rem;
  line-height: 35px;
}

.contactus {
  display: flex;
  flex-direction: column;
  align-items: left;
  margin-top: 60px;
  margin-left: 950px;
}

.contact-title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 3.125rem;
  letter-spacing: 0.06em;
  color: white;
  padding-bottom: 33px;
}

.name {
  width: 437px;
  height: 48px;
  background: #21264a;
  border: 1px solid #21264a;
  border-radius: 24px;
  margin-bottom: 24px;
}

.name:hover::placeholder {
  color: white;
}

.email {
  width: 437px;
  height: 48px;
  border: 1px solid #21264a;
  background: #21264a;
  border-radius: 24px;
  margin-bottom: 24px;
}

.email:hover::placeholder {
  color: white;
}

#message {
  width: 437px;
  height: 150px;
  background: #21264a;
  border: 1px solid #21264a;
  border-radius: 24px;
  margin-bottom: 52px;
  resize: none;
}

#message:hover::placeholder {
  color: white;
}

.submit {
  width: 160px;
  height: 48px;
  background: #038eff;
  border: 1px solid #000424;
  border-radius: 24px;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 42px;
}

.submit:hover {
  background-color: #03589d;
}

.contacts {
  display: flex;
  flex-flow: row;
  align-items: baseline;
  margin: 45px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  line-height: 20px;
  font-weight: 400;
  color: white;
}

.contacts img {
  margin-left: 50px;
  width: 24px;
  height: 24px;
}

.contacts img:hover {
  opacity: 0.35;
}

.rights {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 20px;
  color: white;
  opacity: 0.5;
}

/* ____________________________________ */
/* ____________________________________ */
/* ____________________________________ */
/* ____________________________________ */
/* ____________________________________ */
/* ____________________________________ */
/* ____________________________________ */
/* ____________________________________ */
/* ____________________________________ */
/* ____________________________________ */

@media screen and (max-width: 320px) {
  .container {
    max-width: 1680px;
    padding: 0 22px;
    margin: 0 auto;
  }

  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding-top: 14px;
  }

  .logo {
    width: 147px;
    height: 24px;
  }

  .logo:hover {
    opacity: 0.45;
  }

  nav {
    display: none;
  }

  .portal {
    display: none;
  }

  .controller {
    margin: 0 45px 5px 50px;
    width: 40px;
    height: 40px;
  }

  .controller:hover {
    opacity: 0.45;
  }

  label .menu {
    position: absolute;
    right: 95px;
    top: -100px;
    z-index: 100;
    -webkit-transition: 0.4s ease;
    transition: 0.4s ease;
    cursor: pointer;
  }

  label .hamburger {
    position: absolute;
    top: 135px;
    left: 50px;
    width: 25px;
    height: 2px;
    background: white;
    display: block;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }

  label .hamburger:after,
  label .hamburger:before {
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    content: "";
    position: absolute;
    display: block;
    width: 25px;
    height: 2px;
    background: white;
  }

  label .hamburger:before {
    top: -8px;
  }

  label .hamburger {
    display: flex;
    justify-content: center;
    position: absolute;
    width: 17px;
  }

  label .hamburger:after {
    bottom: -8px;
  }

  label input {
    display: none;
  }

  label input:checked+.menu {
    box-shadow: 0 0 0 320px #000424, 0 0 0 650px #000424;
    border-radius: 0;
  }

  label input:checked+.menu .hamburger {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 25px;
  }

  label input:checked+.menu .hamburger:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    bottom: 0;
  }

  label input:checked+.menu .hamburger:before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 0;
  }

  label input:checked+.menu+ul {
    opacity: 1;
  }

  label ul {
    z-index: 200;
    padding-left: 22px;
    position: absolute;
    top: 194.5px;
    right: 120px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    -webkit-transition: 0.25s 0s ease-in-out;
    transition: 0.25s 0s ease-in-out;
    list-style: none;
  }

  .menu-logo {
    padding-left: 22px;
    position: absolute;
    z-index: 200;
    bottom: 241px;
    left: -3px;
    width: 147px;
    height: 24px;
  }

  .menu-home {
    font-weight: 900;
    color: white;
  }

  .menu-portal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 200px;
    background: #038eff;
    border-radius: 24px;
    width: 224px;
    height: 48px;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 28px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: white;
  }

  label a {
    margin-bottom: 1em;
    display: block;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 30px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94aec2;
  }

  .portfolio {
    margin-top: 46px;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 1.375rem;
    line-height: 22px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .web {
    margin: 30px 0 12px 0;
    color: #038eff;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 35px;
    text-transform: uppercase;
  }

  .web-port {
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
  }

  .web-port>div img {
    width: 100%;
    border-radius: 25px;
  }

  .web-title {
    margin: 31.98px 0 12px 0;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
  }

  .web-text {
    margin-bottom: 50px;
    font-weight: 400;
    font-size: 1rem;
    line-height: 26px;
    color: #c7c7c7;
  }

  .application {
    margin-top: 0;
    margin-bottom: 12px;
    color: #038eff;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 35px;
    text-transform: uppercase;
  }

  .app-port {
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
  }

  .app-port>div img {
    width: 100%;
    border-radius: 25px;
  }

  .app-title {
    margin: 31.98px 0 12px 0;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
  }

  .app-text {
    margin-bottom: 50px;
    font-weight: 400;
    font-size: 1rem;
    line-height: 26px;
    color: #c7c7c7;
  }

  .nft {
    margin-top: 0;
    margin-bottom: 12px;
    color: #038eff;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 35px;
    text-transform: uppercase;
  }

  .nft-port {
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
  }

  .nft-port>div img {
    width: 100%;
    border-radius: 25px;
  }

  .nft-title {
    margin: 31.98px 0 12px 0;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
  }

  .nft-text {
    margin-bottom: 50px;
    font-weight: 400;
    font-size: 1rem;
    line-height: 26px;
    color: #c7c7c7;
  }

  .game-portal {
    margin-top: 0;
    margin-bottom: 12px;
    color: #038eff;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 35px;
    text-transform: uppercase;
  }

  .game-port {
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
  }

  .game-port>div img {
    width: 100%;
    border-radius: 25px;
  }

  .game-title {
    margin: 31.98px 0 12px 0;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
  }

  .game-text {
    margin-bottom: 50px;
    font-weight: 400;
    font-size: 1rem;
    line-height: 26px;
    color: #c7c7c7;
  }

  .sci-fi {
    background-image: linear-gradient(to bottom,
        #000424 74%,
        rgba(0, 4, 36, 0) 88%),
      url("/assets/images/sci-fi.png");
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 1335px;
  }

  .about {
    margin-top: 9px;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    color: white;
  }

  .about-title {
    margin: 18px 0 0;
    font-weight: 900;
    font-size: 1.375rem;
    line-height: 22px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .about-text {
    margin: 15px 0 89px 0;
    width: 276px;
    font-size: 0.875rem;
    line-height: 26px;
  }

  .contactus {
    display: flex;
    flex-direction: column;
  }

  .contact-title {
    margin-top: 0;
    margin-bottom: 32px;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 1.375rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: white;
  }

  .name {
    width: 276px;
    height: 48px;
    background: #21264a;
    border: 1px solid #21264a;
    border-radius: 24px;
    margin-bottom: 24px;
  }

  .name:hover::placeholder {
    color: white;
  }

  .email {
    width: 276px;
    height: 48px;
    background: #21264a;
    border: 1px solid #21264a;
    border-radius: 24px;
    margin-bottom: 24px;
  }

  .email:hover::placeholder {
    color: white;
  }

  #message {
    width: 276px;
    height: 159px;
    background: #21264a;
    border: 1px solid #21264a;
    border-radius: 24px;
    margin-bottom: 30px;
    resize: none;
  }

  #message:hover::placeholder {
    color: white;
  }

  .submit {
    width: 180px;
    height: 48px;
    background: #038eff;
    border: 1px solid #000424;
    border-radius: 24px;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 28px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .submit:hover {
    background-color: #03589d;
  }

  .contacts {
    margin: 46px 0 24px 0;
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.875rem;
    line-height: 35px;
    color: white;
  }

  .contacts img {
    margin-top: 20px;
    width: 24px;
    height: 24.91px;
  }

  .contacts img:hover {
    opacity: 0.35;
  }

  .rights {
    font-family: "Montserrat", sans-serif;
    font-size: 0.75rem;
    line-height: 20px;
    color: white;
    opacity: 0.5;
    text-transform: capitalize;
  }
}