@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  padding:0;
  margin:0;
  font: inherit
}

:root {
  /* font sizes */
  --heading_big: clamp(2rem, 10vw, 6rem);
  --heading_medium: clamp(1.75rem, 5vw, 3rem);
  --heading_small: clamp(1.25rem, 5vw, 2rem );
  --text_medium: clamp(1rem, 3vw, 1.25rem);
  --text_small: clamp(.9rem, 2vw, 1rem);
  --text_tiny: clamp(.75rem, 1vw, .875rem);

  /* colors */
  --bgcol:  #f2ecef;
  --textcol: #222;
  --highlight: #e718b3; 
  --selection: #ffa9e9;
}

@keyframes pageload {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

*::selection {
  background-color: var(--selection);
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  list-style: none;
}

body {
  min-height: 100vh;
  font-family: 'Roboto Mono','Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  line-height: 1.4;
  color: var(--textcol);
  background-color: var(--bgcol);
  word-break: normal;
}

h1, h2, h3, h4 {
  font-family: 'Roboto Condensed' ,'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  line-height: .9;
}

p {
  max-width: 1400px
}

.text {
  display: flex;
  flex-direction: column;
  row-gap: 1em;
}

a {
  display: inline-block;
  color: var(--textcol);
  transition: background-color 300ms ease;
}

a:hover, a:active, a:focus-visible {
  color: var(--textcol);
  
}

a:focus-visible {
  outline: 4px solid var(--highlight);
}

.container {
  max-width: 1800px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.italic, em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

.page_title {
  font-size: var(--heading_big);
  padding-bottom: .25rem;
}

.link-btn {
  margin-block: .5rem;
  font-weight: 500;
  color: var(--highlight);
  transition: outline 200ms ease;
  outline-color: var(--highlight);
}

.link-btn:hover, .link-btn:focus-visible, .link-btn:active {
  color: var(--textcol);
  background-color: var(--highlight);
  outline: 4px solid var(--highlight);
  text-decoration: none;
}

.fabi_link {
  color: var(--textcol);
}

.fabi_link:hover {
  color: var(--textcol);
  text-decoration: none;
}

main {
  animation: pageload 800ms ease;
}


/* --------------INTRO----------------- */

section.intro {
  width: 100dvw;
  height: 100dvh;
  background-color: var(--highlight);
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 1000ms ease;
  z-index: 100;
}

.intro h2, .placeholder h2 {
  font-size: var(--heading_big);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, .1));
}

.intro h3, .placeholder h3 {
  font-weight: 300;
  font-size: var(--heading_small);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));
}

.intro_background {
  position: absolute;
  filter: brightness(95%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -50;
}

.placeholder {
  width: 100vw;
  width: 100dvh;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top:0;
  left: 0;
  background-color: var(--highlight);
  color: var(--bgcol);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.placeholder .contact  {
  display: flex;
  flex-direction: column;
  row-gap: .25rem; 
  text-align: center;
  padding-block: 2rem;
  font-size: var(--text_small);
}

.placeholder .contact a {
  color: var(--bgcol)
}

.placeholder .contact a:hover {
  text-decoration: none;
} 


/* ---------------HEADER--------------- */

header {
  padding-block: .5rem;
  font-size: var(--heading_small);
  line-height: .9;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 2rem;
  row-gap: .25rem;
  margin-bottom: 1rem;
}

.nav_ul {
  font-family:'Roboto Condensed', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  column-gap: 1rem;
  row-gap: .125rem;
  flex-wrap: wrap;
}

.header a {
  text-decoration: none;
  transition: outline 200ms ease;
  outline-color: var(--highlight);
}

.header a:hover, .header a:active, header a:focus-visible {
    background-color: var(--highlight);
    outline: 4px solid var(--highlight);
}

.header a:active {
  outline: 6px solid var(--highlight)
}

.active {
  font-weight: 400;
}

/* ---------------PROJECTS--------------- */

.projects {
  margin-bottom: 4rem;
}

.projects_ul  {
  font-family:'Roboto Condensed', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: var(--text_medium);
  font-weight: bold;
  line-height: .9;
  text-transform: uppercase;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(600px,100%), 1fr));
  gap: 2rem;
}

.projects_link:active {
  background-color: none;
}

