* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'CocoBiker';
    src: url('../font/CocoBiker.ttf');
}


/* ========================================= // ARTICLE // =========================== */

body {
    background-color: #191919;
}


.profile {
    margin-top: 2em;
    height: 400px;
    width: 50%;
    float: left;

}

.profile img {
    border-radius: 5%;
    border: goldenrod 3px solid;
}

/*  ************************ ((( esse não prestou ))***************************

/*.profile {
    background: url("../img/lu.jpg") center 10%;
    height: 100%;
    background-size: cover;
}

@media (min-width: 55em) {
    .profile {
        width: 40%;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: auto;
    }
}

@media (min-width: 80em) {
    .profile {
        width: 50%;
    }
}

********************************************************************************
*/

article {
    color: #ccc;
    top: 0;
}

@media (min-width: 55em) {
    article {
        margin-left: 40%;
        position: relative;
        max-width: 66em;
    }
}

@media (min-width: 80em) {
    article {
        margin-left: 50%;
    }
}

header {
    text-align: center;
    padding: 0 2em;
}

h1 {
    font-family: "Old Standard TT", serif;
    color: goldenrod;
    text-transform: uppercase;
    font-weight: 100px;
}

.nth-line-1,
.nth-line-2 {

    line-height: 1;
    display: block;
    justify-items: center;
    justify-content: center;

}

.nth-line-1 {
    padding-top: 2.6em;
    font-size: 40px;
}

@media (min-width: 55em) {
    .nth-line-1 {
        font-size: 40px;
    }
}

.nth-line-2 {

    font-size: 40px;
}

@media (min-width: 55em) {
    .nth-line-2 {

        font-size: 40px;
    }
}

.lead {
    color: #ccc;
    font-size: 1.5625em;
    max-width: 20em;
    margin: 0 auto;
    text-align: center;
    margin-top: 1em;
}


hr {
    border: none;
    background: url("../img/hr-01.png") no-repeat center;
    height: 20px;
    margin: 5em 0;
}

section {
    -moz-column-width: 14em;
    column-width: 14em;
    -moz-column-gap: 1.33em;
    column-gap: 1.33em;
    padding: 0 1em;
}

.text {
    letter-spacing: 1.8px;
    line-height: 160%;

}

.text q {
    font-style: italic;
    color: goldenrod;
}

@media (min-width: 55em) {
    section {
        padding: 0 3em;
    }
}

section p:first-of-type:first-letter {
    color: goldenrod;
    float: left;
    font-size: 7em;
    line-height: 1;
    margin-top: -0.2em;
    margin-bottom: -0.2em;
    margin-right: 0.1em;
}



blockquote {
    border-left: 0.2em solid goldenrod;
    font-size: 1.953125em;
    padding: 0.1em 0.5em;
    line-height: 1.5;
    margin-left: 0;
    margin-right: 0;
    quotes: "“" "”" "‘" "’";
}

blockquote::before,
blockquote::after {
    color: goldenrod;
    font-size: 1.25em;
    line-height: 0;
}

blockquote::before {
    content: open-quote;
}

blockquote::after {
    content: close-quote;
}

@media (min-width: 55em) {
    blockquote {
        position: absolute;
        right: 100%;
        top: 80vh;
        width: 9em;
        background: #191919;
    }
}

/*=========================== // PLACES // ================================= */

.section-title {
    max-width: 800px;
    margin: 110px 80px 80px 200px;
    padding: 15px;
    text-align: center;
}

.section-title p {

    margin-top: 3em;
    color: #ccc;
}

.section-title h1 {
    margin-bottom: 50px;
    font-size: 40px;
    color: grey;
    font-family: "Old Standard TT", serif;
}

.section-title .divider {
    position: relative;
    border-bottom: 1px solid goldenrod;
    margin-bottom: 30px;
    margin-top: 30px;
}

