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

body {
  background: #333;
  font-family: sans-serif;
}

html {
  font-size: 62.5%;
}

.container {
  margin: 1rem 7rem;
}

.container h1 {
  color: #fff;
  font-size: 4.8rem;
  text-transform: uppercase;
  text-align: center;
}

.app-container {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 1.3rem;
}

.app-container > .output {
  width: 100%;
  height: 11rem;
  background: red;
  font-size: 3.8rem;
  font-weight: bold;
  color: #fff;
  border-radius: 1.3rem;
  text-align: center;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  padding: 0.5rem;
}
.control-container {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 3.8rem;
  font-size: 2.4rem;
}

.copy-btn {
  outline: none;
  background: #1e90ff;
  color: #fff;
  width: 100%;
  border: none;
  padding: 1rem 0;
  font-size: 2.2rem;
  margin-top: 2.8rem;
  border-radius: 1000px;
  text-transform: capitalize;
  cursor: pointer;
}

footer p {
  font-size: 1.8rem;
}

footer p a {
  color: red;
  text-underline-offset: 6px;
  transition: all 0.1s;
}
footer p a:hover {
  text-decoration: none;
}

@media (max-width: 920px) {
  .control-container {
    flex-direction: column;
  }
}

@media (max-width: 830px) {
  .container {
    margin: 1rem 4rem;
  }

  .container h1 {
    font-size: 3rem;
  }
}

@media (max-width: 510px) {
  .container {
    margin: 1rem 2rem;
  }

  .container h1 {
    font-size: 2.4rem;
  }
}
