@import 'https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap';
:root {
  --white: #f9f9f9;
  --black: #36383F;
  --gray: #c2c5c8;
  --bordergray: #e4e2e2;
}
body {
  height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: montserrat;
  font-size: calc(10px + 0.390625vw);
}
*, *::before, *::after {
  box-sizing: inherit;
}
section {
  width: 100%;
  padding-inline: clamp(1rem, 4vw, 3rem);
}
#header, #footer {
  padding-inline: 0;
}
.header-container, #footer .footer {
  width: min(100%, 1300px);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}
html {
  scroll-padding-top: 110px;
}
#club,
#projekte,
#kontakt {
  scroll-margin-top: 110px;
}
a {
  color: var(--white);
  text-decoration: none;
}
.container {
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
p {
  color: var(--black);
	font-size: 1.1rem;
	margin-top: 5px;
	line-height: 1.5rem;
	font-weight: 300;
	letter-spacing: 0.05rem;
}
.section-title {
	font-size: 4rem;
	font-weight: 300;
	color: black;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
	text-align: center;
}
h4 {
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
}
  /* Header */
  #header {
    background-color: var(--black);
    position: fixed;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    z-index: 1000;
  }

  /* Logo */
  .brand h1 {
    margin-top: 20px;
    margin-left: 25px;
    margin-bottom: 20px;
	  font-size: 2rem;
	  color: var(--white);
  }

  /* Nav menu */
  .navi {
    padding-right: 5%;
    width: 100%;
    height: 100vh;
    position:relative;
    background-color: var(--black);
    overflow: hidden;
  }
  .navi ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  ul a {
    font-size: 2rem;
    display: block;
    text-align: center;
    padding-top: 30px;
    padding-right: 15%;
    color: var(--white);
  }
  ul a:hover {
    background-color: transparent;
  }
  .navi {
    max-height: 0;
    transition: max-height 0.5s ease-out;
  }

  /* Menu Icon */
  .hamb {
    cursor: pointer;
    float: right;
    padding: 40px 20px;
  }
  .hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
  }
  .hamb-line::before,
  .hamb-line::after {
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
  }
  .hamb-line::before {
    top: 5px;
  }
  .hamb-line::after {
    top: -5px;
  }
  .side-menu {
    display: none;
  }

  /* Switch */
  .side-menu:checked ~ .navi {
    max-height: 100%;
  }
  .side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
  }
  .side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
  }
  .side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
  }

  #hero img {
    display: block;
    width: min(70vw, 280px);
    max-width: 280px;
    height: auto;
    margin: 12rem auto 0;
  }
  #hero .hero-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-inline: auto;
    max-width: 1200px;
    padding-bottom: 2rem;
  }
  .hero-container p {
    color: var(--black);
    margin: 0;
    padding: 1rem;
    border: 3px solid var(--bordergray);
    border-radius: 8px;
    text-align: center;
    line-height: 1.8rem;
  }
  #hero .hero-info {
    border: 3px solid var(--bordergray);
    border-radius: 8px;
    padding: 1rem;
  }
  #hero .hero-info p {
    border: 0;
    padding: 0;
  }
  /* End Header */


/* Start Club Mitglieder */
#club .club {
	flex-direction: column;
	text-align: center;
	max-width: 1500px;
	margin: 0 auto;
	padding: 100px 0;
}
#club .club-top {
	max-width: 500px;
	margin: 0 auto;
}
#club .club-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 50px;
}
#club .club-item {
	flex-basis: 80%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: 30px;
	border-radius: 10px;
	background-color: var(--gray);
	background-size: cover;
	margin: 10px 5%;
	position: relative;
	z-index: 1;
	overflow: hidden;
}
#club .club-item::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
	opacity: 0.9;
	z-index: -1;
}
#club .club-bottom .foto {
  height: 220px;
  width: 220px;
	margin-bottom: 20px;
  border-radius: 0;
  overflow: hidden;
}
#club .club-bottom .foto img {
  width: 100%;
  height: auto;
}
#club .club-item h3 {
	font-size: 1.2rem;
	color: white;
	margin-bottom: 10px;
	text-transform: uppercase;
}
#club .club-item p {
	color: white;
	text-align: left;
}
#club .club-item .club-text-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
#club .club-item .club-text {
  margin: 0;
  color: white;
  text-align: left;
  line-height: 1.6rem;
  max-width: 100%;
}
#club .club-item .club-text-toggle:not(:checked) ~ .club-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}
#club .club-item .club-text-more {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--white);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.1rem;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
#club .club-item .club-text-more:hover,
#club .club-item .club-text-more:focus-visible {
  color: var(--gray);
  transform: scale(1.15);
  opacity: 0.95;
  outline: none;
}
#club .club-item .club-text-less {
  display: none;
  margin-top: 0.25rem;
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.05rem;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
#club .club-item .club-text-less:hover,
#club .club-item .club-text-less:focus-visible {
  color: var(--gray);
  transform: scale(1.08);
  opacity: 0.95;
  outline: none;
}
#club .club-item .club-text-toggle:checked ~ .club-text-more {
  display: none;
}
#club .club-item .club-text-toggle:checked ~ .club-text-less {
  display: inline-block;
}
/* End Club Mitglieder */

