/**************************/
/* NAVIGATION */
/**************************/

.header {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

  /* for sticky header */
  height: 8rem;
  position: relative;
  background-color: #ffffff;
  border-bottom: black solid 1px;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  /* letter-spacing: 0.75px; */
  font-weight: 400;
  font-size: 1.75rem;
  transition: all 0.2s;
}

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 99;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
}

.sticky .section-hero {
  margin-top: 8rem;
}

/**************************/
/* PROJECTS PREVIEW*/
/**************************/

.section-project {
  padding: 9.6rem 0;
  scroll-margin-top: 8rem;
}

.project-prev-img-box {
  overflow: hidden;
  /* border-radius: 4px; */
}
.project-prev-img-box img {
  width: 100%;
  transition: all 0.2s;
}

.project-prev-text-box {
  background-color: rgb(255, 255, 255);
  /* border-radius: 4px; */
  z-index: 9;
  min-height: 15rem;
  display: flex;
  align-items: center;
}

.project-prev-text-box:nth-child(even) {
  margin-left: -6.8rem;
  padding: 2rem 0rem 2rem 2rem;
}

.project-prev-text-box:nth-child(odd) {
  margin-right: -6.8rem;
  padding: 2rem 2rem 2rem 0rem;
  z-index: 1;
  text-align: right;
  justify-content: flex-end;
}

/**************************/
/* PROJECT */
/**************************/

.project-cmsd {
  font-size: 2rem;
  line-height: 1.8;
  /* font-weight: 700; */
}

.project-description {
  font-size: 1.75rem;
  line-height: 1.8;
}

.project-pic,
.project-video {
  /* to center the img inside */
  display: block;
  text-align: center;
}

.project-img.hovered,
.project-prev-img-box.hovered {
  filter: brightness(90%);
}

.project-img {
  max-height: 70vh;
  max-width: 100%;
  cursor: zoom-in;
}

video {
  max-height: 70vh;
  max-width: 100%;
  /* border-radius: 4px; */
}

.project-img-caption {
  position: relative;
  background-color: rgb(255, 255, 255);
  /* border-radius: 4px; */
  padding: 1.2rem 2.4rem;
  /* margin: 0 12.8rem; */
  width: 70%;
  margin: 0 auto;
  margin-top: -2rem;
}

.caption-text {
  font-size: 1.5rem;
  line-height: 1.6;
  /* font-style: italic; */
}

.logo-neustart {
  width: 15rem;
}

.logo-kunstfonds {
  width: 25rem;
}

/**************************/
/* FOOTER */
/**************************/

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid rgb(0, 0, 0);
}

.footer-heading {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 2.4rem;
}

.footer-text {
  margin-bottom: 1.2rem;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.6;
}

.footer-link:link,
.footer-link:visited {
  font-size: 1.5rem;
  transition: all 0.3s;
  font-style: normal;
}

.mk {
  height: 2.4rem;
  margin-top: 0.1rem;
}

.grid--footer {
  grid-template-columns: 2fr 1fr 1fr 1fr;
  column-gap: 3rem;
}

/**************************/
/* ABOUT */
/**************************/

.rotating-portrait {
  width: 120px;
  height: 120px;
  position: fixed;
  z-index: 100;
  object-fit: contain;
}

.rotating-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
