/* thasadith-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Thasadith';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/thasadith-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* thasadith-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Thasadith';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/thasadith-v11-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* Allgemeines zu Header, Body und Footer */
html {
	scroll-behavior: smooth;
}

body {
	height: 100vh;
	display:flex;
	flex-direction: column;
	background-color: #c1cdcd;
	font-family: "Thasadith", Helvetica, sans-serif;
	margin: 0;
}

.content {
	flex: 1;
}

h1 a{
	text-decoration: none;
	color: #294544;
}

.current {											/* Stellt den aktuellen Menüpunkt fett dar */
	font-weight: bold;
}

footer {
	bottom: 0;
	width: 100%;
	background-color: #497B78;
	margin-top: auto;
}

footer ul {
	padding:1rem 0 0 1rem;
	margin: 0;
}

footer li {
	display: block;
}

footer a {
	color: #CDF6F4;
	text-decoration: none;
}

footer p {
	margin: 1rem 0 0 0;
	padding: 0 0 1rem 1rem;
	color: #CDF6F4;
}

.instagramIcon svg{
	width: 1.5625rem;
	height: auto;
}

.instagramIcon svg:hover path{
	fill:#819F9E;
}

.linkedinIcon svg{
	width: 1.65rem;
	height: auto;
}

.linkedinIcon svg:hover path{
	fill:#819F9E;
}

footer a:hover {
		color: #819F9E;
	}


/* Boxen am Bildschirm ausblenden */
.visually-hidden {
	position: absolute !important;
	clip: rect(0, 0, 0, 0) !important;
	overflow: hidden !important;
	white-space: nowrap !important;

	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	border: 0 !important;
	margin: -1px !important;
}


/* Mobile Navigation und Ansicht */

header h1 {
	letter-spacing: 0.2em;
	font-size: 1.3rem;
	position: fixed;
	top: 0;
	margin: 1rem 0 0 0.8rem;
	padding: 0;
	z-index: 102;
	}


.site-nav {								/* Die Navigationsleiste mit etwas Durchlässigkeit */
	background-color: #c1cdcd95;
	position: fixed;
	top: 0;
	width: 100%;
	height: 3.75rem;
	z-index: 100;
	}

.bar {									/* Einstellungen für die Linien des Hamburgers */
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	background-color: #202020;
	}

.hamburger {
		display: block;
		position: fixed;
		cursor: pointer;
		top: 0;
		right: 0;
		padding: 1rem;
		z-index: 101;
	}

.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}

.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

.nav-menu {									/* Das Navigationsmenü ist zunächst links aus dem Bild geschoben */
		position: fixed;
		left: -100%;
		top: 3.6875rem;
		gap: 0;
		margin: 0;
		display: flex;
		flex-direction: column;
		list-style-type: none;
		padding: 0;
		background-color: #F3F3F3D9;
		width: 100%;
		text-align: center;
		transition: 0.3s;
		z-index: 100;
	}

.nav-menu.active {							/* ... und wird reingeschoben, wenn auf den Hamburger geklickt wird */
		left: 0;
	}

.nav-item {									/* der vertikale Abstand zwischen den Menüeinträgen */
		margin: 10px 0;
	}

.site-nav a {
		color: #294544;
		text-decoration: none;
	}


.galerie-startseite {					/* Die Bilder auf der Startseite sind zentriert und füllen das Display zu 90% aus */
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
}

.galeriebild-startseite {				
	max-width: 100%;
	height: auto;
	display: block;
	margin-top: 3rem;
}

.galeriebild-startseite:nth-child(1) {	/* Das erste Bild beginnt unter der Menüleiste */
	margin-top: 5rem;
}

.galeriebild-startseite:last-child {	/* Das letzte Bild hat unten etwas Abstand zum Footer */
	margin-bottom: 2rem;
}


/* News-Seite */
.neuigkeiten-news {
	max-width: 80%;
	margin: 6rem auto 0 auto;
}


.ankuendigung-artfair img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.ankuendigung-artfair a {
	color: #294544;
	display: block;
	text-align: center;
	margin-top: 2rem;
	margin-bottom: 4rem;
}

/* Work-Seite */

.kontakt-workseite td {
	border:1px solid #294544;
	padding: 0.3rem;
}

