/* previewBlock CSS */

/* Image on Right */
.displayImgR {
    max-height: 300px;
    float: right;
    margin-left: 20px;
}

/* Image on Left */
.displayImgL {
    max-height: 300px;
    float: left;
    margin-right: 20px;
}

/* Main previewBlock Class */
.previewBlock {
    margin-bottom: 80px;
    overflow: hidden;
}

.previewBlock h1 {
    padding-top: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #98DFAF;
}

.previewBlock p {
    padding-top: 25px;
    margin: 5px 0;
}

.previewBlock .learn-more {
    display: inline-block;
    margin-top: 15px;
    color: #98DFAF;
    text-decoration: none;
    border-bottom: 2px solid #98DFAF;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

/* Mobile */
@media (max-width: 800px) {

    /* Make profile sections stack vertically */
    .displayImgR,
    .displayImgL {
        max-width: 100%;
        height: auto;
        float: none;
        display: block;
        margin: 0 auto 20px auto; /* center image and add bottom space */
    }

    .pos_center {
        width: 90%;
        padding: 20px;
    }

    .previewBlock {
        text-align: center; /* center text below image */
        margin-bottom: 60px;
    }

    .previewBlock h1 {
        font-size: 1.5em;
    }

    .previewBlock p {
        font-size: 1em;
    }

    .previewBlock .learn-more {
        font-size: 1em;
    }
}