/**
===== styling =====
*/

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

html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #313030;
  color: #eee;
  /* background-color: #60b347; */
}

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

main {
  height: 65vh;
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.left {
  width: 52rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.number {
  background: #eee;
  color: #333;
  font-size: 6rem;
  width: 15rem;
  padding: 2rem 0rem;
  text-align: center;
  position: absolute;
  top: 70%;
  /* bottom: 0; */
  left: 50%;
  transform: translate(-50%, 0%);
}

.btn-reset {
  position: absolute;
  top: 2rem;
  left: 3rem;
}

.language {
  font-size: 2rem;
  position: absolute;
  top: 2rem;
  right: 3rem;
}
.select-language {
  font-size: 1.6rem;
  width: 10rem;
}

.guess {
  background: none;
  border: 4px solid #eee;
  font-family: inherit;
  color: inherit;
  font-size: 3rem;
  padding: 1rem;
  width: 22rem;
  text-align: center;
  display: block;
  margin-bottom: 3rem;
}

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

.btn:hover {
  background-color: rgb(145, 141, 141);
}

.message {
  position: absolute;
  top: 27rem;
  margin-bottom: 1rem;
  height: 2rem;
}

.score {
  line-height: 4rem;
}
