/**
 * Centered quote
 */

.centered-quote {
    width: 800px;
    margin: 100px auto 40px auto;
    text-align: center;
    max-width: 100%;
}

.centered-quote .quote {
    max-width: 100%;
    font-family: "Noto Serif";
    font-size: 30px;
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.3;
    letter-spacing: normal;
    color: #000000;
}

.centered-quote .quote-author {
    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
}

@media (max-width: 800px) {
    .centered-quote {
        width: 100%;
        margin: 40px auto;
    }

    .centered-quote .quote {
        font-size: 24px;
    }
}

/**
 * Picture + presentation
 */

.pic-presentation {
    width: 970px;
    margin: 0 auto 100px auto;
    position: relative;
    height: 500px;
}

.pic-presentation .pic {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 450px;
    height: auto;
}

.pic-presentation .pic img {
    max-width: 100%;
    height: auto;
}

.pic-presentation .presentation {
    width: 580px;
    background-color: #324b59;
    padding: 30px 40px;
    text-align: left;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.pic-presentation h2 {
    font-family: "Noto Serif";
    font-size: 20px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #f6f6f6;
    padding-left: 10px;
    border-left: solid 2px #d2caa0;
    margin-bottom: 14px;
}

.pic-presentation p {
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.21;
    letter-spacing: normal;
    color: #d8d8d8;
    max-width: 100%;
}

@media (max-width: 1000px) {
    .pic-presentation {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        height: unset;
        margin: 0 auto 40px auto;
    }

    .pic-presentation .pic,
    .pic-presentation .presentation {
        position: relative;
        width: 100%;
        max-width: 580px;
    }

    .pic-presentation .presentation {
        padding: 20px;
    }
}

/**
 * Framed sections
 */

.framed-sections-container {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    position: relative;
}

.framed-sections-container .background-container {
    width: 100%;
    height: calc(100% - 100px);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.framed-sections-container .background {
    width: 100%;
    height: auto;
}

.framed-sections-container .framed-row {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 200px;
    z-index: 2;
    position: relative;
}

.framed-sections-container .framed-row:last-child {
    margin-bottom: 0;
}

.framed-row .framed-section {
    background-color: white;
    width: 580px;
    padding: 30px 40px 40px 40px;
    border: solid 1px #324b59;
    text-align: left;
}

.framed-row .framed-section.left,
.framed-row .side-quote.left {
    margin-right: auto;
}

.framed-row .framed-section.right,
.framed-row .side-quote.right {
    margin-left: auto;
}

.framed-section h2 {
    font-family: "Noto Serif";
    font-size: 20px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #324b59;
    padding-left: 10px;
    border-left: solid 2px #324b59;
    margin-bottom: 14px;
}

.framed-section p {
    max-width: 100%;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.21;
    letter-spacing: normal;
    color: #9ba2a6;
    margin-bottom: 20px;
}

.framed-row .side-quote {
    max-width: 380px;
    text-align: right;
    font-family: "Noto Serif";
    font-size: 30px;
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.3;
    letter-spacing: normal;
    color: #324b59;
}

@media (max-width: 1000px) {

    .framed-sections-container {
        margin-bottom: 40px;
    }

    .framed-sections-container .background-container {
        display: none;
    }

    .framed-sections-container .framed-row {
        flex-direction: column-reverse;
        margin-bottom: 0;
    }

    .framed-row .framed-section {
        width: 100%;
        max-width: 580px;
    }

    .framed-row .side-quote {
        max-width: 450px;
    }

    .framed-row .framed-section.left,
    .framed-row .side-quote.left,
    .framed-row .framed-section.right,
    .framed-row .side-quote.right {
        margin: 10px 0;
    }

    .framed-row .side-quote {
        text-align: center;
    }
}

/**
 * Story presentation
 */

.story-presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 85px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.story-presentation h2 {
    font-family: "Noto Serif";
    font-size: 30px;
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.3;
    letter-spacing: normal;
    color: #000000;
    margin-bottom: 10px;
}

.story-presentation img {
    width: 70px;
    height: auto;
    margin-bottom: 30px;
}

.story-presentation p {
    max-width: 100%;
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
    margin-bottom: 20px;
}

/**
 * Text + Img block
 */

 .text-img-block {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
}

.text-img-block:last-child {
    margin-bottom: 120px;
}

.text-block {
    width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.text-block h2 {
    font-family: 'Noto Serif';
    font-size: 20px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #324b59;
    border-left: 2px solid #324b59;
    padding-left: 10px;
    margin-bottom: 20px;
}

.text-block p {
    max-width: 100%;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.21;
    letter-spacing: normal;
    color: #9ba2a6;
    margin-bottom: 20px;
}

.img-block.left {
    margin-right: 70px;
}

.img-block.right {
    margin-left: 70px;
}

.img-block img {
    width: 570px;
    height: auto;
    border-bottom: 2px solid #d2caa0;
}

@media (max-width: 1050px) {
    .content {
        margin: 0 30px;
    }

    .text-img-block {
        height: unset;
    }
    
    .text-img-block:last-child {
        margin-bottom: 40px;
    }

    .text-block {
        width: 350px;
    }
    
    .img-block {
        width: calc(100% - 390px);
    }

    .img-block.left {
        margin-right: 40px;
    }

    .img-block.right {
        margin-left: 40px;
    }

    .img-block img {
        width: 100%;
    }
}

@media (max-width: 800px) {

    .content {
        margin: 0 20px;
    }

    .text-img-block {
        flex-direction: column;
        width: 100%;
        max-width: 600px;
        margin: 30px auto;
    }

    .text-block, .img-block {
        width: 100%;
    }

    .img-block {
        order: 1;
    }

    .img-block.left, .img-block.right {
        margin: 0 0 20px 0;
    }

    .text-block {
        order: 2;
    }

    .text-block h2 {
        text-align: center;
        border: none;
        padding-right: 10px;
        font-size: 18px;
        margin: 0 auto 20px auto;
    }

    .text-block p {
        text-align: center;
    }

    .text-block a {
        margin: auto;
    }
}
