/* src/main/resources/static/css/capoeira.css */
body {
    background-image: url('/image/capoeira-alpujarra-mamana.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
        color: white; /* Ensure text is visible */
    }


.photo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.photo-item.small {
    flex: 0 1 300px;  /* This sets a base width while allowing shrink but not grow */
    height: 300px;
    position: relative;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.simple-box {
    border: 1px solid rgba(221, 221, 221, 0.8);
    border-radius: 8px;
    padding: 15px;
    margin: 10px auto;
    background-color: rgba(255, 255, 255, 0.5);  /* Added transparency */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.box-content {
    color: rgba(51, 51, 51, 0.9);  /* Slightly transparent text */
}

.box-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.box-content {
    color: #333;
}

.box-content h3 {
    margin-bottom: 10px;
}

