
@charset "UTF-8";/*RESET CSS*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

/* ==========================================================================
   3. ENCABEZADOS Y TEXTOS
   ========================================================================== */

@font-face {

  font-family: Museo_Slab_300;
  src: url(fonts/Museo_Slab_300.otf) format('truetype');

}

@font-face {

  font-family: Museo_Slab_500;
  src: url(fonts/Museo_Slab_500.otf) format('truetype');

  }

@font-face {

  font-family: Museo_Slab_700;
  src: url(fonts/Museo_Slab_700.otf) format('truetype');

}

a:link, a:visited {
  font-family: 'Museo_Slab_300', sans-serif;
  text-decoration: none; 
  color: black;
  font-size: 12px;
}



html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*{
	box-sizing: border-box;
}

/*COMIENZA LA WEB*/



* {

	margin-left: 0;
	margin: 0;
	padding: 0;
	/*Afecta a toda la web*/

}

body {

	background: red url(../img/);
	color: #FFF;
	font-size: 10px;
	margin:  0;
	background-color: white;
	
	
}


div {

	display: block;
		/*margin: auto;*/
	line-height: 0;

	}




/**/

.contenedor{
width:100%;
max-width:1500px;
margin:40px auto;
padding:0 20px;
display:grid;
/* Solución al cálculo min() en Safari */
  grid-template-columns: repeat(auto-fit, minmax(280px, 470px));
  justify-content: center;
  gap: 12px;

}

.elemento {

    width: 470px; /* Fuerza a la caja contenedora a medir exactamente 470px */
    max-width: 100%;
    font-weight: 600;
    text-align: center;
    color: grey;
    font-size: 1.2em;
    overflow: hidden; /* Esto hace que el zoom se quede "dentro" de la miniatura */
    border-radius:6px;
    margin: 0 auto;


    /* NUEVO: Centra el contenido dentro de la celda de la grilla */
  display: flex;
  justify-content: center;
  align-items: center;
  
}
  
/*line-height: 0em;margin: .0em;
    padding: 0em; position: relative;(quitiado)*/



/* Estado inicial: preparamos la animación */
.elemento img{

    display:block;
    /* Evita que la imagen supere su tamaño nativo de 470px */
    max-width: 470px;
    width:100%;
    height:auto;
    object-fit: contain; /* Garantiza que la imagen se vea completa sin recortar nada */
    margin: 0 auto;       /* Centrado horizontal absoluto */

    border-radius:6px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;

    box-shadow:0 3px 10px rgba(0,0,0,.08);

}

.contenedor > img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform: scale(1); /* Escala original */
  box-shadow: 0 0 0 rgba(0, 0, 0, 0); /* Sombra invisible al inicio */
}

/* Estado Hover: Zoom sutil del 2% y sombra suave */
.elemento img:hover, 
.contenedor > img:hover {
  transform: scale(1.02); /* Incremento sutil del 2% */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12); /* Sombra suave y aireada hacia abajo */
  cursor: pointer; /* Cambia el cursor a mano para indicar que es clickeable */
}


/* Nuevo contenedor para videos destacados a pantalla completa */
.contenedor-grande {
    width: 100%;
    max-width: 1200px; /* Ancho máximo ideal y elegante para computadoras */
    margin: 40px auto;
    padding: 0 20px;
}

.contenedor-grande .elemento {
    width: 100% !important;
    max-width: 100% !important;
}

.reel {
	margin: .5em;
    padding: 1em 5%;
    position: relative;

 } 

 h1, h2, h3 {
  color: #222;
  font-family: Museo_Slab_700;
  margin-bottom: 0.5em;

  }

h1 {

font-size: 1.5em;
line-height: 20px;
padding: 10px 0;
font-family: Museo_Slab_700;
color: grey;
}

h2 {

	font-size: 1.1em;
	line-height: 20px;
	padding: 10px 0;
	font-family: Museo_Slab_300;
	color: grey;
}

h3 {

	font-size: 0.3em;
	line-height: 20px;
	padding: 10px 0;
	font-family: Museo_Slab_300;
	color: grey;

}

h4 {

	font-size: 10px;
	line-height: 20px;
	padding: 10px 0;
	font-family: Museo_Slab_300;
	color: grey;



}

figcaption {
display: block;
position: relative;
margin: 0 0 0 0;
	left: 0;
	width: 100%;


}

nav {

	position: absolute;
	left: 0;
	width: 100%;

	
}

nav ul {

list-style: none;
padding: 0;



}

nav li {
	line-height: 3rem;
	position: relative;


}

.menu ul {
position: absolute;



}

nav a {
	color: white;
	display: table;
	padding: 3 5em;
	text-decoration: none;
	transition: .3s;
}

nav a:hover {
	background: rgba(0,0,0,0);

}




/* ==========================================================================
   6. SECCIÓN PROYECTOS DESTACADOS (.projects-grid) - FIX COMPLETO SAFARI
   ========================================================================== */

.projects-grid {
  width: 100%;
  max-width: 1500px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
  justify-content: center;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.project-image {
  display: block;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform: translateZ(0);
}

.project-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.project-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  cursor: pointer;
}

