@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #070808;
}

.cd-container .title {
    font-family: 'Montserrat';
    font-size: 85px;
    color: white;
    padding-left: 10%;
}

.cd-container {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    background: #070808;
    padding: 0 10%;
    border-radius: 2px;
    margin-top: 100px;
}

.cd-container::after {
    content: '';
    display: table;
    clear: both;
}

.cd-container hr {
    border: 2px solid #05F2C7;

}

/* -------------------------------- 

Main components 

-------------------------------- */


#cd-timeline {
    position: relative;
    padding: 2em 0;
    /*margin-top: 2em;*/
    margin-bottom: 2em;
}

#cd-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    height: 100%;
    width: 4px;
    background: #05F2C7;
}

@media only screen and (min-width: 1170px) {
    #cd-timeline {
        /*margin-top: 3em;*/
        margin-bottom: 3em;
    }

    #cd-timeline::before {
        left: 50%;
        margin-left: -2px;
    }
}

.cd-timeline-block {
    position: relative;
    margin: 5em 0;
}

.cd-timeline-block:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-block:first-child {
    margin-top: 0;
}

.cd-timeline-block:last-child {
    margin-bottom: 0;
}

@media only screen and (min-width: 1170px) {
    .cd-timeline-block {
        margin: 4em 0;
    }

    .cd-timeline-block:first-child {
        margin-top: 0;
    }

    .cd-timeline-block:last-child {
        margin-bottom: 0;
    }
}

.cd-timeline-img {
    position: absolute;
    top: 8px;
    left: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #05F2C7, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}

.cd-timeline-img {
    background: rgba(5, 202, 159);
}

@media only screen and (min-width: 1170px) {
    .cd-timeline-img {
        width: 30px;
        height: 30px;
        left: 50%;
        margin-left: -15px;
        margin-top: 15px;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
    }
}

.cd-timeline-content {
    position: relative;
    margin-left: 60px;
    margin-right: 30px;
    background: #333C42;
    border-radius: 2px;
    padding: 1em;
}

.timeline-content-info-title,
.timeline-content-info-date {
    width: calc(50% - 2px);
    display: inline-block;
}

@media (max-width: 500px) {
    .timeline-content-info-date {
        display: block;
        width: 100%;
    }
}

li {
    background: #40484D;
    border-radius: 2px;
    display: inline-block;
    padding: 2px 10px;
    color: rgba(255, 255, 255, 0.7);
    margin: 3px 2px;
    text-align: center;
    flex-grow: 1;
}



.cd-timeline-content:after {
    content: "";
    display: table;
    clear: both;
}

.cd-timeline-content h2 {
    color: rgba(255, 255, 255, .9);
    margin-top: 0;
    margin-bottom: 5px;
}

.cd-timeline-content p,
.cd-timeline-content .cd-date {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-size: 0.8125rem;
}

.cd-timeline-content .cd-date {
    display: inline-block;
}

.cd-timeline-content p {
    margin: 1em 0;
    line-height: 1.6;
}

.cd-timeline-content::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 100%;
    height: 0;
    width: 0;
    border: 7px solid transparent;
    border-right: 7px solid #333C42;
}

@media only screen and (min-width: 768px) {
    .cd-timeline-content h2 {
        font-size: 20px;
        font-size: 1.25rem;
    }

    .cd-timeline-content p {
        font-size: 16px;
        font-size: 1rem;
    }

    .cd-timeline-content .cd-read-more,
    .cd-timeline-content .cd-date {
        font-size: 14px;
        font-size: 0.875rem;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-timeline-content {
        color: white;
        margin-left: 0;
        padding: 1.6em;
        width: 36%;
        margin: 0 5%
    }

    .cd-timeline-content::before {
        top: 24px;
        left: 100%;
        border-color: transparent;
        border-left-color: #333C42;
    }

    .cd-timeline-content .cd-date {
        position: absolute;
        width: 100%;
        left: 135%;
        top: 6px;
        font-size: 16px;
        font-size: 1rem;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content {
        float: right;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
        top: 24px;
        left: auto;
        right: 100%;
        border-color: transparent;
        border-right-color: #333C42;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
        float: right;
    }

    .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
        left: auto;
        right: 135%;
        text-align: right;
    }
}


i {
    font-size: 45px;
    transition: 0.5s;
}

a:hover i {
    color: #05F2C7;

}

a {
    color: white;
}

.nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #070808;
    opacity: 1;
    overflow-x: hidden;
    padding-top: 40px;
    transition: 0.7s;
    flex-direction: column;
    align-content: center;
}

