.wrapper{
    background-color: orange;
}

.main{
    width: 80%;
    margin: 50px auto 100px;
    box-sizing: border-box;
}

form{
    display: flex;
    align-items: center;
    justify-content: center;
}
form ul{
    max-width: 800px;
    align-self: center;
    flex: 1;
}

form ul li{
    margin-bottom: 15px;
}

.form-item{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.form-item label{
    padding: 10px;
    font-size: 20px;
    flex: 1 0 120px;
    max-width: 200px;
    
}


input[type="submit"]{
    margin-left: auto;
    padding: 8px 16px;
    border: none;
    background: #333;
    color: #f2f2f2;
    text-transform: uppercase;
    letter-spacing: .09em;
    border-radius: 2px;
}

input[type="submit"]:hover{
    background-color: rgb(162, 105, 0);
}

input:not([type='submit']),textarea{
    display: flex;
    width: 50%;
    justify-content: flex-end;
    padding: 15px;
    border: 1px solid black;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 15px;

}

/*https://css-tricks.com/snippets/css/typewriter-effect/*/
/* The typing effect */

  .typeWriter h1 {
    font-size: 40px;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid rgb(0, 0, 0); /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: 
      typing 3.5s steps(40, end),
      blink-caret .75s step-end infinite;
  }

  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  /* The typewriter cursor effect */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: rgb(0, 0, 0); }
  }


/*end typing effect */


.error{
    color: red;
    margin-left: 10px;
}

.succesSubmitContainer p{
    display: inline;
    font-size: 20px;
}

/*important gebruikt omdat bij de succes niet anders werkte wegens een eerder declaratie inline element*/
.hide{
    display: none !important;
}

.show{
    display: block;
}

