/* main color: #F2F2F0 */

/* accent color: #D2E4F1 */
/* dark accent color: #8FACC0 */

/* gray color: #818D97 */
/* dark gray color: #484D51 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #F2F2F0;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #8FACC0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo a {
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

.logo img {
    width: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 10px;
}

nav ul li a:hover {
    background-color: #484D51;
    border-radius: 5px;
    text-decoration: underline;
}

.activePage {
    background-color: #484D51;
    border-radius: 5px;
}

/* Invisible spacer */
.invisible-spacer {
    flex-grow: 1; /* Takes up remaining space, ensuring footer stays at the bottom */
}



/* Main container */
.main-container {
    text-align: center;
    padding: 3rem;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 50px auto;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    min-width: 80%;
}

.main-container h1 {
    font-size: 3rem;
    color: #8FACC0;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.main-container h2 {
    font-size: 2rem;
    color: #D2E4F1;
}

.main-container p {
    font-size: 1.2rem;
    color: #333;
}

.BasicButton {
    background-color: #3498db; /* Primary button color */
    border: none;
    color: white;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.BasicButton:hover {
    background-color: #2980b9; /* Darken on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.BasicButton:active {
    background-color: #1f5f8a; /* Even darker when pressed */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* MenuList Items */
.MenuList {
    text-align: center;
    border-radius: 10px;
    margin: auto;
    max-width: 90%;
    min-width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50%, 50%));
}

.MenuList p {
    color: #FFFFFF;
}

.MenuList a {
    text-decoration: none;
}

.AppTegel {
    text-align: center;
    padding: 1rem;
    background-color: #484D51;
    border-radius: 10px;
    margin: 0.5rem;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.AppTegel img {
    width: 50%;
}



/* APPS */
/* Random Card Picker */
#RandomCardPicker img {
    margin: 1rem;
    max-height: 70%;
    min-height: 20%;
    max-width: 80%;
}

#RandomCardPicker button {
    margin-bottom: 5rem;
}

.ghost-card {
    opacity: 0.5;
    transition: transform 3s ease-out, opacity 3s ease-out;
    z-index: 1000; /* Ensure it's above other elements */
}



/* 🚧 Under Construction container 🚧 */
.construction-container {
    text-align: center;
    padding: 3rem;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 50px auto;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.construction-container h1 {
    font-size: 2rem;
    color: #8FACC0;
    margin-bottom: 1rem;
}

.construction-container p {
    font-size: 1.2rem;
    color: #333;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #8FACC0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}





/* Footer */
footer {
    background-color: #484D51;
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
}

.footer-column p,
.footer-column a {
    color: #818D97;
    font-size: 1rem;
}

.footer-column a:hover {
    text-decoration: underline;
    color: #ffffff;
}
