body {
    background-color: #B0E0E6; 
    font-family: 'Open Sans', sans-serif; 
    margin: 0;
    padding: 20px; 
}

.container {
    text-align: center;
    color: #000; 
    margin: 0 auto;
    max-width: 90%; 
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 70px;
    margin-bottom: 30px;
    word-wrap: break-word; 
    color: #000000;
}

h1 span {
    color: #000000;
    transition: color 0.3s ease; 
}

h1 span:hover {
    color: #7D9CFF;
}

h1 span:nth-child(1):hover { color: #FF69B4; }
h1 span:nth-child(2):hover { color: #FFD93D; }
h1 span:nth-child(3):hover { color: #FF6B6B; }
h1 span:nth-child(4):hover { color: #6BCB77; }
h1 span:nth-child(5):hover { color: #A93FD3; }
h1 span:nth-child(6):hover { color: #FF9A00; }

h2 {
    font-size: 20px;
    color: #4CAF50; 
    margin-bottom: 30px;
    font-weight: normal;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
    transition: 200ms;
}

h2:hover {
    color: blue;
    letter-spacing: 20px;
}

.highlight {
    color: #000000;
    font-weight: bold;
}

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

.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 450px; 
    height: 300px; 
    overflow: hidden;
    border: 5px solid #F4BB44; 
    box-sizing: border-box; 
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.image-container .hover-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 10px;
    box-sizing: border-box; 
}

.image-container:hover .hover-title {
    opacity: 1;
}
