/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
    background-image: url("/cis195/images/webdev3.png");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    color: #FEF;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px;
    border-bottom: 2px solid #00ffcc;
    text-align: center;
}

header h1 {
    font-family: "Italianno", cursive;
    font-size: 2.5rem;
    color: #00ffcc;
    margin-bottom: 5px;
}

header p {
    color: #00ffff;
    font-size: 1.1rem;
}

.return-link {
    display: inline-block;
    margin-top: 15px;
    font-family: "Audiowide", sans-serif;
    color: #f5f545;
    text-decoration: none;
    border: 2px solid #f5f545;
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.5);
    transition: 0.3s ease;
}

.return-link:hover {
    background-color: #00ffff;
    color: #000;
    border-color: #00ffff;
}

/* Navigation */
nav {
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #00ffcc;
    padding: 10px 0;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

.nav-list li a {
    display: block;
    padding: 10px 15px;
    font-family: "Audiowide", sans-serif;
    color: #00ffcc;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
}

.nav-list li a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* Main Section */
main {
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 30px;
    background-color: rgba(0, 0, 0, 0.85); 
    border-left: 5px solid #00ffcc;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.15);
    overflow: hidden; 
}

section h2, section h3 {
    font-family: "Audiowide", sans-serif;
    font-size: 1.6rem;
    color: #00ffcc;
    padding: 15px 20px 5px 20px;
}

.content-body {
    padding: 15px 20px 20px 20px;
}

section p {
    color: #00ffff;
    margin-bottom: 15px;
}

section ul {
    margin-left: 20px;
    padding-left: 10px;
    color: #f5f545;
    list-style-type: disc;
}

section ul li {
    margin-bottom: 8px;
    font-weight: bold;
}

/* Footer */
footer {
    margin-top: auto;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin-bottom: 5px;
}

/* Responsive Media */

/* Tablets */
@media (min-width: 768px) {
    header h1 {
        font-size: 3.5rem;
    }
    
    .nav-list li a {
        padding: 12px 20px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    header {
        position: relative;
        text-align: left;
        padding: 30px 5%;
    }

    header h1 {
        margin-bottom: 0;
    }

    .return-link {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 5%;
        margin-top: 0;
    }

    main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 40px 20px;
    }

    #participation {
        grid-column: span 2; 
    }
}