/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 1em;
    background-color: #1f1f1f;
    color: white;
    z-index: -1;
}

header, footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
}

.footertext {
    font-size: 1.4em;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0.5em 0;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

.card {
    margin: 20px auto;
    padding: 2em;
    width: 300px;
    background: #1c1f2b;
    text-align: center;
    border-radius: 10px;
    position: relative;
}

.card h2, .card p {
    color: white;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}   

.card::after, .card::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 6px;
    border-radius: 12px;
    animation: 3s linear infinite spin;
}

.card::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

.circle {
    margin: 40px auto;
    padding: 2em;
    width: 200px;
    height: 200px;
    background: #1c1f2b;
    text-align: center;
    border-radius: 50%;
    position: relative;
}

.circle h2, .circle p {
    color: white;
}

.circle::after, .circle::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), #ff7c02, #ffc800, #ffe100, #e1f907, #5eff00, #008216, #00ffc3, #fb854b);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 6px;
    border-radius: 50%;
    animation: 3s linear infinite spin;
}

.circle::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}

/* Media queries */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 750px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }

    h1 {
        font-size: 1.5em;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.2em;
    }
}