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

.wrapper{
    width:940px;
    margin:30px auto;
}
 
form{
    max-width:580px;
    margin-bottom:20px;
}
fieldset{
    border:1px dotted #800;
    padding:10px;
    border-radius:5px;
}

legend{
font-style: italic;
font-size: 1.3em;
padding:0 5px;
}

form li{
    list-style-type: none;

}

ul{
    margin-left: 20px;
}

fieldset{
    padding:10px;
}

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

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

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


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

textarea{
    width:100%;
    height:110px;
}

main{
    width:580px;
    float:left;
}
 
aside{
    width: 340px;
    float:right;
}

select{
    margin-bottom:10px;
}

h1{
    color:maroon;
}

footer{
    clear: both;
    height:50px;
    line-height: 50px;
    display:flex;
    justify-content:center;
    border-top: 1px dotted #800;
}
footer li{
    list-style-type: none;
    padding-right:5px;
    padding-left:5px;
}

footer ul{
    display:flex;
}