
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

main{	
	min-height: 100vh;
	background-image: var(--colorfondo)
}

html {

	font-family: 'Poppins', sans-serif;
} 
.fondoimagen {
	/* Ajusta la altura según sea necesario */
	height: 90vh; /* Esto hace que la sección tenga el 100% de la altura de la ventana del navegador */
	background-image: var(--imagenfondo);
	background-size: cover; /* Ajusta el tamaño de la imagen para cubrir todo el contenedor */
	background-attachment: fixed; /* Esto fija la imagen de fondo para que permanezca en su posición mientras se desplaza la página */
	background-position: center; /* Centra la imagen de fondo */
	overflow: hidden; /* Oculta el desbordamiento para evitar que la imagen se muestre fuera de la sección */
  }
/*
##    ##    ###    ##     ## ########     ###    ########  
###   ##   ## ##   ##     ## ##     ##   ## ##   ##     ## 
####  ##  ##   ##  ##     ## ##     ##  ##   ##  ##     ## 
## ## ## ##     ## ##     ## ########  ##     ## ########  
##  #### #########  ##   ##  ##     ## ######### ##   ##   
##   ### ##     ##   ## ##   ##     ## ##     ## ##    ##  
##    ## ##     ##    ###    ########  ##     ## ##     ## */

/* .header {
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    align-items: center;
    z-index: 1000;
    padding: 0;
    margin: 0;
} */

.header .navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
	margin: 0;
	background-color: var(--colorclaro);
	/* border: solid thin rgb(255, 102, 0); */
}

.navbar ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: row;
	gap: 0;
	flex-wrap: wrap;
    margin-left: 1em;
}

.navbar ul li {
	position: relative;
	display: inline-block;
	/* border: solid thin blue; */
	padding: 0;
	margin: 0;
}

.navbar ul li a {
	font-size: 1.2em;
	color: var(--colorprincipal);
	text-decoration: none;
	padding: 15px 20px;
	display: block;
	transition: all .2s ease;
    margin: 0;
}

.navbar ul li:hover {
	background-color: var(--colorsecundario);
}

.navbar ul li a:hover {
	color: var(--colorclaro);
}

.container-user {
	display: flex;
	align-items: center;
	/* border: solid thin red; */
}

.user-info, .login-link {
	font-size: 1.2em;
	color: var(--colorprincipal);
	text-decoration: none;
	display: flex;
	align-items: center;
    margin-right: .5em;
}

.user-info, .login-link a {
	text-decoration: none;
}

.user-info i, .login-link i {
	margin-right: 5px;
}

@media (max-width: 768px) {
	.navbar ul {
		flex-direction: column;
		gap: 0;
	}

	.container-user {
		order: 0;
		align-self: flex-end;
	}
}

/*
 ######  ##     ##    ###    ########  ########   #######   ######      ######  ######## ########  ##     ## ######## ########    ###    
##    ## ##     ##   ## ##   ##     ## ##     ## ##     ## ##    ##    ##    ## ##       ##     ## ##     ## ##            ##    ## ##   
##       ##     ##  ##   ##  ##     ## ##     ## ##     ## ##          ##       ##       ##     ## ##     ## ##           ##    ##   ##  
##       ##     ## ##     ## ##     ## ########  ##     ##  ######     ##       ######   ########  ##     ## ######      ##    ##     ## 
##       ##     ## ######### ##     ## ##   ##   ##     ##       ##    ##       ##       ##   ##    ##   ##  ##         ##     ######### 
##    ## ##     ## ##     ## ##     ## ##    ##  ##     ## ##    ##    ##    ## ##       ##    ##    ## ##   ##        ##      ##     ## 
 ######   #######  ##     ## ########  ##     ##  #######   ######      ######  ######## ##     ##    ###    ######## ######## ##     ## 
 */

.contenedor {
    padding: 20px;
    /* background-color: #f9f9f9; Fondo para la sección */
}

.contenedor-productos {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; /* Espacio entre los productos */
    justify-content: center; 
}

.cuadro-producto {
    background-color: var(--colorclaro); 
    border-radius: 10px;
    padding: 1.5em 1.5em;
    border-radius: 1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1 1 500px; 
    max-width: 500px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.411);
}

