@font-face {
  font-family: regular;
  src: url(../fonts/myriad-pro/MYRIADPRO-REGULAR.OTF);
}

@font-face {
  font-family: bold;
  src: url(../fonts/myriad-pro/MYRIADPRO-BOLD.OTF);
}

html, body {
  width: 100%;
}

body {
  margin: 0;
  background-color: #0a1d67;
}

button {
  outline: none;
  border: none;
  padding: 0;
  display: flex;
  cursor: pointer;
}

input, textarea {
  outline: none;
  border: none;
}

.main {
  position: relative;
  width: 100%;
  height: 90vh;
  padding: 20px;
  box-sizing: border-box;
  /* background-image: url('../img/main.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; */
}

/* .main::before {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
} */

.main .content {
  position: relative;
  width: 1180px;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 0 auto;
}

.main .content .logo {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.main .content .logo > img:nth-of-type(1) {
  height: 70px;
}

.main .content .logo > img:nth-of-type(2) {
  height: 30px;
}

.main .content .title {
  font-family: bold;
  font-size: 25px;
  color: #FFFFFF;
}

.specs {
  width: 1180px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto;
  margin-top: 50px;
}

.specs .item {
  width: calc(25% - ((30px * (4 - 1)) / 4));
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 2vw;
  padding-right: 5vw;
  box-sizing: border-box;
  background-color: #1A1FA5;
}

.specs .img {

}

.specs h3 {
  position: relative;
  margin-top: 30px;
  font-family: regular;
  font-size: 20px;
  color: #FFFFFF;
}

.specs span::before {
  content: ' ';
  position: absolute;
  top: 0;
  left: -2vw;
  width: 6px;
  height: 100%;
  background-color: #F0CEAF;
}

.who-we-are {
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 50px;
}

.who-we-are h1 {
  font-family: bold;
  font-size: 30px;
  color: #FFFFFF;
  text-align: center;
}

.who-we-are p {
  font-family: regular;
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
}

.games {
  width: 1180px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 50px;
}

.games h1 {
  font-family: bold;
  font-size: 30px;
  color: #FFFFFF;
  text-align: center;
}

.games .list {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.games .list .item {
  position: relative;
  width: calc(50% - ((30px * (2 - 1)) / 2));
}

.games .list .item img {
  width: 100%;
}

.games .list .item .info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  display: flex;
  flex-direction: column;
  gap: 7%;
  padding: 5% 5%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  font-family: regular;
  container-type: inline-size;
}

.games .list .item.coming-soon .info {
  justify-content: center;
  align-items: center;
}

.games .list .item .info h2 {
  font-size: 8cqw;
  font-family: bold;
}

.games .list .item .info h5 {
  font-size: 5cqw;
}

.games .list .item .info h2, .games .list .item .info h5 {
  margin: 0;
}

.games .list .item .demo-play-button {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 30%;
}

.bottom-banner {
  position: relative;
  width: 100%;
  height: 33vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 50px;
  /* background-image: url('../img/bottom-banner.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; */
}

/* .bottom-banner::before {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
} */

.bottom-banner h2 {
  font-family: bold;
  font-size: 20px;
  color: #FFFFFF;
  z-index: 2;
  text-align: center;
}

.bottom-banner button {
  z-index: 2;
}

footer {
  padding: 50px 0;
}

footer .content {
  width: 1180px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

footer .content .logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

footer .content .logo > img:nth-of-type(1) {
  height: 70px;
}

footer .content .logo > img:nth-of-type(2) {
  height: 30px;
}

footer .content h1 {
  font-size: 20px;
  font-family: regular;
  color: #FFFFFF;
}

footer .content h1 a {
  text-decoration: none;
  color: #FFFFFF;
}

footer .content .contact-options {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
}

.contact-us-window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 995;
}

.contact-us-window .content {
  position: relative;
  width: 600px;
  min-height: 300px;
  aspect-ratio: 2;
  background-image: url('../img/contact-us-window.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-us-window .content .form {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 55%;
  height: calc(100% - 7px - 7px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
  background-color: #454ADC;
}

.contact-us-window .form input, .contact-us-window .form textarea {
  width: 100%;
  padding: 2%;
  box-sizing: border-box;
  font-family: regular;
}

.contact-us-window .form button {
  width: 100%;
}

.contact-us-window .form button img {
  width: 100%;
}

.contact-us-window .form #terms {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .specs {
    padding: 40px;
    box-sizing: border-box;
    gap: 15px;
  }

  .specs .item {
    width: calc(50% - ((15px * (2 - 1)) / 2));
    padding-left: 30px;
  }

  .games .list {
    padding: 40px;
    box-sizing: border-box;
  }

  footer .content {
    flex-direction: column;
    gap: 20px;
  }
}

@media screen and (max-width: 600px) {
  .contact-us-window .content {
    margin-right: 250px;
  }
}

@media screen and (max-width: 430px) {
  .main .content .logo {
    left: 10px;
  }

  .main .content .logo > img:nth-of-type(1) {
    height: 50px;
  }
  
  .main .content .logo > img:nth-of-type(2) {
    height: 25px;
  }

  .specs {
    align-items: stretch;
    padding: 20px;
  }

  .specs .item {
    padding: 20px;
  }

  .specs .item img {
    width: 50px;
  }

  .specs .item h3 {
    font-size: 13px;
  }

  .games .list {
    padding: 20px;
  }

  .games .list .item {
    width: 100%;
  }
}
