@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100..900&family=Sofia+Sans:wght@1..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100..900&display=swap");

/* Browser reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
/* end of browser reset */

body {
  /* min-height: 100vh; */
  background-color: #f8fdfc;
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* TABLET & MOBILE  */

@media screen and (max-width: 1023px) {
  /* container */
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  /* logo */
  .logo {
    position: relative;
    top: 0px;
    left: 0px;
    margin-top: 2rem;
  }

  /* header */
  .header {
    line-height: 29.4px;
    text-align: left;
    width: 100vw;
    padding: 0 2rem;
    color: #000b0a;
    text-transform: capitalize;
    margin-top: 1rem;
  }

  /* form style*/
  .content {
    width: 100vw;
    padding: 0 2rem;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: left;
    font-weight: lighter;
    color: #737373;
    text-align: justify;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 300;
  }

  .form-container {
    width: 85%;
    background: #ffffff;
    box-shadow: 0px 4px 50px 0px #0408131a;
    /* border: 2px solid red; */
  }

  fieldset {
    border: transparent;
  }

  label {
    letter-spacing: 1px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
      sans-serif;
    font-size: 13px;
  }
  .form-container div {
    font-family: "Sofia Sans", serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0.10000000149011612px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #011c34;
  }

  .input {
    width: 197px;
    height: 14px;
    margin: 20px 20px;
  }

  input,
  select {
    border: 1px solid #f3f3f3;
    width: 75vw;
    height: 30px;
    margin-top: 5px;
  }
  input:hover,
  select:hover {
    border: 2px solid #2dc4b6;
  }
  .input {
    margin-bottom: 50px;
  }

  ::placeholder {
    color: #a8a8a8;
    padding-left: 10px;
  }

  select:required:invalid {
    color: #a8a8a8;
    padding-left: 10px;
  }
  option[value=""][disabled] {
    display: none;
  }
  option {
    color: black;
  }

  input[type="date"]::before {
    color: #a8a8a8;
    padding-left: 10px;
    content: attr(placeholder);
    position: relative;
    top: 12px;
    font-family: "Sofia Sans", serif;
  }
  input[type="date"] {
    color: #ffffff;
  }

  button {
    padding: auto;
    background-color: #2dc4b6;
    color: white;
    border: transparent;
    width: 75vw;
    height: 40px;
    text-transform: capitalize;
    margin: 20px 20px;
  }

  /* end of form style */

  /* footer */
  .footer {
    font-family: "Sofia Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 25px;
    padding: 0 2rem;
    margin-top: 1rem;
    text-align: center;
  }

  /* span */
  span > a {
    color: #2dc4b6;
    text-decoration: underline;
    font-weight: 500; 
  }
}

/* LAPTOP & DESKTOP */

@media screen and (min-width: 1023px) {
  body {
    min-height: 100vh;
    min-width: 100vw;
    font-family: "Roboto", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
  }
  .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
  }

  /* section-1 style */

  .logo-header,
  .header-container,
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    flex-wrap: wrap;
  }
  .logo {
    margin: 20px 140px;
  }
  .header-container {
    margin: 20px 140px;
  }
  .header {
    text-transform: capitalize;
    font-weight: 700;
    width: 268px;
    height: 50px;
  }
  .content {
    color: #737373;
    font-family: "Sofia Sans", serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
  }

  /* end of section-1 style */

  /* footer */
  .footer {
    font-family: "Sofia Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 25px;
    padding: 0 2rem;
    margin-top: 1rem;
    text-align: center;
    width: 570px;
    position: relative;
    bottom: 70px;
    /* border: 2px solid red; */
  }

  /* span */
  span > a {
    color: #2dc4b6;
    text-decoration: underline;
    font-weight: 500;
  }

  /* end of footer style */

  /* form style*/
  .form-container {
    width: 85%;
    background: #ffffff;
    box-shadow: 0px 4px 50px 0px #0408131a;
    width: 580px;
    height: 679px;
    top: 81px;
    left: 720px;
    gap: 0px;
    border-radius: 6px 0px 0px 0px;
    opacity: 0px;
  }

  fieldset {
    border: transparent;
  }

  label {
    letter-spacing: 1px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
      sans-serif;
    font-size: 13px;
  }

  .two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .input {
    width: 197px;
    height: 40px;
    margin: 20px 20px;
  }

  input,
  select {
    border: 1px solid #f3f3f3;
    width: 238px;
    height: 48px;
    margin-top: 5px;
  }

  input:hover,
  select:hover {
    border: 2px solid #2dc4b6;
  }
  .input {
    margin-bottom: 50px;
  }

  ::placeholder {
    color: #a8a8a8;
    padding-left: 10px;
  }

  select:required:invalid {
    color: #a8a8a8;
    padding-left: 10px;
  }
  option[value=""][disabled] {
    display: none;
  }
  option {
    color: black;
  }

  input[type="date"]::before {
    color: #a8a8a8;
    padding-left: 10px;
    content: attr(placeholder);
    position: relative;
    top: 12px;
    font-family: "Sofia Sans", serif;
  }
  input[type="date"] {
    color: #ffffff;
  }

  button {
    padding: auto;
    background-color: #2dc4b6;
    color: white;
    border: transparent;
    width: 85%;
    position: relative;
    left: 25px;
    height: 40px;
    text-transform: capitalize;
    margin: 20px 20px;
    width: 85%;
  }

  .one-col-grid select {
    width: 500px;
  }
  .one-col-grid input {
    width: 500px;
  }
  .two-col-grid {
    margin-left: 20px;
    margin-right: 60px;
  }

  .one-col-grid {
    margin-left: 20px;
  }

  /* end of form style */
}
