/* styles for form exercise */

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

/* adding padding to body for demo purposes only! remove for homework! */
body {
    /* background: #fff; */
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header {
    margin-bottom: 10px;
}

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

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

aside {
    width: 340px;
    float:right;
    margin: 20px 0 0 20px;
    /* margin-top: 20px; */
}

aside img {
    margin-bottom: 30px;
}

aside p {
    margin: 15px 0px;
    line-height: 1.4;
    font-size: .9em;
}

footer {
    clear: both;
    /* height and line hegitht the same = center */
    height: 60px;
    line-height: 60px;
    display: flex;
    justify-content: center;
    border-top:1px dotted #800;
    font-size: .8em;
}

footer ul {
    /* removes floating */
    display: flex;
    color: grey;
}

footer li {
    margin: 0 10px;
    list-style-type: none;
    color: grey;
}

footer a {
    color: grey;
}

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=text],
input[type=email] {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: medium;
    padding-left: 5px;
}

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

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

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

select {
    margin-bottom: 10px;
    padding: 0 7px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1em;
}

input[type=reset],
input[type=submit] {
    margin-top: 7px;
    margin-right: 15px;
    padding: 0 9px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1em;
    width: auto;
}

::placeholder {
    color:rgba(136, 0, 0, 0.558);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size:medium;
}

/* comment space */
textarea {
    width:100%;
    height: 110px;
    margin-bottom: 10px;
    padding-left: 5px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: medium;
}

img {
    max-width: 100%;
    display:block;
}

h1 {
    color: rgba(136, 0, 0, 0.792);
    font-size: 3em;
    margin-bottom: 12px;
    letter-spacing: -1.2px;
}

h2 {
    color:rgba(0, 0, 0, 0.868);
}

h3 {
    color:rgba(0, 0, 0, 0.868);
    font-size: 1.6em;
    letter-spacing: -1.1px;
}