body {
  background: #1a1d20;
  color: white;
  font-family: "Poppins", sans-serif;
  margin: 0;
  height: 100vh;
}

.wrapper {
  margin: 1em 1em 5em;
}

.logo {
  width: 8em;
}

h1 {
  font-size: 2rem;
  margin-bottom: 2em;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  opacity: 0;
  transform: translateY(100px);
  text-align: center;
}

main {
  margin-top: 4em;
}

h1 {
  font-family: "Merriweather", serif;
}

label {
  margin-top: 1em;
  margin-bottom: 0.4em;
  display: block;
  font-weight: bold;
}

.col2 {
  display: flex;
}

.hero {
  display: block;
}

.form-container {
  position: relative;
}
.form {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  margin: 0 auto;
}

input[type="text"],
input[type="email"],
input[type="submit"] {
  padding: 1.2em;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.2em;
  border: none;
}

input[type="submit"] {
  width: 10em;
  background: #923adb;
  color: white;
  border: none;
  margin-left: 0.5em;
  font-weight: bold;
  cursor: pointer;
}
input[type="submit"]:hover {
  background: #7f2fc0;
}

.card {
  transform: translateY(100px) scaleY(1);
  transform-origin: 0% 100%;
  padding-left: 1em;
  border-left: 1px solid #4e5862;
  position: relative;
  height: 8em;
}
.card:before {
  position: absolute;
  content: "";
  border-radius: 100%;
  border: 0.5em solid #1a1d20;
  background: #ba62ad;
  width: 0.5em;
  height: 0.5em;
  top: 0;
  left: -0.8em;
  opacity: 1;
  transform-origin: center;
}
.card:hover:before {
  transform: scale(1.5);
}
.card .title {
  font-weight: bold;
  opacity: 0;
  transform: translateY(100px);
}
.card .desc {
  color: #697887;
  opacity: 0;
  transform: translateY(100px);
}

footer {
  opacity: 0;
  background: linear-gradient(90.73deg, #c9729a 4%, #923adb 97.46%);
  padding: 2em 1em;
  color: #1a1a1a;
  font-weight: bold;
  margin-top: 11em !important;
}
footer .all {
  margin: 0.3em 0 0 0.5em;
  font-size: 2rem;
}
footer .parent {
  display: block;
}
footer .twitter {
  width: 2em;
  margin-left: 0.5em;
}
footer .social {
  margin-top: 2em;
}
footer a {
  color: black;
  text-decoration: none;
}
footer .angle-line {
  margin-top: 1.2em;
}

@media only screen and (min-width: 600px) {
  .wrapper {
    margin: 3em;
  }

  h1 {
    font-size: 3rem;
  }
}
@media only screen and (min-width: 750px) {
  .features {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
    gap: 2em;
  }
  .features .card {
    margin-bottom: 2em;
    height: auto;
  }
  .features .card .title {
    margin-top: 0;
  }

  footer {
    padding: 3em;
  }
}
@media only screen and (min-width: 900px) {
  .form-container {
    width: 75%;
  }
}
@media only screen and (min-width: 1200px) {
  .hero {
    display: flex;
    justify-content: space-between;
    margin: 8em 0 6em;
  }
  .hero h1 {
    width: 40%;
    margin-bottom: 0;
    text-align: left;
  }

  .form-container {
    align-self: flex-end;
    padding-bottom: 1em;
    margin: unset;
    width: 50%;
    position: relative;
  }

  .features {
    grid-template-columns: repeat(4, auto);
    grid-template-rows: auto;
  }

  .wrapper,
  .features {
    margin-bottom: 0;
  }

  footer {
    margin: 0;
    padding: 6em;
  }
  footer .parent {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  footer .social {
    margin: 0;
  }
  footer .learn,
  footer .skillform {
    margin: 1em;
  }

  .features .card {
    margin-bottom: 0;
    height: 15rem;
  }

  .wrapper {
    width: 1150px;
    margin: 3em auto 0;
  }
}

.error {
  position: absolute;
  top: 7rem;
  left: 0;
  margin: 0;
}
.error-green {
  color: #7fdd7f;
}
.error-red {
  color: #e27878;
}
