body {
	margin: 0;
	font-family: Arial, sans-serif;
}

a {
	text-decoration: none;
	color: white;
}

table {
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
	margin: 0 0 35px 0;
  }

  th {
    background-color: #8C6B2F; /* Dorado oscuro */
    color: white;
    padding: 8px;
    text-align: left;
  }

  td {
    padding: 8px;
    color: #333;
  }

  tr:nth-child(even) td {
    background-color: #f5f5f5; /* Gris claro */
  }

  tr:nth-child(odd) td {
    background-color: #fff;
  }

.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.blanco {
	display: none;
}

.navbar {
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	height: 15vh;
	background-color: #7b5a00;
}

.logo {
	display: flex;
	height: 85%;
	padding: 10px;
	margin-left: 10em;
}

.redes {
    color: white;
    padding: 15px;
}

.logos {
    display: flex;
    padding: 15px 0;
    gap: 20px;
}
.menu {
	display: flex;
	align-items: flex-end;
	margin: 0;
	padding: 0;
	height: 100%;
	margin-right: 10em;
}

.item {
	list-style: none;
	font-size: 1.1vw;
	color: white;
	padding: 0 15px;
	line-height: 100%;
	align-content: center;
	height: 3em;
	white-space: nowrap;
}

.item:hover {
	background-color: black;
	cursor: pointer;
	transition: background 0.3s;
}

.dropdown {
	position: relative;
}

.submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #7b5a00;
	padding: 0;
	margin: 0;
	list-style: none;
	min-width: 200px;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.submenu li {
	padding: 10px 15px;
	color: white;
	white-space: nowrap;
	font-size: 1vw;
}

.submenu li:hover {
	background-color: black;
	cursor: pointer;
}

.dropdown:hover .submenu {
	display: block;
}

.menu-icon {
	display: none;
	font-size: 26px;
	color: black;
	cursor: pointer;
	width: 30px;
	height: 22px;
	position: relative;
	z-index: 2;
}

.menu-icon .bar {
	background-color: black;
	height: 4px;
	width: 100%;
	display: block;
	margin: 4px 0;
	transition: 0.4s;
	border-radius: 2px;
}

#toggle-menu {
	display: none;
}

.banner {
	display: flex;
	align-items: center;
	justify-content: right;
	background: #fdfae7;
	color: #7b5a00;
	height: 75vh;
}

.banner-content {
	flex: 0 0 25%;
	min-width: 280px;
	padding: 2rem;
}

.banner-content h1 {
	font-size: 2rem;
	margin: 0 0 1rem;
	line-height: 0.9em;
}

.banner-content p {
	font-size: 1.2rem;
	text-align: center;
}

.banner-image {
	flex: 0 0 70%;
	min-width: 280px;
	height: 100%;
}

.banner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 1s ease-in-out;
	-webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 30%);
	mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 30%);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.barra-contacto, .barra-contacto2 {
	padding: 0.75em 4em;
	display: flex;
	gap: 0.5em;
	align-items: baseline;
	flex-wrap: wrap;
}

.barra-contacto {
	background-color: #d6d700;
	color: #222;
	flex-wrap: nowrap;
}

.barra-contacto2 {
	background-color: #68674b;
	color: white;
}

.barra-contacto p {
	font-size: clamp(0.6rem, 1.2vw, 1.4rem);
	white-space: nowrap;
	margin: 0;
	padding: 0;
	flex: 1;
}

.titulo {
	font-weight: bold;
	font-size: clamp(1.8rem, 2.2vw, 2.7em);
	white-space: nowrap;
	flex: 1;
}

.texto {
	font-size: 1.3em;
	font-weight: bold;
}

.columna50.nosotros {
    padding: 35px 0 0;
}

.contenido {
	flex: 1 0 auto;
	background-color: #fdfae7;
	align-content: center;
	
}

.contenido.archivos {
    align-content: flex-start;
    padding: 35px 0;
}

