/* Grundlegende Einstellungen */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
	font-size: 20px; 
	overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.wrapper {
    flex: 1;
}
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
/* binaray buddy font */
span.bb {
    font-family: 'audiowide', sans-serif; 
}
.bb-header{
	background: linear-gradient(to right, rgb(29, 91, 107), rgb(228,117,5)); /* Gradient von links nach rechts */
	padding:8px;
	padding-right:16px;
	border-radius: 10px; /* Abgerundete Ecken */
	color: white;
	-webkit-box-shadow: 5px 5px 14px 1px rgba(0,0,0,0.58); 
	box-shadow: 5px 5px 14px 1px rgba(0,0,0,0.58);
}
.bb-a{
	text-decoration:none;
}
.bb-cdivs{
	background:#80808020;
	border-radius: 10px; /* Abgerundete Ecken */
	padding:20px;
	float:left;
	margin-right: 20px;
	max-width:500px;
	margin-bottom:20px;
}
td.bb{
	padding-top:20px;
}
td.bbicon{
	padding-top:20px;
	padding-left:0px;
	padding-right:0px;
	
}
.copyright{
	
}
/* font-awesome*/
.fas{
	width:40px;
	text-align: center;
}
.color1{
	color: rgb(29, 91, 107);
}
.color2{
	color: rgb(228,117,5);
}
/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding:0px;
    background: linear-gradient(to right, rgb(29, 91, 107), rgb(228,117,5)); /* Gradient von links nach rechts */
    z-index: 1000;
    height: 60px; /* Feste HÃ¶he fÃ¼r die Navigation */
}

.nav-toggle {
    display: none;
    background: linear-gradient(to right, rgb(29, 91, 107), rgb(228,117,5)); /* Gradient von links nach rechts */
    color: #ecf0f1;
    border: none;
    font-size: 24px;
   
    cursor: pointer;
    width: 100%;
    text-align: left;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 60px;
}

nav ul li {
    flex: 1;
    padding: 0;
    
}

nav ul li a {
    display: block;
    padding: 20px;
    height: 20px;
    color: #ecf0f1;
    
    text-align: center;
    text-decoration: none;
    align-items: center; /* Vertikale Zentrierung der Links */
    
}

nav ul li a:hover {
    background-color: #ffffff20;
    color: #ecf0f1;
}


/* FÃ¼r sehr kleine Smartphones (Bildschirmbreite kleiner als 480px) */
@media (max-width: 480px) {
    body {
        font-size: 28px; /* Noch grÃ¶ÃŸere Schrift fÃ¼r sehr kleine GerÃ¤te */
    }
}

@media (max-width: 1200px) {
	.bb-header{
		font-size: 20px;
	}
	.bb-a{
		font-size: 20px;
		
	}
	.copyright{
		font-size: 12px; 
	}
	
    nav ul {
        flex-direction: column;
        display: none;
        background: linear-gradient(to right, rgb(29, 91, 107), rgb(228,117,5)); /* Gradient von links nach rechts */
        z-index: 1000;
    }
    nav ul.show {
        display: flex;
    }
    .nav-toggle {
        padding-top: 14px;
        display: block;
    }
    nav ul li a {
		text-align: left;
		padding-left:40px;
        background: linear-gradient(to right, rgb(29, 91, 107), rgb(228,117,5)); /* Gradient von links nach rechts */
    }
    nav ul li a:hover {
        background: linear-gradient(to right, rgb(228,117,5), rgb(29, 91, 107)); /* Gradient von links nach rechts */
    }    
}


/* Hauptinhalt */
main {
    margin-top:     60px; /* Platz für die Navigation */
    margin-bottom:  60px; /* Platz für den Footer */
    padding: 20px;
    height: calc(100vh - 160px); /* Gesamthöhe abzüglich nav und footer */
    overflow: hidden; /* Verhindert das Überlaufen des Inhalts außerhalb des main-Bereichs */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-image: url('../assets/page/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	
}

main h1 {
    color: rgb(29,91,107 );
	
}

section{
	max-width: 600px;

}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, rgb(29, 91, 107), rgb(228,117,5)); /* Gradient von links nach rechts */
    color: #ecf0f1;
    text-align: center;
    padding: 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    color: #404040;
}
a:hover {
    color: #808080;
}

