/*Styles for MET Opera Home Page*/
*{
    padding: 0;
    margin: 0;
}

/*When you have a 2 word property, it must be separated
with a hyphen*/
body {
    background:cyan;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-image: url("/images/logo.png");
    /*png = transparency*/
    background-attachment: fixed;
    
}

#wrapper{
    width: 940px;
    background: rgb(245, 238, 241);
    padding: 20px; /*make the text doesn't touch the edge*/
    margin: 20px auto;
    
}

header{
    margin-bottom: 20px;
    
    background-color: beige;
}

img.right{  /*for class selector Syntax: .class*/
    float: right;
    margin-left: 30px;
    margin-bottom: 10px;
}

.center{ /*change everything that has a class named center*/
    /*No float center*/
    margin: 20px auto;
    /*element img is an inlne element, a div is a block level element */
    display: block; 
    /* we must change the inline emage to a block level image*/
    text-align: center;
}



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

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

h1{
    font-size: 3em;
}

h2{
    font-size: 2em;
}
p{
    margin-bottom: 20px; /*adding space between paragraph*/
    line-height: 1.4; /*adding space between line*/
}
footer{
    background-color: rgb(60, 114, 162);
    height: 60px;
    clear: both;
    line-height: 60px; /*vertically center*/
    /*When you clear an element, you cannot add space
    above that element with a margin-top. You must use margin-bottom
    on the element that it had cleared*/
    font-size: .9em;
    color: white;
    
}
footer ul{
    margin-left: 20px;
   
}
footer li{
    list-style-type: none; /*remove the bullets*/
    float:left;
    margin-right: 20px;
    
    
}

footer a{
    color: brown;

}