.section-title .divider:before {
    position: absolute;
    content: '';
    width: 30px;
    height: 30px;
    border: 1px solid #4b0303;
    left: 50%;
    margin-left: -15px;
    top: 50%;
    background: goldenrod;
    margin-top: -15px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.section-title .divider:after {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    border: 1px solid #4b0303;
    left: 50%;
    margin-left: -10px;
    top: 50%;
    background: #4b0303;
    margin-top: -10px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* ============================ // END OF DIVIDER // ======================== */

.cont {
    position: relative;
    overflow: hidden;
    height: 100vh;
    padding: 80px 70px;
    margin-top: 2em;

}

.cont__inner {
    position: relative;
    height: 100%;

}

.cont__inner:hover .el__bg:after {
    opacity: 1;
}

.el {
    position: absolute;
    left: 0;
    top: 0;
    width: 19.2%;
    height: 100%;
    background: #252525;
    transition: transform 0.6s 0.7s, width 0.7s, opacity 0.6s 0.7s, z-index 0s 1.3s;
    will-change: transform, width, opacity;

}

.el:not(.s--active) {
    cursor: pointer;
}

.el__overflow {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.el__inner {
    overflow: hidden;
    position: relative;
    height: 100%;
    transition: transform 1s;
}

.cont.s--inactive .el__inner {
    transform: translate3d(0, 100%, 0);
}

.el__bg {
    position: relative;
    width: calc(100vw - 140px);
    height: 100%;
    transition: transform 0.6s 0.7s;
    will-change: transform;
}

.el__bg:before {
    content: "";
    position: absolute;
    left: 0;
    top: -5%;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: center center;
    transition: transform 1s;
    transform: translate3d(0, 0, 0) scale(1);
}

.cont.s--inactive .el__bg:before {
    transform: translate3d(0, -100%, 0) scale(1.2);
}

.el.s--active .el__bg:before {
    transition: transform 0.8s;
}

.el__bg:after {
    content: "";
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s;
}

.cont.s--el-active .el__bg:after {
    transition: opacity 0.5s 1.4s;
    opacity: 1 !important;
}

.el__preview-cont {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s 1.2s;
}

.cont.s--inactive .el__preview-cont {
    opacity: 0;
    transform: translateY(10px);
}

.cont.s--el-active .el__preview-cont {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s;
}

.el__heading {
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
}

.el__content {
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.1s;
}

.el.s--active .el__content {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.5s 1.4s;
}

.el__text {
    font-size: 30px;
    color: #fff;
    letter-spacing: 5px;
}

.el__text h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'CocoBiker';
}

.el__close-btn {
    z-index: -1;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 60px;
    height: 60px;
    opacity: 0;
    pointer-events: none;
    transition: all 0s 0.45s;
    cursor: pointer;
}

.el.s--active .el__close-btn {
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transition: all 0s 1.4s;
}

.el__close-btn:before,
.el__close-btn:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 8px;
    margin-top: -4px;
    background: #fff;
    opacity: 0;
    transition: opacity 0s;
}

.el.s--active .el__close-btn:before,
.el.s--active .el__close-btn:after {
    opacity: 1;
}

.el__close-btn:before {
    transform: rotate(45deg) translateX(100%);
}

.el.s--active .el__close-btn:before {
    transition: all 0.3s 1.4s cubic-bezier(0.72, 0.09, 0.32, 1.57);
    transform: rotate(45deg) translateX(0);
}

.el__close-btn:after {
    transform: rotate(-45deg) translateX(100%);
}

.el.s--active .el__close-btn:after {
    transition: all 0.3s 1.55s cubic-bezier(0.72, 0.09, 0.32, 1.57);
    transform: rotate(-45deg) translateX(0);
}


.cont.s--el-active .el__index {
    transition: transform 0.5s, opacity 0.3s;
    opacity: 0;
}

.el:nth-child(1) {
    transform: translate3d(0%, 0, 0);
    transform-origin: 50% 50%;
}

.cont.s--el-active .el:nth-child(1):not(.s--active) {
    transform: scale(0.5) translate3d(0%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(1) .el__inner {
    transition-delay: 0s;
}

.el:nth-child(1) .el__bg {
    transform: translate3d(0%, 0, 0);
}

.el:nth-child(1) .el__bg:before {
    transition-delay: 0s;
    background-image: url("../img/cities.jpg");
}

.el:nth-child(2) {
    transform: translate3d(105.2083333333%, 0, 0);
    transform-origin: 155.2083333333% 50%;
}

.cont.s--el-active .el:nth-child(2):not(.s--active) {
    transform: scale(0.5) translate3d(105.2083333333%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(2) .el__inner {
    transition-delay: 0.1s;
}

.el:nth-child(2) .el__bg {
    transform: translate3d(-19.2%, 0, 0);
}

.el:nth-child(2) .el__bg:before {
    transition-delay: 0.1s;
    background-image: url("../img/forest.jpg");
}

.el:nth-child(3) {
    transform: translate3d(210.4166666667%, 0, 0);
    transform-origin: 260.4166666667% 50%;
}

.cont.s--el-active .el:nth-child(3):not(.s--active) {
    transform: scale(0.5) translate3d(210.4166666667%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(3) .el__inner {
    transition-delay: 0.2s;
}

.el:nth-child(3) .el__bg {
    transform: translate3d(-38.4%, 0, 0);
}

.el:nth-child(3) .el__bg:before {
    transition-delay: 0.2s;
    background-image: url("../img/mansion.jpg");
}

.el:nth-child(4) {
    transform: translate3d(315.625%, 0, 0);
    transform-origin: 365.625% 50%;
}

.cont.s--el-active .el:nth-child(4):not(.s--active) {
    transform: scale(0.5) translate3d(315.625%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(4) .el__inner {
    transition-delay: 0.3s;
}

.el:nth-child(4) .el__bg {
    transform: translate3d(-57.6%, 0, 0);
}

.el:nth-child(4) .el__bg:before {
    transition-delay: 0.3s;
    background-image: url("../img/pandemonio.jpg");
}

.el:nth-child(5) {
    transform: translate3d(420.8333333333%, 0, 0);
    transform-origin: 470.8333333333% 50%;
}

.cont.s--el-active .el:nth-child(5):not(.s--active) {
    transform: scale(0.5) translate3d(420.8333333333%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(5) .el__inner {
    transition-delay: 0.4s;
}

.el:nth-child(5) .el__bg {
    transform: translate3d(-76.8%, 0, 0);
}

.el:nth-child(5) .el__bg:before {
    transition-delay: 0.4s;
    background-image: url("../img/school.jpg");
}

.el:hover .el__bg:after {
    opacity: 0;
}

.el.s--active {
    z-index: 1;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s, width 0.7s 0.7s, z-index 0s;
}

.el.s--active .el__bg {
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s;
}

.el.s--active .el__bg:before {
    transition-delay: 0.6s;
    transform: scale(1.1);
}

/*=================================  // TREAT // ========================= */

@media only screen and (max-width: 500px) {


    .profile img {
        width: 415px;
    }

    .nth-line-1 {
        line-height: 90%;
        padding-top: 60%;
        padding-right: 45%;
        -webkit-text-stroke: 1px black;
        text-shadow: 2px 8px 8px black;
    }

    .nth-line-2 {

        -webkit-text-stroke: 1px black;
        text-shadow: 2px 8px 8px black;
    }

    .text {
        line-height: 250%;
        margin-bottom: 1em;
    }

    .cont {
        display: none;
    }

    .section-title {
        display: none;
    }


    /*
    .section-title {
        display: none;
    }

*/
}

@media only screen and (max-width: 370px) {

    .nth-line-1,
    .nth-line-2 {
        margin: 0 auto;
    }

    .lead {

        margin: 0 auto;
    }

}

@media screen and (min-width: 500px) and (max-width: 560px) {

    .start {
        margin-top: 22em;
        margin-bottom: 3em;
    }

    .cont {
        display: none;
    }

    .section-title {
        display: none;
    }
}