.content-box {
    background-color: rgba(255, 255, 255, 0.9); /* Halbtransparenter weißer Hintergrund */
    border-radius: 15px; /* Abgerundete Ecken */
    -webkit-box-shadow: 10px 10px 40px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 40px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 40px 0px rgba(0,0,0,0.75);
    
    padding: 20px; /* Abstand zum Text */
    padding-left: 40px;
    padding-right: 40px;
    
    min-width: 80%;
    max-width: 800px; /* Maximale Breite des Inhalts */
    margin: 20px auto; /* Zentrierung des divs */
    /* Entferne die feste Höhe, damit der Inhalt dynamisch wächst */
	height:calc(100% - 60px);
    overflow-y: auto; /* Scrollen des Inhalts ermöglichen */
    
    display: flex; /* Aktiviert Flexbox */
    justify-content: center; /* Zentriert den Inhalt horizontal */
    align-items: flex-start; /* Inhalt am oberen Rand ausrichten */
}

.center-box{
	display: flex; /* Aktiviert Flexbox */
    justify-content: center; /* Zentriert den Inhalt horizontal */
    align-items: center; /* Zentriert den Inhalt vertikal */

}

@font-face {
    font-family: 'audiowide'; 
    src: url('../fonts/Audiowide-Regular.ttf') format('truetype'); 
}



/* Verstecke die Standard-Checkbox */
.custom-checkbox input {
	display: none;
}

/* Gestalte den Container für die Checkbox */
.custom-checkbox {
	display: inline-block;
	cursor: pointer;
	user-select: none;
}

/* Gestalte die benutzerdefinierte Checkbox */
.custom-checkbox .checkmark {
	width: 20px;
	height: 20px;
	background-color: #f0f0f0;
	border: 2px solid rgb(228,117,5);
	border-radius: 4px;
	display: inline-block;
	position: relative;
}

/* Checkbox, wenn sie aktiviert ist */
.custom-checkbox input:checked + .checkmark {
	background-color: rgb(29, 91, 107);
	border-color: rgb(29, 91, 107);
}

/* Gestalte das Häkchen */
.custom-checkbox .checkmark:after {
	content: "";
	position: absolute;
	display: none;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Zeige das Häkchen, wenn die Checkbox aktiviert ist */
.custom-checkbox input:checked + .checkmark:after {
	display: block;
}

td{
	padding:4px;
}


/* languages */
/* Grundlegende Stile für das benutzerdefinierte Dropdown-Menü */
.custom-select {
    position: relative;
    display: inline-block;
	width:200px;
	margin-left:40px;
}
.selected-option {
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.selected-option img {
    width: 24px;
    height: 16px;
    margin-right: 8px;
}
.options-list {
    position: absolute;
    bottom: 100%; /* Positioniert die Liste über der ausgewählten Option */
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    background-color: rgb(228, 117, 5);
    z-index: 1;
    display: none;
    /*max-height: 150px;*/
    overflow-y: auto;
}
.options-list .option {
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.options-list .option:hover {
    background-color: #f0f0f040;
}
.options-list .option img {
    width: 24px;
    height: 16px;
    margin-right: 8px;
}

img{
	width:200px;
	margin-right: 20px;
}


/* seitendefinitionen*/

.indexContainer {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 20px;
	width: 100%;
}

/* Bild rechtsbündig anordnen */
.indexContainer img {
	width: 50%;
	height: auto;
	display: block;
	justify-self: end; /* Rechtsbündig */
}

/* Bei Bildschirmbreite unter 1000px */
@media (max-width: 1000px) {
	.indexContainer {
		grid-template-columns: 1fr;
	}

	/* Bild mittig anordnen */
	.indexContainer img {
		justify-self: center; /* Mittig */
	}
}