* {
  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;
}

.buttons {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.info-button {
  color: #2c3234;
  font-family: "Montserrat", "sans-serif";
  font-size: 2rem;
  display: inline-block;
  cursor: pointer;
  padding: 0.5rem 0.8rem;
  border-radius: 1rem;
  transition: all 0.2s ease;
}

.info-button:hover {
  background-color: #f9f9f9;
  color: #2c3234;
  transform: scale(1.06);
}

#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;
  height: 700px;
}

.game-border {
  /* display: block; */
}

.game-border-top {
  /* margin: -2px 0 0 0; */
  /* padding: 0; */
  /* box-sizing: border-box; */
  position: relative;
  z-index: 200;
  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: 45%;
  min-width: 30rem;
  max-width: 84rem;
  display: block;
  margin: 0rem auto 10vw;
}

#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;
}

.es-button,
.fr-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;
}

.fr-button {
  transform: translateY(120%);
}

.es-button:hover,
.fr-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;
  margin-top: 6rem;
}

.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;
}

.progress-report {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: #f3f3f3;
  z-index: 300;
  transform: translateY(-100%);
  transition: transform 0.25s;
  overflow: scroll;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.progress-report-show {
  /* visibility: visible; */
  transform: translateY(0);
}

.progress-report-title {
  position: relative;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: #2c3234;
  background-color: #ffffff;
  border-bottom: 2px solid #d8d8d8;
  font-weight: 600;
  z-index: 301;
  font-size: 2rem;
  padding: 1rem;
}

.progress-report-title-section {
}

.progress-report-title-section-2 {
  white-space: nowrap;
}

#name-form {
  display: flex;
  justify-content: center;
  margin: 0.9rem 0 0.2rem;
  -webkit-user-select: initial;
  -khtml-user-select: initial;
  -moz-user-select: initial;
  -o-user-select: initial;
  user-select: initial;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
}

#fname {
  /* min-width: 30%; */
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  padding: 1rem 1.5rem;
  border-radius: 1.5rem;
  border: none;

  -webkit-user-select: initial;
  -khtml-user-select: initial;
  -moz-user-select: initial;
  -o-user-select: initial;
  user-select: initial;
}

.name-submit-btn {
  color: #f9f9f9;
  background-color: #8ec099;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: 0.5rem 0.7rem;
  border: none;
  cursor: pointer;
  margin-left: 2rem;

  -webkit-user-select: initial;
  -khtml-user-select: initial;
  -moz-user-select: initial;
  -o-user-select: initial;
  user-select: initial;
}

.name-submit-btn:hover {
  background-color: #f9f9f9;
  color: #8ec099;
}

.graphing-time {
  display: flex;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  color: #2c3234;
  font-weight: 500;
  z-index: 301;
  font-size: 1.7rem;
  padding-top: 1rem;
}

#time-minutes {
  margin-left: 0.6rem;
}

#time-seconds {
  margin-left: 0.6rem;
}

.mode-completion {
  font-family: "Montserrat", sans-serif;
  color: #2c3234;
  font-weight: 400;
  font-size: 1.5rem;
  padding: 1rem 0 0;
}

.mode-heading {
  text-align: center;
  text-decoration: underline;
  font-weight: 600;
}

.mode-completion-sub-group {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.mode-completion-sub {
  display: flex;
}

.mode-subheading {
  margin-right: 0.4rem;
  font-weight: 500;
}

.mode-subheading-2 {
  margin-left: 2.4rem;
}

.mode-completion-info {
  display: flex;
  align-items: center;
}

.fa-bullseye {
  color: #f3775b;
  margin-left: 0.4rem;
}

.fa-bullseye-end {
  color: #fbec87;
  margin-left: 0.7rem;
}

.fa-clipboard {
  margin-right: 0.6rem;
}

.fa-bug {
  margin-left: 0.5rem;
}

.grand-total {
  font-family: "Montserrat", sans-serif;
  background-color: #41bdd7;
  color: #f9f9f9;
  font-weight: 400;
  font-size: 2rem;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

#total-beaten {
  margin-left: 0.8rem;
  color: #fbec87;
}

html {
  font-size: 16px;
}
#exit-button {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5rem 20vh 0;
  width: 65px;
  height: 65px;
  background-color: #2c3234;
  border-radius: 5rem;
  cursor: pointer;
}

.exit-button-bar-1 {
  height: 25px;
  width: 3px;
  background-color: #f9f9f9;
  transform: rotate(45deg);
  z-index: 1;
}

.exit-button-bar-2 {
  height: 25px;
  width: 3px;
  background-color: #f9f9f9;
  transform: rotate(90deg);
  z-index: 2;
}

#exit-button:hover {
  background-color: #f9f9f9;
}

#exit-button:hover .exit-button-bar-1,
#exit-button:hover .exit-button-bar-2 {
  background-color: #2c3234;
}

@media only screen and (max-width: 1150px) {
  .title-img {
    width: 54%;
    min-width: 25rem;
  }

  .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;
  }

  .es-button,
  .fr-button {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    margin: 0.8rem 0.5rem;
  }

  .info-button {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 550px) {
  .title-img {
    width: 55%;
  }

  .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;
  }

  .es-button,
  .fr-button {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    margin: 0.6rem 0.3rem;
  }

  .info-button {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 340px) {
  .title-img {
    width: 60%;
    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;
  }

  .es-button,
  .fr-button {
    padding: 0.1rem 0.2rem;
    font-size: 0.6rem;
    margin: 0.4rem 0.2rem;
  }

  .info-button {
    font-size: 1.3rem;
  }
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.2); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: none;
  width: 60%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.modal-header {
  padding: 10px 16px;
  background-color: #2c3234;
  color: #f9f9f9;
  font-size: 1.7rem;
  font-family: "Montserrat", Tahoma, sans-serif;
}

/* The Close Button */
.close {
  color: #f9f9f9;
  font-family: sans-serif;
  float: right;
  margin-top: -4px;
  font-size: 30px;
  font-weight: 300;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  padding: 10px 26px;
  color: #2c3234;
  font-size: 1.2rem;
  font-family: "Montserrat", Tahoma, sans-serif;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #2c3234;
  color: #f9f9f9;
}

.errormsg {
  width: 100%;
  resize: none;
  padding: 15px;
  font-size: 1.2rem;
  background-origin: border-box;

  -webkit-user-select: initial;
  -khtml-user-select: initial;
  -moz-user-select: initial;
  -o-user-select: initial;
  user-select: initial;
}

.modal-button {
  display: inline-block;
  padding: 1em 2em;
  margin: 0 0.6em;
  border: none;
  border-radius: 2em;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Montserrat", "Tahoma", sans-serif;
  font-size: 1.2rem;
  line-height: 1rem;
  font-weight: 300;
  text-shadow: none;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.modal-button:hover {
  transform: scale(1.05);
}
@media all and (max-width: 30em) {
  .modal-button {
    display: block;
    margin: 0.2em auto;
  }
}
