@charset "utf-8";

/* --------------------------- propiedades generales ------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

head {
  display: none;
}

img {
  max-width: 100%;
}

body {
  background-color: #aa988c;
  min-height: 100dvh;
}

.contenedor {
  max-width: 65rem;
  margin-inline: auto;
}

a {
  text-decoration: none;
  font-weight:700;
}

ul,
ol {
  list-style: none;
  padding: 0;
}



/* --------------------------- header ------------------------------- */
header {
  background-color: rgba(65, 64, 66, .5);
  border-bottom: rgba(190, 190, 190, .4) solid 1px;
  color: #fff;
}



/* fijar header */
header {
  z-index: 20;
  width: 100%;
	left: 0; 
	top: 0;
	position: fixed;
}

header .contenedor {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem;
}

.logo:hover {
  color:#ffffff;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: .15em;
  font-size: 2em;
  text-transform: uppercase;
  font-weight: 400;
  color:#fde7cb;
  transition: all 0.3s ease;
}


header nav ul {
  margin-block: 0;
  /* para ocultar en celulares */
  /* display: none; */
}

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%;
  width: 3rem;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease; 
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 9000;
}

/* cada barra de la "hamburguesa" */
.menu-btn .btn-linea {
  width: 25px;
  height: 2px;
  margin: 5px 9px 5px 9px;
  background: rgba(256, 256, 256, 60%);
  transition: all 0.3s ease;
  z-index: 9000;
}

/* cada barra, transformacion para formar la "X" */
.menuVisible .menu-btn .btn-linea {
  transform: rotate(180deg);
}
/* Las tres barras para formar la "X" */
.menuVisible .menu-btn .btn-linea:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menuVisible .menu-btn .btn-linea:nth-child(2) {
  opacity: 0;
}
.menuVisible .menu-btn .btn-linea:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* menú propiamente dicho */
nav ul {
  display: grid;
  place-items: center;
  place-content: center;
  gap: 1em;

  /* sale del fondo, queda fijo */
  position: fixed;
  /* emplazamiento,
  estirado en toda la ventana */
  inset: 0;
  /* capa superior, arriba de casi todo */
  z-index: 8000;
  /* escondido "a la derecha" */
  translate: 100%;
  
  transition: all .3s ease; /* anima cuando "nav" NO tiene la clase "menuVisible" */
}

/* el menu cuando "nav" tiene la clase "menuVisible" */
.menuVisible ul {
  background-color: #414042;
  transition: all .4s ease; /* anima cuando "nav" tiene la clase "menuVisible" */
  
  /* se muestra */
  translate: 0;
}

/* cada vínculo del menu */
nav ul li a {
  border-bottom: solid 1px hsl(0 0% 100% / 0.1);
  color: white;
  display: block;
  font-size: 1rem;
  margin-block-end: .5rem;
  width: min(70vw, 20rem); 
  text-align: center;
  padding: .5rem;
}

nav ul li a:hover {
  border-bottom: solid 1px hsl(0 0% 100% / 0.5);
  transition: all .3s ease;
}




/* --------------------------- secciones ------------------------------- */

h1,h2,h3,h4,h5,p {
  padding-left: 1.5rem;
}

.bold {
  font-weight: bold;
}

.oscuro {
  background-color: #414042;
  color: #fff;
}

.claro {
  background-color: #fff;
  color: #414042;
}

h1 {
  font-family: "Roboto", sans-serif;
  font-weight:300;
  font-size: 1.3rem;
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  font-size: 3rem;
  text-transform: uppercase;
  padding-top: 1rem;
  padding-left: 1.5rem;
  max-width: 10em;
}

h3 {
  font-family: "Bebas Neue", sans-serif;
  color: #000;
  font-weight:400;
  font-size: 1.8rem;
  padding-bottom: 0;
  padding-left: 1.5rem;
}

h4 {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1em;
  padding-top: .2em;
}

h5 {
  font-family: "Bebas Neue", sans-serif;
  color:#bcbec0;
  font-weight:400;
  font-size: 2rem;
  max-width: 25rem;
}

p {
  font-family: "Roboto", sans-serif;
  font-weight:300;
  font-size: .9rem;
  padding-bottom: 1.5rem;
  line-height: 1.5;
}


/* --------------------------- seccion home ------------------------------- */

video {
  position: absolute;
}
.video-wrapper {
  position: relative;
  overflow: hidden;
  height: 510px;
}

.home-contenido {
  padding-top: 10em;
  position: relative;
}

/* --------------------------- seccion quien soy ------------------------------- */
#quien-soy {
  padding-bottom: 2em;
  padding-top: 4em;
}

#quien-soy li a {
  font-family: "Bebas Neue", sans-serif;
  color: #aa988c;
  font-weight:300;
  font-size: 2em;
  padding-left: 1.5rem;
}

#quien-soy li a:hover {
  font-family: "Bebas Neue", sans-serif;
  color: #000;
  font-size: 2em;
  font-weight:300;
}

#quien-soy ul {
  padding-bottom: 1.5em;
}

#quien-soy img {
  padding-left: 1.5em;
}

#quien-soy p {
  padding-right: 1.5rem;
}