.nav .close i {
    color: #ffffff;
    font-size: 50px;
}

.nav .close i:hover {
    color: #05F2C7;
}

.nav a {
    display: block;
    padding: 40px 30px;
    font-family: 'Raleway';
    font-size: 35px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    transition: 0.4s;
}

.nav a:hover {
    color: #05F2C7;
}

.nav .close {
    font-size: 30px;
}

main .home {
    background-image: url(/img/background.png);
    min-height: 1000px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

main .home .menu {
    display: none;
}

main .home .head {
    display: flex;
}

main .home .logo {
    font-size: 20px;
    padding-top: 40px;
}

main .home .header {
    font-family: 'Raleway';
    font-weight: 400;
    font-size: 20px;
    padding-top: 50px;
    text-transform: uppercase;
}

main .home .header a {
    margin: 14px;
    transition: 0.5s;
}

main .home .header a:hover {
    color: #05F2C7;
    text-decoration: underline;
}

main .home .dot {
    height: 100px;
    width: 100px;
    background-color: #05F2C7;
    border-radius: 50%;
    display: inline-block;
}

main .home .row {
    padding-top: 170px;
}

main .home .intro h1 {
    font-family: 'Montserrat';
    font-size: 140px;
    color: white;
}

main .home .intro h1 span {
    color: #05F2C7;
}

main .home .intro p {
    font-family: 'Open Sans';
    color: white;
    font-size: 20px;
    word-spacing: 2px;
    padding-top: 20px
}

main .home .social {
    padding-top: 150px;
}

main .home .social i {
    margin: 20px;
}

main .quote {
    background-color: #05F2C7;
    font-family: 'Raleway';
    font-style: italic;
    color: white;
    padding: 180px 0px;
}

main .quote p {
    font-size: 70px;
    padding: 0px 50px 20px;
}

main .quote h3 {
    font-size: 35px;
    padding: 0px 50px;
}

main .about {
    padding: 100px 0px 0px;
}

main .about .portrait img {
    width: 100%;
}

main .about .info {
    color: white;
    padding: 60px 0px 0px 78px;
}

main .about .info hr {
    border: 2px solid #05F2C7;
}

main .about .info h2 {
    font-family: 'Montserrat';
    font-size: 80px;
}

main .about .info p {
    font-size: 22px;
    word-spacing: 2px;
}

main .works .title {
    display: block;
    padding: 120px 0px;
}

main .works .titleMobile {
    display: none;
}

main .works .title h1 {
    font-family: 'Montserrat';
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    color: white;
    font-size: 140px;
    white-space: nowrap;
    position: relative;
    left: -400px;
}

main .works .title h2 {
    font-family: 'Montserrat';
    -webkit-text-stroke-width: 2px;
    color: white;
    font-size: 140px;
    white-space: nowrap;
    position: relative;
    right: 100px;
}

main .works .image {
    padding: 10px 0px;
}

main .works .image img {
    width: 100%;
    opacity: 1;
    display: block;
    height: auto;
    transition: 1s ease;
}

main .works .image img:hover {
    opacity: 0.5;
}

main .works .image .overlay {
    position: relative;
    display: inline-block;
}

main .works .image .overlay:hover {
    background: #05F2C7;
}

main .works .description {
    padding-top: 10%;
}

main .works .description i {
    color: #05F2C7;
}

main .works .description p {
    font-family: 'Raleway';
    font-size: 24px;
    color: white;
}

main .works .description p span {
    color: #05F2C7;
}

footer {
    padding: 90px;
}

footer .contact {
    padding-bottom: 20px;
}

footer i {
    color: white;
    font-size: 45px;
    padding: 0px 20px;
}

footer p,
footer a {
    color: white;
    font-size: 20px;
    font-family: 'Raleway';
    word-spacing: 2px;
    transition: 0.5s;
}

footer a:hover {
    color: #05F2C7;
    text-decoration: none;
}

.backToTop {
    position: fixed;
    /* es queda en un espai fixe del navegador*/
    bottom: 50px;
    right: 50px;
    border-radius: 35px;
    font-size: 44px;
    padding: 0px 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    background-color: #05F2C7;
    cursor: pointer;
    display: none;
}


/*------------------------- XPLORE -------------------------*/

main .homeXplore {
    padding-bottom: 100px;
}

main .homeXplore .head {
    display: flex;
}

main .homeXplore .logo {
    font-size: 20px;
    padding-top: 40px;
}

main .homeXplore .header {
    font-family: 'Raleway';
    font-weight: 400;
    font-size: 20px;
    padding-top: 50px;
    text-transform: uppercase;
}

main .homeXplore .header a {
    margin: 14px;
    transition: 0.5s;
}

main .homeXplore .header a:hover {
    color: #05F2C7;
    text-decoration: underline;
}

main .homeXplore .menu {
    display: none;
}

main .homeXplore .row {
    padding-top: 170px;
}

main .homeXplore .intro h1 {
    font-family: 'Montserrat';
    font-size: 140px;
    color: #05F2C7;
}

main .homeXplore .intro h1 span {
    color: white;
}

main .homeXplore .intro p {
    font-family: 'Open Sans';
    color: white;
    font-size: 20px;
    word-spacing: 2px;
    padding-top: 20px
}

main .homeXplore .social {
    padding-top: 150px;
}

main .homeXplore .social i {
    margin: 20px;
}

main .gallery img {
    width: 100%;
    margin: 50px 0px;
}

main .gallery p {
    font-family: 'Open Sans';
    color: white;
    font-size: 20px;
    word-spacing: 2px;
    padding-top: 20px;
    text-align: center;
}



/*------------------------- PRIMAVERA -------------------------*/

main .homePrimavera {
    padding-bottom: 100px;
}

main .homePrimavera .head {
    display: flex;
}

main .homePrimavera .logo {
    font-size: 20px;
    padding-top: 40px;
}

main .homePrimavera .header {
    font-family: 'Raleway';
    font-weight: 400;
    font-size: 20px;
    padding-top: 50px;
    text-transform: uppercase;
}

main .homePrimavera .header a {
    margin: 14px;
    transition: 0.5s;
}

main .homePrimavera .header a:hover {
    color: #05F2C7;
    text-decoration: underline;
}

main .homePrimavera .menu {
    display: none;
}

main .homePrimavera .row {
    padding-top: 80px;
}

main .homePrimavera .intro h1 {
    font-family: 'Montserrat';
    font-size: 140px;
    color: #05F2C7;
}

main .homePrimavera .intro h1 span {
    color: white;
}

main .homePrimavera .intro p {
    font-family: 'Open Sans';
    color: white;
    font-size: 20px;
    word-spacing: 2px;
    padding-top: 20px
}

main .homePrimavera .social {
    padding-top: 150px;
}

main .homePrimavera .social i {
    margin: 20px;
}


/*------------------------- SERGIO -------------------------*/

main .homeSergio {
    padding-bottom: 100px;
}

main .homeSergio .head {
    display: flex;
}

main .homeSergio .logo {
    font-size: 20px;
    padding-top: 40px;
}

main .homeSergio .header {
    font-family: 'Raleway';
    font-weight: 400;
    font-size: 20px;
    padding-top: 50px;
    text-transform: uppercase;
}

main .homeSergio .header a {
    margin: 14px;
    transition: 0.5s;
}

main .homeSergio .header a:hover {
    color: #05F2C7;
    text-decoration: underline;
}

main .homeSergio .menu {
    display: none;
}

main .homeSergio .row {
    padding-top: 80px;
}

main .homeSergio .intro h1 {
    font-family: 'Montserrat';
    font-size: 140px;
    color: #05F2C7;
}

main .homeSergio .intro h1 span {
    color: white;
}

main .homeSergio .intro p {
    font-family: 'Open Sans';
    color: white;
    font-size: 20px;
    word-spacing: 2px;
    padding-top: 20px
}

main .homeSergio .social {
    padding-top: 150px;
}

main .homeSergio .social i {
    margin: 20px;
}


/*------------------------- RESPONSIVE TABLET -------------------------*/


@media screen and (max-width:1069px) {
    i {
        font-size: 40px;
        transition: 0.5s;
    }

    main .home {
        background-image: url(/img/background.png);
        min-height: 900px;
    }

    main .home .dot {
        height: 85px;
        width: 85px;
    }

    main .home .row {
        padding-top: 100px;
    }

    main .home .intro h1 {
        font-size: 90px;
        text-align: left;
    }

    main .home .intro p {
        font-size: 18px;
    }

    main .home .social {
        padding-top: 75px;
    }

    main .quote p {
        font-size: 60px;
        padding: 0px 0px 20px;
    }

    main .quote h3 {
        font-size: 35px;
        padding: 0px;
    }

    main .about {
        padding: 80px 0px 0px;
    }

    main .about .info {
        color: white;
        padding: 0px 0px 0px 0px;
    }

    main .about .info h2 {
        font-size: 60px;
    }

    main .about .info p {
        font-size: 16px;
        word-spacing: 2px;
        padding: 20px 15px;
    }


    main .works .title h1 {
        font-size: 80px;
    }

    main .works .title h2 {
        font-size: 80px;
    }

    main .works .description p {
        font-size: 22px;
    }

    footer {
        padding: 25px 0px 80px;
    }

    .backToTop {
        position: fixed;
        /* es queda en un espai fixe del navegador*/
        bottom: 50px;
        right: 10px;
        border-radius: 55px;
        font-size: 20px;
        padding: 7px 6px 3px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
        background-color: #05F2C7;
        cursor: pointer;
    }

    /*------------------------- XPLORE -------------------------*/

    main .homeXplore {
        padding-bottom: 50px;
    }

    main .homeXplore .row {
        padding-top: 100px;
    }

    main .homeXplore .intro h1 {
        font-size: 90px;
    }

    main .homeXplore .intro p {
        font-size: 18px;
    }

    main .homeXplore .social {
        text-align: center;
    }

    main .gallery img {
        width: 100%;
        margin: 25px 0px;
    }



    /*------------------------- PRIMAVERA -------------------------*/

    main .homePrimavera {
        padding-bottom: 50px;
    }

    main .homePrimavera .row {
        padding-top: 100px;
    }

    main .homePrimavera .intro h1 {
        font-size: 90px;
    }

    main .homePrimavera .intro p {
        font-size: 18px;
    }

    main .homePrimavera .social {
        text-align: center;
    }


    /*------------------------- SERGIO -------------------------*/

    main .homeSergio {
        padding-bottom: 50px;
    }

    main .homeSergio .row {
        padding-top: 100px;
    }

    main .homeSergio .intro h1 {
        font-size: 90px;
    }

    main .homeSergio .intro p {
        font-size: 18px;
    }

    main .homeSergio .social {
        text-align: center;
    }

}



/*------------------------- RESPONSIVE MOBILE -------------------------*/


@media screen and (max-width:769px) {
    i {
        font-size: 40px;
        transition: 0.5s;
    }

    a:hover i {
        color: #05F2C7;
    }

    .cd-container .title {
        font-size: 65px;
    }

    main .home {
        background-image: url(/img/background.png);
        min-height: 850px;
    }

    main .home .menu {
        display: block;
        padding-top: 50px;
    }

    main .home .logo {
        display: none;
    }

    main .home .header {
        display: none;
    }

    main .home .dot {
        height: 70px;
        width: 70px;
    }

    main .home .row {
        padding-top: 100px;
    }

    main .home .intro h1 {
        font-size: 60px;
        text-align: left;
    }

    main .home .intro p {
        font-size: 16px;
    }

    main .home .social {
        padding-top: 40px;
    }

    main .home .social i {
        margin: 20px;
        color: white;
    }

    main .quote {
        background-color: #05F2C7;
        color: white;
        padding: 100px 0px;
    }

    main .quote p {
        font-size: 30px;
        padding: 0px 0px 20px;
    }

    main .quote h3 {
        font-size: 20px;
        padding: 0px;
    }

    main .about {
        padding: 80px 0px 0px;
    }

    main .about .info {
        color: white;
        padding: 60px 0px 0px 0px;
    }

    main .about .info hr {
        border: 2px solid #05F2C7;
        margin: 0px 20px;
    }

    main .about .info h2 {
        font-family: 'Montserrat';
        font-size: 60px;
    }

    main .about .info p {
        font-size: 16px;
        word-spacing: 2px;
        padding: 20px 15px;
    }

    main .works .title {
        display: none;
    }

    main .works .titleMobile {
        display: block;
        padding: 90px 0px 65px;
    }

    main .works .titleMobile img {
        width: 100%;
    }

    /*
    main .works .title h1 {
        color: white;
        font-size: 60px;
        white-space: nowrap;
        position: relative;
        left: -400px;
    }

    main .works .title h2 {
        color: white;
        font-size: 60px;
        white-space: nowrap;
        position: relative;
        right: 100px;
    }
*/

    main .works .description p {
        font-family: 'Raleway';
        font-size: 22px;
        color: white;
    }

    footer {
        padding: 25px 0px 80px;
    }

    footer .contact {
        padding-bottom: 20px;
    }

    footer i {
        color: white;
        font-size: 40px;
    }

    footer p,
    footer a {
        color: white;
        font-size: 16px;
    }

    .backToTop {
        position: fixed;
        /* es queda en un espai fixe del navegador*/
        bottom: 50px;
        right: 10px;
        border-radius: 55px;
        font-size: 20px;
        padding: 7px 6px 3px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
        background-color: #05F2C7;
        cursor: pointer;
    }

    /*------------------------- XPLORE -------------------------*/

    main .homeXplore {
        padding-bottom: 50px;
    }

    main .homeXplore .logo {
        display: none;
    }

    main .homeXplore .header {
        display: none;
    }

    main .homeXplore .menu {
        display: block;
        padding-top: 50px;
    }

    main .homeXplore .row {
        padding-top: 100px;
    }

    main .homeXplore .intro h1 {
        font-size: 60px;
    }

    main .homeXplore .intro p {
        color: white;
        font-size: 16px;
    }

    main .homeXplore .social {
        padding-top: 40px;
        text-align: center;
    }

    main .gallery img {
        width: 100%;
        margin: 25px 0px;
    }

    main .gallery p {
        font-size: 16px;
    }



    /*------------------------- PRIMAVERA -------------------------*/

    main .homePrimavera {
        padding-bottom: 50px;
    }

    main .homePrimavera .logo {
        display: none;
    }

    main .homePrimavera .header {
        display: none;
    }

    main .homePrimavera .menu {
        display: block;
        padding-top: 50px;
    }

    main .homePrimavera .row {
        padding-top: 100px;
    }

    main .homePrimavera .intro h1 {
        font-size: 60px;
    }

    main .homePrimavera .intro p {
        color: white;
        font-size: 16px;
    }

    main .homePrimavera .social {
        padding-top: 40px;
        text-align: center;
    }

    /*------------------------- SERGIO -------------------------*/

    main .homeSergio {
        padding-bottom: 50px;
    }

    main .homeSergio .logo {
        display: none;
    }

    main .homeSergio .header {
        display: none;
    }

    main .homeSergio .menu {
        display: block;
        padding-top: 50px;
    }

    main .homeSergio .row {
        padding-top: 100px;
    }

    main .homeSergio .intro h1 {
        font-size: 60px;
    }

    main .homeSergio .intro p {
        color: white;
        font-size: 16px;
    }

    main .homeSergio .social {
        padding-top: 40px;
        text-align: center;
    }
}
