/* PROYECTO - HEADER */

.proyecto {
    min-height: 500px;
    padding: 100px 15px 50px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.proyecto .descripcion-proyecto {
    margin-top: 40px;
}


/* MAIN */

.proyecto-main {
    display: flex;
    flex-direction: column;
    padding: 100px 15px;
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
}

/* NAV */
.mostrar-nav {
    height: 50px;
    width: 50px;
    min-width: 50px;
    margin: 0 -15px 0 0;
    position: sticky;
    top: 80px;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30;
    transition: all .5s;
}

.sombra {
    box-shadow: 0px 2px 8px 0px rgba(18, 21, 21, 0.2);
}

.navigation {
    width: 100vh;
    padding: 150px 20% 120px 20%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(100vh);
    transition: all .5s;
    z-index: 30;
}

.navigation li {
    margin-bottom: 20px;
}

.navigation a {
    color: white;
}

.navigation > ul > li.active {
    margin: 25px 0;
    padding-bottom: 15px;
    font-weight: bold;
    font-size: 24px;
    /* transition: all .5s; */
}

.abrir-menu {
    transform: translateX(0);
    transition: all .5s;
}

.cerrar {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 40;
    transition: all .5s;
}

/* ICONO MENU DESPLEGABLE */
.gg-menu-motion {
    color: white;
    box-sizing: border-box;
    position: relative;
    display: block;
    width: 18px;
    height: 14px;
    transform: scale(var(--ggs,1.4));
   }
   
   .gg-menu-motion::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    display: block;
    width: 10px;
    height: 2px;
    bottom: 0;
    box-shadow: 4px -6px 0,8px -12px 0;
    border-radius: 4px;
    background: currentColor
   } 

/* ICONO CERRAR */
   .gg-close {
    color: white;
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1.4));
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 40px;
   }
   
   .gg-close::after,
   .gg-close::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 16px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 5px;
    top: 8px;
    left: 1px
   }
   
   .gg-close::after {
    transform: rotate(-45deg)
   } 


/* CONTENIDO */

.proyecto-info,
.seccion-proyecto {
    margin: 0 auto;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
}

.proyecto-info h1 {
    margin-top: 80px;
}

.proyecto-info > h1:first-child {
    margin-top: -30px;
}

.proyecto-info h2 {
    font-size: 20px;
    line-height: 30px;
    margin-top: 40px;
    margin-bottom: -20px;
}

.quote {
    position: relative;
    margin-top: 50px;
    z-index: 0;
}

.quote:before {
    content: '“';
    font-size: 100px;
    font-family: 'Overpass', sans-serif;
    position: absolute;
    top: -20px;
}

.quote p {
    font-weight: bold;
    font-size: 28px;
    line-height: 42px;
}

.seccion-proyecto > ul {
    margin-top: 20px;
    margin-left: 20px; 
    line-height: 30px;
}

.seccion-proyecto > ul > li::before {
    content: "\2022";
    display: inline-block;
    width: 1em;
}

.seccion-proyecto > ul > li.bullet-verde:before {
    color: #6FC3C6;
}

.seccion-proyecto > ul > li.bullet-rosa:before  {
    color: #C36286;
}

.seccion-proyecto > ul > li.bullet-lila:before  {
    color: #666DCC;
}

.seccion-proyecto > ul > li.bullet-azul:before  {
    color: #5F96CA;
}



.datos-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.dato {
    max-width: 140px;
}

.dato h1 {
    font-weight: bold;
    font-size: 60px;
    margin-top: 50px;
}

.dato h2 {
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    margin-top: 20px;
}

iframe.prototipo {
    display: none;
}

img.prototipo {
    display: block;
}

.img-container img:hover {
    opacity: 0.7;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    z-index: 50;
}

.hiddenTxt:hover {
    cursor: pointer;
}

/* Modal Content (imagen) */
.modal-content {
    margin: auto;
    display: block;
    width: 200%;
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
    overflow: auto;
}

.out {
    animation-name: zoom-out;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0.4)}
    to {transform:scale(1)}
}

@keyframes zoom-out {
    from {transform:scale(1)}
    to {transform:scale(0)}
}

.cerrarModal {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 60;
}

.cerrarModal:hover,
.cerrarModal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* Botón back to top */
#back-to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    text-align: center;
    position: fixed;
    bottom: 10px;
    right: 10px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 50;
  }

  #back-to-top.show {
    opacity: 1;
    visibility: visible;
  }

  .invision body.mobile {
    background: white!important;
  }

  /* Icono back to top */
  .gg-chevron-up {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1.4));
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 100px;
    color: white;
   }
   
   .gg-chevron-up::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-right: 2px solid;
    transform: rotate(-45deg);
    left: 4px;
    bottom: 2px
   } 



/* MEDIA QUERIES */

@media screen and (min-width: 550px){
    .datos-container {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    iframe.prototipo {
        display: block;
    }

    img.prototipo {
        display: none;
    }
}

@media screen and (min-width: 768px){
    iframe.prototipo {
        display: block;
    }

    img.prototipo {
        display: none;
    }

    .proyecto {
        flex-direction: row-reverse;
        justify-content: center;
    }

    .proyecto .mockup {
        margin-left: 140px;
    }
    
    .datos-container {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .img-container img {
        width: 120%;
        margin-left: -10%;
    }

    .modal-content {
        width: 80%;
        max-width: 100%;
    }

}

@media screen and (min-width: 1024px){
     .proyecto-main {
        flex-direction: row;
        padding: 100px 15px;
        max-width: 1024px;
        margin: 0 auto;
        position: relative;
    }

    iframe.prototipo {
        display: block;
    }

    img.prototipo {
        display: none;
    }
    
    /* NAV */
     .navigation {
        padding: unset;
        transform: unset;
        height: 200px;
        max-width: 140px;
        position: sticky;
        margin-top: 60px;
        top: 80px;
        background: none;
    }

    .navigation li {
        margin-bottom: 20px;
    }
    
    .navigation a {
        color: #686B6B;
    }
    
    .navigation > ul > li.active {
        color: #121515;
        margin: 25px 0;
        padding-bottom: 15px;
        font-weight: bold;
        font-size: 20px;
    }

    .navigation > ul > li.borde-nav-verde {
        border-bottom: 2px solid #6FC3C6;
    }

    .navigation > ul > li.borde-nav-rosa {
        border-bottom: 2px solid #C36286;
    }

    .navigation > ul > li.borde-nav-lila {
        border-bottom: 2px solid #666DCC;
    }

    .navigation > ul > li.borde-nav-azul {
        border-bottom: 2px solid #5F96CA;
    }
    
    .navigation > ul > li.active > a {
        color: #121515;
    }

    .mostrar-nav {
        display: none;
    }
        
    .proyecto-info > h1:first-child {
        margin-top: 20px;
    }

    #back-to-top {
        bottom: 30px;
        right: 30px;
    }

    #back-to-top:hover {
    opacity: 0.5;
    cursor: pointer;
    }
}

