/* General Styling */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    /* Dark background */
    color: #f1f1f1;
    /* Light text */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Banner Styling */
.banner {
    /* background-color: #5b5b5b; */
    width: 450px;
    height: 250px;
    /* border: 10px solid #F3C131; */
    border-radius: 5rem;
    overflow: hidden;
    margin: 15px auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner img {
    width: auto;
    height: 98%;
    object-fit: contain;
    object-position: center;
    border-radius: 5rem;
}

/* Flex container for the main content (sidebars + form) */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    /* Max container width */
    margin: 0 auto;
    padding: 2em;
    background: #1c1f2b;
    text-align: center;
    border-radius: 10px;
    position: relative;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.main-container::after,
.main-container::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), transparent -10%,
            rgba(255, 0, 0, 1),
            rgba(255, 154, 0, 1),
            rgba(208, 222, 33, 1),
            rgba(79, 220, 74, 1),
            rgba(63, 218, 216, 1),
            rgba(47, 201, 226, 1),
            rgba(28, 127, 238, 1),
            rgba(95, 21, 242, 1),
            rgba(186, 12, 248, 1),
            rgba(251, 7, 217, 1),
            rgba(255, 0, 0, 1));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    border-radius: 10px;
    animation: 2s spin linear infinite;
}

.main-container::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

.banner::after,
.banner::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), transparent -10%,
            rgba(255, 0, 0, 1),
            rgba(255, 154, 0, 1),
            rgba(208, 222, 33, 1),
            rgba(79, 220, 74, 1),
            rgba(63, 218, 216, 1),
            rgba(47, 201, 226, 1),
            rgba(28, 127, 238, 1),
            rgba(95, 21, 242, 1),
            rgba(186, 12, 248, 1),
            rgba(251, 7, 217, 1),
            rgba(255, 0, 0, 1));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 15px;
    /* border-radius: 10px; */
    animation: 2s spin linear infinite;
}

.banner::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}

/* Left & Right Sidebar */
.left-sidebar,
.right-sidebar,
.left-sidebar2,
.right-sidebar2,
.left-sidebar3,
.right-sidebar3 {
    width: 950px;
    /* background-color: #1e1e1e; */
    padding: 20px;
    /* border: 5px solid #3fb8eb; */
    border-radius: 10px;
    /* margin: 0 10px; */
    margin-top: -150px;
    /* Move sidebars higher */
    color: #fff;
    height: 400px;
    /* Set a fixed height for the sidebars */
}

/* For the second left sidebar */
.left-sidebar-2 {
    margin-left: 20px;
    /* Add some space between the sidebars */
}

/* For the second right sidebar */
.right-sidebar-2 {
    margin-left: 20px;
    /* Add some space between the sidebars */
}

/* For the third left sidebar */
.left-sidebar-3 {
    margin-left: 20px;
    /* Add some space between the sidebars */
}

/* For the third right sidebar */
.right-sidebar-3 {
    margin-left: 20px;
    /* Add some space between the sidebars */
}

/* Center Login Form */
.login-card {
    background: #1e1e1e;
    /* Dark card background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    text-align: center;
}

/* Container for the G and abesville text */
.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2px;
    /* Space between logo and form */
    margin-top: 12px;
}

.header-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #3fb8eb;
    margin-right: 0px;
    /* Space between image and text */
}

.header-container .text {
    font-size: 45px;
    display: inline-block;
    height: 15px;
    color: #fff;
    /* White color for text */
}

/* Form Inputs */
.form-group {
    margin-bottom: 15px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #2c2c2c;
    color: #fff;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #3fb8eb;
}

/* Buttons */
button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: #3fb8eb;
    color: #fff;
    margin-bottom: 15px;
}

.login-btn:hover {
    background-color: #3498db;
}

.back-btn {
    background-color: #f44336;
    color: #fff;
}

.back-btn:hover {
    background-color: #e53935;
}

/* Flashing Box Styling */
.flash-box {
    background-color: rgb(255, 0, 0);
    color: rgb(51, 51, 51);
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin: 10px 0;
    font-weight: bold;
    animation: flash 2s infinite alternate;
    /* Longer duration for smoother effect */
}

/* Flashing Box Styling */
.flash-box2 {
    background-color: rgb(255, 0, 0);
    color: rgb(51, 51, 51);
    padding: 10px;
    text-align: center;
    border-radius: 3px;
    margin: 10px 0;
    font-weight: bold;
    animation: flash 3s infinite alternate;
    /* Longer duration for smoother effect */
}

/* Flashing Animation */
@keyframes flash {

    0%, 9%, 18%, 27%, 36%, 45%, 64%, 73%, 82%, 91%, 100% {
        color: rgba(255, 255, 255, 1);
        /* White text */
    }

    0% {
        background-color: rgba(255, 0, 0, 1);
    }

    9% {
        background-color: rgba(255, 154, 0, 1);
    }

    18% {
        background-color: rgba(208, 222, 33, 1);
    }

    27% {
        background-color: rgba(79, 220, 74, 1);
    }

    36% {
        background-color: rgba(63, 218, 216, 1),;
    }

    45% {
        background-color: rgba(47, 201, 226, 1);
    }

    54% {
        background-color: rgba(28, 127, 238, 1);
    }

    64% {
        background-color: rgba(95, 21, 242, 1);
    }

    73% {
        background-color: rgba(186, 12, 248, 1);
    }

    82% {
        background-color: rgba(251, 7, 217, 1);
    }

    91% {
        background-color: rgb(242, 109, 21);
    }

    100% {
        background-color: rgba(255, 0, 0, 1);
    }
}

/* Adding a delay to each column */
.left-sidebar .flash-box:nth-child(odd) {
    animation-delay: 0s;
}

.left-sidebar .flash-box:nth-child(even) {
    animation-delay: 1s;
}

.left-sidebar2 .flash-box:nth-child(odd) {
    animation-delay: 0.5s;
}

.left-sidebar2 .flash-box:nth-child(even) {
    animation-delay: 1.5s;
}

.left-sidebar3 .flash-box:nth-child(odd) {
    animation-delay: 1s;
}

.left-sidebar3 .flash-box:nth-child(even) {
    animation-delay: 2s;
}

.right-sidebar .flash-box:nth-child(odd) {
    animation-delay: 0s;
}

.right-sidebar .flash-box:nth-child(even) {
    animation-delay: 1s;
}

.right-sidebar2 .flash-box:nth-child(odd) {
    animation-delay: 0.5s;
}

.right-sidebar2 .flash-box:nth-child(even) {
    animation-delay: 1.5s;
}

.right-sidebar3 .flash-box:nth-child(odd) {
    animation-delay: 1s;
}

.right-sidebar3 .flash-box:nth-child(even) {
    animation-delay: 2s;
}