@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;500&family=Poppins:wght@400;500;600;700&family=Roboto+Slab&display=swap");

*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto Slab", serif;
  background-color: #ccfee4;
  min-height: 100vh;
  overflow: hidden;
}

header {
  text-align: center;
  font-size: 4rem;
  margin: 12px auto;
  font-weight: bold;
}

.window {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#word {
  font-size: 3.5rem;
}

#language {
  font-size: 2rem;
}

#start {
  font-size: 3.5rem;
}

.window-green {
  width: max(50vw, 300px);
  height: 300px;
  background-color: aqua;
  margin: 12px auto;
  border-radius: 31px;
  background: linear-gradient(145deg, #9fc7b2, #bdecd4);
  box-shadow: 27px 27px 0px #96bca8, -27px -27px 0px #ccfee4;
}

.window-white {
  width: max(50vw, 300px);
  height: 300px;
  background-color: aqua;
  margin: 12px auto;
  border-radius: 31px;
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
  box-shadow: 27px 27px 0px #d9d9d9, -27px -27px 0px #ccfee4;
  text-transform: capitalize;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btns {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

.start {
  font-size: 1.5rem;
  margin-top: 25px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  border: 1px solid black;
}

.right {
  background: url("right.png") no-repeat center 100%;
  background-size: 100%;
  height: 100px;
  width: 100px;
  outline: none;
  border: none;
  cursor: pointer;
}

.right:active {
  transform: translateY(4px);
}

.wrong {
  background: url("wrong.png") no-repeat center;
  height: 100px;
  width: 100px;
  outline: none;
  border: none;
  cursor: pointer;
}

.wrong:active {
  transform: translateY(4px);
}

.text {
  margin: 25px;
  font-size: 2.5rem;
  font-weight: 500;
}

.invisible {
  display: none;
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  font-family: "Open Sans", sans-serif;
  color: #f5f5f5;
  background-color: black;
  padding: 10px 0px;
  font-size: 1rem;
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 60%;
  }
}
