/* Allgemeine Stile */
body {
    background-color: #333333;
    color: #fffef2;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #C69749;
    font-family: Arial, sans-serif;
}
.discord-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease-in-out;
}

.discord-link:hover .discord-icon {
    transform: scale(1.2);
}

a {
    color: #fffef2;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #C69749;
}

.guild-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.guild-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1f1f1f;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.guild-member:hover {
    transform: scale(1.05);
}

.guild-avatar {
    width: 230px;
    height: 116px;
    border-radius: 5px;
}

.info {
    margin-top: 5px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

#main-nav {
    background-color: #222222;
    padding: 10px 0;
    border: 1px solid black;
    font-family: Arial, sans-serif;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.navbar-nav li {
    display: inline;
}

.navbar-nav a {
    color: #fffef2;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
}

.navbar-nav a:hover {
    color: #C69749;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fffef2;
    padding: 10px;
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #222222;
        padding: 10px;
        border: 1px solid black;
		z-index: 3000;

    }
    
    .navbar-nav.active {
        display: flex;
    }
}

#raid-progress {
    height: auto;
    background-color: #333333;
    border: 1px solid black;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
	z-index: 1000; 
}
#raid-progress-wrapper {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.bosses {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

#hero {
    position: relative;
    background: url('/assets/images/herobackground.jpg') no-repeat center center;
    background-size: cover;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
}

#hero h1 {
    font-size: 48px;
    font-weight: bold;
    color: #fffef2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2; 
}

#content-area {
    max-width: 1000px;
    margin: 20px auto;
    background-color: #222222;
    padding: 20px;
    border: 1px solid black;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
}

.content-box {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.raid-progress .bosses {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.raid-progress .boss {
    position: relative;
    width: 125px;
    height: 98px;
    overflow: hidden;
}

.raid-progress .boss img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.raid-progress .boss:hover img {
    transform: scale(1.1);
}

.raid-progress .boss.defeated img {
    filter: grayscale(100%) brightness(50%);
}

.boss-status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    font-size: 18px;
    font-weight: bold;
	text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

.in-progress .boss-status {
    color: #efb509; 
	text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
}

.apply-form-section h3 {
    color: #C69749;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input, textarea {
    background-color: #333;
    border: 1px solid #555;
    color: #fffef2;
    padding: 10px;
    border-radius: 3px;
}

textarea {
    resize: vertical;
}

#char-counter {
    font-size: 12px;
    text-align: right;
    margin-top: 5px;
}

.cta-button {
    display: inline-block;
    background-color: #C69749;
    color: #282A3A;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid black;
    transition: 0.3s;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
}

.cta-button:hover {
    background-color: #fffef2;
    color: #222222;
}

html, body {
    height: 100%;
    background-color: #333333;
}

#page-container {
    min-height: 100vh;
    background-color: #333333;
    display: flex;
    flex-direction: column;
}

#main-footer {
    background-color: #222222;
    color: #fffef2;
    text-align: center;
    font-weight: bold;
    padding: 20px;
    width: 100%;
    height: 100px;
    border: 1px solid black;
    font-family: Arial, sans-serif;
    margin-top: auto;
}

#main-footer a {
    color: #fffef2;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
}

#main-footer a:hover {
    color: #C69749;
}
.input-label {
    color: #efb509;
    font-size: 1.11em;
    font-weight: bold;
    margin-bottom: 2px;
}

.input-desc {
    display: block;
    color: #aaa;
    font-size: 0.96em;
    margin-top: 3px;
    font-weight: normal;
}