/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and font styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Header styling */
header {
    background-color: #ff9f9f;
    padding: 20px;
    text-align: center;
}

header h1 {
    color: white;
    font-size: 36px;
}

/* Content section styling */
.content {
    padding: 20px;
    text-align: center;
}

.content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Gallery container */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Tạo nhiều cột tự động */
    grid-gap: 20px; /* Khoảng cách giữa các ảnh */
    padding: 20px;
    justify-items: center; /* Căn giữa các ảnh trong mỗi ô */
    align-items: start; /* Căn chỉnh các ảnh từ trên xuống */
}

/* Image Styling */
.image-container img {
    width: 100%; /* Chiếm toàn bộ chiều rộng của ô */
    height: auto; /* Giữ tỉ lệ chiều cao ảnh */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Hover effect */
.image-container img:hover {
    transform: scale(1.05); /* Tạo hiệu ứng khi di chuột qua ảnh */
}


/* Footer styling */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}
