/*
Theme Name: Gildia Nieżywego Nerda
Author: boberski
Description: A custom theme for the Gildia Nieżywego Nerda website.
Version: 1.0
*/

/* Ogólne style */
body {
    font-family: 'serif', sans-serif; /* Czcionka o magicznym charakterze */
    background-color: #0A0F1F; /* Ciemne, noir tło */
    color: #EDEDED; /* Jasnoszary tekst dla dobrej czytelności */
    background-image: url('img/bg.png'); /* Tło karczmy */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* Header */
header {
    background: linear-gradient(to bottom, rgba(46, 60, 80, 0.9), rgba(27, 36, 50, 0.9)); /* Gradient noir */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.logo-container {
    text-align: center;
}

.logo-container img {
    max-width: 200px;
}

nav {
	display: flex;
    justify-content: center; /* Centrowanie horyzontalne */
    align-items: center; /* Centrowanie wertykalne */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: #9CC3E8; /* Kolor linków */
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #FFD700; /* Kolor hover linków */
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background: linear-gradient(to bottom, rgba(46, 60, 80, 0.9), rgba(27, 36, 50, 0.9));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Układ dwukolumnowy */
.content-container {
    display: flex;
    justify-content: space-between;
}

.left-column {
    width: 450px;
    margin: 20px;
}

.right-column {
    width: 100%;
    padding: 20px;
    margin: 20px;
    background: linear-gradient(to bottom, rgba(46, 60, 80, 0.9), rgba(27, 36, 50, 0.9));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Lekki cień */
}
.gameContainerClass {
	display: block;
}

.gameContainerMsgClass {
	display: none;
}

/* Responsive Web Design */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }

    .left-column, .right-column {
        width: 80%;
        margin: 20px;
    }
	
	.gameContainerClass {
		display: none !important;
	}

	.gameContainerMsgClass {
		display: block !important;
	}

}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin: 10px 0;
    }
}
.teczki-menu-container {
    width: 100%; /* Menu zajmuje 80% dostępnej przestrzeni */
    margin: 0 auto; /* Wyśrodkowanie */
    background: #1e1b18;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 200, 0.1);
}

/* Układ teczek - teraz bez pozycji absolutnej */
.teczki-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
}

.teczki-menu > li {
    background: linear-gradient(135deg, #6d5845, #4e3d31);
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    color: #d4c1a5;
    border: 2px solid #4e3d31;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    position: relative; /* Usunięto absolute, aby menu się rozciągało */
    margin-bottom: -30px; /* Efekt nakładania teczek */
    z-index: 1;
}

/* Efekt wysuwania teczki */
.teczki-menu > li:hover {
    transform: translateY(-20px);
    box-shadow: 0 10px 20px rgba(255, 255, 200, 0.4);
}

/* Ikonki */
.teczki-menu > li::before {
    content: "🗂 ";
    margin-right: 10px;
}

/* Cały wiersz jest klikalny */
.teczki-menu > li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 10px;
}

.ab-top-secondary {
    display: none;
}
