@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

@font-face {
  font-family: "Brunson";
  src: url("../fonts/brunson/Brunson.ttf") format("truetype");
}

* {
  padding: 0;
  margin: 0;
}

html,
body {
  width: 100%;
  font-size: 16px;
  overflow-x: hidden;
  overflow-y: auto;
}

main {
  width: 100%;
  min-height: 120vh;
  background: #0e0e0e;
  color: #f2e9dc;
  position: relative;
}

.main-nav {
  display: none;
}

.main-heading {
  position: absolute;
  top: -5rem;
  width: 100%;
}

.main-heading h1 {
  display: inline;
  font-weight: 100;
  width: 100%;
  color: #8f8a82;
  font-family: "Brunson", sans-serif;
  letter-spacing: 0.25rem;
  font-size: 30rem;
  text-align: center;
}

a {
  all: unset;
}

.returnhome {
  cursor: pointer;
  height: 50px;
  display: flex;
  position: absolute;
  font-family: "Manrope", sans-serif;
  align-items: center;
  gap: 1rem;
  background-color: #f2e9dc;
  color: #b00b0b;
  z-index: 20;
  top: 50%;
  left: 15px;
  padding: 0 1rem;
}

.returnhome span {
  font-weight: bold;
}

.main-form {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 25rem;
  width: 60%;
  background-color: #1c1626;
  z-index: 10;
  padding: 5rem 4rem;
}

.main-form {
  overflow-y: auto;

  scrollbar-width: thin;
  scrollbar-color: #888 #1c1626;
}

.main-form::-webkit-scrollbar {
  width: 8px;
}

.main-form::-webkit-scrollbar-thumb {
  background: red;
  border-radius: 10px;
}

.main-form::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.content {
  width: 100%; /* remove in next state */
  height: 100%; /* remove in next state */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.progress {
  width: 100%;
}

.diagram {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.bar {
  flex: 0.7;
  height: 10px;
  background-color: #f2e9dc;
  opacity: 0.3;
}

.box-1,
.box-2 {
  width: 50px;
  height: 50px;
  background-color: #f2e9dc;
  color: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Brunson", sans-serif;
  font-size: 1.25rem;
}

.box-2 {
  opacity: 0.3;
}

.text {
  width: 100%;
  padding-top: 1rem;
  font-family: "Brunson", sans-serif;
  display: flex;
  justify-content: start;
}

.text .divspace {
  flex: 0.76;
}

.text #second {
  opacity: 0.5;
}

.divide {
  width: 100%;
  height: 0;
  border: 1px solid gray;
}

form h3 {
  all: unset;
  font-size: 1.125rem;
  font-weight: bold;
}

form {
  all: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-family: "Manrope", sans-serif;
  width: 100%;
}

.topblock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.section-1,
.section-2 {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
}

.section-1 {
  gap: 2rem;
}

.fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fields input {
  all: unset;
  border-bottom: 1px solid gray;
  width: 100%;
  padding-bottom: 5px;
}

.section-2 {
  gap: 1.5rem;
}

.secwrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subsection-1,
.subsection-2 {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-2 input {
  all: unset;
}

/* input styling */

.member-block {
  background: #1c1626; /* Similar dark background */
  width: 100%;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.member-block label {
  color: #b3adb8;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.number-input {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.number-input button {
  background: none;
  border: none;
  color: #b3adb8;
  font-size: 28px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: color 0.2s;
}

.number-input button:hover {
  color: #ffffff;
}

.number-input span {
  color: #ffffff;
  font-size: 24px;
  width: 40px;
  text-align: center;
  font-weight: bold;
  margin: 0 8px;
  letter-spacing: 2px;
}

.member-block hr {
  border: 0;
  height: 2px;
  background: #554f63;
  margin-top: 8px;
  margin-bottom: 0;
}

.section-3 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 4rem;
  gap: 2rem;
}

.section-3 button,
.section-4 button,
.section-5 button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
}

.btn-back {
  border: 1px solid #f2e9dc;
  background-color: #0e0e0e;
  color: #f2e9dc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-next {
  border: 1px solid #f2e9dc;
  color: #0e0e0e;
  background-color: #f2e9dc;
}

/* active/unactive functionality */

.activediv {
  display: block;
}

.unactivediv {
  display: none;
}

/* Second part */

.section-4 {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}

.sec4wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.section-4 .sec4sub1,
.section-4 .sec4sub2 {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-4 input,
.section-4 select {
  all: unset;
  width: 100%;
  border-bottom: 1px solid gray;
  padding-bottom: 0.5rem;
}

.section-4 input:focus,
.section-4 select:focus {
  border-bottom: 1px solid #77f;
}

.add-member {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 4rem;
  gap: 2rem;
}

.add-member button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
}

.section-5 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 4rem;
  gap: 2rem;
}

.member-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
