*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    scroll-behavior: smooth;
}
body{
    font-family: 'Open Sans', sans-serif;
}
.contenedor{
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    margin: auto;
    padding: 60px 0;
}

/* HEADER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
header::before {
    content: "";
    display: block;
    margin-bottom: 80px;
}
.contenido-header {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contenido-header>img {
    width: 33%;
    animation: ease-in animat 1s;
}
@keyframes animat {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
.left>img  {
    margin: 0 0 100px 40px;
    width: 60%;
}
/* Breakpoints responsive
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 700px){
    /* ... */
    .contenido-header {
        flex-direction: column;
        justify-content: space-evenly;
        height: 820px;
    }
    .left {
        margin: 0 0 0 0;
        width: 60%;
    }
    .left>img  {
        margin: 0 0 0 0;
        width: 100%;
    }
    .contenido-header>img {
        width: 70%;
    }
}
@media screen and (max-width: 500px){
    /* ... */
    .contenido-header {
        height: 550px;
    }
    .left {
        margin: 0 0 0 0;
        width: 60%;
    }
    .left>img  {
        margin: 0 0 0 0;
        width: 100%;
    }
    .contenido-header>img {
        width: 70%;
    }
}

/* NAVBAR
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.navigation {
    content: "";
    display: block;
    /* margin-bottom: 80px; */
}
    nav {
        width: 100%;
        height: 90px;
        background-color: transparent;
        border-bottom: 1px solid transparent;
        box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .2);
        position: fixed;
        top: 0;
        z-index: 100;
        transition: ease-in-out 0.5s;
    }
    .nav {
        width: 100%;
        height: 88px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav .logo {
        height: 75px;
        margin-left: 66px;
    }
    .nav .logo img {
        height: 70%;
        vertical-align: top;
        margin-top: 10px;
    }
    .enlaces-header {
        font-weight: 700;
        transition: ease-in-out 0.5s;
        margin-right: 40px;
    }
    .enlaces-header .enlaces-nav{
        margin-top: 20px;
    }
    .enlaces-header .enlaces-icon{
        margin-left: 10%;
    }
    .enlaces-header .enlaces-icon a{
        color: black;
        text-decoration: none;
        margin-left: 44px;
    }
    .enlaces-header .enlaces-nav a {
        color: black;
        text-decoration: none;
        margin-left: 20px;
    }
    .enlaces-header .enlaces-nav .active {
        color: #9fa3a9;
    }
    .enlaces-header a:hover {
        border-top: 2px solid #171718;
        border-bottom: 2px solid #171718;
    }
    .hamburguer {
        width: 80px;
        height: 80px;
        display: none;
        text-align: center;
        z-index: 100;
        cursor: pointer;
        transition: color 0.5s ease-in;
    }
    .hamburguer>i {
        font-size: 25px;
        line-height: 80px;
    }

/* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
footer {
    background: #9fa3a9;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 32px;
    /* margin: auto; */
    padding-bottom: 0.1px;
}
/* FOOTER SECCTION #1 */
.contenedor-one {
    width: 90%;
    margin: auto;
    overflow: hidden;
}
.footer-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 60px;
    padding-bottom: 40px;
}
.contact-us{
    width: 40%;
    color: #171718;
}
.brand{
    font-weight: 700;
    font-size: 40px;
}
.brand+p{
    font-weight: 500;
    color: #171718
    /* color: #3D302A; */
}
.social-media{
    width: 50%;
    display: flex;
    justify-content: flex-end;
}
.social-media-icon{
    display: inline-block;
    margin-left: 20px;
    width: 60px;
    height: 60px;
    border: 1px solid #171718;
    border-radius: 50%;
    text-align: center;
    color: #171718;
}
.social-media-icon i{
    font-size: 30px;
    line-height: 60px;
}
.line{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    height: 2px;
    background: #393d42;
}
.social-media-icon:hover{
    background: #393d42;
    color:#ffffff;
}
/* FOOTER SECCTION #2 */ 
.two {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 0;
    width: 90%;
    margin: auto;
}
.partFooter {
    width: 30%;
    text-align: left;
}
.partFooter h4 {
    color: #1f2124;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
.partFooter a {
    display: block;
    text-decoration: none;
    color: #393d42;
    font-weight: 300;
    transition: color .3s ease-in-out;
    margin-bottom: 10px;
}
.partFooter .left {
    margin-bottom: 30px;
}
.partFooter a:hover {
    color: #ffffff;
}
.partFooter img {
    width: 80%;
}
.sub-footer {
    margin-bottom: 10px;
    font-size: 14px;
    color: #1d273b;
}
.copyright {
    color: #1d273b;
}
/* Breakpoints responsive NAVBAR & FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width:800px) {
    /* NAVIGATION */
    .nav .logo {
        margin: 0 0 0 30px;
    }
    .nav .logo img {
        height: 60%;
        vertical-align: top;
        margin-top: 20px;
    }
    /* Footer */
    .footer-content{
        justify-content: center;
    }
    .social-media{
        width: 80%;
        justify-content: space-evenly;
    }
    .social-media-icon{
        margin-left: 0;
    }
    .contact-us{
        text-align: center;
        width: 80%;
        margin-bottom: 40px;
    }
    footer {
        justify-content: space-evenly;
    }
    .partFooter {
        width: 40%;
        margin-bottom: 40px;
    }
}
@media screen and (max-width:700px) {
    /* NAVIGATION */
    .nav {
        padding: 0 10px;
    }
    .nav .logo {
        margin: 0 0 0 30px;
    }
    .nav .logo img {
        height: 60%;
        vertical-align: top;
        margin-top: 20px;
    }
    .enlaces-header {
        position: fixed;
        background: #667db6;
        /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #667db6, #9fa3a9, #9fa3a9, #667db6);
        /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #667db6, #9fa3a9, #9fa3a9, #667db6);
        /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;
        clip-path: circle(0.0% at 100% 0);
        margin: 0;
    }
    .enlaces-header .enlaces-icon {
        margin: 40px 0 0 0;
    }
    .enlaces-header .enlaces-icon a {
        margin-left: 20px;
        font-size: 2em;
    }
    .enlaces-header .enlaces-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    .enlaces-header .enlaces-nav .active {
      color: #0e0e0e;
    }
    .enlaces-header .enlaces-nav a {
        margin: 40px 0 0 0;
        font-size: 1.2em;
    }
    .nav .menudos {
        -webkit-clip-path: circle(150% at 100% 0);
        clip-path: circle(150% at 100% 0);
    }

    .nav .enlaces-header a {
        color: #fff;
    }

    .hamburguer {
        display: block;
    }
    /* Footer */
    .social-media{
        width: 100%;
        justify-content: space-evenly;
    }
    .social-media-icon{
        margin-left: 0;
    }
    .contact-us{
        text-align: center;
        width: 95%;
        margin-bottom: 40px;
    }
    .partFooter {
        width: 95%;
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 500px) {
    /* NAVIGATION */
    .nav {
        padding: 0 10px;
    }
    .nav .logo {
        margin: 0 0 0 10px;
    }
    .nav .logo img {
        height: 50%;
        vertical-align: top;
        margin-top: 20px;
    }
}


/* MAIN
–––––––––––––––––––––––––––––––––––––––––––––––––– */
main {
    width: 90vw;
    margin: auto;
    overflow: hidden;
}
.go-top-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.6rem;
  height: 3.6rem;
  z-index: -1;
}
.go-top-button {
  width: 0rem;
  height: 0rem;
  background: #2071b2;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  text-align: center;
}
.go-top-button i {
  position: absolute;
  font-size: 1.7rem;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: #fff;
  transition: 0.2s;
}
.show {
  z-index: 10;
}
.show .go-top-button {
  animation: popup 0.3s ease-in-out;
  width: 3.6rem;
  height: 3.6rem;
  z-index: 11;
}
.show i {
  transform: translate(-50%, -50%) scale(1);
}

