body {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
display: flex !important;
height: 100vh;
width: 100%;
align-items: center;
background: rgb(0, 0, 0);
}
h2, h4, small, a {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: red; /* Cambio de color de la letra a rojo */
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
.title-container {
margin-bottom: 20px; /* Aumentamos el espacio entre el título y el carrusel */
}
.page-title {
font-size: 24px;
font-weight: bold;
text-align: center;
color: white;
margin: 0; /* Elimina el margen para evitar espacio innecesario */
}
.carousel {
width: 100%;
margin-bottom: 80px; /* Aumentamos el espacio entre el carrusel y los botones */
}
@media (min-width: 768px) {
.carousel {
margin: 0 60px;
}
}
.carrusel-list {
position: relative;
display: flex;
align-items: center;
width: fit-content;
height: 704px;
padding: 10px 0px;
margin: 0px auto;
max-width: 90vw;
overflow: hidden;
}
.carrusel-track {
position: relative;
top: 0;
left: 0;
display: flex;
justify-content: center;
transition: 0.5s ease-in-out;
}
.carrusel {
position: relative;
width: 210px;
padding: 0 18px;
float: left;
box-sizing: border-box;
display: flex;
height: 100%;
}
.carrusel h4 {
position: absolute;
z-index: 1;
font-size: 22px;
line-height: 23px;
color: #ffffff;
padding: 15px;
}
.carrusel h4 small {
font-size: 15px;
display: block;
}
.carrusel img {
object-fit: cover;
height: 300px;
width: 200px;
border-radius: 15px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
transition: 0.3s ease-in-out;
}
@media (min-width: 768px) {
.carrusel {
width: 275px;
}
.carrusel img {
width: 250px;
}
}
.carrusel-arrow {
border-radius: 30px;
background-color: #ffffff;
position: absolute;
z-index: 4;
width: 48px;
height: 48px;
text-align: center;
border: 0;
cursor: pointer;
}
.carrusel-arrow:focus {
outline: 0;
}
.carrusel-arrow svg {
width: 12px;
height: 100%;
color: rgba(0, 0, 0, 0.7);
}
.carrusel-prev {
left: 0px;
}
.carrusel-next {
right: 0px;
}
.additional-buttons {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 40px; /* Aumentamos el espacio entre el carrusel y los botones */
}
.buy-button,
.digital-catalog-button {
margin-top: 20px; /* Aumentamos el espacio entre los botones */
padding: 10px 20px;
border-radius: 20px; /* Bordes redondos */
background-color: red; /* Color de fondo */
color: black; /* Color del texto */
font-weight: bold;
text-transform: uppercase;
border: none; /* Quitamos el borde */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Sombra */
transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.buy-button:hover,
.digital-catalog-button:hover {
background-color: #f0f0f0; /* Color de fondo al pasar el ratón */
color: #222222; /* Color del texto al pasar el ratón */
transform: translateY(-2px); /* Efecto de levantar ligeramente al pasar el ratón */
}
.tooltip {
position: relative;
}
.tooltip-content {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background-color: rgba(255, 255, 255, 0.9);
border-radius: 5px;
padding: 10px;
display: none;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.tooltip:hover .tooltip-content {
display: block;
}
/* Estilos para el Modal */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 50%;
height: 50%;
background-color: rgba(0,0,0,0.7);
justify-content: center;
align-items: center;
}
.modal-content {
background-color: white;
padding: 20px;
border-radius: 10px;
width: 60%;
max-width: 800px;
text-align: center;
}
.close {
color: red;
font-size: 24px;
font-weight: bold;
cursor: pointer;
float: right;
}
.close:hover {
color: black;
}