#quien-soy p a.flecha {
  font-family: "Roboto", sans-serif;
  color: #aa988c;
  font-weight:300;
  font-size: .9rem;
}

#quien-soy p a:hover.flecha {
  font-family: "Roboto", sans-serif;
  color: #000;
  font-weight:300;
  font-size: .9rem;
}

.quien-cont {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem; 
}

.quien-col1 {
   width: 13rem;
}

.quien-col2 {
  width: 40rem;
}

.quien-soy-p {
  font-weight: 700;
  color: #aa988c;
}

/* --------------------------- seccion mi vision ------------------------------- */
#vision {
  padding-top: 4em;
  padding-bottom: 1.5em;
}

/* --------------------------- seccion mis trabajos ------------------------------- */
#trabajos {
  padding-bottom: 1.5em;
}

#trabajos h1 {
  padding-bottom: 1.5em;
  padding-top: 1.5em;
}

p a.flecha {
	background: url(../imagenes/flecha.png) -4px center no-repeat;
	padding-left: 2.5rem;
  color:#bcbec0;
  font-weight: 300;
  transition: all 0.3s ease;
}

p a.flecha:hover {
	background: url(../imagenes/flecha.png) 3px center no-repeat;
  color: #fff;
}

.art-trabajos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: .2rem;
}

.info-trab {
  display: grid;
  grid-template-columns: 20% 80%;
}



/* --------- 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, .8);
  visibility: visible;
  opacity: 1;
} 

.popup {
  display: flex;
  position:relative;
  max-width: 65rem;
  height: 40rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.img-trabajos01 {
  width: 100%;
  background-image: url(../imagenes/imgs/popup01.jpg);
  background-size: cover;
  background-position: center;
}

.img-trabajos02 {
  width: 100%;
  background-image: url(../imagenes/imgs/popup02.jpg);
  background-size: cover;
  background-position: center;
}

.img-trabajos03 {
  width: 100%;
  background-image: url(../imagenes/imgs/popup03.jpg);
  background-size: cover;
  background-position: center;
}

.img-trabajos04 {
  width: 100%;
  background-image: url(../imagenes/imgs/popup04.jpg);
  background-size: cover;
  background-position: center;
}

.img-trabajos05 {
  width: 100%;
  background-image: url(../imagenes/imgs/popup05.jpg);
  background-size: cover;
  background-position: center;
}

.img-trabajos06 {
  width: 100%;
  background-image: url(../imagenes/imgs/popup06.jpg);
  background-size: cover;
  background-position: center;
}

.btn-close-popup {
  width: 3rem;
  height: 3rem;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  padding: .7rem;
  background-color: #414042;
  color: #bcbec0;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 3rem;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}

.btn-close-popup:hover {
  background-color: #bcbec0;
  color: #414042;
  }


#trabajos p {
  display: block;
  color:#bcbec0;
}

/* imagen en escala de grises */
.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;
}

#trabajos img {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------- seccion equipo ------------------------------- */
#equipo {
  padding-top: 4em;
  padding-bottom: 1.5rem;
}


#equipo h4 {
  padding-top: 0;
}

.art-equipo {
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
}

#equipo article {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding-left: 1.5rem;
}

.img-equipo {
  padding-top: 0;
  width: 80px;
}

#equipo p a.flecha {
  color: #aa988c;
}

#equipo p a.flecha:hover {
	background: url(../imagenes/flecha.png) 3px center no-repeat;
  color:#414042;
}

.rot-equipo {
  padding-top: 1.5rem;
}

/* --------------------------- seccion acumar ------------------------------- */
#acumar {
  padding-bottom: 2em;
}

.img-acumar {
  padding-top: 1.5rem;
  max-width: 20rem;
}

#acumar h1 {
  font-family: "Bebas Neue", sans-serif;
  color: #000;
  font-weight: 400;
  font-size: 3rem;
  line-height: 3rem;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  transition: all 0.3s ease;
}

#acumar h1:hover {
  color:#13b9ff;
  }

#acumar h2 {
  font-family: "Bebas Neue", sans-serif;
  color:#000;
  font-weight:400;
  font-size: 1.6rem;
  line-height: 1.7rem;
  padding-top: 0;
}

#acumar p {
  color:#bcbec0;
  max-width: 50rem;
  padding-bottom: 0;
  max-width: 25rem;
}


/* --------------------------- seccion footer ------------------------------- */
footer {
  background-color: #fff;
  bottom: 0;
  height: 5em;
  text-align: center;
}

.copyright {
  font-family: 'Roboto', sans-serif;
  color:#666666;
  letter-spacing: .15em;
  font-size: .9em;
  padding-top: 2em;
}


/* --------------------------- media queries ------------------------------- */


@media(min-width: 40em) {

  header nav {
    position: relative;
  }
    
  .menu-btn {
    display: none;
  }

  /* menu visible */
  header nav ul,
  header .menuVisible ul {
    display: flex;
    gap: .5em;
    position: relative;
    translate: 0;
  }
    
   header nav ul li {
    min-width: 4em;
  }

  header nav ul li a {
    border-radius: .25em ;
    color: white;
    font-size: 1rem;
    width: auto;
    padding: .25em 1em;
    text-align: center;
    display: block;
    margin-block-end: unset;
    border-block-end: unset;
  }

}

