@charset "utf-8";

*
 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-block-start: 5em;
}

  @media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
      animation-delay: -1ms !important;
      animation-duration: 1ms !important;
      animation-iteration-count: 1 !important;
      background-attachment: initial !important;
      scroll-behavior: auto !important;
      transition-duration: 0s !important;
      transition-delay: 0s !important;
    }
  }

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: #282828;
    min-height: 100vh;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
    text-decoration: none;
}

.sec-green {
    max-width: 65em;
    margin-inline: auto;
    text-align: center;
    background-color: #23b3be;
}

.sec-black {
    max-width: 65em;
    margin-inline: auto;
    text-align: center;
    background-color: #000;
}

.sec-white {
    max-width: 65em;
    margin-inline: auto;
    text-align: center;
    background-color: #fff;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    color: #23b3be;
    font-weight: 400;
    font-size: 4.5em;
    line-height: .9em;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-weight: 300;
    font-size: 1.8em;
}

h3 {
    font-family:'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 2em;
    padding-top: 1em;    
    letter-spacing: .06em;
}

h4 {
    font-family:'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.6em;
}


.btn-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    z-index: 10000;
}


/* --------------------------- header ------------------------------- */

header {
    position: sticky;
    top: 0;
    z-index: 8000;
}

.encabezado {
    display: flex;
    justify-content:space-between;
}

.menu-ham {
    margin-right: .8em;
    width: 1.2em;
}

#logo {
    width: 20em;
    padding-top: 1em;
    padding-left: 1em;
}

.nav-items {
    margin-right: 7em;
}

header nav a {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .9rem;
    color: #fff;
    display: block;
    width: 4em;
    padding-block: 0.25em .5em;
    transition: all 0.3s ease;
}
  
  header nav a:hover,
  header nav a:focus-visible {
    color:#fde7cb;
    outline: none;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}


/* botón "hamburguesa" */
.menu-btn {
    background: hsl(0 0% 100% / 0.25);
    border-radius: 50%;
    box-shadow: -5px 5px 5px hsl(180 100% 4% / 0.2);
    padding: 0.75rem;
    width: 3rem;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease-out;
    position: fixed;
    top: 3em;
    right: 3em;
    z-index: 9000;
  }
  
  .menu-btn:hover {
    transform: scale(1.1);
  }
  
  
  .menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    border-radius: 4px;
    background: hsl(0 0% 90%);
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 9000;
  }
  
  .menuVisible .menu-btn .btn-linea {
    transform: rotate(180deg);
  }
  
  .menuVisible .menu-btn .btn-linea:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
  }
  .menuVisible .menu-btn .btn-linea:nth-child(2) {
    opacity: 0;
  }
  .menuVisible .menu-btn .btn-linea:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
  }
  
  .menuVisible ul {
    background-color: #23b3be;
    transition: all 0.4s ease;
    translate: 0;
  }
  
  nav ul {
    display: grid;
    place-items: center;
    place-content: center;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 8000;
    translate: 100%;
    transition: all 0.4s ease;
  }
  
  .pie {
    margin-top: 3em;
  }
  
  /* cada vínculo del menu */
  nav ul li a {
    font-family: "Bebas Neue", sans-serif;
    border-bottom: solid 1px hsl(0 0% 100% / 0.1);
    letter-spacing: 0.07em;
    color: white;
    display: flex;
    align-items: center;
    font-size: 1.8em;
    width: min(70vw, 18rem);
    text-decoration: none;
    padding: 0.3em;
    padding-left: 2em;
  }
  
  nav ul li a:hover {
    color: hsl(180 100% 4% / 0.2);
    border-bottom: solid 1px hsl(0 0% 100% / 0.5);
    transition: all 0.4s;
  }

/* --------------------------- home ------------------------------- */

.home-cont {
    padding-top: 1.5em;
    display: grid;
    grid-template-columns: 20em 575px;
    justify-items: start;
}

#home p {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-weight: 300;
    font-size: 1em;
    padding-top: .5em;

}

#home h3 {
    color: #23b3be;
    padding-top: 1.6em;

}

#home h2 {
    padding-top: 1em;

}

.col01 {
    width: 20em;
    text-align: left;
    padding-left: 3em;
    padding-bottom: 2em;
}

.col02 {
    width: 575px;
    padding-left: 3em;
    padding-bottom: 2em;
}

.col02 video {
  width: 575px;
  height: 480px;
}



/* --------------------------- servicios ------------------------------- */

.list-servicios {
    display: flex;
    flex-wrap: wrap;
    padding-left: 3em;
    gap: 2em;
    padding-bottom: 2em;
}

.item-art {
    text-align: left;
    display: grid;
    grid-template-columns: 35px 12em;
    gap: 1em;
}

#servicios li {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    list-style: disc;
    margin-left: 1em;
}

/* --------------------------- portfolio ------------------------------- */

/* --------- popup ----------- */