/* Projects section */
#projects .projects {
	flex-direction: column;
	width: min(100%, 1400px);
	max-width: 1400px;
	margin: 0 auto;
	padding: 100px clamp(1rem, 4vw, 3rem);
}
#projects .projects-header {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 2rem;
}
#projects .projects-header h1 {
	margin-bottom: 0;
}
#projects .all-projects {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	gap: 1.5rem;
}
#projects .project-item {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
#projects .project-info {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	align-self: stretch;
	background-color: #485563;
	background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
	color: white;
	gap: 0.5rem;
}
#projects .project-info h1 {
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 600;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.08rem;
}
#projects .project-info h2 {
	font-size: clamp(1.2rem, 1.8vw, 1.6rem);
	font-weight: 500;
	margin: 0;
}
#projects .project-info p {
	color: white;
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 300;
	margin: 0;
	max-width: 62ch;
}
#projects .project-img {
	min-height: 280px;
	overflow: hidden;
	position: relative;
}
#projects .project-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s ease transform;
}
#projects .project-item:hover .project-img img {
	transform: scale(1.08);
}
/* End Projects section */

/* contact Section */
#contact .contact {
	flex-direction: column;
	max-width: 1200px;
	margin: 0 auto;
	width: 90%;
}
#contact .contact-items {
	/* max-width: 400px; */
	width: 100%;
}
#contact .contact-item {
	width: 80%;
	padding: 20px;
	text-align: center;
	border-radius: 10px;
	padding: 30px;
	margin: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	box-shadow: 0px 0px 18px 0 #0000002c;
	transition: 0.3s ease box-shadow;
}
#contact .contact-item:hover {
	box-shadow: 0px 0px 5px 0 #0000002c;
}
#contact .icon {
	width: 70px;
	margin: 0 auto;
	margin-bottom: 10px;
}
#contact .contact-info h1 {
	font-size: 2.5rem;
	font-weight: 500;
	margin-bottom: 5px;
}
#contact .contact-info h2 {
	font-size: 1.3rem;
	line-height: 2rem;
	font-weight: 500;
}
/*End contact Section */

/* Footer */
#footer {
	background-color: var(--black);
}
#footer .footer {
	min-height: 100px;
	flex-direction: column;
	padding-top: 10px;
	padding-bottom: 10px;
}
#footer h2 {
	color: white;
	font-weight: 500;
	font-size: 1.2rem;
	letter-spacing: 0.1rem;
	margin-top: 5px;
	margin-bottom: 10px;
}
#footer p {
	color: white;
	font-size: 1.1rem;
}

/* End Footer */  

  @media only screen and (min-width: 481px) {
	h1.section-title {
		font-size: 6rem;
	}

  .navi a {
    font-size: 3rem;
    margin-top: 3rem;
  }

	/* Hero */
    #hero img {
    margin-top: 30%;
    margin-left: 25%;
    max-height: 50vh;
    align-items: center;
  }

	#hero h2 {
		font-size: 7rem;
	}
	/* End Hero */
  }

  /* Media Query For Desktop */
  @media only screen and (min-width: 780px) {
  #club,
  #projekte,
  #kontakt {
	  scroll-margin-top: 20px;
	}

	/* header */
  .hamb {
    display: none;
  }

  .nav-bar {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .nav-list {
    margin-left: auto;
    display: flex;
    align-items: center;
  }

  .navi {
    background-color: transparent;
    width: auto;
    padding-right: 25px;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .navi ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
  }
  
 .navi ul li a {
    color: var(--white);
	  text-align: center;
    font-size: 1.5rem;
	  max-width: none;
	  margin: 0;
	  padding: 0.6rem 1rem;
  }
	/* End header */

  /* Section hero */
  #hero .hero-container {
    display: grid;
    grid-template-columns: 300px 420px 420px;
		padding: 260px 0 0 0;
		align-items: stretch;
		justify-content: center;
    column-gap: 24px;
    row-gap: 0;
		max-width: 1188px;
		margin: 0 auto;
	}

	#hero .hero-container img {
		width: 100%;
    max-width: 300px;
    height: 360px;
    margin: 0;
    object-fit: contain;
	}

  #hero .hero-container > p,
  #hero .hero-container .hero-info {
    margin: 0;
    min-height: 360px;
    height: 360px;
  }

  .hero-container p {
    margin: 0;
    text-align: center;
    line-height: 1.8rem;
  }

  	/* Club Section */
	#club .club-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 24px;
	}

	#club .club-bottom .club-item {
		flex-basis: auto;
		margin: 0;
    border: 2px solid var(--gray);
    min-height: 360px;
	  }

    #club .club-bottom .foto {
    height: 140px;
    width: 140px;
    }

  /* Project */
	#projects .project-item {
		flex-direction: row;
	}
	#projects .project-item:nth-child(even) {
		flex-direction: row-reverse;
	}
	#projects .project-item {
		height: 400px;
		margin: 0;
		width: 100%;
		border-radius: 0;
	}
	#projects .all-projects .project-info {
		height: 100%;
	}
	#projects .all-projects .project-img {
		height: 100%;
	}
	/* End Project */


  	/* contact  */
	#contact .contact {
		flex-direction: column;
		padding: 100px 0;
		align-items: center;
		justify-content: center;
		min-width: 20vh;
	}
	#contact .contact-items {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		margin: 0;
	}
	#contact .contact-item {
		width: 30%;
		margin: 0;
		flex-direction: row;
	}

	#contact .contact-item .contact-info {
		width: 100%;
		text-align: left;
		padding-left: 10px;
	}
	/* End contact  */
  }

  @media only screen and (min-width: 1200px) {
    #hero .hero-container {
      grid-template-columns: 340px 460px 460px;
      max-width: 1300px;
      column-gap: 28px;
      padding-top: 240px;
    }

    #hero .hero-container > p,
    #hero .hero-container .hero-info {
      min-height: 400px;
      height: 400px;
    }

    #club .club-bottom {
      grid-template-columns: repeat(3, minmax(260px, 1fr));
      gap: 28px;
      max-width: 1300px;
      margin-left: auto;
      margin-right: auto;
    }

    #club .club-bottom .club-item {
      min-height: 400px;
    }

    #club .club-bottom .foto {
	  height: 160px;
	  width: 160px;
    }
  }