/*Style sheet for big page*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: rgba(216, 187, 192, 0.567);
    background-image: url("/big/images/background.png");
}

#wrapper{
    width: 940px;
    margin: 20px auto;
    background-color: rgba(247, 234, 238, 0.795);
}
/*Header part*/
header{
    
    
}

#hero{
    background-color: rgba(235, 202, 213, 0.855);
}
/*Navigator part*/
nav{
    height: 50px;
    line-height: 50px;
    background-color: rgb(242, 207, 207);
}



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

nav a{
    text-decoration: none;
    color:rgb(185, 130, 144);
    display: block;
}

nav a:hover{
    background: rgb(207, 163, 163);
    color: white;
    font-weight: bold;
}



/*Main part*/
main{
    width: 650px;
    float: left;
    margin-top: 20px;

    margin-left: 20px;
}

main p{
    margin-bottom: 10px;
    line-height: 1.5;
}

img.right{  /*for class selector Syntax: .class*/
    float: right;
    margin-left: 20px;
    margin-right: 20px;

}

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

h1,h2,h3{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 1.5;
    color: rgb(189, 125, 30);    
}

h2{
    color: rgb(122, 87, 33);
}

h2.righttext{
    margin-top: 20px;   
}

h2.lefttext{
    margin-top: 60px;
    margin-right: 10px;
}

p{
    margin-bottom: 20px; /*Adding space between paragraphh*/
    line-height: 1.5;
}

/*Aside part*/
aside{
    width: 240px;
    background-color: rgb(242, 207, 207);
    float: right;
    padding: 15px;
    margin-top: 20px;
    margin-right: 20px;
    border-radius: 20px;
}

h3{
    color: white;
    font-size: 1.78em;
    font-weight: 200;
}

aside p{
    font-size: .9em;
}

figure{
    margin-top: 15px;
    margin-bottom: 15px;
}

figcaption{
    background-color: rgba(114, 110, 110, 0.259);
    color: white;
    font-size: .875em;
    padding: 8px;
}
/*Footer part*/
footer{
    background-color: rgb(223, 197, 205);
    height: 50px;
    clear: both;
    line-height: 50px; 
    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: white;
    text-decoration: none;
}


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



.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;
}

#logo{
    margin-left: auto;
    margin-right: auto;
    
}