.container-all {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 300ms; 
    z-index: 100;
  }
  
  .container-all:target {
    background: rgba(0, 0, 0, .9);
    visibility: visible;
    opacity: 1;
  } 
  
  .popup {
    display: flex;
    position: relative;
    width: 90%;
    height: 100%;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 16/9;
  }
  
  .img-trabajos01 {
    width: 100%;
    background-image: url(../imgs/portfolio/popup01.jpg);
    background-size:100%;
    background-repeat:no-repeat;
  }
  
  .img-trabajos02 {
    width: 100%;
    background-image: url(../imgs/portfolio/popup02.jpg);
    background-size:100%;
    background-repeat:no-repeat;
  }
  
  .img-trabajos03 {
    width: 100%;
    background-image: url(../imgs/portfolio/popup03.jpg);
    background-size:100%;
    background-repeat:no-repeat;
  }

  .img-trabajos04 {
    width: 100%;
    background-image: url(../imgs/portfolio/popup04.jpg);
    background-size:100%;
    background-repeat:no-repeat;
  }
  
  .img-trabajos05 {
    width: 100%;
    background-image: url(../imgs/portfolio/popup05.jpg);
    background-size:100%;
    background-repeat:no-repeat;
  }
  
  .img-trabajos06 {
    width: 100%;
    background-image: url(../imgs/portfolio/popup06.jpg);
    background-size:100%;
    background-repeat:no-repeat;
  }
  
  .img-trabajos07 {
    width: 100%;
    background-image: url(../imgs/portfolio/popup07.jpg);
    background-size:100%;
    background-repeat:no-repeat;
  }

  .img-trabajos08 {
    width:100%;
    height: 100%;
    background-image: url(../imgs/portfolio/popup08.jpg);
    background-size:100%;
    background-repeat:no-repeat;
  }


  #reel {
    width: 100%;
    max-height: 80vh;
    aspect-ratio: 16/9;
  }

  .btn-close-popup {
    width: 2em;
    height: 2em;
    position: absolute;
    left: 100%;
    transform: translate(-50%, -50%);
    padding: .3em;
    background-color:#23b3be;
    color:#fff;
    font-size: 1em;
    text-align: center;
    border-radius: 3em;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    transition: all .4s ease;
  }
  
  .btn-close-popup:hover {
    background-color:#fff;
    color:#23b3be;
  }


.grises img {
    filter: url('#grayscale');
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: none; 
    
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    }
  
    .grises img:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(100%);
    filter: Gray();
  
    -webkit-transform: scale(1.05,1.05);
    -moz-transform: scale(1.05,1.05);
    -o-transform: scale(1.05,1.05);
    -ms-transform: scale(1.05,1.05);
    transform: scale(1.05,1.05);
    
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


#portfolio h3 {
    text-align: left;
    color:#23b3be;
    padding-left: 1.5em;
}

#portfolio h2 {
    text-align: left;
    color: #fff;
    padding-left: 1.5em;
    padding-bottom: 1.5em;
}

.list-portfolio {
    margin: 0 1.5em;
    padding-bottom: 1em;
    display: grid;
    gap: .6em;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20em), 1fr));
}

#portfolio figure img {
    border-radius: .5em;    
    object-fit: cover;
    object-position: left center;
    width: 100%;
}

#portfolio figure {
    position: relative;
    overflow: hidden;
}


/* --------------------------- contacto ------------------------------- */

#contacto h2 {
    text-align: left;
    color:#282828;
    padding: 1em 1em 0em 1em;
}

#contacto>p {
    font-family: 'Montserrat', sans-serif;
    color:#282828;
    font-weight: 400;
    font-size: 1em;
    text-align: left;
    padding: .5em 2em 1em;
}

.contact-lnk {
    margin: .5em 1.7em;
    display: flex;
    align-items: center;
}

.contact-lnk img {
        width: 48px;
        margin-right: .5em;        
}

.grises p {
  font-family: 'Montserrat', sans-serif;
    color:#282828;
    font-weight: 400;
    font-size: 1em;
    text-align: left;
    transition: all .2s ease;
}

.grises p:hover {
  font-family: 'Montserrat', sans-serif;
    color:#23b3be;    
}

/* --------------------------- formulario ------------------------------- */

form {
    max-width:40em;
    padding: 1.7em;
}

.form-txt {
    display: flex;
    justify-content:space-around;
    margin-bottom: 1em;
}

.form-txt a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color:#23b3be;
    margin: 1em;
    transition: all .4s ease;
}

.form-txt a:hover {
    color:#282828;
}

.input-group {
    display: flex;
    flex-direction: column;
    
}

input , textarea {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1em;
    padding: .7em;
    margin-bottom: 1em;
    border-radius: .5em;
    border: solid 1px #23b3be;
}

textarea {
    resize: none;
}

.btn {
    width: 15em;
    background: #5c5c5c;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
    border: 0;
    transition: all .4s ease;
}

.btn:hover {
    background: #23b3be;
    color: #fff;
    transition: all .4s ease;
}

/* --------------------------- footer ------------------------------- */

footer p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: .05em;
    color:#282828;
    text-align: center;
    padding-bottom: 2em;

}

.menu-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.icon-foot {
    display: inline-block;
    width: 48px;
    margin: 4em 1em;
}

.icon-foot a:hover {
    opacity: .5;
    transform: scale(1.2,1.2);
}


/* --------------------------- media ------------------------------- */

@media (max-width: 60em) {
  .home-cont {
    display: flex;
    flex-wrap: wrap;
  }

  .col02 video {
    width: 100%;
    padding-right: 2em;
    padding-bottom: 2em;
  }   

  .popup {
    width: 90%;
    height: 100%;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 16/9;
  }
}

@media (min-width: 60em) {
    /* ------ menu ------ */
    .menu-btn {
      display: none;
    }
  
    /* menu visible */
    header nav ul,
    header .menuVisible ul {
      display: flex;
      position: relative;
      translate: 0;
      margin-left: 3em;
    }
  
    header nav ul li {
      min-width: 4em;
    }
  
    header nav ul li a {
      color: white;
      font-size: 1.2rem;
      width: auto;
      padding: 0.25em 1em;
      text-align: center;
      border-bottom: none;
    }
  
    nav ul li a:hover {
      color: #23b3be;
      border-bottom: none;
      transition: all 0.4s;
    }

    .popup {
      width: 70%;
      height: 100%;
      top: 65%;
      left: 50%;
      transform: translate(-50%, -50%);
      aspect-ratio: 16/9;
    }
  }