@font-face {
  font-family: "Crimson Pro";
  src: url("../fonts/Crimson_Pro/CrimsonPro-VariableFont_wght.ttf")
format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "gwendolyn";
  src: url("../fonts/Gwendolyn/Gwendolyn-Bold.ttf")
format("truetype");
  font-weight: lighter;
  font-style: normal;
}



body {
  font-family: 'Crimson Pro';
  width: 100%;
  height: 100vh;
  margin: 0;
  background: url('../images/marblepink2.png') no-repeat center center/cover;
  background-size: cover; /* Ensures full coverage */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
  background-attachment: fixed; /* Keeps image fixed on scroll */
}


.content {
	 height: 100vh; /* Full viewport height */
        display: flex;
        justify-content: center; /* Horizontal center */
        align-items: center;     /* Vertical center */
	width: 100vw;
	flex: 1; /* Pushes footer to bottom if content is short */
}

.layout-wrapper {
  margin: 30px;
  position: relative;
    display: flex;
    width: auto;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 50px;
    align-items: flex-start;
}

#headerdiv {
  position: relative;
  width: 100%;
  height: 225px;
  inset: 0;
  z-index: 2;
  background-color: #816b67 ;
}

#logoall {
  position: relative;
  width: 600px;
  height: auto;
  text-align: left;
  padding-left: 20px;
  top: 6%;
  z-index: 1;
  display: flex;
  }

h1 {
  font-family: 'gwendolyn', sans-serif;
  font-size: 300%;
}

#logo {
  width: 80px;
  height: auto;
  left: 10px;
  top: 0;
  z-index: 1;
}

.nav {
  position: absolute;
  width: 80%;
  height: 10px;
  left: 15%;
  top: 175px;
  box-sizing: border-box;
  z-index: 2;
  text-align: center;
}

.nav ul{
  list-style: none; /* entfernt die Auflist-Punkte */
  width: 100%; /* sorgt dafür, dass gesamte Breite des Bildschirms von der Liste ausgenutzt wird*/
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between; /* regelt, dass Elemente ganzen, verfügbaren Platz verwenden */
}

.nav ul li{
  float: left; /* sorgt dafür, dass die Listpunkte links aufeinander liegen, nicht mehr untereinander*/
  width: 25%; /* sorgt für Abstand zwischen Punkten, sonst liegen sie aufeinander*/
  text-align: center;
  height: 100%;
  display: table;
}

#currentPage a {
  color: #000000;
}

.nav ul li a {
  font-family: 'Crimson Pro';
  font-weight: 500;
  color: #ffffff;
  font-size: 180%;
  text-decoration: none; /* das entfernt die Unterstreichung von Links */
  width: 19%;
  text-align: center;
  /* text-transform: uppercase; macht die Buchstaben groß, gefällt mir aber nicht, also auskommentiert */
  display: table-cell;
  vertical-align: middle;
  padding: 0 20px 0 20px;
}


.nav ul li a:hover {
  font-size: 200%;
  transition: 0.6s;
  color: #242124;
  opacity: 50%;
  height: 100%;
}

 /* hides icon */
	#burgerMenu {
		display: none;
	}

 /* hides icon */
	#menuClose {
		width: 10%;
		height: auto;
		display: none;
	}

 /* Inhalt */

	#intro {
	position: relative;
	top: 60px;
	width: 66%;
	height: auto;
	margin: 0;
	padding: 20px;
  z-index: 1;
	}

	#intro h3 {
	font-family: 'gwendolyn';
	font-size: 60px;
  font-weight: lighter;
	color: #816b67; /* brown shade */
	margin: 0;
	padding: 10px 0 10px 0;
	}


	p {
	font-family: 'Crimson Pro';
	font-size: 22px;
	color: #816b67; /* brown shade for header and font */
	}

  ul li {
	font-family: 'Crimson Pro';
	font-size: 20px;
	}


 /* Box mit Adresse und Oenungszeiten */

	#address {
	position: sticky;
	flex: 1;
	margin-top: 40px;
	right: 0;
	max-width: 22%;
	min-width: 20%;
	text-align: center;
	padding: 40px;
	height: auto;
	right: 	10px;
	font-family: 'Crimson Pro';
	font-weight: 500;
	color: #000000;
	background-color: white;
	border-radius: 40px; /* Rounds the corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Adds shadow */
  z-index: 2;
	}

	#address h2 {
	font-family: 'gwendolyn', sans-serif;
	font-size: 250%;
	font-weight: 800;
	color: #816b67;
	padding: 40px 0 10px 0; /* top right bottom left */
	margin: 0;
	}

	#address ul {
    position: relative;
	text-decoration: none;
	padding: 16px;
	margin: 0;
	}

	#address ul li {
	margin: 0;
	padding: 10px;
	width: 100%;
	display: flex;
	text-align: center;
	}

	#address p {
	font-family: 'Crimson Pro';
	font-weight: 500;
	color: #000000;
	z-index: 2;
	}

	#instalogo {

		width: 15%;
		height: auto;
		z-index: 2;
		margin: 50px;
	}

	#instalogo:hover {

		cursor: pointer;
	}

