@import "css/global.css";

/*Header*/
#header {
    background: url("../../images/header-background.jpg") no-repeat fixed center;
    min-width: 100%;
    min-height: 400px;
    height: 30vh;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}

#header .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 150px;
    width: 100%;
}

#header .content .info {
    display: flex;
    flex-direction: column;
}

#header .content .info .minecraft-server-ip {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

#header .content .info .title {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 65px;
    font-weight: 900;
}

#header .content .info .title span {
    color: var(--main-color);
}

#header .content .description {
    color: var(--description-color);
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;
}

/*Footer*/
#footer {
    background: var(--stats-background);
}

/*Responsive*/
/*Header*/
@media screen and (max-width: 1625px) {
    #header .content {
        padding: 150px 90px;
    }
}

@media screen and (max-width: 1361px) {
    #header .content {
        flex-direction: column;
        padding: 120px 90px;
    }
}

@media screen and (max-width: 819px) {
    #header .content {
        padding: 150px 30px;
    }

    #header .content .info .minecraft-server-ip {
        font-size: 15px;
    }

    #header .content .info .title {
        font-size: 40px;
    }

    #header .content .info .description {
        font-size: 16px;
    }
}

@media screen and (max-width: 530px) {
    #header .content {
        justify-content: start;
        align-items: start;
    }

    #header .content .info .title {
        font-size: 30px;
    }
}

/*commands*/
#commands .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

#commands .content .left {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 40px;
}

#commands .content .left .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
}

#commands .content .left .section-title::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: var(--description-color);
}

#commands .content .left .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}


#commands .content .left .commands {
    color: var(--description-color);
    font-size: 17px;
    max-width: 120%;
    line-height: 1.6;
}

#commands .content .right {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 200%;
    position: relative;
    width: 50%;
}

#commands .content .right img {
    width: auto;
    max-height: 250px;
    position: relative;
    z-index: 1;
    right: 100px;
}

#commands .content .right .img-background {
    position: absolute;
    width: 210px;
    height: calc(100% - 40px);
    border-radius: 40px 3px;
    background: var(--main-color);
    z-index: 0;
    bottom: 5px;

}

/*Commands Allgemein Tabelle*/
#commands .content .commands-all th, 
#commands .content .commands-all td {
    padding: 12px 15px;
    text-align: left;
    font-size: 16px;
    color: var(--white-color); /* Weißer Text */
}

#commands .content .commands-all td {
    border-bottom: 1px solid #1dbb1d74; /* Linie unter den Zellen */
}

/*Commands Plots Tabelle*/
#commands .content .commands-plots th, 
#commands .content .commands-plots td {
    padding: 12px 15px;
    text-align: left;
    font-size: 16px;
    color: var(--white-color); /* Weißer Text */
}

#commands .content .commands-plots td {
    border-bottom: 1px solid #1dbb1d74; /* Linie unter den Zellen */
}

/*Commands Bedrock Tabelle*/
#commands .content .commands-bedrock th, 
#commands .content .commands-bedrock td {
    padding: 12px 15px;
    text-align: left;
    font-size: 16px;
    color: var(--white-color); /* Weißer Text */
}

#commands .content .commands-bedrock td {
    border-bottom: 1px solid #1dbb1d74; /* Linie unter den Zellen */
}

/* Schwarzer Hintergrund für die erste Spalte mit Befehlen */
#commands .content .commands-all td:first-child, 
#commands .content .commands-plots td:first-child, 
#commands .content .commands-bedrock td:first-child {
    background-color: rgba(21, 20, 20, 0.615);
    color: rgb(34, 248, 6); /* Weißer Text für bessere Lesbarkeit */
    font-weight: bold;
    padding: 8px;
    border-radius: 20px;
}
/*Einstellung für den Cursor*/
.command {
    cursor: pointer;
}
.command:hover {
    background-color: rgba(37, 85, 5, 0.573) !important; /* Wende die Hover-Hintergrundfarbe an */
    transition: background-color 0.10s ease; /* Sanfte Übergänge für den Hover-Effekt */
}

/*Discord*/
#discord {
    background: url("../../images/header-background.jpg") no-repeat fixed center;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}

#discord .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

#discord .content .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
    text-align: center;
}

#discord .content .section-title span {
    color: var(--main-color);
}

#discord .content .join-discord {
    background: var(--copy-ip-button-background);
    border: 2px solid var(--main-color);
    border-radius: 3px;
    padding: 10px 30px;
    color: var(--white-color);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

#discord .content .join-discord:hover {
    opacity: 0.8;
}

#discord .content .join-discord a {
    text-decoration: none;
    color: var(--white-color);
}