@import url("https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&family=Lato:wght@300;400;700;900&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 10px;
}
p {
  font-weight: bolder;
}
h1 {
  color: white;
}
body {
  font-family: "Arvo", serif;
  font-family: "Lato", sans-serif;
  height: 100vh;
  width: 100vw;
  font-size: 20px;
  background-color: #1b1717;
}

.text {
  display: grid;
  width: 80%;
  margin: 100px auto;
  grid-template-columns: 1fr 1fr;
  background-color: white;
}
.sentence {
  width: 90%;
  height: 40%;
}
.sentence,
.result {
  margin: 10px 0px;
  height: 50%;
  width: 100%;
}
.sentence:focus {
  outline: none;
}
.input {
  background-color: #f1c404;
  padding: 10px 20px;
}
.output {
  overflow: scroll;
  padding: 10px 20px;
}
.result {
  height: 200px;
  border-radius: 10px;
  border: 1px solid red;
  overflow: scroll;
}

.btn {
  color: white;
  background-color: #1b1717;
  padding: 0.8em;
  cursor: pointer;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .sentence,
  .result {
    margin: 10px 0px;
    height: 50%;
    width: 100%;
  }
  .text {
    grid-template-columns: 1fr;
    width: 90%;
    height: 60%;
  }
  .btn {
    margin: 4px 0;
    border-radius: 2px;
    padding: 2px 4px;
  }
}
/* Index page */
.buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100vh;
}
.buttons button {
  height: 100%;
}
.buttons button a {
  flex: 1;
  text-decoration: none;
  color: white;
  text-decoration: none;
  font-size: xx-large;
  font-weight: bolder;
  font-family: "Berkshire Swash", cursive;
  word-spacing: 3px;
  letter-spacing: 4px;
}
.btn1 {
  background-color: #2ec771;
}
.btn2 {
  background-color: #f1c404;
}
.main-header.enc-dec-header,
.main-header.hash-header,
.main-header.page-header#page-header {
  background-color: white;
}
