html, body {
	height: 100%;
}

body {
    font-family: Arial, sans-serif;
	font-size: 1rem; /* 1rem typically equals 16px */
	line-height: 1.5rem;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

.flag {width: 2rem}

.navbar-container,
.content-container {
    max-width: 800px;
    margin: auto;
    width: 100%;
}

.navbar {
    display: flex;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 10px;
	border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar a {
    text-decoration: none;
    color: white;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.navbar a:hover {
	font-weight: bold;
}

.right-links {
	display: flex;
	justify-content: flex-end;
	flex-grow: 1; /* This ensures it takes up the remaining space */
}


.content-container {
	min-height: 100%;
    height: auto !important;
    height: 100%;
}

.content {
	min-height: 500px;
    background-color: #f9f9fe;
    margin: 20px 0;
	padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
	margin-top: 0;
	margin-bottom: 30px;
	line-height: 2.2rem;
}

.link {color:#00ccff; font-weight:bold; border:none}
.img-margin {margin:10px 0}

.panel {
	max-width: 300px;
	background-color: #fff;
	padding: 20px;
	margin: 10px auto 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.panel-title {
	margin: 0 auto 20px auto;
	background-color: #0cf;
	color: #fff;
	padding: 15px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	font-size: 1.5rem;
	font-weight: bold;
}

.center-text {text-align: center;}
.full-width-div {max-width: 100%}

.thumbnail-parent {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 10px;
}

.thumbnail-div {
	width: calc(43% - 10px);
	padding: 20px 20px 0 20px;
	background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
	.thumbnail-div {
		width: calc(40% - 10px); /* Two columns per row on screens less than or equal to 900px */
	}
}

@media (max-width: 600px) {
	.thumbnail-div {
		width: 100%; /* One column per row on screens less than or equal to 600px */
	}
}
		
.thumbnail-div .lesson-title {
    color: #0cf;
	font-weight: bold;
	border:none;
}

.thumbnail-div .lesson-title-de {
	color: #000;
	font-weight: bold;
	border:none;
}

.thumbnail-img {
	cursor: pointer;
	width: 100%;
	margin-top: 0.5rem;
}

.lesson-div {
	position:relative;
}

.lesson-img {
	float: left;
	margin-right: 2rem;
	max-width: 200px;
	width: 40%;
	height: auto;
}

.lesson-text {
	overflow-wrap: break-word;
}

iframe {
	margin-top: 20px;
    aspect-ratio: 16 / 9;
    width: 100% !important;
}

