html {
  margin: 0px;
  padding: 0px;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: #0d0d0d;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: #f6f6f6;
}

section {
  display: flex;
  flex-direction: column;
  width: 80vw;
  max-width: 900px;
  gap: 24px;
  padding: 24px;
  border: 1px solid #707070;
  border-radius: 8px;
  -webkit-box-shadow: -4px 3px 53px -17px rgba(0, 0, 0, 0.55);
  -moz-box-shadow: -4px 3px 53px -17px rgba(0, 0, 0, 0.55);
  box-shadow: -4px 3px 53px -17px rgba(0, 0, 0, 0.55);
  background-color: #171717;
}

header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
}

textarea {
  width: calc(100% - 18px);
  max-width: calc(100% - 18px);
  min-width: calc(100% - 18px);
  max-height: 80vh;
  min-height: 20vh;
  padding: 8px;
  font-size: 14px;
  outline: none;
  background-color: #171717;
  color: #f6f6f6;
}

textarea:focus {
  border-color: #00c9c8;
}

footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

button {
  height: 40px;
  padding: 0 16px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
}

button:hover {
  opacity: 0.9;
}

button:active {
  opacity: 1;
}

.btn_primary {
  background-color: #00c9c8;
}

.btn_secondary {
  background-color: #ed5e93;
}

#loadingArea {
  display: none;
  justify-content: center;
  align-items: center;
}

#responseArea {
  display: none;
  justify-content: center;
  align-items: center;
}

#responseLabel {
  font-size: 20px;
  overflow-y: auto;
  white-space: pre-wrap;
  max-height: 60vh;
}

.btn_reset {
  background-color: #ed5e93;
}

.btn_copy {
  background-color: #00c9c8;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #00c9c8;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
