body {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
    background-attachment: fixed;
}


h2 {
    color: #333;
    margin-bottom: 20px;
}

ul.list-group {
    margin-top: 20px;
}

.navbar-brand {
    color: pink;
}


ul.messages {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.messages li {
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: opacity 0.5s ease-out;
}

ul.messages li.error {
    background-color: #ffe6e6;
    border-left: 5px solid #ff0000;
    color: #b30000;
}

ul.messages li.success {
    background-color: #e6ffe6;
    border-left: 5px solid #009900;
    color: #006600;
}

ul.messages li.warning {
    background-color: #fff6e6;
    border-left: 5px solid #ff6600;
    color: #cc5200;
}

ul.messages li.info {
    background-color: #e6f5ff;
    border-left: 5px solid #0066ff;
    color: #0044cc;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #343a40;
    color: white;
    margin-top: 15rem;
}




/* Responsive Font Size */
@media (max-width: 768px) {
    h4 {
        font-size: 1.8rem;
        /* Adjust for smaller screens */
    }
}


/* Smooth fade-in effect */
.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

/* Bouncing effect */
.bounce {
    animation: bounce 1.5s infinite;
}

/* Rotating effect */
.rotate {
    display: inline-block;
    animation: rotate 4s linear infinite;
}

/* Fading emoji */
.fade {
    animation: fadeInOut 3s infinite alternate;
}

/* Emoji container */
.emoji-container {
    margin-top: 30px;
}

.emoji {
    font-size: 3rem;
    margin: 10px;
    display: inline-block;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

@keyframes backgroundShift {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(45deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .emoji {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }
}