/* My styles CSS for my form exercise*/

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

body {
   
}

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

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

aside {
    width: 340px;
    float: right;
    padding-top: 20px;
    margin-bottom: 20px;
}

aside img {
    max-width: 100%;
    margin-top: 20px;
}

form{
    max-width: 580px;
}

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

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

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

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

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

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

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

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

select {
    margin-bottom: 15px;
    margin-left: 10px;
}

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

}
h1 {
    margin: 10px 0;
    color: #800;
}
h3 {
    margin-bottom: 12px;
    font-size: 1.4em;
}

main {
    margin-bottom: 20px;
}

footer {
    height: 30px;
    clear: both;
    border-top: #800 dotted 1px;
    line-height: 30px;
    justify-content: center;
    display: flex;
    
}

footer li {
    list-style-type: none;
    float: left;
    margin-right: 25px;
    color: gray;
    font-size: .8em;
}

footer ul {
    display: flex;
}

footer a {
    color: gray;
} 

.thx h1 {
    font-size: 5em;
}