/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #282c34;
    color: #fff;
    overflow: hidden;
}

/* Container for text and animation */
.container {
    text-align: center;
    z-index: 2;
}

h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.5rem;
    font-weight: lighter;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #f2f2f2;
}

/* Animated Loader */
.loader {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader div {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #61dafb;
    border-radius: 50%;
    animation: loader-animation 1.2s linear infinite;
}

.loader div:nth-child(1) {
    top: 8px;
    left: 8px;
    animation-delay: 0s;
}

.loader div:nth-child(2) {
    top: 8px;
    left: 32px;
    animation-delay: -0.4s;
}

.loader div:nth-child(3) {
    top: 32px;
    left: 8px;
    animation-delay: -0.8s;
}

.loader div:nth-child(4) {
    top: 32px;
    left: 32px;
    animation-delay: -1.2s;
}

@keyframes loader-animation {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

/* Background Animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #61dafb, #282c34, #61dafb, #282c34);
    background-size: 400% 400%;
    z-index: 1;
    animation: gradient-animation 10s ease infinite;
    opacity: 0.8;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