.contenedor-img {
    width: 100%; 
    height: 400px; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.contenedor-img img {
    width: auto;
    height: 100%; 
    object-fit: cover; 
    display: block;
  
    /* object-fit: cover; */
}

.contenido-cuadro-producto {
    padding: 15px;
    text-align: center; 
}

.estrellas{
    display: flex;
    justify-content: center; 
    margin-bottom: 10px;
}

h3 {
    margin: 10px 0;
}
/* Ponerle hover de color al h3 */

.pie-producto {
    display: flex;
    justify-content: space-between; 
    /* align-items: center; */
    width: 100%;
    /* padding: 0 15px; */
}

.añadircarro {
    justify-self: start;
	border: 3px solid var(--colorprincipal);
	padding: 15px;
	border-radius: 40%;
	cursor: pointer;
	transition: all 0.4s ease;
	display: flex;
	/* align-items: center; */
	/* justify-content: center; */
}

.añadircarro:hover {
	background-color: var(--colorsecundario);
}

.añadircarro i {
	font-size: 1.5em;
	color: var(--colorprincipal);
}

.añadircarro:hover i {
	color: #fff;
}
.precio {
    font-weight: bold;
    color: #333;
    font-size: 1.5em;
}

/*
##      ## ##     ##    ###    ########  ######     ###    ########  ########  
##  ##  ## ##     ##   ## ##      ##    ##    ##   ## ##   ##     ## ##     ## 
##  ##  ## ##     ##  ##   ##     ##    ##        ##   ##  ##     ## ##     ## 
##  ##  ## ######### ##     ##    ##     ######  ##     ## ########  ########  
##  ##  ## ##     ## #########    ##          ## ######### ##        ##        
##  ##  ## ##     ## ##     ##    ##    ##    ## ##     ## ##        ##        
 ###  ###  ##     ## ##     ##    ##     ######  ##     ## ##        ##        */
 
.whatsapp-btn {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 1000;
    cursor: pointer;
}

.whatsapp-btn img {
    width: 120px;
    height: auto;
}


/*
#### ##    ## ########  #######      ######  ######## ########  ##     ## ######## ########    ###    
 ##  ###   ## ##       ##     ##    ##    ## ##       ##     ## ##     ## ##            ##    ## ##   
 ##  ####  ## ##       ##     ##    ##       ##       ##     ## ##     ## ##           ##    ##   ##  
 ##  ## ## ## ######   ##     ##    ##       ######   ########  ##     ## ######      ##    ##     ## 
 ##  ##  #### ##       ##     ##    ##       ##       ##   ##    ##   ##  ##         ##     ######### 
 ##  ##   ### ##       ##     ##    ##    ## ##       ##    ##    ## ##   ##        ##      ##     ## 
#### ##    ## ##        #######      ######  ######## ##     ##    ###    ######## ######## ##     ## */

.cerveza-seccion {
    padding: 1em 2em;
    background-color: var(--colorclaro);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.cerveza-seccion h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
}

.cerveza-info {
    display: flex;
    flex-direction: column; 
    align-items: center;
    background-color: var(--colorclaro);
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 20px;
}


.cerveza-info h3 {
    color: var(--colorprincipal);
    margin-bottom: 10px;
    text-align: center;
    font-size: 30px;
}

.cerveza-info p {
    font-size: 24px;
    margin: 0;
}

.texto {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.cerveza-info img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    margin-bottom: .5em;
}

.cerveza-info img:hover {
    transform: scale(1.1);
}

.cerveza-info p {
    font-size: 24px;
    margin: 0;
    text-align: justify;
    hyphens: auto;
    letter-spacing: .5px; 
    word-spacing: .5px; 
}

.texto {
    flex: 1;
    /* padding-left: 20px; */
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .cerveza-info {
        flex-direction: row; /* Cambiar a fila en pantallas más grandes */
    }
}

/*
########     ###    ##    ## ##    ## ######## ########  
##     ##   ## ##   ###   ## ###   ## ##       ##     ## 
##     ##  ##   ##  ####  ## ####  ## ##       ##     ## 
########  ##     ## ## ## ## ## ## ## ######   ########  
##     ## ######### ##  #### ##  #### ##       ##   ##   
##     ## ##     ## ##   ### ##   ### ##       ##    ##  
########  ##     ## ##    ## ##    ## ######## ##     ## */

.galeria {
    width: 100%;
    overflow: hidden; 
    box-sizing: border-box;
}

.bannerfotos {
    width: 100%;
    height:100%;
    max-height: calc(100vh - 20px); 
    display: block;
    object-fit: cover;
    object-position: center; 
    box-sizing: border-box; 
}

/*
########    ###    ########  ##          ###    
   ##      ## ##   ##     ## ##         ## ##   
   ##     ##   ##  ##     ## ##        ##   ##  
   ##    ##     ## ########  ##       ##     ## 
   ##    ######### ##     ## ##       ######### 
   ##    ##     ## ##     ## ##       ##     ## 
   ##    ##     ## ########  ######## ##     ## */


   .cerveza-table {
    text-align: center;
}

.cerveza-table h3 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 1em;
    padding-top: 1em;
    text-align: center;
}

table {
    width: 100%;
    margin-bottom: 2em;
    border-collapse: collapse; 
    table-layout: fixed; 
    
}

#titulostabla{
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.411);
}

th, td {
    text-align: center;
    color: #fff;
    padding: 0.5em 0;
    border-bottom: 2px solid #ddd;
    font-size: 1em;
    word-wrap: break-word; 
}

th {
    background-color: var(--colorprincipal);
   
}

.letrasth {
    font-size: 1em;
    color: #fff;
}

/* Estilo para los marinajes */
.marinajes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 1em;
    padding-bottom: 1em;
}

.marinaje {
    margin: 1%;
    position: relative;
    flex: 1 0 21%;
    max-width: 7em;
    min-width: 7em; 
}

.marinaje img {
    width: 7em;
    height: 7em;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.411);
}

.nombre-mar {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5em 1em;
    border-radius: 5px;
    color: white;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marinaje:hover .nombre-mar {
    opacity: 1;
}

.marinaje:hover img {
    transform: scale(1.1);
    filter: brightness(120%);
}

/*
##     ## #### ########  ########  #######   ######  
##     ##  ##  ##     ## ##       ##     ## ##    ## 
##     ##  ##  ##     ## ##       ##     ## ##       
##     ##  ##  ##     ## ######   ##     ##  ######  
 ##   ##   ##  ##     ## ##       ##     ##       ## 
  ## ##    ##  ##     ## ##       ##     ## ##    ## 
   ###    #### ########  ########  #######   ######  */

.video-container {
    padding-top: 50px;
    width: 100%;
    background-color: var(--colorclaro);
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    overflow-x: hidden; /* Evita el scroll horizontal */
}

.video-wrapper {
    position: relative;
    flex: 1 1 300px; /* Permite que cada video ocupe al menos 300px de ancho y se ajuste */
    max-width: 310px; /* Limita el ancho máximo del video */
}

.video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.5);
    color: rgb(0, 0, 0);
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 16px;
}