/* footer */

footer {
	position: relative;
	content: "";
	width: auto;
  top: 25vh;
	z-index: 1;
	bottom: 0;
	background-color: #816b67;
	padding: 30px;
}

footer ul{
  list-style: none; /* entfernt die Auflist-Punkte */
  height: 40px;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 6px;
}

footer ul li{
  float: left; /* sorgt dafür, dass die Listpunkte links aufeinander liegen, nicht mehr untereinander*/
  width: 5%; /* sorgt für Abstand zwischen Punkten, sonst liegen sie aufeinander*/
  text-align: center;
  height: 20px;
  display: table;
}
footer ul li a {
  font-family: 'Crimson Pro';
  font-weight: 500;
  color: #ffffff;
  width: 19%;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  padding: 5px 5px 0 5px;
}

#navFooter ul li a {
  font-family: 'Crimson Pro';
  font-size: 150%;
  text-decoration: none; /* das entfernt die Unterstreichung von Links */
  width: 19%;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

#footer ul li a {
  font-family: 'Crimson Pro';
  font-size: 100%;
  margin: 0;
  width: 19%;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

footer p {
  font-family: 'Crimson Pro';
  font-weight: 500;
  color: #ffffff;
  text-align: left;
  padding: 0 0 0 40px;
  margin: 0;
}

 /* Responsive breakpoints */

 @media (max-width: 1091px) {

 #address {
   max-width: 38%;
 }

  #address ul {
    padding-left: 20px;
  }

}
    @media (max-width: 768px) {

		#headerdiv {
			position: fixed;
			height: 200px;
		}

		#logoall {
			width: 380px;
			left: 1%;
			padding-top: 0;
			z-index: 3;
		}

		#logoall h1 {
			font-size: 38px;
			width: 100%;
			height: 20%;
			top: 0;
		}

		#logoall img {
			width: 12%;
			padding-right: 4%;
			height: auto;
		}

		.nav {
			position: fixed;
			top: 12%;
			left: 0;
			width: 100%;
			height: auto;
            background-color: #816b67;
			display: none;
        }

    .nav ul {
      flex-direction: column;
			float: left;
			left: 150px;
			padding: 4%;
			transition: .3s ease;

        }

		.nav ul li{
			text-align: center;
			width: 100vw;
			height: auto;
			padding: 2% 0;
		}

		.nav ul li a{
			z-index: 8;
		}

		.nav.active {
			display: block;
      top: 120px;
		}

		#burgerMenu.active {
			display: none;
		}

		#menuClose.active {
			display: block;
		}

    .container {
      flex-direction: column;
    }

		#burgerMenu {
			display: block;
			position: absolute;
			width: 50px;
			height: auto;
			cursor: pointer;
			right: 0;
			z-index: 4;
			padding: 4%;
      top: 100px;
		}


		#menuClose {
			position: absolute;
			display: none; /* not show icon */
			width: 50px;
			height: auto;
			cursor: pointer;
			right: 0;
			z-index: 4;
			padding: 4%;
      top: 100px;
		}

		#address {
			display: none;
		}


		#intro {
			top: 180px;
			width: 60%;
		}


    p {
      font-size: 20px;
    }


		#intro h3 {
			font-size: 46px;
		}

    .layout-wrapper {
      top: 160px;
    }


    #navFooter ul {
      display: none;
    }
  }


    @media (max-width: 480px) {
        header, nav, main, aside, footer {
            padding: 10px;
        }
        nav ul li {
            padding: 5px;
        }

        #logoall h1 {
          font-size: 30px;
          width: 50%;

        }

		#burgerMenu {
			width: 50px;
		}

		#menuClosed {
			width: 50px;
		}


		#footer ul li a{
			padding: 20px 20px 0 60px;
		}

		#footer p{
			padding: 30px 0 0 30px;
		}

    #footer ul {
      padding-left: 0;
    }

  }
