html,
body {
  font-family: "Faculty Glyphic", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  background-color: #fdfbf8;
  color: #222629;
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  gap: 40px;
}

h1 {
  font-size: 48px;
  font-weight: normal;
  z-index: 1;
}

h2 {
  font-size: 20px;
  font-weight: normal;
}

a {
  color: #679dc1;
}

.details {
  font-size: 20px;
  text-align: right;
}

.about {
  max-width: 500px;
}

.about.right {
  align-self: flex-end;
  text-align: right;
}

.form-area h2 {
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form label {
  display: block;
  margin-bottom: 6px;
}

form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #679dc1;
  font-family: "Faculty Glyphic", serif;
  font-size: 16px;
  background: rgba(103, 157, 193, 0.15);
}
form input:focus,
form button:focus {
  outline: 3px solid #679dc1;
}

form button {
  font-family: "Faculty Glyphic", serif;
  background: rgba(103, 157, 193, 0.2);
  border: 1px solid #679dc1;
  text-transform: uppercase;
  color: #222629;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}
form button span {
  position: relative;
  z-index: 2;
}
form button::before,
form button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  bottom: 0;
  right: 10px;
  background: rgba(103, 157, 193, 0.2);
  border-left: 1px solid #679dc1;
  border-right: 1px solid #679dc1;
}
form button::after {
  left: 20px;
  right: 20px;
}

form button:hover,
form button:hover::before,
form button:hover::after {
  background: rgba(103, 157, 193, 0.4);
  color: #fff;
}

form .error {
  display: none;
  font-size: 12px;
  color: rgb(137, 30, 30);
}
form .error[data-active="true"] {
  display: block;
}

.terms {
  font-size: 12px;
  color: #666;
  text-align: center;
}

.post-submit {
  display: none;
  text-align: center;
  margin: 40px 0 100px;
}

.post-submit[data-active="true"] {
  display: block;
}

footer {
  margin-top: 100px;
  z-index: 1;
}

svg.nine-star {
  position: absolute;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
svg.nine-star.top {
  top: -120px;
  right: -120px;
}

svg.nine-star.bottom {
  bottom: -120px;
  left: -120px;
}
