@font-face {
    font-family: "D-DIN";
    src: url("d-din/D-DIN.otf");
    font-weight: normal;
  }

@font-face {
    font-family: "D-DIN";
    src: url("d-din/D-DIN-Bold.otf");
    font-weight: bold;
}

*  {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family:  D-DIN, Arial, Helvetica, sans-serif;
    font-size: 16px;
    background: white;
    color: #121515;
    scroll-behavior: smooth;
}

.oculto, .hidden {
    display: none;
}

/* COLORES */

.fondo-blanco {
    background: white;
}

.verde {
    color: #6FC3C6;
}

.fondo-verde {
    background: #E3F3F3;
}

.fondo-verde100 {
    background: #6FC3C6;
}

.rosa {
    color: #C36286;
}

.fondo-rosa {
    background: #F4E0E7;
}

.fondo-rosa100 {
    background: #C36286;
}

.lila {
    color: #666DCC;
}

.fondo-lila {
    background: #E1E2F5;
}

.fondo-lila100 {
    background: #666DCC;
}

.azul {
    color: #5F96CA;
}

.fondo-azul {
    background: #DFEAF5;
}

.fondo-azul100 {
    background: #5F96CA;
}


/* BÁSICOS */

a {
    color: #121515;
    text-decoration: none;
}

h1,
h2 {
    font-weight: normal;
}

h1 {
    font-size: 36px;
    line-height: 40px;
}

h2 {
    font-size: 20px;
    line-height: 24px;
}

p {
    font-size: 16px;
    line-height: 30px;
    margin-top: 40px;
}

img {
    display: block;
    margin: auto;
}

/* ARROW RIGHT ICON */
.gg-arrow-right {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs,1));
    width: 22px;
    height: 22px
   }
   
   .gg-arrow-right::after,
   .gg-arrow-right::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    right: 2px
   }
   
   .gg-arrow-right::after {
    width: 9px;
    height: 9px;
    border-top: 1px solid;
    border-right: 1px solid;
    transform: rotate(45deg);
    bottom: 2px
   }
   
   .gg-arrow-right::before {
    width: 24px;
    height: 1px;
    bottom: 6px;
    background: currentColor
   } 


   .flecha {
        display: inline-block;
        line-height: 1;
        margin-left: 12px;
   }

/* NAVBAR */

.sticky {
    position: sticky;
    top: 0;
    z-index: 20;
}

.navbar {
    height: 40px;
    margin: 0 auto;
    max-width: 1024px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar p {
    font-size: 18px;
    margin: 0;
}

.navbar ul {
    list-style: none;
    display: flex;
    font-size: 16px
}

.navbar li {
    padding-left: 15px;
}

.sombra-navbar {
    box-shadow: 0px 1px 4px 0px rgba(18, 21, 21, 0.1);
}

/* HOME - HEADER */

.header {
    height: 360px;
    margin: 0 auto;
    max-width: 1024px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header h1 {
    font-size: 44px;
    font-weight: bold;
}

.header h2 {
    margin-top: 25px;
    font-size: 30px;
    font-weight: normal;
    line-height: 32px;
}

@keyframes cambiar-color {
    0%   {color: #666DCC;}
    25%  {color: #C36286;}
    50%  {color: #5F96CA;}
    75% {color: #6FC3C6;}
    100% {color: #666DCC;}
  }
  
.txtYolanda {
    width: 100px;
    height: 100px;
    color: #666DCC;
    animation-name: cambiar-color;
    animation-duration: 5s;
    animation-iteration-count: infinite;
  }


/* HOME - MAIN */

#trabajos {
    margin: 0 auto;
    max-width: 1024px;
    margin-bottom: 8px;
    padding: 0 15px;    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#trabajos .p {
    
    font-size: 18px;
}

.subtitulo-trabajos {
    margin-top: 0px;
    color: #8C9494;
    font-size: 14px;
}

.proyecto-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 15px 100px 15px;
}

.mockup {
    height: 180px;
    width: 250px;
    margin-bottom: 60px;
}

.mockup img {
    height: 100%;
}

/* animaciones */
@keyframes come-in {
    to { transform: translateY(-10px); }
  }

.come-in {
    animation: come-in 1.2s ease forwards;
    animation-delay: 0.2s;
  }

.come-in30 {
transform: translateY(20px);
animation: come-in 1.2s ease forwards;
animation-delay: 0.2s;
}

.come-in:nth-child(even) {
    transform: translateY(-10px);
    animation-duration: 1.4s;
    animation-delay: 0.1s;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fade-in 1.5s ease;
  }
  /* fin animaciones */



.descripcion-proyecto h2 {
    margin-top: 15px;
}

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

.descripcion-proyecto a {
    transition: all 0.5s ease;
}




/* ABOUT - MAIN */

.about {
    margin: 0 auto;
    max-width: 1024px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.img-container img{
    width: 100%;
    margin-top: 40px;
}

.about img {
    width: 100%;
}

.img-yr {
    height: 340px;
    width: 340px;
    margin-bottom: 80px;
    padding: 0 15px;
}

.descripcion-about {
    padding: 0 15px;
}

.descripcion-about > p.rrss > a {
    font-size: 30px;
    margin-right: 20px;
}

@media screen and (min-width: 768px){

    /* HOME */
    .proyecto-home {
        flex-direction: row;
    }
    .proyecto-home:nth-child(odd) {
        flex-direction: row-reverse;
    }

    .mockup {
        height: 250px;
        width: 390px;
        transition: all 0.5s ease;
    }

    .proyecto-home:nth-child(odd) .mockup {
        margin-left: 70px;
    }

    .proyecto-home:nth-child(even) .mockup {
        margin-right: 70px;
    }

    .mockup > a > img  {
        transition: all 0.5s ease;
    }

    .mockup > a > img:hover {
        transform: scale(1.05,1.05);
        transition: all 0.5s ease;
    }

    .descripcion-proyecto p {
        margin-top: 70px;
    }

    .descripcion-proyecto a:hover {
        font-size: 20px;
        transition: all 0.5s ease;
    }

    /* ABOUT */
    .about {
        flex-direction: row;
        align-items: flex-start;
    }

    .img-yr {
        margin: 0 100px 0 0;
        height: 380px;
        min-width: 380px;
    }
}