/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*    */

/* body {
    font-family: 'Courier New', Courier, monospace;
    background: url('../images/snake.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: -1;
}
*/

.majors-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(238, 235, 235, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.majors-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/snake.jpg') no-repeat center center/cover;
    opacity: 0.1; /* Adjust the opacity for a subtle effect */
    z-index: -1;
    border-radius: 10px;
}

.majors-section h2 {
    margin-bottom: 20px;
    color: #00ffcc;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.accordion {
    border-top: 1px solid #00ffcc;
}

.accordion-item {
    border-bottom: 1px solid #00ffcc;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.accordion-header:hover {
    background-color: rgba(0, 255, 204, 0.2);
}

.major-number {
    width: 30px;
    height: 30px;
    background-color: #00ffcc;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.accordion-content {
    display: none;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #00ffcc;
    border-radius: 5px;
}

.accordion-content p {
    margin: 0;
}

/* Animation for sci-fi effect */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    }
}

.accordion-header, .major-number {
    animation: glow 2s infinite alternate;
}
