/* Style file for my Homepage HW 3 */

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

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: beige;
    background-image: url(../images/background.png);
    background-size: cover;
    background-position: center;
    /* background-repeat: no-repeat; */
    height: 100%;

}

/* Fix this at the end
#hero img {
    max-width: 100%;
} */

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

#logo {
    display:inline;
    /* padding-bottom: 10px; */
}

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

header {
    /* height: 200px; */
    /* background: yellow; */
    /* margin-top: 50px; */
}

nav {
    height: 50px;
    line-height: 50px;
    background:#ccc;
}

nav li {
    list-style-type: none;
    float: left;
    width: 20%;
    text-align: center;
}

nav a {
    text-decoration: none;
}

nav a:hover {
    background:#f6c242;
    color: #fff;
    display: block;
}

#hero {
    /* height: 300px; */
    background: red;
    /* FIX THIS AT THE END text-align: center; */
}

main {
    width: 560px;
    background: #f7dc42;
    float: left;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;

}

h1,
h2,
h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #7a496c;
}

p {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1em;
    margin-top: 5px;
    color: #7a496c;

}

h1,
h2 {
    margin-bottom: 20px;
    color: #7a496c;
}

h1 {
    text-transform: uppercase;
    font-size: 4em;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

}

h3 {
    color: #ccc;
    margin-top: 5.5px;
    text-align: center;
    margin-bottom: 10px;
    /* border: 1px dotted #ccc; */
    font-size: 2.074em;
    text-transform: uppercase;
}

#first,
#second {
    margin-bottom: 97px;
}

#first img {
    height: auto;
    width: 250px;
    float: right;
    padding-left: 15px;
}

#second img {
    height: 380px;
    width: 250px;
    float: left;
    padding-right: 30px;
}

aside {
    width: 340px;
    padding: 15px;
    background: #7a496c;
    float: right;
   
}

aside p {
    color: #ccc;
    font-size: .9em;
    margin-top: 15px;
}

aside img {
    width: auto;
    height: auto;
}

h4 {
    color: #fff;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.4em;
}

h5 { 
    color: #ccc;
    font-family:monospace;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5em;

}

figcaption {
    background-color: #ccc;
    color: black;
    padding: 10px;

}

footer {
    height: 50px;
    /* background: #ccc; */
    clear: both;
    line-height: 50px;
    border-top: 1px dotted #666;
    font-size: 0.9em;
    text-align: center;
}

footer li {
    list-style-type: none;
    float: left;
    margin-right: 30px;
    color: #666; 
}

footer img {
    margin-top: 3px;
}

#bigpage img {
    margin-top: 15px;
    height: auto;
    width: 940px;
}