/*Style for form exercise*/

*{
    margin: 0;
    padding: 0;
}

body{
    background: rgb(255, 255, 255);
}

#wrapper{
    width: 940px;
    margin: 30px auto;
}

/*Main part*/
main{
    width: 580px;
    float:left;
}

h1{
    color: #800;
    font-size: 3em;
    margin-bottom: 12px;

}

form{
    max-width: 580px;
    margin-bottom: 20px;
}

fieldset{
    padding: 10px;
    border-radius: 5px;
    border: 1px dotted #800;

}

label{
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    margin-top: 7px;
    font-size: 1.15em;
}

input{
    margin-bottom: 10px;
    height: 20px;
    width: 100%;
}

input[type="submit"]{
    width:auto;

}

input[type="radio"], input[type="checkbox"]{
    height: auto;
    width: auto;
    margin-right: 10px;
    margin-bottom: 3px;
}

form li{
    list-style: none;
}

form ul{
    margin-left: 15px;
}
textarea{
    width: 100%;
    height: 110px;
    margin-bottom: 10px;
}

select{
    margin-bottom: 10px;
}

legend{
    font-size: 1.5em;
    font-style: italic;
}

/*Aside part*/
aside{
    width: 340px;
    float:right;
}

aside img{
    margin-top: 20px;
    width: 100%;
}
p{
    margin-top: 10px;
    line-height: 1.2;
}

/*Footer part*/
footer{
    clear: both;
    height: 60px;
    line-height: 60px;
    display: flex;
    
    border-top: 1px dashed #800;
}

footer ul{
    display: flex;
    
}

footer a{
    text-decoration: none;
}

footer li{
    margin: 0 10px;
    text-decoration: none;
    list-style: none;
}