/* styles for my form exercise */
* {
    padding:0;
    margin:0;
    box-sizing: border-box;
}


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;
    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;
}

form ul {
    margin-left: 15px;
    margin-bottom: 10px;
}

form li {
    list-style-type: none;
}

textarea {
    width: 100%;
    height: 110px;
    margin-bottom: 10px;
}

select {
    margin-bottom: 10px;
}

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

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

main {
    width: 580px;
    float: left;
}

aside {
    width: 340px;
    float: right;
}
 
h1 {
    font-size: 3em;
    color: #800;
    margin-bottom: 12px;
}

footer {
    clear:both;
    height: 60px;
    line-height: 60px;
    display: flex;
    justify-content: center;
    border-top: 1px dotted #800;
    float: left;
    color: #333;
}

footer ul {
    display: flex;
}

footer li {
    margin: 0 10px;
    margin-left: 15px;
}

footer li:first-of-type{
    list-style-type: none;
    margin-left: 0;
}

h2 {
    font-weight: bold;
    font-size: 1.7em;
    margin-top: 20px;
}

p {
    margin: 10px 0;
    font-size: 1.05em;
}

a{
    color: #333;
}

a#reset {
    color: #800;
}

