* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-color: black;
    color: whitesmoke;
    font-size: 3rem;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #44B78B;
    color: white;
    font-size: 2.5rem;
}

.nav-links {
    display:flex;
    align-items: center;
    flex-grow: 1;
}

.nav-links a {
    margin-left: 5px;
    margin-right: 5px;
    text-decoration: none;
    color: white;
    opacity: 0.5;
}

.nav-links a:hover {
     opacity: 1;
}

.nav-links a:last-child {
    margin-right: 0;
}

main {
    padding: 1rem;
}

section {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

h1, h2 {
    font-size: 2.5rem;
    padding-bottom: 20px;
}

h6 {
    font-size: 1.5rem;
    padding-bottom: 1rem;
}

p {
    font-size: 1rem;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    font-size: 1rem
}

#main_icon {
    height: 60px;
    width: 60px;
    transform: translate(0, 8px);
    margin-right:10px;
}

#scroll-container img {
  padding: 10px;
}

#user-manual {
    margin-top: 25px;
    font-size: 2rem;
}


/*

vertical scroll container

#slide_scroll_container {
  background-color: #333;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px;
  height: 100vh;
  align-items: flex-start;
  gap: 20px;
}

#slide_scroll_container img {
  padding: 10px;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
}
*/



.chat-window {
    flex:1;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom:20px;
    overflow-y: scroll;
    color: black;
}


.chat-window p{
    font-size:20px;
}

#bot_message {
    
    background-color: #a5d6b8;
    margin-bottom:20px;
}

#bot_message:after {
    border-right-color:#a5d6b8;
    left:0;
    border-left: 0;
    margin-left: -20px;
}

#user_message {
    background-color: #FCFCEF;
    margin-bottom:20px;
}

#user_message:after {
    border-left-color:#FCFCEF;
    right: 0;
    border-right: 0;
    margin-right: -20px;
}


.speech-bubble {
	position: relative;
	background: #a5d6b8;
	border-radius: .4em;
	margin-bottom: 10px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0.5rem;
}

.speech-bubble:after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	width: 0;
	height: 0;
	border: 20px solid transparent;
	border-top: 0;
	margin-top: -10px;
	margin-right: -20px;
}

.user-log-tag {
    color: black;
    text-align: center;
    font-size: 20px;
    padding: 1rem;
    border: 2px solid black;
    box-sizing: border-box;
    width: 250px;
    height: 60px;
}

#logged-in {
    background-color: #44B78B;
    color: black;
    text-decoration: none;
}

#not-logged-in {
    background-color: #b74470;
    text-decoration: none;}

.form-with-validation {
    font-size: 1rem;
    padding: 1rem;
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.form-with-validation div {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
}

.form-with-validation input {
    padding: 0.25rem;
    max-width: 300px;
}

.form-submit {
    padding: 0.5rem;
    border-radius: 10px;
    margin-bottom: 32px;
    font-size: 20px;
    width: 130px;
    height: 40px;
    font-family: Times New Roman;
}


.helptext {
    font-size: 1rem;
    margin-left: 1rem;
}

.helptext ul {
    list-style-type: none;
}

.errorlist {
    color: #F00;
    margin-left: 2rem;
}

.errorlist li::marker {
    content: '🚨 ';
}

/* Das label-Element */ 
.switch {
	/* Um im nächsten Schritt den runden Button mit position:absolute festzusetzen */ 
	position: relative;
	display: grid;
	grid-template-columns: 150px 56px;
	grid-template-rows: 26px;
	grid-template-areas: "settings switch";
}

/* Der graue Untergrund des Schalters */ 
.switch span {		    
	position: absolute;
	background-color: #ccc;
	border-radius: 17px;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: background-color .4s;
	grid-area: switch;
}

/* Der kreisrunde Button im Switch */ 
.switch span::before {    
	background-color: white;
	border-radius: 50%;
	content: "";
	position: absolute;
	left: 4px;
	bottom: 4px;
	height: 17px;
	width: 17px;
}

input:checked + span {
  background-color: #44B78B;
}

input:checked + span::before {
  transform: translateX(30px);
}

.switch input {
	display: none;
}

.switch p { 
	letter-spacing: 1px;
	height: 30px;
	margin-top: 3px;
	margin-left: 32px;
	font-size: 20px;
}

.container {
    display: flex;
    gap: 10px; /* Abstand zwischen den Divs */
    height: 500px;
}

#policy-window {
    color: white;
}