/* WORKS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.work {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    width: 75vw;
    margin: 200px auto;
}
.work_container {
    overflow: hidden;
    position: relative;
}
.work_container:hover img {
    -webkit-transform:scale(1.2);
    transform:scale(1.2);
}
figure {
    margin: 10px;
    padding: 0px;
    position: relative;
    overflow: hidden;
}
figure img {
    filter: hue-rotate(10);
    padding: 0px;
    /* border: 3px solid #fff; */
    box-shadow: 0px 0px 3px #ccc;
    z-index: -1;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    transition: 0.3s;
}
figcaption {
    background-color: rgba(255, 255, 255, 0.5);
    /* background-color: rgba(0,0,0,.5); */
    width: 100%;
    text-align: center;
    color: #5e423f;
    z-index: 1;
    padding: 9px 0px 11px 0px;
    text-transform: uppercase;
    font-size: 1.5vw;
    font-weight: bold;
    position: absolute;
    bottom: 0px;
}
@media screen and (max-width: 600px) {
    figcaption {
      font-size: 3vw;
    }
    .work {
      grid-template-columns: 1fr;
      width: 90vw;
    }
}
.heart::before {
    font-family: "FontAwesome";
    content: "\f004";
    top: 0.4em;
    left: 0.5em;
    color: #fff;
    z-index: 1000;
    font-size: 2vw;
    position: absolute;
    opacity: 0;
    transform: scale(0);
    animation: animat 4.5s ease-in-out forwards;
}
.dark::before {
    color: #5e423f;
}
@keyframes animat {
    0% {
      opacity: 0;
      transform: scale(0);
    }
    10% {
      opacity: 1;
      transform: scale(1.2);
    }
    20% {
      opacity: 1;
      transform: scale(1);
    }
    90% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(0);
    }
}
.line_works {
    width: 100%;
    max-width: 1200px;
    height: 2px;
    margin: auto;
    background: #666666;
    display: block;
    filter: blur(1px);
}
.title_works {
    font-family: proxima-nova,Proxima-Nova-Fallback,Helvetica,sans-serif;
    text-align: center;
    font-weight: lighter;
    color: #666666;
    margin: 60px 0;
}
.brands {
    margin: 50px 100px;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    padding: 10px;
  }
  .brands > figure {
    background-color: rgba(105, 87, 87, 0.8);
    text-align: center;
    padding: 20px 0;
    font-size: 30px;
  }
  .item {
    position: relative;
    display: inline-block;
    text-align: center;
  }
  .item-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .item10 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
  }
  .c04 {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;
  }

