@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito&display=swap');

html, body {
    background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  color: rgb(200, 200, 200);
  text-align: center;
  background: rgba(10, 10, 10, 0.75);
}
.global_container {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container {
  position: absolute;
  transition: .4s ease transform;
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 50px 1px rgba(0,0,0,0.5);
  border-radius: 20px;
  height: 500px;
}
.label {
  color: rgb(180, 180, 180);
  margin-bottom: 5px;
}
input {
  background: rgba(10, 10, 10, 0.5);
  border: none;
  padding: 10px;
  color: rgb(180, 180, 180);
  outline: none;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  width: 350px;
}
input:focus {
  outline: 2px solid rgb(180, 180, 180);
}
.required {
  color: #de4f1f; 
}
/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #444 transparent;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 8px;
  }
  *::-webkit-scrollbar-track {
    background: transparent;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 10px;
  }
.display_textarea {
    margin-top: 10px;
    width: 500px;
    height: 360px;
    border: none;
    border-radius: 20px;
    font-family: 'Nunito', sans-serif;
    outline: none;
    font-size: 20px;
    resize: none;
    background: transparent;
    color: #fff;
}
.textarea_poem {
    width: 500px;
    height: 360px;
    border: none;
    border-radius: 20px;
    padding: 25px;
  font-family: 'Nunito', sans-serif;
    outline: none;
    font-size: 20px;
    resize: none;
    background: transparent;
    color: #fff;
}
.submit_poem {
    color: #fff;
    background: none;
    border: none;
    outline: none;
    position: absolute;
    bottom: 25px;
    right: 20px;
    font-size: 35px;
    transition: .4s ease color;
}
.submit_poem:hover {
    color: orange;
}
.container:focus-within {
  transform: scale(1.025);
}
::placeholder {
  color: #fff;
  opacity: 0.75; 
}
.text_limit {
    position: absolute;
    left: 25px;
    bottom: 40px;
    color: #fff;
    opacity: 0.35;
}
.context_info {
  color: rgb(230, 230, 230);
  margin-bottom: 20px;
}
.get_started {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%);
  padding: 20px 30px 20px 30px;
  color: rgb(200, 200, 200);
  background: #c94923;
  border-radius: 10px;
  border: none;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
  transition: .4s ease background;
  cursor: pointer;
}
.agree_info {
  position: relative;
  top: -5px;
  color: rgb(210, 210, 210);
  left: 5px;
  display: inline-block;
}
.checkbox {
  --background: #fff;
  --border: #d1d6ee;
  --border-hover: #bbc1e1;
  --border-active: #1e2235;
  --tick: #fff;
  position: relative;
  display: inline-block;
}
.required_info_missing {
  color: #de4f1f;
  margin-top: 5px;
}
.checkbox input,
.checkbox svg {
  width: 21px;
  height: 21px;
  display: block;
}
.checkbox input {
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  outline: none;
  background: var(--background);
  border: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 4px;
  transition: box-shadow 0.3s;
  box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));
}
.checkbox input:hover {
  --s: 2px;
  --b: var(--border-hover);
}
.checkbox input:checked {
  --b: var(--border-active);
  background: transparent;
}
.checkbox svg {
  pointer-events: none;
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--stroke, var(--border-active));
  position: absolute;
  top: 0;
  left: 0;
  width: 21px;
  height: 21px;
  transform: scale(var(--scale, 1)) translateZ(0);
}
.checkbox.path input:checked {
  --s: 2px;
  transition-delay: 0.4s;
}
.checkbox.path input:checked + svg {
  --a: 16.1 86.12;
  --o: 102.22;
}
.checkbox.path svg {
  stroke-dasharray: var(--a, 86.12);
  stroke-dashoffset: var(--o, 86.12);
  transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;
}
.checkbox.bounce {
  --stroke: var(--tick);
}
.checkbox.bounce input:checked {
  --s: 11px;
}
.checkbox.bounce input:checked + svg {
  -webkit-animation: bounce 0.4s linear forwards 0.2s;
          animation: bounce 0.4s linear forwards 0.2s;
}
.checkbox.bounce svg {
  --scale: 0;
}

@-webkit-keyframes bounce {
  50% {
    transform: scale(1.2);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounce {
  50% {
    transform: scale(1.2);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}


@media (max-width:525px) { 
  .container {
    zoom: 90%;
  }
  .write_container {
    zoom: 80%;
  }
  .success_container {
    zoom: 75%;
  }
} 
@media (max-width:450px) { 
  .container {
    zoom: 80%;
  }
  .write_container {
    zoom: 70%;
  }
  .success_container {
    zoom: 65%;
  }
} 





