* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  /* vars */
  --form-background-col: hsl(236deg, 24%, 11%);
  --box-space: 10px;
  --radius: 15px;
  --border-width: 2.5px;
  --form-padding: 4rem;
  --form-color: hsl(238deg, 26%, 18%);
  --border-color: hsl(238deg, 22%, 35%);
  --img-text-col: hsl(236deg, 34%, 45%);
  /* background init */
  background-color: var(--form-background-col);
  color: hsl(0deg, 0%, 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  width: 100vw;
  height: 100vh;
}
.title {
  font-size: 1.2rem;
}

.content {
  /* center the form box */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form {
  /* 4:3 aspect ratio */
  width: 800px;
  height: 600px;
  background-color: var(--form-color);
  border-radius: var(--radius);
  padding: var(--form-padding);
  position: relative;
}

label {
  /* Float label */
  line-height: 1.5rem;
  position: absolute;
  bottom: 100%;

  text-transform: capitalize;
  font-size: small;
}

.input-container {
  /* Float label */
  position: relative;
}

.input-container:nth-of-type(n + 3) {
  /* separate inner inputs */
  margin-top: 2.5rem;
}

.input-container__small {
  /* small init */
  display: inline-block;
  width: calc(50% - (var(--box-space) / 1.3943324));
}

.input-container__small:nth-of-type(2n + 1) {
  /* small separate */
  margin-right: var(--box-space);
}

.img-container {
  /* Container init aspect: 9:16 (16 from 75% - eyeballed) */
  width: 180px;
  height: 75%;
  border: var(--border-width) solid var(--border-color);
  border-radius: calc(var(--radius) / 3);
  color: var(--img-text-col);
  font-weight: bold;
  /*  center items  */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.img-container img {
  /* Image init */
  width: 100px;
  height: 100px;
  border-radius: 100px;
  /* Proper positioning */
  margin: -1rem 1rem 1rem 1rem;
}

.input {
  /* Input init */
  height: 3rem;
  width: 100%;
  color: white;
  background-color: transparent;

  border: var(--border-width) solid var(--border-color);
  border-radius: calc(var(--radius) / 3);
  /* Box-text-in */
  padding: 0 1rem;
}

.input_select {
  appearance: none;
  /* for the filter to color */
  /* select resets */
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  /* add svg */
  background-color: var(--form-color);
  background-image: url(./Arrow-down.svg);
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: calc(100% - 1rem) 50%;
}
.input-boxes {
  /* push h1 and buttons*/
  margin: 3rem 0;
  /* separate image from input */
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: calc(var(--box-space) * 2);
}

.btn {
  /* btn init */
  padding: 0.75rem 1rem;
  border: var(--border-width) solid transparent;
  border-radius: calc(var(--radius) / 3);
  text-transform: capitalize;
  font-weight: bold;
  cursor: pointer;
}

.btns > .btn:first-of-type {
  /* separate btns*/
  margin-right: var(--box-space);
}

.btn_cancel {
  /* cancel init */
  background-color: var(--form-background-col);
  color: white;
}

.btn_submit {
  /* submit init */
  background-color: white;
  color: var(--form-background-col);
}

.btns {
  /* shift btns to right */
  position: absolute;
  right: var(--form-padding);
}

.btn_replace {
  /* overrides */
  width: fit-content;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: inherit;
  font-size: inherit;
}
