body {
    background-color: rgba(30, 30, 30, 1);
}

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

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

.title {
    font-family: "Comic Sans MS";
    font-style: italic;
    font-weight: 900;
    font-size: 45px;
    color: white;
}

.credits {
    font-family: "Comic Sans MS";
    font-style: italic;
    font-weight: 900;
    font-size: 16px;
    color: white;
}

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

#panel1 {
    position: relative;
    height: 280px;
    width: 770px;
    border: 5px solid rgba(0, 0, 0, 0.9);
    float: left;
    background: rgba(0, 0, 0, 1);
    background: linear-gradient(90deg,rgba(0, 0, 0, 0.5) 90%, rgba(237, 221, 83, 0.5) 100%);
    overflow: hidden;
}

#panel2 {
    position: relative;
    height: 280px;
    width: 280px;
    border: 5px solid rgba(0, 0, 0, 0.9);
    float: left;
    background: rgba(0, 0, 0, 1);
    background: radial-gradient(circle,rgba(25, 25, 25, 1) 50%, rgba(145, 100, 0, 1) 100%);
    overflow: hidden;
}

#panel3 {
    position: relative;
    height: 280px;
    width: 480px;
    border: 5px solid rgba(0, 0, 0, 0.9);
    float: left;
    background-color: #00d26d;
    overflow: hidden;
}

#panel4 {
    position: relative;
    height: 280px;
    width: 480px;
    border: 5px solid rgba(0, 0, 0, 0.9);
    float: left;
    background-color: #ffc100;
    overflow: hidden;
}

#panel5 {
    position: relative;
    height: 280px;
    width: 280px;
    border: 5px solid rgba(0, 0, 0, 0.9);
    float: left;
    background-color: #ff9100;
    overflow: hidden;
}

/*These classes are for the different text styles that are used in the comic*/

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

.bigtext {
    font-family: "Comic Sans MS";
    color: white;
    font-style: italic;
    font-weight: 900;
    font-size: 30px;
    line-height: 100%;
    margin: 20px;
    text-shadow:2px 2px #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 the panels based on the dimensions of the image*/

#image1 {
  position: absolute;
  bottom: -160px;
  right: 80px;
}

#image2 {
  position: absolute;
  max-width: 100%;
  max-height: auto;
  top: 45px;
  right: 0px;
}

#image3 {
  position: absolute;
  top: -30px;
}

#image4 {
  position: absolute;
  bottom: -15px;
}

#image5 {
  position: absolute;
  top: -40px;
}

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

.inback {
    z-index: 1;
}

.inmiddle {
    z-index: 2;
}

.infront{
    z-index: 3;
}