/* styles for my form exercise */


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

body {
    /*padding:100px;*/
}

#wrapper {
    width:980px;
    margin:30px auto;


}

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

main a {
    display: block;
    margin-bottom: 20px;
}

aside {
    width:360px;
    float:right;
 margin-top: 20px;
margin-left: 5px;
padding: 5px;
 }

 main, aside p {
    font-weight: 500;
    font-size: 1.1em;
    
}

aside img {
    margin-top: 20px;
    display: block;
}

h3 {
    font-size: 1.9em;
    margin-bottom: 10px;
    font-weight: bold;
}

footer {
    clear:both;
    height:60px;
    line-height:60px;
    display: flex;
    
    border-top: 1px dotted #800;
}

footer ul {
    display: flex;
}

footer li {
    margin: 0 10px;
    list-style-type:disc;
}

footer li:first-child {
    list-style-type: none;
}

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

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

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

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


select {
    margin-bottom: 10px;

}

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

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

img {
    max-width: 100%;
}

.thanks h1 {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.thanks main {
    width: 600px;
    margin: 0 auto;
    padding: 15px;
    

    
}