

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}


/*Encabezado*/

h1{    font-size:80px;
}

header{
    width: 100%;
    height: auto;
    background: rgb(255, 255, 255);
}

.encabezadode_arriba{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo{
    color: rgb(110, 46, 8);
    font-family: 'Caveat', cursive;
    font-weight: 700;
    padding-right: 8rem;
    padding-left: 30rem;
}

.buscar{
    padding-right: 1rem;
    display: flex;
    align-items: center;
}

.buscar .input{
    width: 250px;
    height: 30px;
    font-size: 100%;
    padding: 15px;
    border:2px solid brown;
    border-radius: 15px 0px 0px 15px;
}

.buscar button img{
    width: 30px;
    height: 27px;
    border: 2px brown;
    cursor: pointer;
    background: transparent;
}

.acciones_usuario{
    display: flex;
    align-items: center;
}

.acciones_usuario img{
    width: 35px;
    height: 35px; 
    padding-right: 10px;
}

.acciones_usuario span{
    width: 20px;
    height: 20px;
    text-align: center;
    position: relative;
    float: left;
    background-color: brown;
    color: white;
    font-size: 17px;
    border-radius: 50%;
}

/**/

/*Barra de navegación*/
.encabezado-menu .navegador ul li{
    display: inline;
    margin-right: 50px;
    margin-left: 50px;
    font-weight: bold;
}

.encabezado-menu .navegador ul{
    text-align: center;
    margin-top: 13px;
    padding-top: 13px;
    padding-bottom: 15px;
    background-color: rgb(182, 154, 118);

}

.encabezado-menu .navegador ul li a{
    font-size: 18px;
    font-weight: 530;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color:rgb(255, 255, 255);
    padding: 2px 7px 2px 7px;
}

.encabezado-menu .navegador ul li a:hover{
    color:rgb(110, 46, 8);
}
/*Fin de Barra de navegación*/
/*Fin del encabezado de página*/

.tunel-portada{
    width: 100%;
    height: 30rem;
}
.portada-contenido{
    position: absolute;
    top: 55%;
    left: 50%;
    color: white;
    transform: translate(-50%, -50%);
    width: 60%;
    text-align: center;
    z-index: 999;
}
.portada-titulo{
    font-size: 3.2em;
    margin: 15px;
}
.portada-txt{
    font-size: 1.5em;
    margin: 45px;
}
/*Fin de Portada*/


.one {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen se adapte al contenedor manteniendo sus proporciones */
}
.portada {
    width: 100%;
    height: 100vh; /* La portada ocupará el 100% de la altura de la ventana del navegador */
    position: relative;
    overflow: hidden; /* Para evitar que el contenido se desborde */
}
.portada-contenido {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; /* Asegúrate de que el texto sea visible sobre la imagen */
}







.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px;
    padding: 20px;
}

.text {
    flex: 1;
    padding-right: 20px;
    font-family: Arial, sans-serif;
}

.text h2 {
    color: #b62e2e; /* Color rojo similar al de tu ejemplo */
    font-size: 24px;
}

.text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
}





    
/*Fuente importada*/
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
/*Fuente importada*/


*

/*Portada*/
.tunel-portada{
    width: 100%;
    height: 30rem;
}

.portada-contenido{
    position: absolute;
    top: 55%;
    left: 50%;
    color: white;
    transform: translate(-50%, -50%);
    width: 60%;
    text-align: center;
    z-index: 999;
}
.portada-titulo{
    font-size: 3.2em;
    margin: 15px;
}
.portada-txt{
    font-size: 1.5em;
    margin: 45px;
}
/*Fin de Portada*/

/*Sección 1*/
/*Recomendaciones de Libros*/

.productos {
	padding: 5em 3em;
}

.titulo-b {
	text-align:left;
	margin-bottom: 0.7em;
    	font-family: Verdana, Geneva, Tahoma, sans-serif;
    	color: #911c0d;
}

.contenedor {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2em;
}

/*Card de libro con FLEX*/
.card {
    position: relative;
	display: flex;
	flex-flow: column;
    flex-wrap: wrap;
	transition: 300ms ease-in-out;
	/* 	 */
}

