* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body{
  height: 100vh;
  display: grid;
  place-items: center;
  background-image: linear-gradient(
    270deg, #0084ff, #00d9ff);
}

.container{
  padding: 1vmax;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.textbox{
  padding: 2%;
  outline: none;
  border: 1px solid #000;
  border-radius: 10px;
  background: rgba(255, 255, 255, 75%);
  width: clamp(250px, 50vw,700px);
  font-size: 2rem;
  color: rgba(0, 0, 0, 0.75);
}

.words{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.word{
  position: relative;
  padding: 1rem;
  margin: 1rem;
  width: clamp(280px, 80%, 500px);
  background: rgba(255, 255, 255, 85%);
  border-radius: 0.6em;
}

h2{
  text-transform: capitalize;
}

.sound{
  position: absolute;
  border: none;
  top: 1rem;
  right: 1rem;
  font-size: 1.1rem;
  background: none;
}

.word ol{
  list-style-position: inside;
}

.def h4{
  display: inline;
  font-weight: 800;
}

.def p{
  font-weight: 600;
}

.def span{
  display: block;
  padding: 0.2em 0 0.5em 0;
}