.tabla {
	flex: 1 1 100%;
	display: flex;
	gap: 2em;
	margin: 0 3em;
	align-items: center;
}

.barra-contacto2 .tabla {
    margin: 0px;
}

.columna25 {
	flex: 0 1 25%;
}

.columna50 {
	flex: 0 1 50%;
	display: grid;
}

.columna100 {
	flex: 0 1 100%;
	display: grid;
}

.columna33 {
	flex: 0 1 33%;
	max-width: 300px;
}

.fila {
	display: flex;
	gap:35px;
}

.carpeta {
	width: 40%;
}

.contenedor-visor {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visor img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
	padding: 3em 0px;
}

.boton {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	font-size: 2.5rem;
	border: none;
	cursor: pointer;
	z-index: 10;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.boton:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

#anterior {
	left: 20px;
}

#siguiente {
	right: 20px;
}

.contacto{
	display: flex; 
	padding: 45px; 
	justify-content: center;
}

@media (max-width: 768px) {
	.menu {
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: #333;
		z-index: 1001;
		display: none;
		align-items: normal;
	}
	.menu-icon {
		display: block;
		position: absolute;
		top: 1rem;
		right: 1rem;
		z-index: 1002;
	}
	.item {
		font-size: 1.5rem;
		text-align: left;
		width: 100%;
		padding: 1rem 2rem;
		border-bottom: 1px solid #555;
	}
	.submenu {
		position: absolute;
		background-color: #444;
		width: 100%;
		padding-left: 2rem;
	}
	.submenu li {
		font-size: 1.3rem;
		padding: 0.5rem 0;
	}
	#toggle-menu:checked + .menu-icon + .menu {
		display: flex;
	}
	#toggle-menu:checked + .menu-icon .bar:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	#toggle-menu:checked + .menu-icon .bar:nth-child(2) {
		opacity: 0;
	}
	#toggle-menu:checked + .menu-icon .bar:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
	}
	.banner {
		flex-direction: column;
		text-align: center;
		padding: 1.5rem;
		height: auto;
	}
	.banner-image img {
		-webkit-mask-image: none;
		mask-image: none;
	}
	.banner-content h1 {
		font-size: 2rem;
	}
	.banner-content p {
		font-size: 1.5rem;
	}
	.redes {
		padding: 5px 50px 0px 0px;
		width: 50%;
	}
	.tabla {
		flex-direction: column;
		gap: 1.5em;
	}
	.columna25,
	.columna33,
	.columna50 {
		width: 100%;
		flex: 1 1 100%;
		display: block;
		text-align: center;
	}
	.columna33 p {
		padding: 0 1em;
		box-sizing: border-box;
	}
	.fila {
		flex-direction: column;
		width: 100%;
	}
	.carpeta {
		width: 40%;
		margin: 0 auto;
	}
	.barra-contacto {
		flex-direction: column;
		align-items: flex-start;
	}
	.barra-contacto p {
		text-align: left;
		font-size: 1rem;
		white-space: normal;
	}
	.logo {
		margin: 0;
	}
	
	.visor img {
		padding: 1em 0px;
	}
	
	table, thead, tbody, th, td, tr {
      display: block;
    }

    thead {
      display: none; /* Oculta el encabezado en móvil */
    }

    tr {
      margin-bottom: 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      background: #fff;
    }

    td {
      text-align: left;
      position: relative;
      border: none;
      border-bottom: 1px solid #eee;

      /* Permitir que el texto largo se divida */
      white-space: normal;
      word-break: break-word;
    }

    td:last-child {
      border-bottom: none;
    }

    td:before {
      position: absolute;
      top: 8px;
      left: 8px;
      width: 45%;
      padding-right: 10px;
      white-space: nowrap;
      font-weight: bold;
      color: #555;
    }
.contacto{ 
	padding: 15px 0px; 
}	
}