/* FUENTES IMPORTADAS
=============================================================================================*/ 
@font-face {
    font-family: NexaBold;
    src: url(../assets/fonts/nexa/bold/Nexa-Bold.eot), url(../assets/fonts/nexa/bold/Nexa-Bold.otf), url(../assets/fonts/nexa/bold/Nexa-Bold.ttf);
    }

@font-face {
    font-family: NexaLight;
    src: url(../assets/fonts/nexa/light/Nexa-Light.eot), url(../assets/fonts/nexa/light/Nexa-Light.otf), url(../assets/fonts/nexa/light/Nexa-Light.ttf);
    }

/* NORMALIZE
====================================================================================================*/

    /**
    * 1. Correct the line height in all browsers.
    * 2. Prevent adjustments of font size after orientation changes in iOS.
    */

    html {
        line-height: 1.15; /* 1 */
        -webkit-text-size-adjust: 100%; /* 2 */
    }
    
    /* Sections
        ========================================================================== */
    
    /**
    * Remove the margin in all browsers.
    */
    
    body {
        margin: 0;
    }
    
    /**
    * Render the `main` element consistently in IE.
    */
    
    main {
        display: block;
    }
    
    /**
    * Correct the font size and margin on `h1` elements within `section` and
    * `article` contexts in Chrome, Firefox, and Safari.
    */
    
    h1 {
        font-size: 2em;
        margin: 0.67em 0;
    }
    
    /* Grouping content
        ========================================================================== */
    
    /**
    * 1. Add the correct box sizing in Firefox.
    * 2. Show the overflow in Edge and IE.
    */
    
    hr {
        box-sizing: content-box; /* 1 */
        height: 0; /* 1 */
        overflow: visible; /* 2 */
    }
    
    /**
    * 1. Correct the inheritance and scaling of font size in all browsers.
    * 2. Correct the odd `em` font sizing in all browsers.
    */
    
    pre {
        font-family: monospace, monospace; /* 1 */
        font-size: 1em; /* 2 */
    }
    
    /* Text-level semantics
        ========================================================================== */
    
    /**
    * Remove the gray background on active links in IE 10.
    */
    
    a {
        background-color: transparent;
    }
    
    /**
    * 1. Remove the bottom border in Chrome 57-
    * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
    */
    
    abbr[title] {
        border-bottom: none; /* 1 */
        text-decoration: underline; /* 2 */
        text-decoration: underline dotted; /* 2 */
    }
    
    /**
    * Add the correct font weight in Chrome, Edge, and Safari.
    */
    
    b,
    strong {
        font-weight: bolder;
    }
    
    /**
    * 1. Correct the inheritance and scaling of font size in all browsers.
    * 2. Correct the odd `em` font sizing in all browsers.
    */
    
    code,
    kbd,
    samp {
        font-family: monospace, monospace; /* 1 */
        font-size: 1em; /* 2 */
    }
    
    /**
    * Add the correct font size in all browsers.
    */
    
    small {
        font-size: 80%;
    }
    
    /**
    * Prevent `sub` and `sup` elements from affecting the line height in
    * all browsers.
    */
    
    sub,
    sup {
        font-size: 75%;
        line-height: 0;
        position: relative;
        vertical-align: baseline;
    }
    
    sub {
        bottom: -0.25em;
    }
    
    sup {
        top: -0.5em;
    }
    
    /* Embedded content
        ========================================================================== */
    
    /**
    * Remove the border on images inside links in IE 10.
    */
    
    img {
        border-style: none;
    }
    
    /* Forms
        ========================================================================== */
    
    /**
    * 1. Change the font styles in all browsers.
    * 2. Remove the margin in Firefox and Safari.
    */
    
    button,
    input,
    optgroup,
    select,
    textarea {
        font-family: inherit; /* 1 */
        font-size: 100%; /* 1 */
        line-height: 1.15; /* 1 */
        margin: 0; /* 2 */
    }
    
    /**
    * Show the overflow in IE.
    * 1. Show the overflow in Edge.
    */
    
    button,
    input { /* 1 */
        overflow: visible;
    }
    
    /**
    * Remove the inheritance of text transform in Edge, Firefox, and IE.
    * 1. Remove the inheritance of text transform in Firefox.
    */
    
    button,
    select { /* 1 */
        text-transform: none;
    }
    
    /**
    * Correct the inability to style clickable types in iOS and Safari.
    */
    
    button,
    [type="button"],
    [type="reset"],
    [type="submit"] {
        -webkit-appearance: button;
    }
    
    /**
    * Remove the inner border and padding in Firefox.
    */
    
    button::-moz-focus-inner,
    [type="button"]::-moz-focus-inner,
    [type="reset"]::-moz-focus-inner,
    [type="submit"]::-moz-focus-inner {
        border-style: none;
        padding: 0;
    }
    
    /**
    * Restore the focus styles unset by the previous rule.
    */
    
    button:-moz-focusring,
    [type="button"]:-moz-focusring,
    [type="reset"]:-moz-focusring,
    [type="submit"]:-moz-focusring {
        outline: 1px dotted ButtonText;
    }
    
    /**
    * Correct the padding in Firefox.
    */
    
    fieldset {
        padding: 0.35em 0.75em 0.625em;
    }
    
    /**
    * 1. Correct the text wrapping in Edge and IE.
    * 2. Correct the color inheritance from `fieldset` elements in IE.
    * 3. Remove the padding so developers are not caught out when they zero out
    *    `fieldset` elements in all browsers.
    */
    
    legend {
        box-sizing: border-box; /* 1 */
        color: inherit; /* 2 */
        display: table; /* 1 */
        max-width: 100%; /* 1 */
        padding: 0; /* 3 */
        white-space: normal; /* 1 */
    }
    
    /**
    * Add the correct vertical alignment in Chrome, Firefox, and Opera.
    */
    
    progress {
        vertical-align: baseline;
    }
    
    /**
    * Remove the default vertical scrollbar in IE 10+.
    */
    
    textarea {
        overflow: auto;
    }
    
    /**
    * 1. Add the correct box sizing in IE 10.
    * 2. Remove the padding in IE 10.
    */
    
    [type="checkbox"],
    [type="radio"] {
        box-sizing: border-box; /* 1 */
        padding: 0; /* 2 */
    }
    
    /**
    * Correct the cursor style of increment and decrement buttons in Chrome.
    */
    
    [type="number"]::-webkit-inner-spin-button,
    [type="number"]::-webkit-outer-spin-button {
        height: auto;
    }
    
    /**
    * 1. Correct the odd appearance in Chrome and Safari.
    * 2. Correct the outline style in Safari.
    */
    
    [type="search"] {
        -webkit-appearance: textfield; /* 1 */
        outline-offset: -2px; /* 2 */
    }
    
    /**
    * Remove the inner padding in Chrome and Safari on macOS.
    */
    
    [type="search"]::-webkit-search-decoration {
        -webkit-appearance: none;
    }
    
    /**
    * 1. Correct the inability to style clickable types in iOS and Safari.
    * 2. Change font properties to `inherit` in Safari.
    */
    
    ::-webkit-file-upload-button {
        -webkit-appearance: button; /* 1 */
        font: inherit; /* 2 */
    }
    
    /* Interactive
        ========================================================================== */
    
    /*
    * Add the correct display in Edge, IE 10+, and Firefox.
    */
    
    details {
        display: block;
    }
    
    /*
    * Add the correct display in all browsers.
    */
    
    summary {
        display: list-item;
    }
    
    /* Misc
        ========================================================================== */
    
    /**
    * Add the correct display in IE 10+.
    */
    
    template {
        display: none;
    }
    
    /**
    * Add the correct display in IE 10.
    */
    
    [hidden] {
        display: none;
    }


