/* Basic styling for the webpage */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Header */
header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px 0;
}

h1 {
    margin: 0;
}

/* Panel styling */
.panel {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section titles */
h2 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Scroll container (to make images scrollable horizontally) */
.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.scroll-container img {
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

/* Image hover effect */
.scroll-container img:hover {
    transform: scale(1.1);
}

/* Making the entire page scrollable */
body {
    overflow-y: auto;
    padding-bottom: 20px;
}

.panel {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.panel h2 {
    color: #333;
}

/* Responsive design: Make sure it looks good on all screen sizes */
@media (max-width: 768px) {
    .scroll-container img {
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .scroll-container img {
        max-height: 120px;
    }
}
