@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

* {
  text-decoration: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 600px) {
  html {
    overflow: hidden;
  }
}

body {
  overflow: hidden;
}

/* HEADER */
.headerTxt {
  text-align: center;
}
h1 {
  font-family: "Press Start 2P", cursive;
  font-size: 2rem;
  margin-top: 20rem;
  margin-bottom: 0;
  opacity: 0;
  transition: opacity 1s ease-out, transform 2s ease-out;
}

h2 {
  font-family: "Press Start 2P", cursive;
  font-size: 0.8rem;
  max-width: 300px;
  margin: 0 auto;
  margin-bottom: 1rem;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 1s ease-out, transform 2s ease-out;
}

/* INTRO TEXT */
.intro {
  max-width: 25rem;
  margin: 0 auto;
  margin-top: -12rem;
  opacity: 0;
  width: 80%;
  max-width: 600px;
  line-height: 20px;
  text-align: center;
}

p {
  font-family: "Press Start 2P", cursive;
  font-size: 1rem;
  text-align: center;
  font-size: 12px;
}

.try {
  font-family: "Press Start 2P", cursive;
  margin-top: 2rem;
  border: none;
  background: lightgray;
  padding: 8px;
}

.try:hover {
  background: grey;
  cursor: pointer;
}

/* MPC */
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin: 0 auto;
  max-width: 700px;
}

.mpc {
  position: relative;
  transition: opacity 1s ease-out, transform 2s ease-out;
  opacity: 0;
  /* width: 100%; */
  height: 100%;
  max-width: 700px;
}

h3 {
  position: absolute;
  font-family: "Press Start 2P", cursive;
  font-size: 0.3rem;
  color: white;
  top: 20%;
  left: 26%;
  z-index: 99;
  color: white;
  background: none;
}
@media (min-width: 768px) {
  h3 {
    font-size: 0.3rem;
    left: 29%;
  }
}

.mpc img {
  width: 100vw;
  left: 50%;
  height: auto;
  z-index: -1;
  user-select: none;
  max-width: 700px;
}

.pads {
  /* background-color: tomato; */
  opacity: 0.5;
  z-index: 2;
  position: absolute;
  top: 39.4%;
  left: 56.9%;
  width: 28.4%;
  height: 34.2%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 4%;
}

.pads > div {
  /* background-color: green; */
  opacity: 0.5;
  display: inline-block;
}

.pads > div:hover {
  cursor: pointer;
}

.playBtn {
  position: absolute;
  border-radius: 1px;
  opacity: 0.7;
  height: 2.7%;
  width: 3.2%;
  top: 72.6%;
  left: 36.3%;
  /* background-color: tomato; */
}
.playBtn:hover {
  cursor: pointer;
}

.playLight {
  position: relative;
  top: -120%;
  left: -30%;
}
.playLight2 {
  position: absolute;
  height: 2px;
  width: 2px;
  border-radius: 5px;
  opacity: 0.8;
  background-color: lime;
  top: 71%;
  left: 36.94%;
  box-shadow: 1px 1px 0px 1px rgba(32, 252, 43, 0.3);
}

@media (min-width: 580px) {
  .playLight2 {
    top: 71.2%;
    padding: 1px;
  }
}
.stopBtn {
  opacity: 0.5;
  height: 2.7%;
  width: 3.2%;

  position: absolute;
  top: 72.6%;
  left: 31.68%;
  cursor: pointer;
  /* background-color: green; */
}

/* MODAL */

.myBtn {
  position: absolute;
  top: 95%;
  left: calc(50% - 70px);
  border: none;
  font-family: "Press Start 2P", cursive;
  font-size: 10px;
  padding: 20px;
}
.myBtn:hover {
  background-color: lightgray;
  cursor: pointer;
}

.modalText {
  font-size: 10px;
  text-align: left;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
}

.modalText {
  margin: 0 auto;
  max-width: 31rem;
  text-align: left;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* FOOTER */
.footer {
  position: fixed;
  bottom: 3rem;
  width: 100%;
  display: block;
  margin-top: 2rem;
  z-index: -3;
}
.footer p {
  font-size: 10px;
  line-height: 16px;
}
