* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

body {
  background-color: #2c3234;
  position: relative;
}

#game-section {
  position: relative;
  background-color: #d8ded9;
}

#game-container {
  text-align: center;
  display: block;
  background-color: #d8ded9;
  margin: 3rem 0;
  padding: 0rem 1rem;
  height: 100vh;
}

#game-spacer {
  position: absolute;
  /* z-index: -1; */
  background-color: #2c3234;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f9f9f9;
  font-family: "Montserrat", "sans-serif";
  font-weight: 600;
  font-size: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 2rem 3rem 0;
  z-index: 1;
  border-radius: 1rem;
}

#phaser-game {
  position: relative;
  z-index: 1;
}

.game-border {
  /* display: block; */
}

.game-border-top {
  /* margin: -2px 0 0 0; */
  /* padding: 0; */
  /* box-sizing: border-box; */
  position: relative;
  z-index: 500;
  transform: translateY(-92%);
  /* background-color: #2c3234; */
}

.game-border-bot {
  transform: scaleY(-1);
  margin-top: -2px;
  position: relative;
  z-index: 1;
}

.page-header {
  width: 100%;
  padding: 1.5rem 0 2rem;
  padding-bottom: 5vw;
  text-align: center;
  position: relative;
}

.header-stars {
  position: absolute;
  top: 0;
  width: 100%;
}

.header-img {
  width: 30%;
  transform: translateX(-4%);
  margin: 0.5rem 0 0;
  min-width: 22rem;
  max-width: 40rem;
  transition: transform 0.3s ease;
}

.header-img:hover {
  transform: translateX(-4%) scale(1.06);
  -webkit-filter: drop-shadow(0px 5px 0px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(0px 5px 0px rgba(0, 0, 0, 0.3));
}

.title-img {
  position: relative;
  width: 35%;
  min-width: 23rem;
  max-width: 65rem;
  display: block;
  margin: -1rem auto 8vw;
}

#fullscreen-btn {
  position: relative;
  z-index: 5;
  margin: 3rem auto -2rem;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: transform 0.15s ease;
  display: inline-block;

  background-color: #41bdd7;
  color: #f9f9f9;
  font-family: Montserrat, Tahoma, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.6rem;
  text-align: center;
  border-radius: 2rem;

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#fullscreen-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.4);
}

#fullscreen-btn:active {
  transform: scale(1.03) translateY(3px);
  -webkit-filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(0px 1px 0px rgba(0, 0, 0, 0.3));
}

.bar-bot {
  width: 100%;
  height: 15rem;
  display: block;
}

/************* HEADER ***********/

body {
  position: relative;
}

.home-button {
  text-decoration: none;
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid;
  color: #fcf3ca;
  font-family: Montserrat, Tahoma, sans-serif;
  padding: 0.6rem 0.8rem;
  border-radius: 2rem;
  z-index: 50;
  font-size: 2rem;
  cursor: pointer;
  margin: 1rem 0.6rem;
}

.home-button:hover {
  background-color: #fcf3ca;
  color: #2c3234;
}

.en-button,
.es-button {
  text-decoration: none;
  position: absolute;
  top: 0;
  right: 0;
  border: 2px solid;
  color: #41bdd7;
  background-color: #2c3234;
  font-family: Montserrat, Tahoma, sans-serif;
  padding: 0.6rem 0.8rem;
  border-radius: 2rem;
  z-index: 50;
  font-size: 1.4rem;
  cursor: pointer;
  margin: 1rem 0.6rem;
}

.es-button {
  transform: translateY(120%);
}

.en-button:hover,
.es-button:hover {
  background-color: #41bdd7;
  color: #2c3234;
}

/************ FOOTER ***********/

.footer {
  position: relative;
  width: 100%;
  z-index: 17;
  /* background-color: #f9f9f9; */
  overflow: hidden;
  /* padding-top: 3vw; */
  flex-direction: column;
  display: flex;
  align-items: center;
}

.footer-bg {
  width: 100%;
  margin-bottom: -2px;
}

