/*--------------------------------------------------------------
# Components — Home Page Sections
--------------------------------------------------------------*/

main.home {
    position: relative;
    display: grid;
    grid-template-rows: 2260px 900px 1231px 1270px;
}

@media (max-width: 1170px) {
    main.home {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.section {
    position: relative;
    width: 100vw;
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.section img.background {
    width: 100%;
    max-width: 100%;
}

.section#landscape {
    padding-top: 200px;
}

.section #about_wrapper {
    position: absolute;
    bottom: 324px;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
    z-index: 10;
}

.section #sandrine {
    width: 72%;
    height: auto;
    top: 525px;
    border-radius: 84px;
}

@media (max-width: 1000px) {
    .section #sandrine {
        top: unset;
        border-radius: 40px;
        width: 80%;
    }
}

@media (max-width: 650px) {
    .section #sandrine {
        width: 90%;
    }
}

.section #about_me .entity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 26px;
    position: absolute;
    color: black;
    right: 120px;
    bottom: 50px;
}

@media (max-width: 1000px) {
    .section #about_me .entity {
        position: static;
        margin: 20px 0;
    }
}

/* Titro (decorative heading) */
.titro {
    position: absolute;
    font-family: 'Besley', serif;
    font-weight: 900;
    font-style: italic;
    z-index: 200;
    color: black;
    font-size: 120px;
    line-height: 126px;
}

.titro > span:nth-child(1) {
    font-size: 207px;
}

@media (max-width: 1000px) {
    .titro {
        font-size: 50px;
        line-height: 50px;
    }

    .titro > span:nth-child(1) {
        font-size: 110px;
    }
}

/* About section — inside #landscape */
.section#landscape #about_me {
    width: 48%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    bottom: -390px;
    padding: 105px 45px 65px 65px;
    line-height: 38px;
    font-size: 1.8rem;
    z-index: 1;
}

@media (max-width: 1000px) {
    .section#landscape #about_me {
        padding: 25px 25px 25px 35px;
        font-size: 1.1rem;
        line-height: 32px;
        border-radius: 40px;
        bottom: unset;
        width: 80%;
    }
}

@media (max-width: 650px) {
    .section#landscape #about_me {
        width: 90%;
        padding: 20px 10px 10px 10px;
    }
    .section#landscape #about_me.screened {
    	line-height: 1.2rem;
    }
    
    .section#landscape #about_me.screened p{
    	margin: 0.7rem 0;
    }
}

.section#landscape #about_me .titro {
    position: relative;
    margin: auto;
    text-align: right;
}

.section#landscape #about_me .titro span:nth-child(1) {
    font-size: 207px;
}

@media (max-width: 1000px) {
    .section#landscape #about_me .titro span:nth-child(1) {
        font-size: 60px;
    }
}

/* About wrapper elements */
#about_wrapper > p:nth-child(3) {
    font-family: 'Besley', serif;
    font-size: 32px;
    position: absolute;
    color: black;
}

#about_wrapper > p:nth-child(3) > span:nth-child(1) {
    font-style: italic;
    font-weight: bold;
    font-size: 69px;
}

#about_wrapper > p:nth-child(3) > span:nth-child(2) {
    letter-spacing: 10px;
    font-weight: 600;
    margin-left: -5px;
}

#about_wrapper > p:nth-child(4) {
    margin-bottom: 0;
}

#about_wrapper > div:nth-child(3) {
    font-size: 26px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    right: 16px;
    bottom: -350px;
}

#about_wrapper > div:nth-child(3) > p:nth-child(2) {
    margin: 0 0 0 24px;
    text-decoration: underline;
}

#about_wrapper > div:nth-child(3) > p:nth-child(1) {
    margin: 0;
}