.kontakt-workseite tr {
	font-size: 0.8rem;
}

.kontakt-workseite a {
	color: #294544;
}

.kontakt-workseite table {
	margin-bottom: 1rem;
}

.container-workseite {
	max-width: 70%;
	margin: 5rem auto 0 auto;
}

.werke-eines-jahres h2 {
	color: #294544;
	font-size: 0.8rem;
	font-weight: normal;
}

.werke-eines-jahres {
	margin-bottom: 2rem;
}

.werke-eines-jahres figure {
	margin: 0 0 2rem 0;
}

.werke-eines-jahres figcaption {
	font-size: 0.5rem;
	text-align: right;
}

.galeriebild-workseite {
	max-width: 100%;
	height: auto;
	display: block;
}


/* About-Seite */

.container-inhalte-about {
	max-width: 90%;
	margin: 5rem auto 0 auto;
}

.about-text a{
	text-decoration: none;
	color: #294544;
}

.container-inhalte-about h2 {
	margin-block-start: 0;
	margin-block-end: 0;
	color: #294544;
	font-size: 1rem;
	margin-bottom: 0.6rem;
}

.container-inhalte-about section {
	margin-bottom:2rem;
}

.container-inhalte-about p {
	color: #294544;
	margin-top:0rem;
	font-size: 1.1rem;
	line-height: 1.5em;
}

.container-inhalte-about td {
	margin:0;
	padding: 0.3rem;
}

.container-inhalte-about td:nth-child(1) {
	width: 63px;
	text-align: center;
	font-weight: bold;
}

.container-inhalte-about table {
		width: 100%;
		border-collapse: collapse;
}

.container-inhalte-about td{
	border:1px solid #294544;

}


/* Workshops-Seite */

.container-inhalte-workshops {
	max-width: 70%;
	margin: 5rem auto 0 auto;
}

.container-inhalte-workshops p{
	text-align: center;
	color: #294544;
}

/* Contact-Seite */

.container-inhalte-contact {
	max-width: 500px;
	padding: 2rem;
	margin: 3rem auto 0 auto;
}

.container-inhalte-contact form{
	max-width: 100%;
	background-color: #B9C3C3;
	padding: 1rem;
	margin-bottom: 2rem;
}


.container-inhalte-contact a{
	color: #294544;
}

.container-inhalte-contact div {
	margin-bottom: 1rem;
}

.container-inhalte-contact label {
	cursor: pointer;
	display: block;
}

.container-inhalte-contact h2,p{
	color: #294544;
}




/*Ab 515px kommt die Nebeneinander-Navigation dazu*/
@media screen and (min-width: 515px) {

	.hamburger {
		display: none;
	}

	.nav-menu {
		position: fixed;
		left: 0;
		top: 0;
		gap: 0;
		margin:0;
		display: block;
		padding: 0;
		background-color: transparent;
		width: 100%;
		text-align: center;
		transition: 0.3s;
		z-index: 100;
	}

	.site-nav ul {
		display: flex;		/* Macht eine Flexbox, in der die Menü-Items die Kinder sind */
		justify-content: flex-end;		/* Richtet die Flexbox rechtsbündig aus */
		flex-flow: row;
		color: #294544;
		margin:0;
		padding: 0;
	}

	.site-nav li {
		margin: 1.2rem 1rem 0 0;
	}

	.site-nav li:last-child {
		margin-right: 1rem;
	}

	.site-nav a {
		display: block;
		color: #294544;
		text-decoration: none;
		transition-duration: 0.3s;
		/* die folgenden beiden Zeilen hab ich eingefügt, um mobile Navigation aufzuheben*/
		padding: 0;
		margin:0;
		background-color: rgba(0, 0, 255, 0); /* Hintergrundfarbe der Listelemente auf transparent setzen*/
	}

	.site-nav a:hover, .site-nav a:focus {
		color: #819F9E;
	}


	/* Work-Seite */

	.werke-eines-jahres h2 {
		font-size: 1rem}


	.kontakt-workseite tr {
	font-size: 1rem;
}

	.kontakt-workseite td {
		padding: 0.5rem;
	}


	/* About-Seite */

.container-inhalte-about {
	max-width: 80%;
	margin: 5rem auto 0 auto;
}
}