.footer-image {
  position: relative;
  z-index: -1;
  margin-bottom: -10px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  bottom: 15%;
  width: 100%;
}

.connect-heading {
  color: #fcf3ca;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  background-color: #2c3234;
  padding: 0 0.5rem;
}

.social-icons {
  font-size: 4rem;
  margin-left: -1.5rem;
  text-decoration: none;
}

.social-icon {
  padding: 1rem 1rem;
  color: #fcf3ca;
  text-decoration: none;
  box-sizing: content-box;
  background: #fcf3ca;
  background-color: #2c3234;
}

.social-icon:hover {
  color: #41bdd7;
}

.social-link {
  text-decoration: none;
}

.footer-links {
  color: #fcf3ca;
  font-size: 2.4rem;
  font-weight: 600;
  margin-top: 1rem;
  background-color: #2c3234;
  text-transform: uppercase;
  padding-bottom: 3.5rem;
}

.footer-links a {
  color: #fcf3ca;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  padding: 1rem 1rem 0;
}

.footer-links a:hover {
  color: #41bdd7;
}

.copyright {
  display: inline-block;
  position: relative;
  width: 100%;
  z-index: 16;
  background-color: #2c3234;
  color: #fcf3ca;
  font-size: 1.2rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  padding: 0.5rem 0 1rem;
}

.copyright-line-2 {
  padding: 1rem 0;
}

@media only screen and (max-width: 1150px) {
  .title-img {
    width: 42%;
    min-width: 19.5rem;
  }

  .copyright {
    /* font-size: 0.8rem; */
  }

  .footer-links {
    font-size: 1.6rem;
    padding-bottom: 3rem;
  }

  .social-icons {
    font-size: 2.4rem;
  }

  .connect-heading {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .home-button {
    padding: 0.4rem 0.6rem;
    font-size: 1.5rem;
    margin: 1rem 0.6rem;
  }
}

@media only screen and (max-width: 850px) {
  .footer-content {
    bottom: 20%;
  }
  .copyright {
    /* font-size: 0.8rem; */
  }

  .footer-links {
    font-size: 1rem;
    padding-bottom: 1.5rem;
  }

  .social-icons {
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
  }

  .social-icon {
    padding: 0.5rem 0.5rem 0;
  }

  .connect-heading {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .home-button {
    padding: 0.4rem 0.6rem;
    font-size: 1.5rem;
    margin: 1rem 0.6rem;
  }

  .en-button,
  .es-button {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    margin: 0.8rem 0.5rem;
  }
}

@media only screen and (max-width: 550px) {
  .title-img {
    width: 43%;
  }

  .footer-content {
    bottom: 24%;
  }

  .footer-links {
    font-size: 0.8rem;
    margin-top: 0;
    padding-bottom: 1rem;
  }

  .social-icons {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
  }

  .social-icon {
    padding: 0;
    margin: 0;
  }

  .footer-links a {
    padding: 0.5rem;
  }

  .connect-heading {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .copyright {
    font-size: 0.8rem;
  }

  .copyright-line-2 {
    padding: 0.5rem 0;
  }

  .home-button {
    padding: 0.2rem 0.3rem;
    font-size: 1rem;
    margin: 1rem 0.6rem;
  }

  .en-button,
  .es-button {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    margin: 0.6rem 0.3rem;
  }
}

@media only screen and (max-width: 340px) {
  .title-img {
    width: 46%;
    min-width: none;
  }

  .footer-content {
    bottom: 30%;
  }
  .copyright {
    /* font-size: 4rem; */
  }

  .footer-links {
    font-size: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .social-icons {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
  }

  .social-icon {
    padding: 0rem;
    margin: 0;
  }

  .footer-links a {
    padding: 0.3rem;
  }

  .connect-heading {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .home-button {
    padding: 0.4rem 0.6rem;
    font-size: 1.5rem;
    margin: 1rem 0.6rem;
  }

  .en-button,
  .es-button {
    padding: 0.1rem 0.2rem;
    font-size: 0.6rem;
    margin: 0.4rem 0.2rem;
  }
}
