body {
    font-family: 'Salsa', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #4CAF50;
    overflow: hidden;
}

nav li {
    float: left;
}

nav a {
    display: block;
    color: #fff; /* Updated link color for the navigation */
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #45a049;
    transform: scale(1.1);
}

section {
    margin: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    transform-origin: center;
}

section:hover {
    transform: scale(1.05);
}

section h2 {
    color: #333;
}

/* Styling for Read Blogs section */
#read-blogs a {
    color: #007bff; /* Updated link color for the Read Blogs section */
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries for Responsive Design */
@media only screen and (max-width: 768px) {
    header {
        padding: 0.5em;
    }

    nav a {
        padding: 10px;
    }

    section {
        margin: 10px;
        padding: 10px;
    }
}
