/* styles for my form exercise */

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

/* adding padding to my body for demonstyration only remove once working on homework */

body {
    /* background: #eee;
    padding: 100px; */

}

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

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

header{
    width: 940px;
    clear: both;
}

aside {
    width: 340px;
    float: right;
    margin-top: -40px;
}

/* get puts info in http, post doesn't more secure */

footer {
    clear: both;
    height: 60px;
    line-height: 60px;
    display: flex;
    justify-content: start;
    border-top: 1px solid #930000 ;
}

footer ul{
    display: flex;
}

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

footer li {
    margin: 0 12px 0 10px;
    color: rgb(110, 110, 110);
}

footer a {
    color: rgb(110, 110, 110);
}


/* my form styles */
form {
    max-width: 580px;
    margin-bottom: 20px;
}

fieldset{
    padding: 10px;
    border: 1px dotted #930000;
    border-radius: 7px 7px 7px 7px ;
    border-bottom-right-radius: white;
}

legend{
    font-size: 1.3em;
    font-style: italic;
    padding: 0 5px 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="submit"] {
    width:auto;
    /* width will be as large as the content */
}

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

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

.reset {
    color: #930000;
    padding-bottom: 20px;
}

/* no spaces between [ */
form ul {
    margin-left: 15px;
    margin-bottom: 10px;
}

form li {
    list-style: none;
}

/* forms will not work locally, will need to be uploaded to a server to work */
/* why? our form handler that we will use will be downloading 
is using hypertext prepocessing language which will only
work on a server, not locally*/


select {
    margin-bottom: 10px;
}

textarea {
    width:100%;
    height: 150px;
    margin-bottom: 10px;
}
/* image styles */
img {
    max-width: 100%;
}
/* typography */
h1{
    color:#930000;
    font-size: 3em;
    margin-bottom:12px;
}

aside h3 {
    margin-bottom: 10px;
    font-size: 1.687em;

}

aside p {
    margin-bottom: 20px;
}

