/* Styles for the Metropolitan Opera 2 page website */


*{
    padding: 0;
    margin: 0;
}
/* When you have a two word property it must be separated by a hyphen */
body{
    background: #2E6EA6;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background-image: url(../images/pokemon-logo.png);
    background-attachment: fixed;
    /* png = transparency */

}

nav{
    height:50px;
    background: black;
    line-height: 50px;
}

nav li{
    list-style-type: none;
    float:left;
/* However many list items you have you divide that by 100. (In the video it was 100 / 5 = 20 %) that is how you center on a navigation bar */
    width: 20%;
    text-align: center;
}

nav a{
    text-decoration: none;
    color: white;
    display: block;
}

nav a:hover{
    background: #F21B1B;
    color:white;
}

div#wrapper{
    width: 940px;
    background: beige;
    padding: 20px;
    margin: 20px auto;
    overflow: hidden;
}

header {
    /* Use height and background color at first so you can see the container */
    /* height: 200px; */
    /* background: #fff;  */
    margin-bottom: 20px;
}

footer {
    height: 50px;
    line-height: 50px;
    background: black;
    clear:both;
    font-size: .875em;
    /* When you clear an element, you cannot add space above that element with a margin-top you must use margin-bottom on the element hat i had cleared!!! */
}

footer ul{
    margin-left: 20px;
}

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

a {
    color: brown;
}

img.right {
    float: right;
    margin-left: 30px;
    margin-bottom: 10px;
}

img.left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    img style='height: 100%; width: 100%; object-fit: contain
    
}

.center {
    /* NO FLOAT CENTER!!!!! */
    margin: 20px auto;
    /*  centering the image */
    display: block;
    /* we mus change the inline image to a block level image */
    text-align: center;
}

h1{
    font-size: 2.5em;
}

h2{
    font-size: 1.8em;
    text-align: center;
}

h3{
    text-align: center;
}

h1,h2{
    margin-bottom: 8px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    color: #2E6EA6;
}



p {
    margin-bottom: 20px;
    line-height: 1.4;
}


aside{
    width: 340px;
    background:#F21B1B;
    padding: 15px;
    float: right;
    margin-top: 20px;
    text-align: center;
}

main{
    width: 560px;
    /* background: lightgreen; */
    float: left;
    margin-top: 24px;

}

li{
    list-style-type: none;
}