/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f1f1f1;
    background-image: url("/images/snow1.jpg");
    background-size: auto;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: #141414;
    color: #f1f1f1;
}

header {
    background-color: #8ffef8;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

main {
    flex: 1;
    padding: 20px;
}
.darkmodediv {
    padding-left: 480px;
    padding-right: 480px;
    background: grey;
}

.counter, .info, .clients, .danger-zone {
    margin-bottom: 20px;
}

.Container18, .Container15, .ContainerOther {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

button, .source-btn, .dsc-btn, .clr-btn {
    background-color: #0095ff;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.clientbutton button {
    background-color: #0095ff;
}
button:hover {
    transform: scale(1.05)
}
.clr-btn:hover {
    background-color: #ff3c00;
    transform: scale(1.05);
}
.dsc-btn:hover {
    background-color: #9656ce;
    transform: scale(1.05);
}
.source-btn:hover {
    background-color: #000;
    transform: scale(1.05);
}
.source-btn {
    background-color: #000; /* Black color for GitHub button */
}

.dsc-btn {
    background-color: #9656ce;
}

.clr-btn {
    background-color: #ff3c00;
}

.search-container {
    margin: 20px 0;
}

#search-bar {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 50%;
    max-width: 400px;
    transition: border-color 0.3s ease;
}

#search-bar:focus {
    border-color: #4caf50;
    outline: none;
}

.footer {
    background-color: #32b3bb; /*Winter color for footer */
    color: white; /* Light text color for footer */
    padding: 10px;
    text-align: center;
    opacity: 0.9;
}

.footer a {
    color: white; /* Light text color for footer links */
    text-decoration: none;
    margin: 0 10px;
    opacity: 1;
}

.footer a:hover {
    text-decoration: underline;
    opacity: 1;
}

.footer button {
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.footer button.server-list {
    background-color: #000; /* Black color for Server List button */
    padding-bottom: 25px;
    opacity: 1;
}

.footer button.server-list:hover {
    background-color: #333; /* Slightly lighter shade for hover effect */
    transform: scale(1.05);
    opacity: 1;
}

.footer button.eaglerrinth-mod-list {
    background-color: #9656ce; /* Same color as Discord link button */
    padding-bottom: 25px;
    opacity: 1;
}

.footer button.eaglerrinth-mod-list:hover {
    background-color: #a751f2; /* Slightly lighter shade for hover effect */
    transform: scale(1.05);
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.modal h2 {
    color: #333;
}

.modal p {
    color: #555;
    margin-bottom: 20px;
}

.modal button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    margin: 5px;
}

.modal button.cancel-btn {
    background-color: #f44336;
}

.modal button:hover {
    background-color: #45a049;
}

.modal button.cancel-btn:hover {
    background-color: #e53935;
}

.copy-link {
    background-color: #f4f4f4;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.copy-btn {
    background-color: #9656ce;
}

.copy-btn:hover {
    background-color: #5b209a;
}

/* Dark Mode Styles */
body.dark-mode .modal-content {
    background-color: #333;
    color: #f1f1f1;
}

body.dark-mode .modal h2 {
    color: #f1f1f1;
}

body.dark-mode .modal p {
    color: #ccc;
}

body.dark-mode #search-bar {
    background-color: #444;
    color: #f1f1f1;
    border-color: #555;
}

body.dark-mode #search-bar:focus {
    border-color: #4caf50;
}

body.dark-mode .footer {
    background-color: #444; /* Dark gray color for footer in dark mode */
    color: white; /* Light text color for footer in dark mode */
}

body.dark-mode .footer a {
    color: white; /* Light text color for footer links in dark mode */
}

body.dark-mode .footer button.server-list {
    background-color: #000; /* Black color for Server List button in dark mode */
}

body.dark-mode .footer button.server-list:hover {
    background-color: #333; /* Slightly lighter shade for hover effect in dark mode */
}

body.dark-mode .footer button.eaglerrinth-mod-list {
    background-color: #9656ce; /* Same color as Discord link button in dark mode */
}

body.dark-mode .footer button.eaglerrinth-mod-list:hover {
    background-color: #a751f2; /* Slightly lighter shade for hover effect in dark mode */
}