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;
}


/* Titelbereich */
.taktikcode-titel {
    color: white;
    font-size: 60px;
    margin: 0;
    text-align: center;
}

.datenschutz-titel{
	    color: white;
    font-size: 60px;
    margin: 0;
    text-align: center;
}


.titelbereich {
    margin-top: 80px;
    text-align: center;
}


/*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-Box */
.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;
}

/* Hauptcontainer */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
	margin-bottom:300px;
    padding: 20px;
}

/* Beitragsfeld */
.analyse-feld {
    background-color: #1e1e1e;       
    border: 1px solid #ddd;         
    border-radius: 10px;             
    padding: 15px;                   
    margin: 15px auto;               
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    overflow: hidden;                
}


.analyse-bild {
    float: left;
	max-width: 400px;
    height: auto;
    margin-right: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.analyse-feld h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: white;
    font-size: 24px;
}

.analyse-feld p {
    margin-top: 0;
    color: white;
    font-size: 16px;
    line-height: 1.5;
}

/* Button-Zeile */
.button-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.delete-button,
.edit-button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

.delete-button {
    background-color: #ff4c4c;
    color: white;
}

.delete-button:hover {
    background-color: #ff1f1f;
}

.edit-button {
    background-color: #4CAF50;
    color: white;
}

.edit-button:hover {
    background-color: #45a049;
}

/* Neuer Beitrag Button */
.Neuer-Beitrag-Button {
    width: 160px;
    height: 23px;
    background-color: #e0e0e0;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    padding: 8px;
    border-radius: 6px;
    display: inline-block;
    text-align: center;
}

.Neuer-Beitrag-Button:hover {
    background-color: #5a6268;
    text-decoration: none;
}



/* Suchformular */
.suchformular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 5%;
}

.suchfeld {
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 250px;
    max-width: 80%;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.suchfeld:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

.suchbutton {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.suchbutton:hover {
    background-color: #0056b3;
}

.such-und-beitrag-container {
    text-align: left;
    width: 100%;
    max-width: 800px;
}

.inline-form {
    display: inline;
}

/* Footer */
.footer {
    background-color: #f0f0f0;
    color: #121212;
    padding: 15px 10px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1px;
}

.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) {


	

	.analyse-feld h2 {
		margin-top: 0;
		margin-bottom: 20px;
		color: white;
		font-size: 16px;
	}
	
	.analyse-feld p {
    margin-top: 0;
    color: white;
    font-size: 10px;
    line-height: 1.5;
	}
	


	.analyse-bild {
		float: left;
		width: 150px;
		height: auto;
		margin-right: 15px;
		margin-bottom: 10px;
		border-radius: 10px;
	}


    /* Titel */
    .taktikcode-titel {
        font-size: 48px;
        margin-top: 20px;
    }
	
	.datenschutz-titel {
    font-size: 30px;
    margin-top: 20px;
	}




    /* 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;
    }
	
	    .footer {
        font-size: 14px;
        padding: 10px 5px;
    }
	
	.menu {
		flex-direction: column;
		align-items: center;
		}

		.nav-button {
		width: 100%;
		text-align: center;
		margin: 5px 0;
	}
}


	
@media screen and (max-width: 550px) {
	
	    .menu {
        width: 100%;
    }

    .nav-button {
        font-size: 10px;
        padding: 10px;
        margin: 2px 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;
  }
}