/* Minecraft Font */

@font-face {
    font-family: 'Minecraft';
    src: url('../font/Minecraft.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* FONT END */
:root {
    --primary-color: #00a4ff;
    --primary-border-color: #005cc575;
    --text-color: #ffffff;
    --spieler-color: #cecece;
    --server-online: #35a748;
    --server-offline: #ca3939;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Minecraft', sans-serif;
    font-weight: normal;
    background-color: #000000;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* index.html */
.background {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg.png') no-repeat center center/cover;
    filter: blur(5px) opacity(0.8);
    z-index: -1;
}

.server-status-container {
    position: absolute;
    top: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 100%;
}

.server-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    width: 600px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease-in-out;
}

.server-box:hover {
    transform: scale(1.1);
}

.server-icon {
    width: 64px;
    height: 64px;
    border-radius: 5px;
    margin-right: 15px;
}

.server-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    margin-top: 10px;
}

.server-name {
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.server-players {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 5px 0 0;
}

.server-status-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-badge {
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    padding: 8px 15px 5px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    background-color: #e53935;
    color: var(--text-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.server-badge.online {
    background-color: var(--server-online);
    text-shadow: 2px 2px 0 #7a7a7a73;
}

.server-badge.offline {
    background-color: var(--server-offline);
    text-shadow: 2px 2px 0 #7a7a7a73;
}

.logo-container {
    margin-bottom: 80px;
}

.logo {
    width: 80%;
    height: auto;
}

.welcome {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px 15px 10px 15px;
    margin: 20px;
    font-family: 'Minecraft';
    font-size: 1.1rem;
    color: #a0a0a0;
    width: fit-content;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.minecraft-head {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.role {
    line-height: 1;
}

.username {
    line-height: 1;
    color: var(--spieler-color);
}

.message {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.1rem;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-family: 'Minecraft';
}

.button-item {
    display: inline-block;
    padding: 10px 25px 5px 25px;
    font-size: 20px;
    color: var(--text-buttons);
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--primary-color);
    border: 5px solid var(--primary-border-color);
    text-shadow: 2px 2px 0 #7a7a7a73;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-item::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: -1;
}

.button-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.button-item:active {
    transform: translateY(2px);
}

/* team.html */
.team-background {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

.team-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg.png') no-repeat center center/cover;
    filter: blur(3px) opacity(0.7);
    z-index: -1;
}

.team-button {
    display: inline-block;
    padding: 10px 25px 5px 25px;
    font-size: 20px;
    color: var(--text-buttons);
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--primary-color);
    border: 5px solid var(--primary-border-color);
    text-shadow: 2px 2px 0 #7a7a7a73;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-button::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: -1;
}

.team-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.team-button:active {
    transform: translateY(2px);
}

.team-container {
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

.team-title {
    font-family: 'Minecraft', sans-serif;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: normal;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 20px;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    width: 220px;
    padding: 35px 0px 20px 0px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease-in-out;
}

.team-member:hover {
    transform: scale(1.1);
}

.team-head {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.team-name {
    font-weight: normal;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 10px 0;
}

.team-role {
    font-size: 1rem;
    color: #ffffff;
    padding: 8px 10px 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 5px;
    text-shadow: 2px 2px 0 #7a7a7a73;
}

.team-info {
    font-size: 1.2rem;
    margin-top: 35px;
}

/* credits.html */
.credits-background {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

.credits-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg.png') no-repeat center center/cover;
    filter: blur(3px) opacity(0.7);
    z-index: -1;
}

.credits-container {
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

.credits-title {
    font-family: 'Minecraft', sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0px;
    font-weight: normal;
    text-align: center;
}

.credits-info {
    font-family: 'Minecraft', sans-serif;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 30px;
}

.credits-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.credits-item {
    background: rgba(255, 255, 255, 0.1);
    width: 280px;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credits-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.credits-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
}

.credits-name {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.credits-button {
    display: inline-block;
    padding: 10px 25px 5px 25px;
    font-size: 20px;
    color: var(--text-buttons);
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--primary-color);
    border: 5px solid var(--primary-border-color);
    text-shadow: 2px 2px 0 #7a7a7a73;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.credits-button::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: -1;
}

.credits-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.credits-button:active {
    transform: translateY(2px);
}

/* information.html */
.info-background {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

.info-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg.png') no-repeat center center/cover;
    filter: blur(3px) opacity(0.7);
    z-index: -1;
}

.info-wrapper {
    width: 90%;
    max-width: 850px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    backdrop-filter: blur(5px);
}

.info-header {
    margin-bottom: 20px;
}

.info-title {
    font-size: 2.5rem;
    color: #f8fafc;
    margin-bottom: 10px;
}

.info-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #cbd5e1;
}

.info-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #f1f5f9;
}

.section-text {
    font-size: 1rem;
    color: #e2e8f0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    margin: 5px 0;
    font-size: 1rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.call-to-action {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
}

.cta-button {
    display: inline-block;
    padding: 10px 25px 5px 25px;
    margin-top: 10px;
    font-size: 20px;
    color: var(--text-buttons);
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--primary-color);
    border: 5px solid var(--primary-border-color);
    text-shadow: 2px 2px 0 #7a7a7a73;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.cta-button:active {
    transform: translateY(2px);
}

/* Zurück Button */
.back-button {
    position: absolute;
    top: 25px;
    left: 25px;
    font-family: 'Minecraft', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-family: 'Minecraft', sans-serif;
    text-align: center;
    padding: 10px 0;
    color: #ffffff;
    z-index: 10;
}

.heart {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: beat 1s infinite;
    transform-origin: center;
}

/* Herzanimation */
@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}
