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

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: "Press Start 2P", sans-serif;
  color: #eee;
  background-color: #222;
  /* background-color: #60b347; */
}

/* LAYOUT */
header {
  position: relative;
  /* border-bottom: 7px solid #eee; */
}

main {
  color: #eee;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 3rem 3rem 4rem 3rem;
  height: max-content;
  margin-top: 3rem;
}

.left {
  display: flex;
  flex-direction: column;
}

.right {
  width: 40rem;
  font-size: 2rem;
}

/* ELEMENTS STYLE */
h1 {
  display: flex;
  justify-content: center;
  font-size: 4rem;
  text-align: center;
  width: 100%;
  margin-top: 2rem;
  padding: 2rem 0;
  line-height: 3rem;
}

.outer_center_div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  margin-top: 1rem;
}
.center {
  width: max-content;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #333;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.number {
  background: #eee;
  font-size: 6rem;
  padding: 3rem 0rem;
  width: 15rem;
}

.message {
  padding-top: 1.5rem;
  color: #eee;
  font-size: 1.5rem;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

.between {
  font-size: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.guess {
  background: none;
  border: 4px solid #eee;
  font-family: inherit;
  color: inherit;
  font-size: 5rem;
  padding: 2.5rem;
  width: 25rem;
  text-align: center;
}
.check {
  margin-top: 1rem;
}
.btn {
  border: none;
  background-color: #eee;
  color: #222;
  font-size: 2rem;
  font-family: inherit;
  padding: 2rem 3rem;
  cursor: pointer;
  width: max-content;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.btn:hover {
  background-color: #ccc;
}

.label-score {
  margin-bottom: 2rem;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #eee;
  color: #333;
  padding: 0.5rem 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  main {
    flex-direction: column;
  }
  h1 {
    font-size: 3rem;
  }
  .left {
    align-self: self-start;
  }
  .right {
    align-self: self-end;
    margin-top: 4rem;
  }
  .right.p {
    font-size: 1.5rem;
  }
  .btn {
    font-size: 1.5rem;
    padding: 2rem 2rem;
  }
}

@media only screen and (max-width: 504px) {
  h1 {
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 375px) {
  .navigation {
    flex-direction: column;
    align-items: start;
  }
  .between {
    margin-top: 1.5rem;
  }
  .right {
    font-size: 1.5rem;
    padding-bottom: 3rem;
  }
}
@media only screen and (max-width: 425px) {
  .left,
  .right {
    width: 100%;
    justify-content: center;
  }
}
