* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Caprasimo', cursive;
	cursor: url("imagenes/huellita.png"), auto;
}

@import url('https://fonts.googleapis.com/css2?family=Caprasimo&display=swap');

/*------en cabezado----*/

header {
	display: flex;
	width: 100%;
	height: 80px;
	background-image: url("imagenes/fondo_header.jpg");
	justify-content: space-between;
	align-items: center;
	padding: 5px;
}

.logo {
	display: flex;
	align-items: center;
	height: 230px;
}

.logo img {
	height: 50%;
	width: auto;
}

/*--------menu-principal---------------*/

nav {
	width: 100%;
}
ul {
	list-style: none;
	display: flex;
	gap: 1px;
	justify-content: center;
	text-align: center;
	background-image: url(./imagenes/nav.png);
	height: 60px;
	border-radius: 3px;
	transition: 800ms;
}

ul a {
	text-decoration: none;
	color: white;
	cursor: pointer;
	font-size: 15px;
	display:flex;
	justify-content: center;
	align-items: center;
	text-align: center;	
}

.nav li {
	display: inline-block;
	color: white;
	z-index: 1;
}

.menu li a {
	display: flex;
	justify-content: center;
	align-items: center;
}

.menu:hover>.submenu ,p {
	display: flex;
	cursor: pointer;
	text-decoration: underline;
}

li:hover {
	color: rgb(250, 248, 248);
	cursor: pointer;
	text-decoration: underline;
}

.submenu {
	display: none;
	flex-direction: column;
	width: 100%;
	padding: 0;
	margin: 0;
}

ul .submenu li a {
	background-color: rgba(0, 128, 128, 0.63);
	width: 100%;
	height: 98%;
	color: white;
	text-align: center;
	border-radius: 2px;
	padding: 0;
	font-size: 15px;
}

.menu {
	margin: 0 10px;
}

/*------titulos------*/

.text {
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
	animation-name: cambiacolor;
	animation-duration: 6s;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	color: rgb(32, 31, 31);
	font-size: 30px;
	font-weight: 5px;
	margin-right: 5px;
}

.text2 {
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-color: beige 2px;
}

p {
	font-size: 13px;
	text-align: center;
	text-decoration: none;
}

h3 {
	color: white;
	background-color: teal;
	border-radius: 3px;
	font-size: 15px;
	padding: 5px;
	display: grid;
	grid-template-columns: 1fr 1fr 1f;
	column-gap: 20px;
}

h4 {
	color: whitesmoke;
}

/*--------imagenes-----*/

.fondo {
	width: 100%;
	display: flex;
	justify-content: center;
	opacity: 0.8;
}

.imagen {
	display: inline-block;
	width: 35px;
	z-index: 1;
	overflow: hidden;
	padding-top: 1px;
}

.producto_imagen {
	display: flex;
	flex-direction: column;
	width: 70%;
	justify-content: center;
	margin: 0.5rem;
	background-color: rgba(255, 255, 255, 0.31);
}

.producto_img img {
	height: 200px;
	flex-grow: 1;
}

.producto {
	display: flex;
	flex-direction: row;
	width: 20%;
	padding: 8px;
}

main {
	width: 100%;
	padding: 2%;
	box-sizing: border-box;
	background-image: url(./imagenes/fondo_2.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-align: center;
}

article {
	width: 70%;
	height: 20vh;
	margin: 1em;
	background-color: rgba(128, 128, 128, 0.336);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5%;
}

.titulo_producto {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	text-align: center;
}

/*------iconos----------*/

.menu2 .pedido {
	position: fixed;
	right: 4%;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display:flex;
	justify-content: center;
	align-items: center; 
	cursor: pointer;
}


.pedido {
	bottom: 120px;	
}

/*-------formulario----------*/

.formulario {
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: center;
	align-items: center;
	margin: 1rem;
	background-color: rgba(255, 255, 255, 0.24);
	
}

#btnEnviar {
	background-color: teal;
	text-decoration: none;
	margin: 0.5rem;
	color: aliceblue;
}

label , h4{
	color:rgb(1, 43, 43);
}
form {
	width: 100%;
	padding: 2%;
	box-sizing: border-box;
	background-image: url(./imagenes/otro_fondo.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: scroll;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-align: center;
}	
/*-----------------------*/

.footer {
	color: white;
	background-color: rgb(61, 65, 65);
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	padding: 15px;
	margin: 0;
}

.logo-footer {
	width: 5rem;
}
.text-footer {
	padding: 15px;
}

.img-footer {
	color: aliceblue;
	margin: 1px;
	padding: 3px;
}
/*-----animacion-----*/
@keyframes cambiacolor {
	10% {
		color: rgb(255, 208, 0);
	}

	25% {
		color: rgb(255, 71, 71);
	}

	50% {
		color: rgb(0, 2, 128);

	}

	100% {
		color: rgb(43, 226, 58);
	}
}


