body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #f5f9f8;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    overflow: hidden;
    scroll-behavior: smooth; /* Enables smooth scrolling */
}

header {
    background-color: #e0f7fa;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: fixed; /* Keeps navbar fixed */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures navbar stays above other content */
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: rotate(360deg);
}

.company-name {
    font-family: 'Tangerine', cursive;
    font-size: 3em;
    color: #00796b;
    margin: 0;
    transition: color 0.3s, transform 0.3s;
}

.company-name:hover {
    color: #004d40;
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    font-size: 1.2em;
    color: #004d40;
    font-weight: 600;
    padding: 10px;
    display: inline-block;
    transition: color 0.3s, border-bottom 0.3s, background-color 0.3s;
    border-radius: 4px;
}

nav a:hover, nav a.active {
    color: #00796b;
    border-bottom: 2px solid #00796b;
    background-color: rgba(0, 121, 107, 0.1);
}

.memes-container {
    width: 80%;
    max-width: 500px;
    height: 80vh;
    overflow-y: auto; /* Enables scrolling */
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 120px; /* Adjusted to avoid overlap with navbar */
}

.meme {
    position: relative;
    margin: 20px 0;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.meme img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.reaction-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #00796b;
    padding: 10px;
    transition: transform 0.3s ease, color 0.3s;
}

.reaction-button:hover {
    transform: scale(1.2);
    color: #004d40;
}

/* Social Media Icons Container */
.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px; 
}


.social-icons a {
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    color: #fff;
}

/* Facebook Icon */
.social-icons .facebook {
    background-color: #1877F2; 
}

.social-icons .facebook:hover {
    background-color: #145dbf; 
}

/* Instagram Icon */
.social-icons .instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); /* Instagram gradient */
}

.social-icons .instagram:hover {
    transform: scale(1.1); 
}

/* WhatsApp Icon */
.social-icons .whatsapp {
    background-color: #25D366; 
}

.social-icons .whatsapp:hover {
    background-color: #1da851; 
}

/* Icon Font Size */
.social-icons i {
    font-size: 24px;
    color: #fff;
}
