body{

    overflow-y: scroll;

}

.chapterText {
    position: absolute;
    width: 30%;
    /*background-color: blue;*/
    font-size: calc(.75vw + 14px);
    transform: translate(0%, 250px);
    font-family: 'Roboto', sans-serif;
    color:white;
    opacity: 0;
    /*display: inline-block;*/
}

.chapterContainer{
    position:relative;
    width: 80%;
    padding-top: 80px;
    padding-left: 10%;
    padding-right: 10%;
    overflow: hidden;
}

.chapterRow{
    position:relative;
    width:100%;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    text-align: center;
    align-content:center;
}

/* Clear floats after image containers */
.chapterRow::after {
    content: "";
    clear: both;
    display: table;
    align-content: center;
}

.chapterPanel {
    float: left;
    width: 30%;
    padding: 1%;
    overflow: hidden;
    max-height: 1000px;
    text-align: center;
    color: rgba(255,255,255,0);
    font-size: calc(20px + .8vw);
}

.chapterPanel img{
    width: 100%;
}

.chapterPanel figcaption{
    font-size: 14px;
    color:white;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

@media screen and (max-width: 1200px) {
    .chapterContainer {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 1200px) {
    .chapterPanel {
        width: 49%;
        padding: .5%;
    }
    .chapterText{
        width: 49%;
        padding: .5%;
        transform: translate(0%, 150px);
    }
}




.contain{
    position:fixed;
    top:7vh;
    left:2vw;
    width:96vw;
    outline-style: solid;
    outline-width: thin;
}

.panelContainer{
    position:relative;
    top:70px;
    width:100%;
    overflow: hidden;
    text-align: center;
}

.panelContainer .panelHalf {
    width: 50%;
    padding: 20px;
    overflow: hidden;
    align-content: center;
}

.panelContainer .panelCover {
    position: relative;
    width: 100%;
    max-height:1000px;
    overflow: hidden;
    font-size: 10vw;
}

.projectCover{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: calc(20px + 1vw);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.projectCover img{
    position: absolute;
    top:0;
    left:0;
}


.panel {
    position:relative;
    width: 50%;
    padding-top: 20px;
    padding-left: 25%;
    padding-right: 25%;
    padding-bottom: 20px;
    overflow: hidden;
}

@media screen and (max-width: 1200px) {
    .panel {
        width: 80%;
        padding-left: 10%;
        padding-right: 10%;
    }
}

.coverText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.coverTextDark{
    display: inline-block;
    width: 80%;
    padding-top: 20px;
    padding-bottom: 30px;
    padding-left: 10%;
    padding-right: 10%;
    background-color: black;
    color: white;
    font-family: 'Lora', serif;
    font-size: calc(12px + .8vw);
    text-align: justify;
}

.panelText{
    display: inline-block;
    width: 80%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10%;
    padding-right: 10%;
    color: black;
    font-family: 'Lora', serif;
    font-size: calc(16px + .6vw);
    text-align: justify;
}

.panelTextDark{
    display: inline-block;
    width: 80%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10%;
    padding-right: 10%;
    background-color: black;
    color: white;
    font-family: 'Lora', serif;
    font-weight: 300;
    font-style: italic;
    font-size: calc(14px + .4vw);
    text-align: justify;
}

.captionText{
    position: absolute;
    max-width:60%;
    bottom:0;
    padding: 10px 10px 10px 10px;
    border-radius: 10px;
    background-color: rgba(0,0,0,.75);
    font-family: 'Roboto', sans-serif;
    font-size: calc(12px + .4vw);
    font-style: italic;
    text-align: left;
    color: white;
}


.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}