.thumbnail {
  overflow: hidden;
  margin-bottom: .5rem;
}

figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 1rem;
}

.project_year {
  font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
  font-weight: normal;
}

.thumbnail img {
  transition: transform 200ms ease, border 200ms ease;
}

.projects_ul a {
  text-decoration: none;
}

.projects_ul a:hover .thumbnail img, 
.projects_ul a:active .thumbnail img, 
.projects_ul a:focus-visible .thumbnail img {
  transform: scale(1.05);
}

.projects_ul a:active .thumbnail img {
  transform: scale(1.06);
}

.projects_ul a:hover,
.projects_ul a:active,
.projects_ul a:focus-visible {
  color: var(--highlight);
}

.projects_ul a:focus-visible {
  outline: 2px solid var(--highlight);
  border-radius: 2px;
}


/* ---------------PROJECT--------------- */

.title {
  margin-bottom: .5rem;
}

.subtitle {
  font-size: var(--heading_medium);
  font-weight: 300;
}

.project_head {
  margin-bottom: 4rem;
}

.project_infos {
  display: flex;
  flex-wrap: wrap;
  font-size: var(--text_small);
  opacity: .6;
  margin-bottom: 1rem;
  column-gap: 1rem;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
}

.project_text {
  font-size: var(--text_medium);
  max-width: 110ch;
}

.project_gallery {
  margin-bottom: 2rem;
}

.gallery {
  display: grid;
  gap: 1rem;
}


/* ------------WORKSHOPS------------- */

.workshop_intro {
  margin-bottom: 4rem;
}

.workshop_intro .text {
  font-size: var(--text_medium);
} 

.workshop_gallery {
  margin-bottom: 2rem;
}

.workshop_gallery ul {
  display: flex
}

.workshop_types {
  margin-bottom: 4rem;
}

.workshop_types .wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(600px, 100%),1fr));
  column-gap: 2rem;
  row-gap: 2rem;
}

.workshop_item {
  padding: 1rem 2rem 4rem 1rem;
  background-color: var(--selection);
  transition: transform 200ms ease, background-color 300ms ease;
}

.workshop_item:hover {
  background-color: var(--highlight);
}

.workshop_title {
  font-family: 'Roboto Mono', 'Courier New', Courier, monospace;
  margin-bottom: .5rem;
}

.workshop_pricing {
  margin-bottom: 8rem;
}


/* -------------INFOS---------------- */

.section_title {
  font-size: var(--text_medium);
  margin-bottom: .5rem;
  line-height: .9;
}


/* About */

.about {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
  gap: 1rem;
}

.about_text .text {
  margin-bottom: 4rem;
  font-size: var(--text_medium);
}

.about_text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact p, .socials p {
  margin-bottom: .125rem;
}

.mail {
  margin-bottom: 1rem;
}

.imprint article {
  margin-bottom: .5rem;
}

/* CV */

.cv {
  margin-bottom: 4rem;
  display: grid;
  font-size: var(--text_small);
  grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
  gap: 1rem
}

.cv_grid {
  display: grid;
  row-gap: 1rem;
  line-height: 1.2;
}

.cv_date {
  font-weight: 500;
  margin-bottom: .125rem;
}

.doggo_article {
  display: grid;
  align-items: end;
  justify-content: end;
}

.doggo_wrapper {
  max-width: 100px;
}

/* Impressum */

.imprint {
  margin-top: 20rem;
  margin-bottom: 4rem;
}

.fabi_logo {
    height: 1.5rem;
    display: inline-block;
    vertical-align: middle;
    fill: var(--textcol)
}


/* Legal */

.legals {
  display: grid;
  gap: 1rem;
  margin-bottom: 4rem;
}

.legals h4 {
  font-size: var(--text_small);
  margin-bottom: .25rem;
}

.legals p {
  font-size: var(--text_tiny);
}


/* -------------BOTTOM NAV------------ */

.bottom_nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}


/* ---------------FOOTER--------------- */

footer {
  font-size: var(--text_tiny);
  margin-top: 8rem;
  padding-block: 2rem;
  min-height: 10vh;
  background-color: var(--highlight);
  text-align: center;
  color: var(--bgcol)
}

footer p {
  margin-inline: auto;
}