/* CSS Document */

/* ================= SCHRIFTARTEN HOLEN =============== */
@import "https://fonts.googleapis.com/css?family=Open+Sans|Slabo+27px";

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@100;200;400&display=swap');

	@font-face {
		font-family: Biloxi Script; 
		src:url("fonts/biloxi_script/Biloxi Script.ttf");
	}
		
	@font-face {
	font-family: Biloxi Thin; 
	src:url("fonts/biloxi_script/Biloxi Thin.ttf");
	}

/* ================= STANDARD DEFINITIONEN =============== */
/* Clearfix */
* {
	padding:0px;
	margin:0px;
	box-sizing:border-box;	
}
html,body {
    height:100%;
    min-height:100%;
	padding:0.5rem 1rem;
}
body {
    /*background:rgba(127,82,83,1.00);*/
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(127,82,83,1) 100%);
    font-family:"Open Sans", Calibri, Tahoma, sans-serif;
    font-size:0.9rem;
    color:white;
}

a {
    color:white;
    
}

h1, h2, h3, h4{
    font-family:"Advent Pro", Calbri, Tahoma, sans-serif;
	background:rgba(33,33,33,0.8);
    padding:0.5rem;
    margin:0rem 0rem 0.5rem 0rem;
    font-weight: normal;
}

h1{
    font-size:1.5rem;
    border-radius:0.5rem;
	color: white;
}
h2{
    background: none;
    font-size:1.4rem;
}

h3{
    background:rgba(71,71,71,0.95);
	color: white; 
    font-size:1.2rem;
    margin-bottom:1rem;
}

h3 a{
    transition: font-size 0.3s;
}

h3 a:hover {
    font-size: 1.5rem;
}

h4{
    font-size:1rem;
}
p {
    padding:1rem 0rem;
}
img {
	max-width:100%;
	width:100%;
}
hr {
	border-top:none;
	border-bottom:1px dotted white;
	margin:0.4rem 0rem;
}

input, textarea, select {
        background:rgba(222,222,222,0.8);
        border-radius:5px;
        padding:0.5rem;
        font-family:"Open Sans", Calibri, Tahoma, sans-serif;
        font-size:1rem;
        color:black;
        width:80%;
}

ul {
    padding-left:3rem;
}


/* ================= ELEMENTE STRUKTUR =============== */
header, nav, #container, footer {
	    box-sizing:border-box;
		margin:1rem auto;	
		max-width:1200px;
        border-radius:0.5rem;
        border:1px solid black;
        box-shadow:1px 1px 4px 3px rgba(33,33,33,0.3);
        padding:0.5rem;
}
header  {
	font-family:"Biloxi Thin", Calbri, Tahoma, sans-serif;
    font-size:3rem;
	font-weight:bold;
}

header,footer  {
        color:white;
        background:rgba(0,0,0,0.80);
		text-align: center;
}

header a:link {
	text-decoration: none;
}

header a:hover {
	text-decoration: underline;
}

footer  {
	font-family:"Advent Pro", Calbri, Tahoma, sans-serif;
    font-size:1.2rem;
}

/* Footer Heartbeat */
.fa-heart {
	color: rgba(163,112,113,1.00)
	}

.heartbeat {
	border:none;
	color:red;
	display: inline-block;
	background:none;
	animation:0.9s ease-in-out herzschlag;
	animation-iteration-count: infinite;
}
		/* Animation heartbeat */
		
		@keyframes herzschlag {
			0% {transform: scale(1);}
			100% {transform:scale(1.3) rotate(12deg);}
		}

.biloxi {
	font-family: "Biloxi Thin", Calibri, Tahoma, sans-serif;
	font-size: 2rem;
	color: rgba(163,112,113,1.00);
	text-decoration: none;
}


#container {
        min-height:70%;
        background:rgba(88,88,88,0.8);
}

/* ================= EIGENE KLASSENDEFINITIONEN =============== */
.klein {
    font-size:0.6rem;
}

.gross {
    font-size:1rem;
}

.rot {
	color:orangered;
}
/* Bilder designen */
/* lieber mit flexbox oder grid arbeiten */
.bildergalerie {
	float:left;
	height:150px;
	margin-right:0.5rem;
	margin-bottom:0.5rem;
}
/* Hack wegen Float */
.clearfix{
	clear:both;
}




/* Fehlermeldung ausgeben */
.fehlermeldung {
	display:block;
	background:red;
	color:yellow;
	margin:1rem 0rem;
	padding:0.5rem;
}


/* Erfolgreich abgemeldet */
.success {
    color: rgba(24,160,91,1.00);
}

/* Überschrift zentrieren */
.zentriert {
	text-align: center;
}

table {
	width: 70%;
    border-collapse: collapse;
    padding: .3em .5em;
    font-size: 0.9rem;
    
}

td {
	width:28%;
    border-bottom: 1px solid #717171;
    padding: .7em .5em;
}

tr:hover {
    background-color: rgba(47,47,47,0.57);
}