.project-info {
  margin-top: 8px; 
  text-align: left;
}

.project-info h2 {
  font-family: 'Museo_Slab_700', sans-serif !important;
  font-size: 13px !important;
  color: #111111 !important;
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-meta {
  font-family: 'Museo_Slab_300', sans-serif !important;
  font-size: 10px !important;
  color: #777777 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */

footer {
  background-color: white;
  margin: 100px 0 0 0;
  color: #333;
  text-align: center;
  width: 100%;
  height: 150px;
}

figcaption {
  display: block;
  position: relative;
  width: 100%;
}


/* ==========================================================================
   Ajuste de Videos Integrados en la Grilla (Escritorio)
   ========================================================================== */

.video-vimeo {
  width: 100%;
  aspect-ratio: 16 / 9; /* Mantiene la proporción horizontal del reproductor */
  position: relative;
  overflow: hidden;
  border-radius:6px;

}

.video-vimeo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius:6px;
}

.elemento video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/*PRIMER NIVEl*/

.menu {
	background: white;
	display: block;
	width: 100%;
	margin: right;


}

.wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;

}

.menu > li {
	float: left;
}

nav ul li {
	display: block;
     float: left;
}




nav ul li a {
    
    transition: all 0.3s ease;
    margin-left: 60px;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
    color: black;
    font-family: Museo_Slab_500;
    position: relative;
    z-index: 1;
}
nav ul li a:hover {
     color: #00CED1;
}
nav ul li.selected a {
     color: black;
}
/*Psegundo NIVEl*/

nav li li {
	background: white;
	max-height: 0;
	overflow: hidden;
	transition: all .3s;
	width: 200px;
	position: relative;
	z-index: 1;
}

.menu > li > ul {
	top: 100%
}

nav li:hover > ul > li {
	max-height: 500px;
	overflow: visible;
}

/*tercero NIVEl*/
.menu ul ul {
	left: 100%
	top: 0;
}

.menu li a {
  
  display: inline-block;
  color: black;
  text-decoration: none;
}



#logo {
	display: block;
	background: red url(../img/studiofukudo.jpg);
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}


.img {
  max-width: 100%;
  width: 100px;
	height: auto;
	float: left;
	margin: 0 0 0 0;
}


.imgcenter {

      display: block;
      vertical-align: bottom;
      margin-left: auto;
      margin-right: auto;
      border:none;
      text-align: center;
      margin-top: 45px; /* <--- NUEVO: Añade aire arriba en computadoras */
      }

.imgleft {

      display: block;
      vertical-align: auto;
      margin-top: 45px;
      margin-left: 40px;
      margin-right: auto;
      margin-bottom: 20px;
      border:none;
      text-align: center;
      }


.caja {

	width: auto;
	text-align: center;

}

footer {
	background-color: white;
	margin: 100px 0 0 0; /* 100px de aire arriba, centrado absoluto */
	color: white;
	text-align: center;
	width: 100%;
	height: 250px;
	font-size: 20pt;
	font-weight: normal;
}

.centrar-imagen {

display: block;
margin-left: auto;
margin-right: auto;
border:none;
text-align: center;
position: relative;



}



hr { 
  background-color: black;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: 10%;
  margin-right: 0%;
  width: 80%;
  height: 1px; 
  border: 0;
}


header {

	background-color: black;
	margin: 0px 0 0 0 ;
	color: white;
	text-align: center;
	
	height: 250;
	font-size: 24pt;
	font-weight: bold;

}
#menu-icon {

	display: none;

}

li {

	font-family: Museo_Slab_300;
	text-decoration:none; 
	color: black;
	font-size: 12px;
	line-height: 0px;
	padding: 0px 0;

}

.slider{
	border: 1px solid grey;
	height: 100px;
	position: relative;
	width: 60px;
}
.slider> .progress{

	
}

button {

	font-family: Museo_Slab_300;
	color: black;
	font-size: 12px;
	line-height: 0px;
	padding: 0px 0;


}



h1,h2,h3,h4 {
	font-family:Museo_Slab_300;
}

section  {

display: block;
margin-left: auto;
margin-right: auto;
border:none;
text-align: center;
position: relative;
}


.centrado {text-align:center;border:0px dotted #000; padding:0px;}
		   center{margin:0px 0;}




* ==========================================================================
   8. RESPONSIVE Móviles y Tablets - SAFARI FRIENDLY
   ========================================================================== */

@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  nav {
    position: relative !important;
    width: 100%;
    margin-bottom: 20px;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
  }

  .menu > li {
    float: none !important;
    display: inline-block;
  }

  nav ul li a {
    margin-left: 15px !important;
    margin-right: 15px;
    font-size: 13px;
    line-height: 2rem;
  }

  .wrapper {
    max-width: 90% !important;
    margin: 0 auto 20px auto !important;
    text-align: center;
  }

  .projects-grid {
    grid-template-columns: 1fr !important;
    padding: 0 15px !important;
    margin: 20px auto !important;
    gap: 20px !important;
  }

  .imgcenter {
    margin-top: 65px !important; 
  }
}