* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #333333;
  transition: 0.3s;
}

ul {
  list-style: none;
}

.header header {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.header__game {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 1;
  background-image: url(../img/game.jpg);
  background-position: center;
  background-size: cover;
}
.header__game--rgba {
  height: 100%;
  background-color: rgba(169, 169, 169, 0.5);
}
.header__game-text {
  font: 58px "Bad Script";
  color: #ffffff;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 15px);
  text-align: center;
  text-shadow: 2px 2px 1px #000;
}
.header .navbar {
  padding: 15px 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-weight: 900;
  background-color: rgba(255, 255, 255, 0.6);
}
.header .navbar .nav-link {
  text-decoration: none;
  color: #f85c37;
  font-size: 16px;
  letter-spacing: 0.3px;
  padding: 10px;
  cursor: pointer;
}
.header .navbar .nav-link:hover {
  color: #ffbf00;
}
.header .navbar .nav-item {
  display: inline-block;
}
.header .navbar .navbar-brand {
  font-size: 20px;
}
.header .navbar-icon {
  display: none;
}
.header .navbar-icon .fa {
  font-size: 26px;
  color: #f85c37;
}
.header .navbar-icon .fa:hover {
  color: #ffbf00;
}
.header .navbar .nav-mobile {
  position: absolute;
  top: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 0;
}
.header .navbar .nav-mobile .nav-item {
  margin: 5px;
  text-align: center;
  padding: 10px;
  width: 100vw;
}
.header .navbar .nav-mobile .nav-link {
  font-size: 18px;
  width: 100%;
  display: block;
}
.header .header_fix {
  position: fixed;
  width: 100%;
  top: 0;
  background-color: #fbf3e5;
  height: 50px;
}
.header .header_fix .navbar {
  margin-top: 0;
  height: 50px;
}
@media (max-width: 800px) {
  .header .navbar-icon {
    display: block;
  }
  .header .nav {
    display: none;
  }
}

.games {
  overflow: hidden;
  width: 100%;
  background-color: #f7d275;
  position: relative;
  z-index: 10;
  height: 100vh;
  margin-top: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.games__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.games__box > * {
  margin-bottom: 15px;
}
.games__h1 {
  color: #404040;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 4px;
}
.games__h3 {
  font-size: 24px;
  font-weight: 400;
}
.games input {
  -webkit-transition: All 1s ease;
  -moz-transition: All 1s ease;
  -o-transition: All 1s ease;
  transition: All 1s ease;
  background-color: #fbf3e5;
  text-align: center;
  width: 305px;
  height: 30px;
  font: 18px 'Roboto';
  color: #211d1d;
  border: none;
}
.games input:focus {
  width: 360px;
}
.games__btn {
  text-decoration: none;
  background-color: #9b6b6b;
  color: #ffffff;
  border-radius: 5px;
  font-size: 22px;
  padding: 15px 20px;
  cursor: pointer;
  margin-bottom: 0;
  margin-top: 15px;
}
.games__btn:hover {
  background-color: #c15e5e;
  outline: none;
}
.games #games__answer {
  width: 300px;
  height: 168px;
  position: absolute;
  right: 0;
  border-radius: 10px 0 0 10px;
  background: #fbf3e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 400;
  padding: 10px;
}
@media (max-width: 1050px) {
  .games #games__answer {
    width: 200px;
  }
}
@media (max-width: 900px) {
  .games {
    align-items: flex-start;
    padding-left: 50px;
  }
  .games #games__answer {
    font-size: 22px;
    border-radius: 10px;
    right: 50px;
  }
}
@media (max-width: 740px) {
  .games__h1 {
    font-size: 36px;
  }
}
@media (max-width: 700px) {
  .games {
    align-items: center;
    padding-left: 0;
  }
  .games #games__answer {
    position: inherit;
    right: 0;
    margin-top: 30px;
    width: 100%;
    height: 50px;
    background-color: inherit;
  }
}
@media (max-width: 400px) {
  .games input {
    width: 270px;
  }
  .games input:focus {
    width: 300px;
  }
  .games__h1 {
    font-size: 34px;
  }
  .games__h3 {
    font-size: 22px;
  }
  .games #games__answer {
    max-width: 90%;
    font-size: 18px;
  }
}
@media (max-width: 350px) {
  .games input {
    width: 230px;
  }
  .games input:focus {
    width: 260px;
  }
  .games__h1 {
    font-size: 28px;
  }
  .games__h3 {
    font-size: 18px;
  }
  .games__btn {
    border-radius: 5px;
    font-size: 18px;
    padding: 15px 20px;
    cursor: pointer;
    margin-bottom: 0;
    margin-top: 15px;
  }
}

.footer {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 10;
  background-color: #434445;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 32px;
}
.footer__p {
  color: #fff;
  margin-bottom: 70px;
  letter-spacing: 5px;
}
.footer__social-link {
  color: #ffbf00;
  opacity: 0.4;
  text-decoration: none;
  padding: 0 30px;
}
.footer__social-link:hover {
  opacity: 1;
  color: #ffbf00;
  font-size: 38px;
}
@media (max-width: 400px) {
  .footer {
    font-size: 22px;
  }
  .footer .footer__social-link:hover {
    font-size: 28px;
  }
}
