@import url("https://fonts.googleapis.com/css2?family=Mozilla+Text:wght@200..700&display=swap");

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

body,
html {
  min-height: 100%;
  width: 100%;
  font-family: "Mozilla Text", sans-serif;
  background-color: #000;
  color: white;
}

#landing-page {
  display: flex;
  justify-content: space-between;
  background-image: radial-gradient(
    circle 815px at 23.4% -21.8%,
    rgba(9, 29, 85, 1) 0.2%,
    rgba(0, 0, 0, 1) 100.2%
  );
  min-height: 100vh;
}

.sidebar-content {
  flex: 1 1 40%;
  background-image: url("assets/web-dev.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: relative;
  height: 100vh;
}

.sidebar-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 0px 25px 25px 0px;
}

.logo {
  display: flex;
  flex-direction: column;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: clamp(2rem, 5vw, 3rem);
  background-image: radial-gradient(
    circle 762px at 11.2% 17.8%,
    rgba(253, 243, 106, 1) 0%,
    rgba(255, 153, 1, 1) 89.2%
  );
  position: relative;
  text-align: center;
  padding: 10px 20px;

  z-index: 999;
}

.logo span {
  font-size: 1.2rem;
}

.sign-up-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 60%;
  justify-content: flex-start;
  /* padding: clamp(16px, 5vw, 35px); */

  width: 100%;
}

.sign-up-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  width: 100%;
  padding: 20px;
}

.sign-up-text h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.05;
  text-transform: capitalize;
  color: #fedf52;
}

.sign-up-text p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  max-width: 725px;
  width: 100%;
}

.sign-up-checklist {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
  max-width: 625px;
  margin-left: 20px;
  margin-right: 20px;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  color: #000000;
}

.checklist li {
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 20px 10px 40px;
  font-size: 1.2rem;
  background-color: whitesmoke;
  border-radius: 10px;
  width: 100%;
  border: rgb(89, 247, 68) 3px solid;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(0, 0, 0);
  font-size: 1.5rem;
  line-height: 1;
}

@media screen and (max-width: 600px) {
  .checklist li {
    font-size: 1rem;
    padding-left: 35px;
  }

  .checklist li::before {
    font-size: 1.2rem;
    left: 10px;
  }
}

.form-container {
  background-image: radial-gradient(
    circle 762px at 11.2% 17.8%,
    rgba(253, 243, 106, 1) 0%,
    rgba(255, 153, 1, 1) 89.2%
  );
  /* max-width: 625px; */
  width: 100%;
  padding: 20px;
  margin-top: 20px;
  /* height: 100%; */
  color: rgb(0, 0, 0);
}

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

#sign-up-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 750px;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

input {
  padding: 10px;
  border: 3px solid #000000;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

input:required:invalid:not(:placeholder-shown) {
  border-color: red;
}

input:valid {
  border-color: rgb(114, 211, 114);
}

input:focus {
  border-color: lightskyblue;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

button {
  font-size: 1.2rem;
  padding: 5px 25px;
  border-radius: 6px;
  background: whitesmoke;
  cursor: pointer;
  color: #000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

button:hover {
  background: rgb(114, 211, 114);
  transform: scale(0.99);
  transition: ease-in-out 0.1s;
  border: solid black 2px;
  color: white;
}

@media (max-width: 768px) {
  #landing-page {
    flex-direction: column;
  }
  .sidebar-content,
  .sign-up-content {
    width: 100%;
    flex: none;
    border-radius: 0;
    border-right: none;
  }
  .sidebar-content {
    border-radius: 0px 0px 25px 25px;
    max-height: 250px;
  }
  .form-row {
    flex-direction: column;
  }
}

.log-in-text {
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.login-link {
  color: #fedf52;
  cursor: pointer;
}

.login-link:hover {
  color: rgb(114, 211, 114);
}

.developer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-image: radial-gradient(
    circle 762px at 11.2% 17.8%,
    rgba(253, 243, 106, 1) 0%,
    rgba(255, 153, 1, 1) 89.2%
  );
  color: black;
  padding: 10px;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: bold;
  gap: 10px;
  z-index: 22;
}

.fa-github {
  color: black;
}

.fa-github:hover {
  transform: scale(1.1);
}
