@font-face {
  font-family: 'Rubik';
  src: url('../../fonts/Rubik-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rubik';
  src: url('../../fonts/Rubik-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --white: #eceff4;
  --light-light-grey: #e5e9f0;
  --light-grey: #d8dee9;
  --grey: #4c566a;
  --dark-grey: #434c5e;
  --dark-dark-grey: #3b4252;
  --black: #2e3440;

  --teal: #8fbcbb;
  --cyan: #88c0d0;
  --light-blue: #81a1c1;
  --blue: #5e81ac;

  --red: #bf616a;
  --orange: #d08770;
  --yellow: #ebcb8b;
  --green: #a3be8c;
  --pink: #b48ead;
}

html, body {
  font-size: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--white);
  color: var(--dark-dark-grey);
  font-family: 'Rubik', sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 60%;
  margin: 0 auto;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 60%;
  border-bottom: 0.125em solid var(--dark-dark-grey);
}

nav h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 400;
  padding: 0.3rem 0.8rem;
  color: var(--dark-grey);
  text-decoration: none;
  border-radius: 0.25em;
  transition: background-color 0.25s;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: var(--light-grey);
}

@media (max-width: 1200px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding-bottom: 1.25rem;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
  }

  nav ul li a {
    display: block;
  }
}

/* Main */
main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#quote-section {
  height: 55vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

#quote-section blockquote {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-style: italic;
  text-align: center;
  border-radius: 2rem;
}

#quote-section blockquote + p {
  text-align: right;
}

#author {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--blue);
}

.dash {
  color: var(--dark-dark-grey);
}

/* Übergang */
.wave {
  width: 100%;
  height: 100px;
  flex-shrink: 0;
  line-height: 0;
  transform: rotate(180deg);
}

.rotate {
  transform: scaleY(-1);
}

.grey {
  background: var(--light-light-grey);
}

.light-light-grey path {
  fill: var(--light-light-grey);
}

.grey path {
  fill: var(--grey);
}

@media (max-width: 700px) {
  .wave {
    height: 50px;
  }
}

.end {
  background: var(--light-light-grey);
  padding: 1rem;
  flex: 1;
}

/* Projects */

.project-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-container {
  height: 65vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7rem;
}

.project-2 {
  background: var(--light-light-grey);
}

.project-3 {
  background: var(--grey);
  color: var(--white);
}

.project {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.project p {
  font-size: clamp(1.1rem, 1vw, 1.4rem);
  margin-top: 0;
}

.project-buttons {
  font-size: clamp(1rem, 0.75vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-buttons a {
  text-decoration: none;
  color: var(--dark-dark-grey);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: 0.3s;
}

.project-3 .project-button {
  color: var(--white);
  background-color: var(--blue);
  padding: 0.5rem 2rem;
}

.project-button {
  background-color: var(--cyan);
}

.project-button:hover {
  filter: brightness(90%);
}

.pdf-button {
  border: 1px solid var(--black);
}

.pdf-button:hover {
  border-color: var(--light-blue);
  color: var(--light-blue);
}

@media (max-width: 1300px) {
  .project-container {
    flex-direction: column;
    gap: 1rem;
}
}

