
/*RESET CSS*/

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

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;
grid-template-columns:repeat(auto-fit,minmax(min(100%,470px),470px));
justify-content:center;
gap:12px;
}

.elemento {

    
    font-weight: 600;
    text-align: center;
    color: grey;
    font-size: 1.2em;
  
/*line-height: 0em;margin: .0em;
    padding: 0em; position: relative;(quitiado)*/
}	



.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);

}


/* ==========================================================================
   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;
}

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



/*PRIMER NIVEl*/

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


}

.wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
  max-width: 450px;

}

.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-top: 100px;
	margin: 0 0 0 30px;
	color: white;
	text-align: center;
	
	height: 250;
	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;


}


@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');

}

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;}



a:link {

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

/* ==========================================================================
   Responsive & Ajustes de Cabecera para Móvil y Tablet (CORREGIDO)
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Solución para el menú */
  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;
  }

  nav li li {
    width: 140px;
  }

  /* 2. Descripción centrada y ajustada */
  .wrapper {
    max-width: 90% !important;
    margin: 0 auto 20px auto !important;
    text-align: center;
    float: none !important; /* Asegura que no flote hacia un lado */
  }

  h2 {
    font-size: 0.95em !important;
    line-height: 1.4 !important;
    color: grey;
  }

  /* 3. ¡SOLUCIÓN DE MINIATURAS DESALINEADAS! */
  .contenedor {
    display: block !important; /* Desactivamos el Grid en móviles para evitar conflictos de tamaño */
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important; /* Margen estético para que no toquen el borde físico del móvil */
    margin: 20px auto !important;
  }

  .elemento {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 12px auto !important; /* Centra los elementos y les da separación abajo */
    display: block !important;
  }

  .elemento img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important; /* Fuerza el centrado absoluto de la imagen */
  }



/* NUEVO: Empuja el logo hacia abajo en móviles para esquivar la cámara */
  .imgcenter {
    margin-top: 65px !important; 
  }

.video-vimeo {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 auto 12px auto !important; /* Mismo margen y centrado que las miniaturas */
  }
}