*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
  }

  body{
    background: #F2F8FF;
    color: #fff;
    -webkit-font-smoothing: antialiased;
  }

  body, input, button, textarea{
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.6rem;
  }

  h1, h2, h3, h4, h5, h6, strong{
    font-weight: 500;
  }

  button{
    cursor: pointer;
  }

  section{
    display: flex;
    justify-content: center;

    margin: 15px 30px;
    max-width: 1160px;
  }
  section>img{
    width: 450px;
    height: auto;
    animation-name : appearFromLeft;
    animation-duration: 2s;
  }
  section>main{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    animation-name : appearFromRight;
    animation-duration: 2s;
  }
  section>main h1{
    color: #B1D34B;
    margin-bottom: 20px;
  }
  section>main>form{
    display: flex;
    flex-direction: column;

    width: 100%;
  }

  div.form-line{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }
  span.error{
    color: red;
    font-size: 1.2rem;
  }

  label {
    color: #0A5F55;
    font-size: 1.4rem;
  }
  div.form-line > input {
    width: 100%;
    border-radius: 8px;
    height: 45px;
    border: 2px solid #fff;
    padding: 10px;
    color: #0A5F55;
  }
  input:focus{
    border: 2px solid #0A5F55;
  }

  button{
    height: 40px;
    border-radius: 8px;
    border: none;
    background-color: #B1D34B;
    color: #fff;
    transition: opacity 0.1s; 
  }

  button:hover{
    opacity: 0.9;
  }

  .error-subs{
    width: 100%;
    background-color:  #f8d7da;
    color: #721c24;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    font-size: 1.2rem;
  }

  .success-subs{
    width: 100%;
    background-color:  #d4edda;
    color: #155724;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    font-size: 1.2rem;
  }

  div.policy{
    margin-bottom: 15px;
  }

  div.policy > div{
    display: flex;
    align-items: center;

    margin-top: 15px;
  }

  div.policy > div > label {
    font-size: 1rem;
    font-weight: 700;
  }

  div.policy > div > input {
    margin-right: 15px;
  }

  div.policy > p{
    color: #0A5F55;
    font-size: 1rem;
    text-align: justify;
    text-justify: inter-word;
  }

  div.policy > div > span.error {
    margin-left: 25px;
  }


@keyframes appearFromRight{
  from{
    opacity: 0;
    transform: translateX(500px);
  }
  to{
    opacity: 1;
    transform: translateX(0);

  }
}

@keyframes appearFromLeft{
  from{
    opacity: 0;
    transform: translateX(-500px);
  }
  to{
    opacity: 1;
    transform: translateX(0);

  }
  
}

@media (max-width: 910px){
  html{
    font-size: 70%;
  }
  section > img {
    width: 300px;
  }
}

@media (max-width: 720px){
  html{
    font-size: 65%;
  }
  section > img {
    width: 300px;
  }
}

@media (max-width: 630px){
  section {
    flex-direction: column;
    align-items: center;
  }
  section > img {
    width: 250px;
    margin-bottom: 20px;
  }
}