/*La tarjeta crece de tamaño con HOOVER*/
.productos .card:hover {
	transform: scale(1.05);
}

.img-libro{
    width: 180px;
    height: 300px;
}

.card-txt {
	/*Flex de titulo arriba y botón abajo*/
	font-family: Verdana, Geneva, Tahoma, sans-serif;
    	font-size: small;
    	display: flex;
	flex-flow: column;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	padding: 1.5em 4em;
	text-align: center;
}

.card-txt .btn {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
    color:#ffffff;
    font-size: 0.8em;
	background: #911c0d;
}

.btn {
	display: inline-block;
	padding: 0.6em 1.7em;
	border-radius: 0.3em;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.09em;
}

.producto {
	max-width: 280px;
	vertical-align: top;
	background: #fff;
	padding: 10px 0 20px 0;
	margin-right: 20px;
	border-radius: 10px;
}

.producto .contenedor-imagen{
	min-height: 220px;
	position: relative;
}

.producto .contenedor-imagen img{
	width: 100%;
}
/*Fin de la Sección 1*/

/*Sección 2*/
.titulo-c {
	text-align:left;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #911c0d;
}

.seccion__libros{
    display: block;
    padding: 5em 3em;
}

.barra_libros{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.mas__libros{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color:#911c0d;
    margin-right: 10px;
}

.carrusel__libros{
    display: flex;
    overflow-x: scroll;
    padding: 0.5em;
}

.box-compra{
    display: flex;
}

div .box-compra{
    padding: 1px;
    flex-flow:row;
	gap: 2em;
}

.box-compra .precio{
    color:#976905;
    font-size: 18px;
}

.card-txt .btn-compra {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
    color:#ffffff;
    font-size: 0.7em;
	background: #911c0d;
    border: 1px #911c0d;
}

.btn-compra {
	display: inline-block;
	padding: 0.6em 1.7em;
	border-radius: 0.3em;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.09em;
}

/*TARJETA CRECE DE TAMAÑO CON HOVER*/
.productos .card:hover {
	transform: scale(1.05);
}

.img-libro{
    width: 180px;
    height: 300px;
}

/*Fin de la Sección 2*/

/*Sección 3*/

.titulo-d {
	text-align:left;
	margin-bottom: 1em;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #911c0d;
}

.conocenos{
    display: flex;
    justify-content: space-between;
    padding: 5em 3em;
    gap:50px;
}

#img-sucursal{
    width: 650px;
}

.sucursal__descripcion p{
    text-align: justify;
    color: rgb(0, 0, 0);
    padding: 5px;
    margin: 15px 0px 15px 0px;
}

.sucursal__descripcion .sucursal__invitación{
    text-align: center;
    color: #911c0d;
}
/*Fin de la sección 3*/


  



















/* General footer styling */
.main-footer {
    background-color: #c3a480; /* Color de fondo similar al de la imagen */
    color: #ffffff; /* Color de texto */
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
    font-family: Arial, sans-serif;
}

.footer__section {
    flex: 1;
    margin: 10px;
}

.footer__title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    border-bottom: 2px solid #ffffff; /* Línea debajo del título */
    padding-bottom: 5px; /* Espacio entre el texto y la línea */
}

.footer__txt {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    margin: 5px 0;
}

/* Styling for contact info with icons */
.footer__contact {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer__contact img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.email-to {
    color: #ffffff;
    text-decoration: none;
}

.email-to:hover {
    text-decoration: underline;
}

/* Social media icons styling */
.redes-sociales {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.img_redes {
    width: 25px;
    height: 25px;
}

/* Links section */
.footer__link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 5px;
}

.footer__link:hover {
    text-decoration: underline;
}

/* Subscription section styling */
.footer__subscription {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.footer__input {
    padding: 8px;
    font-size: 14px;
    border: none;
    border-radius: 3px;
    margin-right: 5px;
}

.suscripcion_enviar {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #7d4b33; /* Color del botón de enviar */
    color: #ffffff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.suscripcion_enviar:hover {
    background-color: #6a4029; /* Color hover para el botón */
}

/* Footer copyright */
.copy {
    font-size: 12px;
    color: #ffffff;
    text-align: center;
    margin-top: 20px;
    width: 100%;
}