.inaktiv {
    opacity: 0.3;
}



.button {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    background-color: #FFFFFF; 
    color: #1E1E1E; 
    font-family:"Advent Pro", Calbri, Tahoma, sans-serif;
    font-size:1rem;
    text-decoration: none; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s; /* Übergangseffekt für die Hintergrundfarbe */
}

.button:hover {
    background-color: #333333;
    color: #FFFFFF; 
}

.button_klein {
    display: inline-block;
    padding: 5px 10px;
    background-color: #9D9D9D; 
    color: #3D3D3D; 
    font-family:"Advent Pro", Calbri, Tahoma, sans-serif;
    font-size:1rem;
    text-decoration: none; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s; /* Übergangseffekt für die Hintergrundfarbe */
}

.button_klein:hover {
    background-color: #FFFFFF; /* Hintergrundfarbe ändern, wenn Maus darüber schwebt */
}

.img_unterkunft {
    float: left;
    width:  200px;
    height: 150px;
    object-fit: cover;
}


.link {
    text-decoration: none;
}

.link a:hover {
    text-decoration: underline;
}

.linksbuendig {
    align: left;
}

.kategorie_titel {
    font-family:"Advent Pro", Calbri, Tahoma, sans-serif;
    background:rgba(51,51,51,1.00);
    font-size: 1.2rem;
    text-align: left;
    padding: .3em .5em;
}

.datenzeile {
    padding-left: 1.5em;
}

/* Tabellenspalte "Kategorie"*/
.kategorie {
    width: 5%;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

.eingerueckt {
    padding: 0em 2em;
}

.login_bereich {
    /*position: absolute; 
        right: 150px; */
    width: 150px;
    /*border: red 2px dotted;*/
}

.button_logout {
    display: inline-block;
    padding: 5px 10px;
    margin: 8px;
    background-color: #67464B; 
    color: #3D3D3D; 
    font-family:"Advent Pro", Calbri, Tahoma, sans-serif;
    font-size:1rem;
    text-decoration: none; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s; /* Übergangseffekt für die Hintergrundfarbe */
}

.button_logout:hover {
    background-color: #C49DA7; /* Hintergrundfarbe ändern, wenn Maus darüber schwebt */
}

/* =================================================================== */
/* UMFRAGE AUSWERTUNG */

.balkendiagramm {
    /*border: solid 2px red;*/
    width: auto;
}

.balkendiagramm td{
    border: none;
}


.umfrage-diagramm {
        width: 100%;
        height: 25px;
        border: solid 0.5px rgba(179,179,179,0.49);
        /*box-shadow: 2px 2px 2px rgba(179,179,179,0.49);*/
        position: relative;
}

.balken {
    height: 100%;
    position: absolute;
}

.positiv {
    background-color: rgba(115,155,115,1.00);
}

.negativ {
    background-color: rgba(151,102,108,1.00);
}

.solala {
    background-color: rgba(245,182,66,0.84);
}

/* ENDE UMFRAGE AUSWERTUNG */
/* =================================================================== */





/* =================================================================== */
/* NAVIGATION */
.navbar {
    background-color: #333; /* Hintergrundfarbe der Navigationsleiste */
    font-family:"Advent Pro", Calbri, Tahoma, sans-serif;
}

.nav-list {
    list-style-type: none; /* Listenpunkte entfernen */
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between; /* gleichmässig verteilen */
}

.nav-list li {
    display: inline-block; /* Listenpunkte nebeneinander anzeigen */
    align-self: center;
    flex: 1; /* Alle Navigationspunkte erhalten den gleichen Anteil an Platz */
    text-align: center;
}

.nav-list li a {
    display: block;
    padding: 10px 20px; /* Abstand zwischen den Links */
    color: white; /* Farbe des Textes */
    text-decoration: none; /* Unterstreichung entfernen */
}

.nav-list li:hover {
    background-color: #555; /* Hintergrundfarbe ändern, wenn Maus darüber bewegt wird */
    border-radius: 6px;
}

.nav-list li ul {
    display: none; /* Untermenü standardmäßig ausblenden */
    position: absolute;
    background-color: rgba(51,51,51,0.9); /* Hintergrundfarbe des Untermenüs */
    border-radius: 6px;
    padding: 0;
}

.nav-list li:hover ul {
    display: block; /* Untermenü anzeigen, wenn Maus über dem Hauptmenüpunkt schwebt */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.49);
}

.nav-list li ul li {
    display: block;
    text-align: left;
}

.nav-list li ul li a {
    padding: 10px 20px; /* Abstand zwischen den Untermenü-Links */
    color: white; /* Farbe des Textes im Untermenü */
    text-decoration: none; /* Unterstreichung entfernen */
}

.nav-list li ul li:hover {
    background-color: #555; /* Hintergrundfarbe des Untermenüs ändern, wenn Maus darüber bewegt wird */
}

.active {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.49);
}

/* ENDE NAVIGATION */
/* =================================================================== */




