body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    padding: 10px;
    background: linear-gradient(135deg, #1a2a6c, #004e92, #00c6ff, #00ffbb);
    color: #e0e0e0;
}

#animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(32,32,32,0.9) 0%, rgba(18,18,18,1) 100%);
    z-index: -1;
}

.floating-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.floating-shape:nth-child(2) { width: 80px; height: 80px; left: 20%; top: 20%; animation-duration: 8s; animation-delay: -2s; }
.floating-shape:nth-child(3) { width: 50px; height: 50px; right: 25%; top: 50%; animation-duration: 7s; animation-delay: -3s; }
.floating-shape:nth-child(4) { width: 70px; height: 70px; left: 40%; bottom: 30%; animation-duration: 9s; animation-delay: -4s; }
.floating-shape:nth-child(5) { width: 60px; height: 60px; left: 10%; top: 70%; animation-duration: 7s; animation-delay: -1.5s; }
.floating-shape:nth-child(6) { width: 90px; height: 90px; right: 15%; bottom: 20%; animation-duration: 9s; animation-delay: -2.5s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

h1, h2, h3 {
    text-align: center;
    margin: 10px 0;
}

h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }

p {
    font-size: 16px;
    text-align: center;
    margin: 10px;
    color: #b0b0b0;
}


#content-container {
    width: 90%;
    max-width: 700px;
    text-align: center;
    z-index: 1;
    margin-bottom: 50px;
}

#code-table-container {
    overflow-x: auto; /* Enable horizontal scrolling on small screens */
    width: 100%;
}




h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #b0b0b0;
}

#code-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1e1e1e;
    color: #f8f8f2;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
    border-radius: 10px; /* Curves for the table edges */
    overflow: hidden; /* Ensures the rounded corners are applied cleanly */
}

#code-table th, #code-table td {
    padding: 15px;
    border: 1px solid #333;
    text-align: center;
}

#code-table th {
    background-color: #333;
    color: #f8f8f2;
}

#code-table td a {
    color: #00c6ff;
    text-decoration: none;
}

#code-table td a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        padding: 5px;
        font-size: 14px;
    }

    #content-container {
        width: 95%;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    #code-table th, #code-table td {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 14px;
    }

    #code-table th, #code-table td {
        padding: 8px;
        font-size: 12px;
    }
}


details {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-radius: 5px;
}

summary {
    font-weight: bold;
    cursor: pointer;
    outline: none;
}

summary::-webkit-details-marker {
    display: none; /* Remove default triangle icon */
}

details[open] summary {
    color: #007BFF; /* Change color when open */
}

/* Optional: Style the content inside the drop-down */
details p {
    margin: 0.5rem 0;
    padding-left: 1rem;
}

#content-container {
    flex: 1; /* This makes the content container grow to fill available space */
    width: 90%;
    max-width: 700px;
    text-align: center;
    z-index: 1;
    margin-bottom: 50px;
}

footer {
    color: #e0e0e0;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    border-radius: 10px;
    bottom: 0;
    z-index: 10;
}

footer nav a {
    color: #00c6ff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}

footer nav a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer nav a {
        font-size: 14px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    footer nav a {
        font-size: 12px;
        margin: 0 5px;
    }
}