main {
  background-image: url("../images/leaf-3.png");
  background-repeat: no-repeat;
  background-position: bottom 21.5% right;
}

.error {
  color: red;
  text-align: left;
  margin-top: 50px;
}

.s1 {
  color: white;
  text-align: center;
  text-transform: capitalize;
  background-image: url("../images/image-4.png"), url("../images/image-5.png"),
    linear-gradient(0deg, #86bfc8 -9.09%, #59a5b0 100%);
  background-repeat: no-repeat;
  background-position: left bottom, right bottom;
  padding: 153px 20px 56px;
}

h1 {
    font-weight: 700;
    font-size: 2.125rem; /* 34px */
    line-height: normal;
    margin-bottom: 10px;
}

.s1 p {
    font-weight: 500;
    font-size: 1.25rem; /* 20px */
    line-height: normal;
    text-transform: none;
}



.s2 {
  padding: 80px 20px;
  max-width: 880px;
  margin: 0 auto;
}

.s2 h2 {
  color: #5095A0;
  font-weight: 700;
  font-size: 2.125rem; /* 34px */
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  margin-top: 76px;
}

.s2 p {
  font-weight: 400;
  font-size: 1.063rem; /* 17px */
  line-height: normal;
  text-transform: none;
  text-align: center;
}

.s2 a {
  color: #59A5B0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.063rem; /* 17px */
  line-height: normal;
  text-transform: none;
}

.s2 form {
  padding: 60px 0 90px;
}

.s2 form .d1 {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

::placeholder {
  color: #A6A6A6;
}

.s2 input[type="text"],
.s2 input[type="email"],
.s2 input[type="password"],
.s2 select {
  color: #A6A6A6;
  color: #303030;
  font-weight: 400;
  font-size: 17px;
  line-height: normal;
  text-transform: none;
  border: 1px solid #5095A0;
  border-radius: 5px;
  padding: 17px 29px;
  width: 100%;
  height: 60px;
}

.s2 select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("../images/image-15.png");
  background-repeat: no-repeat;
  background-position-x: 93%;
  background-position-y: center;
}

.s2 .max-w-50 {
  max-width: calc(50% - (26px / 2));
}

.s2 .w-75 {
  width: calc(75% - (26px / 2));
}

.s2 .w-25 {
  width: calc(25% - (26px / 2));
}

.s2 label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.s2 label:first-of-type {
  margin-top: 28px;
}

.s2 input[type="checkbox"] {
  margin-right: 6px;
}


.text-center {
  text-align: center;
}

.s2 form button {
  color: white;
  font-weight: 600;
  font-size: 17px;
  line-height: normal;
  width: 249px;
  height: 50px;
  margin-top: 68px;
}



/* Tablet */
@media screen and (max-width: 1024px) {
  main {
    background-size: 30%;
  }
}



/* Mobile */
@media screen and (max-width: 767px) {
  .s1 {
    background-size: 100px, 200px, auto;
    padding: 120px 20px 80px;
  }

  h1 {
    font-size: 1.5rem; /* 24px */
  }

  .s2 .max-w-50,
  .s2 .w-75,
  .s2 .w-25 {
    width: 100%;
    max-width: none;
  }
}