/* SCROLLBAR
=================================================================================================*/

::-webkit-scrollbar {display: none;}

/* GENERAL
===================================================================================================*/
html {
    overflow-x: hidden;
    font-size: 16px;
    font-family: 'NexaLight';
}

html.scrollOff {
    overflow-y: hidden;
}

body {
    margin: 0;
}

h1, h2 {
    font-family: 'NexaBold';
    text-transform: uppercase;
}

ul {
    list-style: none;
    margin: 0;
}

li {
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
}

svg {
    height: inherit;
}

.see-more {
    height: 1rem;
    padding: 5px 0;
    opacity: 1;
    transition: 1s ease-in-out;
}

.see-more a, .see-more span {
    height: inherit;
}

#projects-galery .see-more{
    color: #212222;
}

.close {
    width: 3rem;
    height: 3rem;
    position: absolute;
    top: 20%;
    right: -1.5rem;
    opacity: 0;
    transition: 1s ease-in-out;
    z-index: 6;
}

@media only screen and (min-width: 1px) {
    /* HEADER */
    .header {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: fit-content;
        background-image: url(../assets/images/projects/content/cover.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .header h1 {
        color: #FFFFFF;
        font-size: 2rem;
    } 

    .back__btn {
        height: 2rem;
        position: fixed;
        z-index: 5;
        top: 1rem;
        left: 1rem;
    }

    /* CAROUSEL */
      
      .center_x{
        position: relative;
        left:50%;
        transform: translateX(-50%);
      }
      
      .carousel{
        width: 80%;
        height: 30vh;
        position: relative;
        overflow: hidden;
        align-self: center;
      }
      
      .slide{
        height: 100%;
        width: 100%;
        position: absolute;
      }
      
      .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      .slider-arrow{
        color: #FFC600;
        font-size: 2rem;
        cursor: pointer;
        position: absolute;
      }

      #arrows-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
      }
      
      
      #arrow-prev{
        left: 20px;
      }
      
      #arrow-next{
        right: 20px;
      }
      
      #dots-wrapper{
        display: flex;
        position: absolute;
        bottom: 30px;
      }
      
      .dot-nav{
        width: .8rem;
        height: .8rem;
        border-radius: 100%;
        cursor: pointer;
        margin: 0 8px;
        border: 2px solid #FFC600;
      }
      
      .dot-nav:hover{
        background-color: #FFC600;
      }
      
      .active-dot{
        background-color: #FFC600;
      }
      
      .fade{
        animation-name: fade;
        animation-duration: .5s;
      }
      
      @keyframes fade{
        from {opacity: .4}
        to { opacity: 1}
      }
    

    /* PROJECT DETAILS */

    .project__details {
        width: 70vw;
        display: flex;
        flex-direction: column;
        margin: 20px auto;

    }

    .project__details p {
        text-align: justify;
    }

    .project__title {
        margin: 20px 0;
    }

    .project__title h4 {
        text-transform: uppercase;
        color: #cccccc;
        font-size: .8rem;
        list-style-type: disc;
        margin: 0 5px;
    }

    .project__title h4::before {
        content: '• ';
        color: #FFC600;
        font-size: 1rem;
    }

    .section__title {
        display: flex;
    }

    .section__title svg{
        height: 1rem;
    }

    .project__title h1{
        background-color: #FFC600;
        text-align: center;
        margin: 5px 0 0 0;
    }

    .project__details h2 {
        font-size: 1.2rem;
        position: relative;
    }

    .project__details h2::before {
        position: absolute;
        content: '';
        height: 100%;
        width: 5px;
        background: #FFC600;
        opacity: 1;
        transform: translateX(-10px);
    }

    .project__numbers .numbers {
        display: flex;
        flex-wrap: wrap;
    }
    
    .project__numbers .numbers p{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        color: #818181;
        text-align: center;
    }

    .project__numbers .numbers span{
        color: #FFC600;
        font-family: 'NexaBold';
        font-size: 2rem;
    }

    .project__results li {
        position: relative;
    }

    .project__results li::before {
        content: '■';
        position: absolute;
        color: #FFC600;
        transform: translateX(-20px);
    }
    
    /* FOOTER */

    .footer {
        width: 100vw;
        display: flex;
        flex-direction: column;
        background-color: #161717;
        justify-content: center;
        align-items: center;
    }

    .footer__logo {
        height: 4rem;
    }

    .footer__text {
        color: #fff;
        text-align: center;
    }

    .footer__social {
        display: flex;
        width: 50%;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        position: relative;
        overflow: hidden;
    }

    .social__icon {
        width: 3rem;
        margin: .5rem;
    }
    
}

