/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-image: url('background.png'); /* Replace with your background image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; /* Keeps the background fixed when scrolling */
    color: white;
    text-align: center;
}

strong {
    font-size: 20px;
    color: #fafafa;
    text-shadow: 1px 1px 2px rgb(0, 208, 255);
}

/* Container */
.container {
    width: 90%;
    margin: 0 auto;
    padding-top: 20px;
}

/* Header */
.header {
    text-align: center;
    text-shadow: 2px 2px 5px black;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 3rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between buttons */
    padding: 10px;
    background-color: #000; /* Navbar background color */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6); /* Subtle shadow */
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px 20px; /* Padding inside the button */
    background-color: rgba(255, 255, 255, 0.1); /* Button background */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Border around buttons */
    border-radius: 5px; /* Rounded edges */
    transition: all 0.3s ease; /* Smooth transitions */
}

.navbar a:hover {
    background-color: #333; /* Change background on hover */
    color: #ffffff; /* Change text color on hover */
    box-shadow: 0 0 8px #797979; /* Glow effect */
}


/* Content */
.content {
    display: flex;
    gap: 10px;
}

.top-panel {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0px;
    margin-top: 1%;
    margin-bottom: 1%;
    margin-left: 15%;
    margin-right: 15%;
    border-radius: 5px;
    box-shadow: 0 0 10px black;
    
}

li {
    margin-left: 1%;
}

.main-panel {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1%;
    margin-left: 15%;
    margin-right: 15%;
    border-radius: 5px;
    box-shadow: 0 0 10px black;
}

.top-panel, .right-panel {
    flex: 1;
}

.main-panel {
    flex: 2;
}

/* Button */
.donate-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 8px;
    background: linear-gradient(135deg, #333, #555);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
}

.donate-button:hover {
    background: linear-gradient(135deg, #444, #666);
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
    color: #ffffff; /* Adds a little pop! */
}


.vote-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 8px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}



/* Side Panel */
.side-panel {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1%;
    width: 20%; /* Adjust the width as needed */
    margin-left: 15%;
    border-radius: 5px;
    box-shadow: 0 0 10px black;
    text-align: left; /* Align text to the left */
    display: inline-block; /* Ensure it's aligned with the main panel */
}

/* Content of Side panel */
.content {
    display: flex;
    flex-direction: row; /* Arrange panels in a row */
    justify-content: space-between; /* Space between panels */
    gap: 10px;
}

.main-panel {
    width: 60%; /* Adjust to leave space for the side panel */
}


/* Sizing */

.vote-button:hover {
    background-color: #555;
}
@media (max-width: 1050px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 1px;
    }
    .navbar a {
        padding: 10px;
        text-align: center;
        width: 100%;
    }
}