* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  font-family: "Kanit", sans-serif;
}

html {
  font-size: 62.5%;
}

.container {
  width: 90%;
  height: 100vh;
  background-color: #e9c287;
  position: relative;
  
}

.bg {
  margin-top: 0;
  width: 80%;
  height: 80%;
  background-color: #eee;
  border-radius: 50% 0 0 50%;
  transform: translate(20%, -1%) rotateZ(15deg);
}

.form-wrapper {
  width: 90%;
  height: 80%;
  background-color: #252527;
  position: absolute;
  top: 55%;
  left: 60%;
  transform: translate(-50%, -50%);
  border-radius: 2rem;
  box-shadow: 0 3rem 8rem rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.form-wrapper img {
  width: 140rem;
  position: absolute;
  left: -50%;
  top: -20%;
  opacity: 0.5;
}

.form-heading {
  position: absolute;
  top: 19%;
  left: 35%;
  font-family: "Tilt Prism", cursive;
  font-size: 5rem;
  font-weight: 300;
  color: #fff;
  width: 35rem;
  text-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
}

.contact-form {
  width: 35%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 7rem 10rem 7rem 7rem;
  justify-content: space-between;
}

.toggle-links {
  text-align-last: right;
}

.toggle-link,
.toggle-links span {
  font-size: 1.6rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #e9c287;
  cursor: pointer;
}

.toggle-links span {
  margin: 0 0.5rem;
}

.signup {
  color: #b89663;
}

.change .signin {
  color: #b89663;
}

.change .signup {
  color: #e9c287;
}

.inputs {
  margin-top: -2rem;
  display: flex;
  flex-direction: column;
}

.input-field {
  width: 100%;
  height: 5rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.1);
  background-color: #343539;
  border-radius: 0.5rem;
  font-size: 1.6rem;
  color: #eee;
}

.change .hide {
  display: none;
}

.change .display {
  transform: translateY(-6rem);
}

.checkbox {
  margin-top: 2rem;
  display: flex;
  align-items: center;
}

.checkbox input {
  appearance: none;
  width: 2rem;
  height: 2rem;
  background-color: #3a3a3c;
  margin-right: 1rem;
  position: relative;
  border-radius: 0.2rem;
  transition: all 0.3s;
}

.checkbox input,
.checkbox label {
  cursor: pointer;
}

.checkbox input[type="checkbox"]:checked {
  background-color: #b58235;
}

.checkbox input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: -15%;
  left: 20%;
  transform: rotateZ(45deg);
  width: 50%;
  height: 75%;
  border-right: 0.2rem solid #fff;
  border-bottom: 0.2rem solid #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.checkbox input[type="checkbox"]:checked::after {
  opacity: 1;
  visibility: visible;
}

.checkbox label {
  font-size: 1.2rem;
  color: #ddd;
}

.checkbox label span {
  color: #b58235;
}

.submit {
  width: 100%;
  height: 3rem;
  background-color: #d48142;
  border: none;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.3rem;
  margin-top: 0.5rem;
}

.submit:active {
  transform: translateY(0.2rem);
}

.change .submit {
  transform: translateY(-14rem);
}

.change .submit:active {
  transform: translateY(-13.8rem);
}

.social-media {
  width: 100%;
  padding: 3rem 40% 0 0;
  display: flex;
  justify-content: space-between;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.2);
}

.social-media i {
  width: 3rem;
  height: 3rem;
  background-color: #939695;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  color: #3a3a3c;
  cursor: pointer;
}

.nav-list a {
  font-size: 1.5rem;
  font-weight: 400;
  margin-right: 2rem;
  
}

.header {
  background: #d9ece6;
  padding-left: 5rem;
  font-weight: bold;
  text-transform: uppercase;
  
  letter-spacing: 0.2rem;
}

.header h1 {
  font-size: 2rem;
  padding-left: 3rem;
}
.header h3 {
  font-size: 1rem;
  color: #939695;
  margin-left: 1rem;
}

/*          Footer */

.footer {
  background: #121111;
}

.copyright {
  font-size: 1rem;
  color: #ccc;
  text-align: center;
}

.copyright span {
  font-family: "Kanit", sans-serif;
  font-size: 1rem;
  color: #c03740;
}

/*              End of Footer */

/* Responsive */
@media (max-width: 1500px) {
  .form-heading {   
    font-size: 5rem;
    width: 40rem;
    left: 25%;    
  }
  .contact-form {
    width: 40%;
    height: 100%;
    padding: 7rem 10rem 7rem 7rem;
  }
  .header {   
    padding-left: 5rem;
  }  
  .header h1 {
    font-size: 2rem;
    margin-left: -3rem;
  }
} 

@media (max-width: 1300px) {
  .form-heading {   
    font-size: 4.5rem;
    width: 32rem;
    left: 15%;    
  }
  .form-wrapper img {
    width: 100rem;
    position: absolute;
    left: -50%;
    top: -10%;    
  }
  .contact-form {
    width: 50%;
    height: 100%;
    padding-left: 10rem;
    padding-right: 5rem;   
  }
  .header {   
    padding-left: 4rem;
  }  
  .header h1 {
    font-size: 2rem;
    margin-left: -3rem;
  }
}   

@media (max-width: 900px) {
  .form-heading {   
    font-size: 3rem;
    width: 25rem;
    left: 15%;    
  }
  .form-wrapper img {
    width: 100rem;
    position: absolute;
    left: -50%;
    top: -10%;    
  }
  .contact-form {
    width: 60%;
    height: 100%;
    padding-left: 10rem;
    padding-right: 5rem;   
  }
  .header {   
    padding-left: 3rem;
  }  
  .header h1 {
    font-size: 2rem;
   margin-left: -3rem;
  }
}

@media (max-width: 700px) {
  .form-heading {   
    font-size: 2rem;
    width: 15rem;
    left: 12%;    
  }
  .form-wrapper img {
    width: 100rem;
    position: absolute;
    left: -50%;
    top: -10%;    
  }
  .contact-form {
    width: 77%;
    height: 100%;
   padding-left: 10rem;
   padding-right: 5rem;   
  }
  .header {   
    padding-left: 3rem;
  }  
  .header h1 {
    font-size: 1.5rem;
    margin-left: -3rem;
  }
}

@media (max-width: 500px) {    
  .form-heading {   
    font-size: 1rem;
    color: #e77621;
    width: 12rem;
    left: 5%;
    top: 1%;
    position: absolute;
    margin-left: -1.5rem;    
  }
  .form-wrapper img {
    width: 100rem;
    position: absolute;
    left: -50%;
    top: -10%;    
  }
  .contact-form {
    width: 100%;
    height: 100%;
   padding-left: 9.25rem;
   padding-right: 1rem;      
  }
  .header {   
    padding-left: 3rem;
  }  
  .header h1 {
    font-size: 2rem;
    margin-left: -3rem;
  }
   .ml2 {    
    font-size: 2.5em;
  }
}

/* End Responsive */
 /* moving letters  */
 .move {
  width: 60%;
  margin-top: 25rem;
  margin-left: 20%;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
  background-color: rgb(7, 56, 56);
  color: white;
}
.ml2 {
  font-weight: 900;
  font-size: 3.5em;
}
.ml2 .letter {
  display: inline-block;
  line-height: 1em;
}
/* End moving letters  */
 
    
