body {
	margin: 0;
	font-family: Arial, sans-serif;
}

a {
	text-decoration: none;
	color: white;
}

.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;
}

.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: justify;
}

.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(0.6rem, 2.2vw, 2.7em);
	white-space: nowrap;
	flex: 1;
}

.texto {
	font-size: 1.3em;
	font-weight: bold;
}

.contenido {
	flex: 1 0 auto;
	background-color: #fdfae7;
	display: flex;
	align-content: center;
}

.tabla {
	flex: 1 1 100%;
	display: flex;
	gap: 2em;
	margin: 3em;
	align-items: flex-start;
}

.columna25 {
	flex: 0 1 25%;
}

.columna50 {
	flex: 0 1 50%;
	flex-wrap: wrap;
	display: flex;
}

.columna33 {
	flex: 0 1 33%;
	min-width: 270px;
	flex-wrap: wrap;
}

.fila {
	display: flex;
}

.carpeta {
	width: 40%;
}

@media (max-width: 768px) {
	.blanco {
		display: block;
		height: 100px;
	}
	.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;
		display: block;
		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;
	}
	.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;
	}
}
