/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body Styling */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    position: relative;
}

/* Full-Screen Elements */
.full-screen-gif,
.background-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Buttons */
#start-mission-button, 
#launch-game-button, 
#next-button, 
#skip-button {
    position: absolute;
    padding: 15px 30px;
    font-size: 1.2em;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

/* Start Mission Button */
#start-mission-button {
    bottom: 5%;
    left: 90%;
    background-color: #4CAF50;
}

#start-mission-button:hover {
    background-color: #45a049;
}

/* Launch Game Button */
#launch-game-button {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #3a7f40;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

#launch-game-button:hover {
    background-color: #4caf50;
}

/* Next and Skip Buttons */
#next-button, #skip-button {
    bottom: 50%;
    right: 10%;
    background-color: rgb(0, 19, 128);
}

#skip-button {
    bottom: 20%;
}

/* Dialogue Box */
#dialogue-box {
    position: absolute;
    top: 0%;
    left: 40%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 500px;
    padding: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgba(0, 0, 0, 0.686);
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
}

#dialogue-text {
    padding-top: 20px;
}

/* Background Overlay */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.8;
}

/* Header, Sidebars, Footer */
header, .left-sidebar, .right-sidebar, footer {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px) saturate(180%);
    color: #2e8b57;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.main-content {
    background-color: #FFFFFF;
    padding: 20px;
    padding-top: 15em;
    border: 2px solid #2e8b57;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

/* Level Boxes */
.level-box, .right-sidebar ul li {
    background-color: rgba(46, 139, 87, 0.7);
    color: white;
    margin: 5px 0;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.level-box:hover, .right-sidebar ul li:hover {
    background-color: rgba(60, 179, 113, 0.7);
}

/* Navigation Bar */
.top-nav {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    background-color: rgba(46, 139, 87, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.top-nav a:hover {
    background-color: rgba(60, 179, 113, 0.7);
}

/* Layout Container */
.container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
}

/* Footer */
footer {
    background: none;
    color: rgb(17, 75, 0);
    text-align: center;
    font-size: 1.5em;
    padding: 0;
    margin-top: 80px;
    border: none;
    box-shadow: none;
}

/* Lists */
.left-sidebar ul, .right-sidebar ul {
    list-style-type: none;
    padding-left: 0;
}
