@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");
:root {
  --primary-color: black;
  --secondary-color: rgb(231, 231, 231);
}

* {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

/* main */
body {
  background-color: black;
}
header {
  text-align: center;
}

header h1 {
  display: inline-block;
  background: black;
  color: white;
  padding: 0px 10px 0px 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 3.5rem;
  text-align: center;
}

textarea {
  padding: 10px;
  width: 50%;
  display: block;
  margin: auto;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  border-width: 30%;
  font-size: 1rem;
  border: 1px solid black;
  color: black;
  padding: 10px;
  cursor: pointer;
  background-color: white;
  margin-bottom: 20px;
}

.output-text,
.input-text {
  padding: px;
  display: inline-block;
  margin: auto;
  text-align: center;
  margin-bottom: 20px;
  background-color: white;
  color: black;
}

/* output */

.output {
  padding: 10px;
  text-align: center;
  border: 1px solid grey;
  background-color: white;
  height: 20vh;
  width: 50%;
  margin: auto;
}

/* footer */
footer {
  margin-top: 50px;
  padding: 15px;
  text-align: center;
  background: black;
  color: white;
}

footer ul {
  padding: 1rem;
}

footer ul li {
  display: inline;
  padding: 10px;
}

footer ul li a {
  font-size: 1.8rem;
  color: white;
}

/* responsive */
@media (max-width: 650px) {
  header {
    margin-top: 20px;
  }
  header h1 {
    display: inline-block;
    background: black;
    color: white;
    padding: 0px 10px 0px 10px;
    margin-top: 10px;
    font-size: 2.4rem;
    text-align: center;
  }
}