/* ABOUT
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.about {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 0;
    width: 90%;
    margin-top: 100px;
    margin-left: 100px;
}
.partAbout {
    width: 40%;
    text-align: justify;
    padding-bottom: .9375rem;
}
.partAbout p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: 1rem;
    line-height: 1.625;
    color: #666;
}
.partAbout img{
    width: 90%;
}

@media screen and (max-width:800px) {
    .about {
        padding: 60px 0;
        width: 90%;
        margin-top: 100px;
        margin-left: 20px;
    }
    .partAbout {
        width: 95%;
        margin-bottom: 40px;
    }
    .partAbout img{
        width: 80%;
        text-align: center;
    }
}

/* MODAL
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: all 0.35s ease-in;
  }
  .modal.is-visible {
    visibility: visible;
    opacity: 1;
  }
  .modal-dialog {
    position: relative;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 5px;
    background: #ffffff;
    overflow: auto;
    cursor: default;
  }
  .modal-dialog > * {
    padding: 1rem;
  }
  .modal-header,
  .modal-footer {
    background: #efefef;
  }
  .modal-header {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
  }
  .modal-header .close-modal {
    font-size: 1.5rem;
    width: 20px; 
    height: 20px;
    margin-left: 30px;
    border-color: transparent; 
    background-color: transparent; 
  }
  .modal p + p {
    margin-top: 1rem;
  }

/* FORM
–––––––––––––––––––––––––––––––––––––––––––––––––– */
  input{
    background-color: #fbfbfb; 
    width: 408px; 
    height: 40px; 
    border-radius: 5px;  
    border-style: solid; 
    border-width: 1px; 
    border-color: #171718; 
    margin-top: 10px;  
    padding-left: 10px;
    margin-bottom: 20px; 
  }
  textarea{
    background-color: #fbfbfb; 
    width: 405px; 
    height: 150px; 
    border-radius: 5px;  
    border-style: solid; 
    border-width: 1px; 
    border-color: #171718; 
    margin-top: 10px;  
    padding-left: 10px;
    margin-bottom: 20px; 
    padding-top: 15px; 
  }
  label{
    display: block; 
    float: center;  
  }
  button{
    height: 45px; 
    padding-left: 5px;
    padding-right: 5px;   
    margin-bottom: 20px; 
    margin-top: 10px;   
    text-transform: uppercase;
    background-color: #9fa3a9; 
    border-color: #9fa3a9; 
    border-style: solid; 
    border-radius: 10px;  
    width: 420px;   
    cursor: pointer;
  }
  button p{
    color: #fff; 
  }
  span{
    color: #171718; 
  }
  .aviso{
    font-size: 13px;  
    color: #0e0e0e;  
  }
  h1{
    font-size: 39px;  
    text-align: letf; 
    padding-bottom: 20px; 
    color: #393d42;
  }
  h3{
    font-size: 16px; 
    padding-bottom: 30px;
    color: #0e0e0e;   
  }
  p{
    font-size: 14px; 
    color: #0e0e0e; 
  }
  ::-webkit-input-placeholder {
   color: #a8a8a8;
  }
  ::-webkit-textarea-placeholder {
   color: #a8a8a8;
  }
  .formulario input:focus{
    outline:0;
    border: 1px solid #97d848;
  }
  .formulario textarea:focus{
    outline:0;
    border: 1px solid #97d848;
  }
  
  /* ANIMATIONS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  [data-animation] .modal-dialog {
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.51, 0.92, 0.24, 1.15);;
  }
  
  [data-animation].is-visible .modal-dialog {
    opacity: 1;
    transition-delay: 0.2s;
  }
  
  [data-animation="slideInOutDown"] .modal-dialog {
    transform: translateY(100%);
  }
  
  [data-animation="slideInOutTop"] .modal-dialog {
    transform: translateY(-100%);
  }
  
  [data-animation="slideInOutLeft"] .modal-dialog {
    transform: translateX(-100%);
  }
  
  [data-animation="slideInOutRight"] .modal-dialog {
    transform: translateX(100%);
  }
  
  [data-animation="zoomInOut"] .modal-dialog {
    transform: scale(0.2);
  }
  
  [data-animation="rotateInOutDown"] .modal-dialog {
    transform-origin: top left;
    transform: rotate(-1turn);
  }
  
  [data-animation="mixInAnimations"].is-visible .modal-dialog {
    animation: mixInAnimations 2s 0.2s linear forwards;
  }
  
  [data-animation="slideInOutDown"].is-visible .modal-dialog,
  [data-animation="slideInOutTop"].is-visible .modal-dialog,
  [data-animation="slideInOutLeft"].is-visible .modal-dialog,
  [data-animation="slideInOutRight"].is-visible .modal-dialog,
  [data-animation="zoomInOut"].is-visible .modal-dialog,
  [data-animation="rotateInOutDown"].is-visible .modal-dialog {
    transform: none;
  }
  @keyframes mixInAnimations {
    0% {
      transform: translateX(-100%);
    }
    10% {
      transform: translateX(0);
    }
    20% {
      transform: rotate(20deg);
    }
    30% {
      transform: rotate(-20deg);
    }
    40% {
      transform: rotate(15deg);
    }
    50% {
      transform: rotate(-15deg);
    }
    60% {
      transform: rotate(10deg);
    }
    70% {
      transform: rotate(-10deg);
    }
    80% {
      transform: rotate(5deg);
    }
    90% {
      transform: rotate(-5deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }