/*
/* CSS by Juan Tello
*/

@charset "UTF-8"; /* CSS Document */

/* Generic */
body {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: black;
    color: white;
    overflow-x: hidden;
}

a {
    color: white;
}

.contenedor {
    padding: 50px 160px 50px 50px;
}

.full-viewport {
    height: 100vh;
}

.mtm {
    margin-top: 100px;
}

.mrm {
    margin-right: 100px;
}

.mbm {
    margin-bottom: 100px;
}

.mlm {
    margin-left: 100px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    right: 0px;
    bottom: 0;
    -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
            writing-mode: vertical-lr;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
            transform: translateX(100%);
}

.navigate-menu {
    padding: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-left: solid 1px;
    margin: 0;
    padding: 10px 30px;
    height: 85vh;
}

.navigate-menu li {
    position: relative;
}

.navigate-menu li:before {
    content: '';
    height: 0px;
    width: 0px;
    background-color: black;
    border-radius: 100%;
    position: absolute;
    left: -15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    -webkit-transition: .4s ease-in-out, background-color 0s;
    -o-transition: .4s ease-in-out, background-color 0s;
    transition: .4s ease-in-out, background-color 0s;
}

.navigate-menu li.current:before {
    height: 5px;
    width: 5px;
    background-color: white;
}

.navigate-menu li a {
    padding: 20px 10px;
    color: white;
    letter-spacing: 1px;
    font-size: 14px;
}

/* End Header */
/* Content header */
#content-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    opacity: 0;
}

.run-text {
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 100%;
    overflow: hidden;
}

.line {
    width: 4000px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    white-space: nowrap;
    position: relative;
    opacity: 0;
}

.line-1 {
    margin-left: -230px;
}

.line-2 {
    margin-left: -1130px;
    opacity: 1;
}

.line-3 {
    margin-left: -470px;
}

.line h1 {
    margin: 0 5px;
    font-weight: 200;
    font-size: 62px;
    line-height: 64px;
}

/* End Content header */
/* About */
.content-text {
    padding: 50px 15%;
    font-size: 42px;
    font-weight: 200;
}

/* Portfolio */
.content-portfolio {
    margin-bottom: 100px;
}

.content-portfolio > h2 {
    font-weight: 200;
    font-size: 28px;
}

.content-portfolio > h2 span {
    margin: 0 20px;
}

.content-portfolio .principal-image {
    width: 100%;
}

/* Experience */
.big-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 100px 50px 0;
    font-size: 120px;
    line-height: normal;
    margin: 0 0 -70px 0;
}

.big-title > span {
    display: block;
}

.big-title .stroke {
    font-size: 2.8em;
    line-height: 30px;
    -webkit-text-fill-color: transparent;
    /* Will override color (regardless of order) */
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: white;
}

.big-title .normal {
    margin-left: -120px;
    margin-top: 20px;
    text-transform: uppercase;
}

.content-text-small {
    padding: 50px 15% 50px 20%;
    font-size: 38px;
}

.small-title {
    font-size: 32px;
}

.slider-grid {
    pointer-events: none;
    border-left: solid 1px;
    border-right: solid 1px;
}

.slider-grid .carousel-cell {
    width: 250px;
    height: 200px;
    font-size: 32px;
    text-align: center;
    letter-spacing: 2px;
    padding: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-shadow: inset 0 0 0 1px white;
            box-shadow: inset 0 0 0 1px white;
}

.slider-grid .carousel-cell img {
    width: 70%;
}

/* Footer */
footer {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.big-title-variation-1 .stroke {
    font-size: 2em;
}

.big-title-variation-1 .normal {
    margin-left: -80px;
}

.content-text .icons-left {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translate(-8vw, -50%);
        -ms-transform: translate(-8vw, -50%);
            transform: translate(-8vw, -50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.content-text > p {
    position: relative;
}

.content-text .icons-left > a {
    margin: 10px 0;
}

/* Cursor */
html * {
    cursor: none;
}

.cursor-follower {
    top: -100px;
    left: -100px;
    position: absolute;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    pointer-events: none;
    z-index: 10000;
    width: 50px;
    height: 50px;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    mix-blend-mode: exclusion;
    border: solid 2px white;
    border-radius: 100%;
    -webkit-transition: .4s ease, left 0, top 0;
    -o-transition: .4s ease, left 0, top 0;
    transition: .4s ease, left 0, top 0;
}

.cursor-follower:before {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    border: solid 2.5px white;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 100%;
    -webkit-transition: .4s ease-in-out;
    -o-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
}

/* Hover links */
.cursor-follower.link-active:before {
    width: 15px;
    height: 15px;
    background-color: white;
    border: solid 2.5px white;
}

/* Salt particles */
#particles-js {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -2;
}

/* Preload */
.loading #content-header, .load #content-header, .loaded #content-header {
    opacity: 1;
}

.load .line.line-1, .load .line.line-3 {
    opacity: 1;
    -webkit-transition: 1s .5s ease;
    -o-transition: 1s .5s ease;
    transition: 1s .5s ease;
}

.loaded .line.line-1, .loaded .line.line-3 {
    opacity: 1;
}

.line.line-2 {
    color: black;
}

.line.line-2 b {
    color: white;
}

.load .line.line-2 {
    color: white;
    -webkit-transition: 1s .5s ease;
    -o-transition: 1s .5s ease;
    transition: 1s .5s ease;
}

.loaded .line.line-2 {
    color: white;
}

.load header, .loaded header {
    -webkit-transform: translateX(0%);
        -ms-transform: translateX(0%);
            transform: translateX(0%);
    -webkit-transition: 1s 1.5s ease;
    -o-transition: 1s 1.5s ease;
    transition: 1s 1.5s ease;
}

/* [col-sm] Tablet vertical */
@media (max-width: 979px) {
    .contenedor {
        padding: 30px 120px 30px 30px;
    }

    #contact .content-text-small {
        padding-left: 70px;
    }

    .content-text {
        padding: 50px 0;
        font-size: 32px;
    }

    .content-portfolio > h2 {
        font-size: 20px;
    }

    .content-portfolio {
        margin-bottom: 50px;
    }

    .big-title {
        padding: 50px 0;
    }

    .big-title.big-title-variation-1 {
        font-size: 80px;
    }

    .slider-grid .carousel-cell {
        width: 200px;
        height: 150px;
        font-size: 22px;
    }

    .content-text-small {
        padding-left: 50px;
    }
}

/* [col-xs] Mobile */
@media (max-width: 769px) {
    #content-header {
        padding: 20px 20px 150px 20px;
    }
    header {
        display: none;
    }

    .contenedor {
        padding: 20px;
    }

    .line h1 {
        font-size: 42px !important;
        line-height: 44px;
    }

    .line-1 {
        margin-left: -230px;
    }

    .line-2 {
        margin-left: -800px;
    }

    .line-3 {
        margin-left: -470px;
    }

    .content-text {
        font-size: 22px;
    }

    .content-portfolio > h2 a {
        display: block;
        margin-bottom: 10px;
    }

    .content-portfolio > h2 span:nth-child(2) {
        display: none;
    }

    .content-portfolio > h2 {
        font-size: 14px;
    }

    .content-portfolio > h2 a {
        font-size: 18px;
    }

    .big-title {
        font-size: 70px;
    }

    .big-title .normal {
        margin-left: -100px;
    }

    .content-text-small {
        padding-left: 0;
    }

    #contact .content-text-small {
        padding-left: 50px;
    }

    .slider-grid .carousel-cell {
        width: 150px;
        height: 100px;
        font-size: 16px;
    }

    .small-title {
        font-size: 22px;
    }

    .big-title.big-title-variation-1 {
        font-size: 42px;
    }

    .big-title.big-title-variation-1 .normal {
        font-size: 62px;
    }

    .content-text .icons-left {
        left: -20px;
    }
}
