@import url('https://fonts.googleapis.com/css2?family=Griffy&display=swap');

body {
    background-image: url('Images/My\ Background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Griffy', system-ui;
}

.header-txt{
  position:fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  text-align: center;
}

.marco-whimsy {
    position: relative;
    
    
    width: 450px; 
    height: 450px;
    
    background-image: url('Images/Marco.png'); 
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;

    font-size: 240%;
    
    flex: 0 0 auto; 
    cursor: pointer;
    transition: transform 0.2s ease;
}

.marco-whimsy:hover {
    transform: scale(1.05); /* Pequeño efecto de zoom al pasar el ratón */
}

h3 {
    color: #333;
    margin: 5px 0 0 0; /* Un pequeño margen para separar del marco */
}

.imagen-difuminada {
    width: 75%; 
    height: 75%;
    object-fit: cover;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1100px; /* Ancho ajustado para que quepan 2 de tus marcos de 450px a la vez */
    margin: 300px auto 0 auto;
}

.images {
    overflow: hidden;
    width: 100%;
    padding: 20px 0; /* Espacio para que el efecto "hover" no se corte */
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 30px; /* Separación entre tus marcos */
}

.carousel-btn {
    background-color: rgba(228, 67, 121, 0.33);
    color: rgb(110, 255, 13);
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 40px;
    z-index: 10;
    margin: 0 10px;
}

.carousel-btn:hover {
    background-color:  rgba(255, 0, 85, 0.33);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

.modal-contenido {
    margin: 5% auto;
    display: block;
    max-width: 80%;
    max-height: 70vh;
    border-radius: 15px;
    /* Aplico tu misma máscara a la imagen grande para que siga tu estilo */
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
    mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
}

#captionModal {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: rgb(139, 131, 142); /* Mismo color de tus h3 */
    padding: 10px 0;
    font-size: 50px; /* Letra grande para el título del modal */
    font-family: 'Griffy', system-ui; /* Respeta tu fuente */
}

.cerrar-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}