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

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

html {
  font-size: 62.5%;
}

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

main {
  color: #eee;
}

header {
  border-bottom: 7px solid #eee;
  text-align: center;
}

/* ------BUTTONS */
.btn {
  border: none;
  background-color: #eee;
  color: #222;
  font-size: 2rem;
  font-family: inherit;
  padding: 1.6rem 2rem;
  cursor: pointer;
}

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

@media (min-width: 852px) {
  /* ------  1st part ------- */

  h1 {
    font-size: 5.2rem;
    line-height: 1.2;
    text-align: center;
    padding-top: 2.2rem;
  }

  .between {
    font-size: 2rem;
    margin: 1rem 0 3rem 0;
  }

  .number {
    display: inline-block;
    transform: translate(-5%);

    background: #eee;
    color: #333;
    font-size: 4.8rem;
    width: 10rem;
    padding: 1.6rem 0rem;
    text-align: center;
  }

  /* ----------Main section */

  .guessBox {
    /* width: 100vw; */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }

  .message {
    height: 3rem;
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .guess {
    background: none;
    border: 4px solid #eee;
    font-family: inherit;
    color: inherit;
    font-size: 5rem;
    padding: 2.5rem;
    width: 25rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .smallBtnContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    margin-bottom: 2.2rem;
  }

  .down,
  .up {
    font-size: 6rem;
  }

  /* Bottom part */
  .messageDisplay {
    font-size: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    gap: 6rem;
    margin-top: 2rem;
  }

  .scoreContainer,
  .highScoreContainer {
    display: flex;
    column-gap: 1rem;
    align-items: center;
  }

  /* ----------- another section */

  .againContainer {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 2rem;
  }
}

@media (max-width: 851px) {
  /* ------  1st part ------- */

  h1 {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    padding-top: 2.2rem;
  }

  .between {
    font-size: 1rem;
    margin: 1rem 0 3rem 0;
  }

  .number {
    display: inline-block;
    transform: translate(-5%);

    background: #eee;
    color: #333;
    font-size: 4.8rem;
    width: 10rem;
    padding: 1.6rem 0rem;
    text-align: center;
  }

  /* ----------Main section */

  .guessBox {
    /* width: 100vw; */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }

  .message {
    height: 3rem;
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .guess {
    background: none;
    border: 4px solid #eee;
    font-family: inherit;
    color: inherit;
    font-size: 5rem;
    padding: 2.5rem;
    width: 25rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .smallBtnContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    margin-bottom: 2.2rem;
  }

  .down,
  .up {
    font-size: 4rem;
  }

  /* Bottom part */
  .messageDisplay {
    font-size: 1.1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    gap: 2rem;
    margin-top: 2rem;
  }

  .scoreContainer,
  .highScoreContainer {
    display: flex;
    column-gap: 1rem;
    align-items: center;
  }

  /* ----------- another section */

  .againContainer {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  /* ------  1st part ------- */

  h1 {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    padding-top: 2.2rem;
  }

  .between {
    font-size: 1rem;
    margin: 1rem 0 3rem 0;
  }

  .number {
    display: inline-block;
    transform: translate(-5%);

    background: #eee;
    color: #333;
    font-size: 4.8rem;
    width: 10rem;
    padding: 1.6rem 0rem;
    text-align: center;
  }

  /* ----------Main section */

  .guessBox {
    /* width: 100vw; */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }

  .message {
    height: 3rem;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .guess {
    background: none;
    border: 4px solid #eee;
    font-family: inherit;
    color: inherit;
    font-size: 5rem;
    padding: 2.5rem;
    width: 25rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .smallBtnContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    margin-bottom: 2.2rem;
  }

  .down,
  .up {
    font-size: 4rem;
  }

  /* Bottom part */
  .messageDisplay {
    font-size: 1.1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    gap: 2rem;
    margin-top: 2rem;
  }

  .scoreContainer,
  .highScoreContainer {
    display: flex;
    column-gap: 1rem;
    align-items: center;
  }

  /* ----------- another section */

  .againContainer {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 2rem;
  }
}
