body {
    margin: 0;
    font-family: 'Baskerville', serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #041025, #451600, #041025, #451600);
    background-size: 100% 400%;
    animation: backgroundGradient 20s ease infinite;
    color: rgb(255, 98, 0);
    padding-bottom: 80px;
}

@keyframes backgroundGradient {
    0% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

.overlay {
    width: 90%;
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 2;
}

header {
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-style: italic;
    font-size: 1.2em;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
    margin: 0 auto;
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    border-radius: 15px;
    color:rgb(255, 98, 0);
    font-weight: bold;
    font-size: 1.5em;
    text-decoration: none;
    transition: all 0.5s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    background-size: cover;
    background-position: center;
    position: relative;
}

.grid-item:nth-child(odd) {
    background-color: rgba(82, 25, 0, 0.7);
}
.grid-item:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.7);
}

.grid-item:hover {
    background-image: url('tiger.jpg');
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.grid-item span {
    transition: opacity 0.5s ease;
}

.grid-item:hover span {
    opacity: 0;
}