@media only screen and (min-width: 425px) {
    .project__numbers .numbers p{
        width: 50%;
    }
    
}

@media only screen and (min-width: 768px) {

    .header {
        padding: 20px 0;
    }

    .back__btn {
        height: 2.5rem;
        top: 2rem;
        left: 2rem;
    }
    
    .project__numbers .numbers p{
        width: 25%;
    }

    .carousel{
        height: 40vh;
      }

    /* FOOTER */

    .footer {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .footer__logo {
        width: 25%;
    }

    .footer__social {
        width: fit-content;
    }
    

}

@media only screen and (min-width: 1024px) {

    .header {
        padding: 30px 0;
    }

    .back__btn {
        top: 3rem;
        left: 3rem;
    }

    .carousel{
        height: 50vh;
      }
    
    .footer__logo {
        width: 20%;
    }
}

@media only screen and (min-width: 1300px) {
    
    .footer__logo {
        width: 15%;
    }
}




.fade-in {
    -webkit-animation-name: fade-in;
    -webkit-animation-duration: 1.5s;
    animation-name: fade-in;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
}

.slide-right-in {
    -webkit-animation-name: slide-right-in;
    -webkit-animation-duration: 1.5s;
    animation-name: slide-right-in;
    animation-duration: 1.5s;
}

@-webkit-keyframes slide-right-in {
    from {transform: translateX(100%)}
    to {transform: translateX(0)}
}

@keyframes slide-right-in {
    from {transform: translateX(100%)}
    to {transform: translateX(0)}
}

@keyframes line-anim{
    to{
        stroke-dashoffset: 0;
    }
}

@keyframes fill-white {
    to {
        fill: #FFFFFF;
    }
}

@keyframes fill-yellow {
    to {
        fill: #ffc600;
    }
}