/* Grundlayout */
body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #f0f0f0;
    font-family: Arial;
}

.mobile-warning {
  display: none;
  background-color: #121212;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 16px;
  font-weight: bold;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    padding: 20px;
}

/* Reihen für Kacheln */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.kasten {
    flex: 0 1 45%;
    background: #1e1e1e;
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
}

.kasten h2 {
    font-family: Trebuchet MS;
    font-size: 50px;
    margin-top: 0;
}

.bild {
    width: 80%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Titel*/
.taktikcode-titel {
    color: white;
    font-family: Brush Script MT;
    font-size: 120px;
    margin: 0;
	text-align: center;
	margin-top:140px;
}

.taktikcode-titel2 {
    color: white;
    font-family: Segoe UI, Arial Black;
    font-size: 20px;
    margin: 0;
	text-align: center;
}

.intro-text {
	margin-left: auto;
	margin-right: auto;
    margin-top: 20px;
    font-size: 18px;
    color: #f0f0f0;
    max-width: 800px;
    text-align: center;
    line-height: 1.6;
    padding: 0 10px;
}


/*Navigation*/
.nav-button{
	min-height: 40px;
	flex: 1 1 auto;
    border-radius: 6px;
    background-color: #e0e0e0;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.nav-button:hover {
    background-color: #5a6268;
    color: #fff;
    cursor: pointer;
}


/* Standard-Navigation */
.menu {
    display: flex;
    flex-wrap: nowrap;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;         
}


/* Login-Info Wrapper + Button */
.login-info-wrapper {
	height: 40px;
    flex: 1 1 auto;
    padding: 0 12px;
    border-radius: 6px;
    background-color: #e0e0e0;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}
.login-info {
    font-size: 14px;
    font-weight: bold;
    color: #121212;
}
.logout-button {
    display: flex;
    align-items: center;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 12px;
    font-size: 14px;
}

.logout-button:hover {
    background-color: #5a6268;
}




/* Login Feld */
.login-box {
    position: relative;
    margin: 40px auto 0 auto;
    width: 90%;
    max-width: 300px;
    background-color: #1f1f1f;
    padding: 12px;
    border-radius: 8px;
    box-sizing: border-box;
}
.login-box input {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 6px 1px;
    border: none;
    border-radius: 4px;
    background-color: #2c2c2c;
    color: white;
}

.login-box button {
    width: 100%;
    padding: 6px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
	margin-top:10px;
}

.login-box button:hover {
    background-color: #5a6268;
}

/* Fußleiste */
.footer {
    background-color: #f0f0f0; 
    color: #121212; 
    padding: 15px 10px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 40px;
}

.footer a {
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}




@media screen and (max-width: 880px) {


    .kasten {
        flex: 0 1 80%;
		min-width: 80%;
    }
	
	.kasten h2 {
    font-family: Trebuchet MS;
    font-size: 50px;
    margin-top: 0;
	}



    .intro-text {
        font-size: 14px;
        max-width: 90%;
    }

    .footer {
        font-size: 14px;
        padding: 10px 5px;
    }

    /* Titel */
    .taktikcode-titel {
        font-size: 48px;
        margin-top: 20px;
    }

    .taktikcode-titel2 {
        font-size: 16px;
    }

	
	.menu {
    flex-direction: column;
    align-items: center;
	}

	.nav-button {
    width: 100%;
    text-align: center;
    margin: 2px 0;
}
	
    

    /* Login-Infos */
    .login-info-wrapper {
        width: 100%;
        font-size: 12px;
        justify-content: center;
        margin-top: 6px;
    }

    .logout-button {
        font-size: 8px;
        padding: 4px 8px;
        height: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 550px) {
	
		.kasten h2 {
    font-family: Trebuchet MS;
    font-size: 20px;
    margin-top: 0;
	}
	
	    .menu {
        width: 100%;
    }

    .nav-button {
        font-size: 10px;
        padding: 10px;
        margin: 1px 0;
    }
	
	    /* Login-Infos */
    .login-info-wrapper {
        width: 100%;
        font-size: 8px;
        justify-content: center;
        margin-top: 2px;
    }

    .logout-button {
        font-size: 5px;
        padding: 2px 4px;
        height: auto;
        margin-left: auto;
    }
	
		.login-info {
    font-size: 10px;
    font-weight: bold;
    color: #121212;
	}
	
}


@media screen and (max-width: 360px) {
  .mobile-warning {
    display: block;
  }
  .container,
  .menu,
  .nav-button,
  .taktikcode-titel,
  .taktikcode-titel2,
  .intro-text,
  .row,
  .kasten,
  .bild,
  .login-box,
  .login-info-wrapper,
  .logout-button,
  .footer {
    display: none !important;
  }
}