*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: white;
    font-family: "Work Sans", sans-serif;
}

main{
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

header{
    text-align: center;
    margin-bottom: 20px;
}

img{
    width: 100px;
}

h1{
    font-family: "Fjalla One", sans-serif;
}

form{
    background-color: white;
    padding: 15px;
    border-radius: 15px;
    align-items: flex-start;
    max-width: 550px;
    margin: 40px auto;
    padding: 20px;
}

fieldset{
    padding: 15px;
    border-width: 1px solid #cccccc;
    margin-bottom: 15px;
}

legend{
    font-weight: bold;
    font-size: 18px;
    padding: 0 5px;
}

label{
    display: inline-block;
    margin-bottom: 5px;
}

input[type="tel"],
input[type="file"]{
    margin-bottom: 0;
}

small{
    margin-bottom: 20px;
    display: inline-block;
}

input, select, textarea{
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 5px;
}

textarea{
    min-height: 100px;
}

input[type="radio"], input[type="checkbox"]{
    width: auto;
}

input[type="color"]{
    width: 40px;
    padding: 0 5px;
}

input:invalid, select:invalid, textarea:invalid{
    border-color: red;
}

input:valid, select:valid, textarea:valid{
    border-color: green;
}

button{
    width: 100px;
    height: 30px;
    margin-right: 10px;
    background-color: white;
    border: 1px solid #cccccc;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover{
    background-color: green;
    color: white;
}

button[type="reset"]:hover{
    background-color: red;
    color: white;
}


