/* Styles for my Form */

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

/* Ading padding to my body for demonstration purposes only. REMOVE PADDING once you start working on your homework */

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

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

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

aside {
    width: 340px;
    float: right;
}

aside img {
    max-width: 100%;
}

footer {
    clear: both;
    height: 60px;
    line-height: 60px;
    display: flex;
        /* displaying flex in both footer and footer ul will display them side by side without floating them! */
        justify-content: center;
        border-top: 1px dotted #800;
}

footer ul {
    display: flex;
}

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

/* My Form Styles */

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;
    /* labels are default in-line elements, so we need to declare it as a block if we want to change what it looks like here! this makes the labels display vertically instead of horizontally */
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.1em;
}

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

input[type="submit"] {
    /* the square brackets are called an "attribute selector" */
    width: auto;
        /* auto will make it as big as the content of it */
}

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

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

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

select {
    margin-bottom: 10px;
}

textarea {
    /* the comment tag is called textarea */
    /* it has an open and closing tag, but do not put anything between it! */
    width: 100%;
    height: 110px;
    margin-bottom: 10px;
}

/* the Submit button is an input tag but you're not inputting anything in it. the value will be displayed on the button */

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

h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

a {
    color: #800;
}

footer a {
    color: #666;
}

