@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: #E4B705;
  /* background-color: #222; */
  background-image: url('../images/background-image.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  /* background-color: #60b347; */
}

/* LAYOUT */
header {
  position: relative;
  height: 45vh;
  border-bottom: 14px solid #E4B705;
}

main {
    height: 43vh;
    color: #eee;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 7vw;
    text-align: center;
    justify-content: space-around;
}

.left {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 2vw;
    margin-left: 0.8vw;
    font-size: 2vw;
}

.right {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 2vw;
    margin-right: 0.8vw;
    font-size: 2vw;
}

/* ELEMENTS STYLE */
h1 {
  font-size: 4rem;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.number {
  background: #222;
  color: #EE7221;
  border: 4px solid #E4B705;
  font-size: 6rem;
  width: 15rem;
  padding: 3rem 0rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.between {
  font-size: 1.4vw;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #eee;
}

.again {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
}

.guess {
  background: none;
  border: 7px solid #E4B705;
  font-family: inherit;
  color: inherit;
  font-size: 5rem;
  padding: 2.5rem;
  width: 25rem;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.btn {
  border: none;
  background-color: #D3D3D3;
  color: #222;
  font-size: 2rem;
  font-family: inherit;
  padding: 2rem 3rem;
  cursor: pointer;
}

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

.message {
  margin-bottom: 8rem;
  height: 3rem;
  font-size: 1.5vw;
}

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

.label-highscore {
  margin-bottom: 2rem;
  color: #eee;
}