@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Bakbak+One&family=Bebas+Neue&family=Bitter:ital@1&display=swap'); 
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
.work-in-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: rgba(255, 255, 255, 0.486);
    white-space: nowrap;
    pointer-events: none;
    z-index: -1; /* Ensures it is behind all other content */
}
body {
    background-color: #000000;
    color: #fff;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 5px solid #2196F3;
    border-radius: 25px 25px 0 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    color: #000000;
    font-size: 50px;
    margin: 0;
    font-family: 'Bebas Neue', cursive;
}

nav{
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}
.nav-active{
    background-color: #2ad400;
}
nav button{
    font-family: 'Bebas Neue', cursive;
    font-size: 25px;
    color: #000000;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s;
}

nav button:hover {
    background-color: #2196F3;
}

main {
    padding: 20px;
    background-color: #00000000;
}

.api-section {
    margin-bottom: 30px;
}

.api-section h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.api-details {
    display: flex;
    gap: 10px;
}

.api-details input {
    padding: 10px;
    flex: 1;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    outline: none;
}
.api-details input:active,.api-details input:focus-visible{
    border:1px solid #2196F3;
}
.api-details button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: #2196F3;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.api-details button:hover {
    background-color: #1e88e5;
}

.server-section {
    display: flex;
    gap: 20px;
}

.server-card {
    background-color: #444;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    height: fit-content;
    text-align: center;
    margin-bottom: 50px;
}

.server-card h3 {
    font-size: 25px;
    margin-top: 0;
}

.server-card p {
    font-size: 18px;
    line-height: 1.5;
}

.login{
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: #000000;
    color: #ffffff;
    cursor: pointer;
    transition: background-color,color 0.5s;
    font-weight: bold;
    font-size: 25px;
    font-family: 'Courier New', Courier, monospace;
}
.login:hover {
    background-color: #2196F3;
    color: #000000;
}
.serverrestart,.serverstop,.serverstart{
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 25px;
    margin-right: 15px; 
}
.serverrestart{
    background-color: orange;
    transition: background-color 0.3s;
}
.serverstop{
    background-color: red;
    transition: background-color 0.3s;
}
.serverstart{
    background-color: green;
    transition: background-color 0.3s;
}
.serverrestart:hover,.serverstop:hover,.serverstart:hover{
    background-color: #2196F3; 
}

.server-card-info{
    display: flex;
    flex-wrap: wrap;
    margin-top:20px ;
    gap: 20px;
}
.server-card-info >div{
    padding: 15px;
    width: inherit;
    height: inherit;
    max-width: 500px;
    min-width: 200px;
    min-height: 200px;
    border-radius: 15px;
    background-color: #17588d;
    display: block;
}
.server-card-info >div h1,h2{
    color: white;
    font-size: 25px;
    font-family: "Titillium Web", sans-serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 1px;
}
.server-card-info >div p{
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-style: normal;
}
footer {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

.footer-content {
    position: sticky;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 1000px) {
    .header-content {
        display: block;
        text-align: center;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    nav{
        text-align: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
    .serverrestart,.serverstop,.serverstart{
        font-size: 20px;
    }
}
@media screen and (max-width: 600px) {
    nav{
        gap: 7px;
    }
    .serverrestart,.serverstop,.serverstart{
        font-size: 15px;
    }
}

/* Massage Modal */
.msgmodal{
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}
/* Login Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: left;
    color: #000;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.modal form {
    display: flex;
    flex-direction: column;
}

.modal form label {
    margin-bottom: 10px;
}

.modal form input {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
}
.modal form input:focus {
    border: none;
}
.modal form button {
    padding: 10px;
    font-size: 16px;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal form button:hover {
    background-color: #1e88e5;
}

.spinner {
    display: none;
    width: 100%;
    background-color: #00000065;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 15px;
}

/* Den Ladebalken selbst stylen */
#progress-bar {
    width: 200px; /* Feste Breite */
    height: 100%;
    background-color: #2196F3;
    position: absolute;
    animation: move 7s linear infinite;
}

/* Animation definieren */
@keyframes move {
    0% {
        left: 0;
    }
    50% {
        left: calc(100% - 200px);
    }
    100% {
        left: 0;
    }
}

/* TEST */
.restart{
    color: red;
    background-color: #17588d;
}