/*This sets the background color for our comic page*/

html body {
    background-color:#D3D3D3;
}


/*These IDs are for the invisible divs that will hold our comic together*/

#page {
    height: 100%; 
    width: 800px;
    margin-right: auto;
    margin-left: auto;
}

#titleblock {
    height: 160px; 
    width: 800px;
    padding-left: 10px;
}

/*These are the text styles for the headline and byline*/

h1 {
    font-family: "Comic Sans MS";
    font-style: italic;
    font-weight: 900;
    font-size: 26px;
    color: #1e3d58;
}

h2 {
    font-family: "Comic Sans MS";
    font-style: italic;
    font-weight: 900;
    font-size: 12px;
    color: #1e3d58;
}

/*These IDs are for the panels that will make up our comic.*/

#panel1 {
    position:relative;
    height:400px;
    width: 800px;
    border:16px solid #2b2b2b;
    float: left;
    background-color: #006400;
    overflow: hidden;
}

#panel2 {
    position:relative;
    height: 600px;
    width: 600px;
    border:16px solid #2b2b2b;
    float: right;
    background-color: #0047AB;
    overflow: hidden;
}

#panel3 {
    position:relative;
    height: 575px;
    width: 475px;
    border:16px solid #2b2b2b;
    float: left;
    background-color: #006400;
    overflow: hidden;
}

#panel4 {
    position:relative;
    height: 450px;
    width: 500px;
    border:16px solid #2b2b2b;
    float: right;
    background-color: #0047AB;
    overflow: hidden;
}

#panel5 {
    position:relative;
    height: 550px;
    width: 700px;
    border:16px solid #2b2b2b;
    float: left;
    background-color: #006400;
    overflow: hidden;
}

/*These classes are for the different text styles we will be using in the comic*/

.narration {
    font-family: "Comic Sans MS";
    font-style: italic;
    font-weight: 800;
    font-size: 16px;
    padding: 16px;
    color: white;
    margin: 16px;
    background-color: #2b2b2b;
}

.bigtext {
    font-family: "Comic Sans MS";
    color: white;
    font-style:right;
    font-weight: 600;
    font-size: 20px;
    line-height: 80%;
    margin:16px;
    text-shadow:4px 6px #2b2b2b;
}

/* These classes can position text and images within the panel.*/

.left {
    position:absolute;
    left: 0;
}

.right {
    position:absolute;
    right: 0;
}

.top {
    position:absolute;
    top: 0;
}

.bottom {
    position:absolute;
    bottom: 0;
}
  
/*These ids can be used fit specific images into our panels based on the dimensions of the image*/

#image1 {
    position: center;
}
#image2 {
    position: center;
}

/*These classes are for stacking or ordering elements on top of eachother.*/

.inback {
    z-index: 1;
}

.inmiddle {
    z-index: 2;
}

.infront{
    z-index: 3;
}

