@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: white;
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    text-align: center;
}

.stars, .stars2, .stars3 {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    animation: starsMove 50s linear infinite;
}

.stars2 {
    animation: starsMove 100s linear infinite;
    opacity: 0.6;
}

.stars3 {
    animation: starsMove 150s linear infinite;
    opacity: 0.3;
}

@keyframes starsMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

header {
    padding: 50px 20px;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    border: 2px solid white;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: white;
    color: black;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

/* Animation */
.card.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

footer {
    padding: 40px;
    background: black;
    margin-top: 50px;
    font-size: 1rem;
}