/*Ab 700px größere Navigation und andere Bildaufteilung*/
@media screen and (min-width: 700px) {

	.site-nav li {
			margin-top: 1rem;
	  	margin-right: 2rem;
	  	font-size: 1.3rem;
	}
	header h1 {
		font-size: 1.8rem;
		margin-top: 0.7rem;

}

	/* News-Seite */

	.neuigkeiten-news {
		max-width: 60%;
	}

/* Work-Seite */

	.werke-eines-jahres h2 {
		font-size: 1.4rem;
	}

		.container-workseite {
	max-width: 60%;
	margin: 6rem auto 0 auto;
}

.werke-eines-jahres figcaption {
	font-size: 0.8rem;
}

.kontakt-workseite tr {
	font-size: 1.2rem;
}

	.kontakt-workseite td {
		padding: 0.7rem;
	}

	.kontakt-workseite table {
		margin-bottom: 2rem;
	}

/* Workshop-Seite */

.container-inhalte-workshops {
	margin: 8rem auto 0 auto;
}

/* Contact-Seite */

.container-inhalte-contact {
	margin: 4rem auto 0 auto;
}


.container-inhalte-about h2 {
	font-size: 1.3rem;
	margin-bottom: 0.8rem;
}


}

/*Ab 1000px breitere Navigationsleiste und größere Schrift und andere Bildaufteilung*/
@media screen and (min-width: 1000px) {


	.site-nav {
		height: 5rem;
	}
	.site-nav li {
			margin-top: 2rem;
	  	margin-right: 2rem;
	  	font-size: 1.5rem;
	}

	.site-nav li:last-child {
		margin-right: 4.5rem;
	}

	header h1 {
		font-size: 2rem;
		margin: 1.6rem 0 0 1.2rem;
	}


	.galerie-startseite {					/* Die Bilder auf der Startseite sind zentriert und füllen das Display zu 65% aus */
		max-width: 65%;
	}


	.galeriebild-startseite {
		margin-top: 1rem;
		margin-bottom: 9rem;
	}

	.galeriebild-startseite:nth-child(1) {
		margin-top: 11rem;

	}


		/* News-Seite */

	.neuigkeiten-news {
		max-width: 50%;
		margin-top: 8rem;
	}


	/* Work-Seite */

	.werke-eines-jahres h2 {
		font-size: 1.8rem;
	}

	.container-workseite {
		max-width: 55%;
		margin: 7rem auto 0 auto;
}

.werke-eines-jahres figcaption {
	font-size: 1rem;
}

.kontakt-workseite tr {
	font-size: 1.4rem;
}

	.kontakt-workseite td {
		padding: 0.9rem;
	}


/* Workshop-Seite */

.container-inhalte-workshops {
	max-width: 70%;
	margin: 10rem auto 0 auto;
}

.container-inhalte-workshops p{
	font-size: 2rem;
}

/* Contact-Seite */

.container-inhalte-contact {
	margin: 5rem auto 0 auto;
}

.container-inhalte-about {
	margin: 7rem auto 0 auto;
}

}


/*Ab 1300px größere Schrift und andere Bildaufteilung*/
@media screen and (min-width: 1300px) {

header h1 {
		font-size: 2.5rem;
		margin: 2rem 0 0 1.8rem;
	}


.site-nav li {
			margin-top: 2.5rem;
	  	margin-right: 2.2rem;
	  	font-size: 1.8rem;
	}

	.site-nav li:last-child {
		margin-right: 5.5rem;
	}


	.galerie-startseite {					/* Die Bilder auf der Startseite sind zentriert und füllen das Display zu 65% aus */
		max-width: 45%;
	}

	.galeriebild-startseite:nth-child(1) {	/* Das erste Bild beginnt unter der Menüleiste */
		margin-top: 10rem;
	}

		/* News-Seite */

	.neuigkeiten-news {
		max-width: 40%;
		margin-top: 8rem;
	}

	/* Work-Seite */

	.werke-eines-jahres figure {
		margin: 0 0 3rem 0;
}


/* Contact-Seite */

.container-inhalte-contact {
	margin: 7rem auto 0 auto;
}
}