@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap");
:root {
  --primary-color: #f0ff23;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
}

.header {
  background-color: var(--primary-color);
  min-height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.header-nav {
  color: rgb(5, 0, 0);
  font-size: 2.5rem;
  font-weight: 700;
}

.main {
  min-height: 55vh;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.textarea {
  margin: 1rem 0;
  width: 100%;
  height: 80px;
  padding: 10px;
}

.textarea:focus {
  outline: none !important;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 10px #719ece;
}

.btn {
  border: 1px solid var(--primary-color);
  background-color: transparent;
  font-family: inherit;
  font-size: 1.1rem;
  padding: 10px 25px;
  cursor: pointer;
  color: var(--primary-color);
  transition: all 0.5s;
}
.btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.translation-heading {
  font-size: 1.1rem;
  padding: 1rem 0;
}

.translated {
  border: 2px dotted var(--primary-color);
  width: 100%;
  height: 80px;
  margin-bottom: 1rem;
  text-align: left;
  padding: 10px 20px;
}
.footer {
  background-color: var(--primary-color);
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 30vh;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgb(0, 0, 0);
}

.footer-text {
  max-width: 600px;
  margin: 0 auto;
  color: rgb(0, 0, 0);
  padding: 1rem 0;
}