* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: white;
}

p {
  font-size: 1.5rem;
  color: #f4f4f4;
  font-family: "Lato", sans-serif;
  margin: 1rem;
}

textarea {
  width: 720px;
  height: 360px;
  font-family: "Lato", sans-serif;
  background-color: #a4d4ae;
  border-color: #e7f0c3;
  border-width: 1rem;
  border-radius: 10px 0 0 10px;
  resize: none;
  color: rgb(62, 66, 71);
  font-size: 1.5rem;
  padding: 2rem;
}

textarea:focus {
  background: #95d6a2;
  outline: none;
}

.flex-column {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#textarea-label {
  font-weight: normal;
  margin: 2rem;
}

#root {
  width: 100%;
  height: 100%;
}

#text-area {
  width: 100%;
  min-height: 720px;

  background-color: #32afa9;
}

#p-container {
  background-color: #467483;

  width: 100%;
  min-height: 100vh;
  padding: 5rem;
}

#textarea-wrapper {
  position: relative;
}

/* Buttons */
button {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
}

#next-btn {
  position: fixed;
  bottom: 0;
  height: 3rem;
  width: 10rem;
  background-color: #385e6b;
  border: none;
  border-radius: 1rem 1rem 0 0;
  color: #a4d4ae;
  font-weight: bold;
}

#next-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 4px #32afa9;
}

#next-btn:hover {
  background-color: #e7f0c3;
  color: #385e6b;
}

#save-btn {
  position: absolute;
  top: 0;
  right: -6rem;
  height: 3rem;
  width: 6rem;
  font-weight: bold;
  background: #e7f0c3;
  border: none;
  border-radius: 0 1rem 1rem 0;
  color: #32afa9;
}

#save-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 4px #a4d4ad;
}

#save-btn:hover {
  background: #467483;
  color: #e7f0c3;
}

/* Scrollbar */

/* width */
textarea::-webkit-scrollbar {
  width: 10px;
}

textarea::-webkit-scrollbar-track {
  background: #32afa9;
}

::-webkit-scrollbar-thumb {
  background: #467483;
}

::-webkit-scrollbar-thumb:hover {
  background: #5d9aaf;
}

@media only screen and (max-width: 1280px) {
  #textarea-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  #save-btn {
    position: static;
    border-radius: 1rem;
    margin: 1rem;
  }
}

@media only screen and (max-width: 768px) {
  textarea {
    width: 100%;
  }

  #textarea-wrapper {
    width: 100%;
    padding: 1rem;
  }
}
