:root {
  --dusk: #144142;
  --dawn: #FFE28A;
  --eve: #FF5555;
  --ice: #e8fdff;
  --blue: #FF5555;
  --cyan: #FF973D;
  --white: #ffffff;
  --greyblue: #e3edf2;
  --black: #000000;
  --magenta: #e0347c;
  --lavender: #67658f;
  --lavender-dark: #216264;
  --dawn_dark: #e8c59c;
  --dawn_even_darker: #d5b188;
  --footer: #413e79;
}

.futura-bold-condensed {
  font-style: normal;
  font-weight: 700;
}

.futura-bold-condensed-oblique {
  font-style: italic;
  font-weight: 700;
}

.futura-medium-condensed {
  font-style: normal;
  font-weight: 500;
}

.futura-extra-bold-condensed-oblique {
  font-style: italic;
  font-weight: 800;
}

.viktorie-regular {
  font-family: viktorie, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.parkside-regular {
  font-family: parkside, cursive;
  font-style: normal;
  font-weight: 800;
  font-size: 80px;
  line-height: 60px;
  color: #FFE28A;
}

body {
  width: 100%;
  height: 100%;
  background-color: var(--greyblue);
  color: white;
  font-family: futura-pt-condensed, sans-serif;
  font-size: 64px;
  text-align: center;
  line-height: 0.9;
  margin: 0px;
  padding: 0px;
}

a {
  color: white;
  text-decoration: none;
}

button {
  padding: 0px;
}

h1 {
  font-size: 64px;
  line-height: 0.9;
  margin: 0px 0px 32px;
}

p {
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  margin: 0px 0px 32px;
}

.no-overflow {
  overflow: hidden;
}

.section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-attachment: fixed; TODO maybe interesting? */
}


/* HOME SECTIONS */

.home-header {
  background-image: url("../res/home_header.png");
}

.home-claim {
  /*background-image: url("../res/home_claim.jpg");*/
  background-color: #FF5555;
}

.home-references {
  flex-direction: row;
  height: unset;
  min-height: 100vh;
  background-color: var(--dusk);
}

.home-references-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 900px;
  min-height: 400px;
  margin: 64px;
}

.home-references-logoborder {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin: -4px;
  padding: 8px;
  width: 292px; /* respect the 8px padding */
  height: 192px; /* respect the 8px padding */
/*  background-repeat: no-repeat;
  background-position: left top,
                       right top,
                       left bottom,
                       right bottom;
  background-size: 8px 8px,
                   8px 8px,
                   8px 8px,
                   8px 8px;
  background-image: url("../res/corner_plus.svg"),
                    url("../res/corner_plus.svg"),
                    url("../res/corner_plus.svg"),
                    url("../res/corner_plus.svg"); */
}

.home-skills {
  height: unset;
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  text-align: left;
}

.home-skills a {
  display: block;
  text-align: right;
  color: var(--blue);
  font-size: 32px;
  padding-right: 18px;
  background-image: url("../res/arrow_blue.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 10px 23px;
}

.home-skills-category {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.home-skills-category:nth-of-type(even) {
  flex-wrap: wrap-reverse;
}

.home-skills-box {
  width: 50%;
  height: 50vw;
}

.home-skills-image {
  background-color: var(--blue);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-skills-image-app {
  background-image: url("../res/skills_app.svg");
}

.home-skills-image-web {
  background-image: url("../res/skills_web.svg");
}

.home-skills-image-illu {
  background-image: url("../res/skills_illu.svg");
}

.home-skills-image-logo {
  background-image: url("../res/skills_logo.svg");
}

.home-skills-image-print {
  background-image: url("../res/skills_print.svg");
}

.home-skills-text {
  background-color: var(--greyblue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-skills-text-box {
  margin: 0px 64px;
}

.home-skills-text h1 {
  color: var(--dusk);
}

.home-skills-text p {
  color: var(--lavender);
}


/* HOME SECTIONS */

.about-header {
  background-image: url("../res/head_about.png");
}

.about-header h1 {
  margin: 0px;
  font-size: 128px;
}

.about-header h2 {
  margin: 0px;
  font-size: 36px;
}

.about-self {
  /*background-image: url("../res/about_illustrating.png");*/
  background-color: var(--dusk);
  color: var(--ice);
}

.about-self p {
  max-width: 80%;
  font-style: italic;
  font-weight: 700;
  font-size: 64px;
  line-height: 0.9;
  margin-bottom: 64px;
}

.about-self span {
  color: var(--dawn);
}

.about-quote {
  background-color: var(--dusk);
}

.about-quote h1 {
  padding: 0px 36px;
  font-style: italic;
  font-weight: 800;
  font-size: 200px;
  line-height: 0.9;
  color: var(--ice);
  background-image: url("../res/icon_quote.svg");
  background-size: 66px 43px;
  background-position: left top;
  background-repeat: no-repeat;
}

.about-quote p {
  max-width: 80%;
  font-style: italic;
  font-weight: 700;
  font-size: 64px;
  line-height: 0.9;
  margin-bottom: 64px;
  color: var(--dawn); 
}

.about-believe {
  /*background-image: url("../res/placeholder_about.png");*/
  background-color: var(--dusk);
  color: var(--dawn);
}

.about-believe p {
  max-width: 80%;
  margin-bottom: 64px;
  font-style: italic;
  font-weight: 700;
  font-size: 48px;
  line-height: 0.9;
}

.about-believe-emoji {
  font-style: normal !important;
}

.about-believe span {
  color: var(--ice);
}

.about-skills {
  background-color: var(--dusk);
  height: unset;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 64px 0px;
}

.about-skills-category {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-skills-category p {
  width: 65%;
  margin-bottom: 48px;
  color: var(--dawn);
}

.about-skills-image {
  margin: 64px;
  height: 480px;
  width: 480px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.about-skills-image-app {
  background-image: url("../res/skill_app_dark.svg");
}

.about-skills-image-web {
  background-image: url("../res/skill_web_dark.svg");
}

.about-skills-image-illu {
  background-image: url("../res/skill_illu_dark.svg");
}

.about-skills-image-logo {
  background-image: url("../res/skill_logo_dark.svg");
}

.about-skills-image-print {
  background-image: url("../res/skill_print_dark.svg");
}


/* CONTACT SECTIONS */

.contact-header {
  background-color: var(--dusk);
  height: unset;
}

.contact-header h1 {
  max-width: 80%;
  margin: 100px 0px 0px;
  font-size: 128px;
}

.contact-header h2 {
  max-width: 60%;
  margin: 20px 0px 0px;
  font-size: 36px;
  text-align: left;
}

.contact-handwriting {
  position: relative;
  margin-left: 128px;
  text-align: right;
  color: var(--dawn);
  font-size: 36px;
}

.contact-handwriting::after {
  position: absolute;
  right: 16px;
  bottom: -84px;
  width: 43px;
  height: 80px;
  background-size: 43px 80px;
  background-image: url("../res/scribble_arrow.svg");
  background-position: center center;
  background-repeat: no-repeat;
  content: "";
}

.contact-header span {
  color: var(--dawn);
}

.contact-mail-address {
  width: 587px;
  height: 187px;
  margin-right: 86px;
  color: var(--dawn) !important;
  font-size: 84px !important;
  line-height: 2.25;
  background-image: url("../res/scribble.svg") !important;
  background-size: 587px 187px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* GALLERY SECTIONS */

.gallery-header {
  background-image: url("../res/head_gallery.svg");
}

.gallery-header h1 {
  margin: 0px;
  font-size: 128px;
}

.gallery-header h2 {
  margin: 0px;
  font-size: 36px;
}

.references-hidden-text {
  visibility: hidden;
  z-index: 40;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.references-wrapper {
  display: grid;
  grid-template-columns: repeat(3, calc(100%  /3));
}

.references-entry {
  position: relative;
  line-height: 0;
  cursor: pointer;
}

.references-entry img {
  width: 100%;
  object-fit: cover;
}

/*
.references-entry img:hover {
  filter: brightness(30%);
}

.references-entry img:hover + .references-hidden-text {
  visibility: visible;
  pointer-events: none;
}*/

.references-entry h1 {
  font-size: 42px;
  margin-bottom: 8px;
}

.references-entry p {
  color: #FFE28A;
  font-size: 18px;
  margin: 0px;
}

/* find more elegant way? */
.references-wrapper div:nth-child(1) {
  grid-row: 1 / span 2;
}

.references-wrapper div:nth-child(2) {
  grid-row: 1;
}

.references-wrapper div:nth-child(3) {
  grid-row: 1 / span 2;
}

.references-wrapper div:nth-child(4) {
  grid-row: 3;
}

.references-wrapper div:nth-child(5) {
  grid-row: 2 / span 3;
}

.references-wrapper div:nth-child(6) {
  grid-row: 3;
}

/* GALLERY LIGHTBOX */

.lightbox {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 150;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: rgba(9, 4, 74, 0.9);

  -webkit-overflow-scrolling: touch;
}

.lightbox-hidden {
  display: none !important;
}

.lightbox-content {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: left;
}

.lightbox-close-button {
  position: fixed;
  top: -8px;
  right: 8px;
  width: 84px;
  height: 84px;
  border: none;
  outline: none;
  background-image: url("../res/x_icon_dawn.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-color: rgba(9, 4, 74, 0.65);
  z-index: 150;
  border-radius: 100px;
}

.lightbox-content h1, .lightbox-static-content h1 {
  font-size: 36px;
  margin: 32px 32px 0px;
}

.lightbox-content h2, .lightbox-static-content h2 {
  font-size: 24px;
  margin: 12px 32px 32px;
  color: var(--dawn);
}

.lightbox-content iframe, .lightbox-static-content iframe {
  width: 100%;
  height: calc(9 / 16 * 100vw);
  border: none;
}

.lightbox-content img, .lightbox-static-content img {
  display: block;
  width: 100%;
}

.lightbox-images, .lightbox-static-images {
  margin: 0px 32px;
}

.lightbox-content div, .lightbox-static-content div {
  margin: 0px 32px;
}

.lightbox-content a, .lightbox-static-content a {
  padding-bottom: 32px;
  font-size: 24px;
  color: var(--blue);
}

.lightbox-static-hashtags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 32px !important;
}

.lightbox-static-content a {
  padding-bottom: 0px;
}

.lightbox-content a:hover, .lightbox-static-content a:hover {
  color: var(--cyan);
}

/* LIGTHBOX STATIC */
.lightbox-static {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 48px;
  background-color: var(--dusk);
}

.lightbox-static-content {
  text-align: left;
}


/* LEGAL SECTIONS */

.legal-header {
  background-color: var(--dusk);
  height: unset;
}

.legal-header h1 {
  margin: 100px 0px 0px;
  font-size: 128px;
}

.legal-header h2 {
  max-width: 60%;
  margin: 20px 0px 100px;
  font-size: 36px;
  text-align: center;
}

.legal-legal {
  align-items: flex-start;
  padding-bottom: 64px;
  background-color: var(--dusk);
  height: unset;
  text-align: left;
}

.legal-legal h4 {
  margin: 0px 12.5% 32px;
  font-size: 32px;
}

.legal-legal h5 {
  margin: 0px 12.5% 32px;
  font-size: 24px;
}

.legal-legal p {
  margin: 0px 12.5% 32px;
  text-align: left;
  font-size: 18px;
} 

/* GENERAL SECTIONS */

.fadein-animation {
  animation: fadein 1s ease-in-out;
}

.fadein-animation-slow {
  animation: fadein-delayed 2s ease-in-out;
}

.fadein-animation-slower {
  animation: fadein-more-delayed 3s ease-in-out;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadein-delayed {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0; 
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadein-more-delayed {
  0% {
    opacity: 0;
  }
  66% {
    opacity: 0; 
  }
  100% {
    opacity: 1;
  }
}

.menu-transparent-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 58px 46px;
}

.menu, .filter-menu-bar {
  position: fixed;
  display: flex;
  justify-content: space-between;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 90px;
  z-index: 50;
}

.filter-menu-bar {
  top: 90px;
  height: 74px;
}

.filter-text {
  font-size: 42px;
  margin-top: 18px;
  z-index: 100;
}

.menu-icon {
  background-image: url("../res/BEARHEAD.svg");
}

.menu button, .filter-menu-bar button, .menu-spacer {
  width: 24px;
  height: 24px;
  margin-top: 32px;
  margin-right: 32px;
  margin-left: 32px;
  cursor: pointer;
  background-color: unset;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  border: none;
  outline: none;
  z-index: 100;
}

.filter-menu-bar button, .menu-spacer {
  margin-top: 24px;
}

.menu-icon-hamburger {
  background-image: url("../res/hamburger_dawn.svg");
}

.menu-icon-hashtag {
  background-image: url("../res/hashtag_dawn.svg");
}

.menu-icon-filter {
  background-image: url("../res/filter.svg");
}

.menu-icon-filter:hover {
  background-image: url("../res/filter_dawn.svg");
}

.menu-scrolled {
  background-color: rgba(0, 66, 67);
  background-image: url("../res/BEARHEAD.svg");
  animation: fadein 1s ease-in-out;
}

.filter-menu-scrolled {
  background-color: rgba(255, 65, 76, 0.9);
  animation: fadein 1s ease-in-out;
}

.menu-hashtags-wrapper {
  max-width: 90%;
  margin-top: 68px !important;
}

.menu-hashtags-wrapper a {
  color: var(--dawn) !important;
}

.menu-hashtags-wrapper a:nth-of-type(even) {
  color: white !important;
}

.menu-hashtags-wrapper a:hover {
  color: var(--cyan) !important;
}

.filter-menu-category-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 80%;
  min-width: 700px;
  margin-top: 48px;
  margin-bottom: 90px !important;
}

.filter-menu-category-wrapper a {
  width: calc(50% - 54px);
  padding: 20px 0px 20px 50px;
  color: var(--dawn) !important;
  font-style: normal;
  text-align: left;
  background-repeat: no-repeat;
  background-size: 42px 42px;
  background-position: left top 0.5em;
  background-image: url("../res/icon_gallery.svg");
}

.filter-menu-category-wrapper a:hover {
  color: var(--cyan) !important;
  background-image: url("../res/icon_category_hover.svg");
}

.menu-close-button {
  position: fixed;
  top: -8px;
  left: -8px;
  width: 84px;
  height: 84px;
  border: none;
  outline: none;
  background-image: url("../res/x_icon_dawn.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--blue);
  z-index: 150;
  border-radius: 100px;
}

.menu-close-button-right {
  top: -8px;
  right: -8px;
  left: unset;
}

.main-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-position: center 16px;
  background-repeat: no-repeat;
  background-size: 144px 21px;
  background-color: rgba(0, 66, 67, 0.8);
  background-image: url("../res/BLACKFONT.svg");
  animation: fadein 0.5s ease-in-out;
  text-align: center;
  z-index: 10;
}

.filter-menu {
  background-color: rgba(0, 66, 67, 0.9);
}

.filter-menu .menu-close-button {
  background-image: url("../res/x_icon_blue.svg");
  background-color: var(--dawn);
}

.main-menu-active {
  color: white !important;
}

.main-menu a {
  color: var(--dawn);
}

.main-menu a:hover {
  color: var(--cyan);
}

.header {
  background-color: black;
}

.header-background {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hashtags {
  height: unset;
  padding: 64px 0px;
  color: var(--eve);
}

.hashtags button {
  width: 350px;
  height: 100px;
  margin: 60px 0px;
  padding-left: 42px;
  border: 6px solid var(--blue);
  border-radius: 100px;
  font-family: futura-pt-condensed, sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--blue);
  font-size: 32px;
  cursor: pointer;
  outline: none;
  background-color: var(--greyblue);
  background-image: url("../res/icon_gallery_blue.svg");
  background-size: 28px 28px;

  background-position: left 32px center;
  background-repeat: no-repeat;
}

.hashtag-cloud {
  margin: 0px 64px;
  word-break: break-all;
  font-style: italic;
}

.hashtag-cloud a {
  color: var(--eve);
}

.hashtag-cloud a:nth-of-type(even) {
  color: var(--blue);
}

.hashtag-cloud a:hover {
  color: var(--cyan);
}

.dude {
  background-image: url("../res/dude_at_macbook.png");
  background-position: top center;
}

.contact {
  height: unset;
  padding: 64px 0px;
  color: white;
  background-color: var(--dusk);
}

.contact a {
  max-width: 90%;
  margin-bottom: 24px;
  text-align: center;
  color: var(--dawn);
  font-size: 32px;
  padding-right: 18px;
  background-image: url("../res/arrow_dawn.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 10px 23px;
}

.contact button {
  width: 480px;
  height: 92px;
  margin: 24px 0px;
  border: 6px solid var(--dawn);
  border-radius: 100px;
  font-family: futura-pt-condensed, sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--dawn);
  font-size: 40px;
  cursor: pointer;
  background-color: var(--dusk);
  outline: none;
}

.footer {
  display: block;
  height: unset;
  padding: 64px 0px;
  background-color: var(--dusk);
  font-size: 18px;
  color: var(--lavender-dark);
}

.footer a {
  color: var(--lavender-dark);
}

.footer p {
  margin: 64px 0px 32px;
  font-size: 18px;
  line-height: 0.9;
}

.created-by {
  margin: 16px 0px 116px !important;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--dawn);
}

.footer-link-group {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-links img {
  height: 48px;
  margin-bottom: 28px;
}

.footer-links a {
  margin: 32px;
  width: 64px;
  color: var(--dawn);
}


/* MEDIA QUERIES */

@media (max-width: 960px) {
  .about-skills-category {
    width: 100%;
  }
}

/* smaller than tablet */
@media (max-width: 768px) {
  .home-skills-box {
    width: 100%;
    height: 100vw;
  }

  .contact-header h1 {
    font-size: 92px;
  }

  .contact-header h2 {
    max-width: 80%;
    font-size: 32px;
  }

  .contact-handwriting {
    margin-left: 64px;
    margin-right: 32px;
  }

  .contact-mail-address {
    width: 360px;
    height: 114px;
    margin-right: 0px;
    font-size: 52px !important;
    background-size: 360px 114px !important;
  }

  .contact-handwriting::after {
    width: 30px;
    height: 55px;
    bottom: -58px;
    background-size: 30px 55px;
  }
  
  .about-self p {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .about-quote h1 {
    padding: 0px;
    font-size: 140px;
    background-size: 33px 21px;
  }
  
  .about-quote p {
    font-size: 48px;
    margin-bottom: 64px;
  }

  .about-believe p {
    margin-bottom: 32px;
    font-size: 26px;
  }

  .references-wrapper {
    display: flex;
    flex-wrap: wrap;
  }

  .references-entry {
    position: relative;
    width: 100%;
    line-height: 0;
    cursor: pointer;
  }

  .references-entry img {
    width: 100%;
    object-fit: cover;
  }

  .hashtag-cloud {
    font-size: 42px;
  }

  .menu-transparent-background {
    background-size: 30px 24px;
  }

  .menu {
    height: 51px;
  }

  .menu button, .filter-menu-bar button, .menu-spacer {
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
    margin-top: 18px;
    margin-right: 18px;
    margin-left: 18px;
  }

  .filter-menu-bar {
    height: 51px;
    top: 51px;
  }

  .filter-text {
    font-size: 24px;
    margin-top: 14px;
  }

  .filter-menu-category-wrapper {
    width: 90%;
    min-width: unset;
    margin-right: auto;
    margin-left: auto;
  }

  .filter-menu-category-wrapper a {
    width: calc(100% - 40px);
    padding: 20px;
    padding-left: 60px;
  }

  .menu-hashtags-wrapper {
    line-height: 0.8;
    font-size: 30px !important;
  }


/*
  .references-wrapper div {
    width: 100%;
    height: 84vw;
  }

  .references-wrapper div:nth-of-type(odd) {
    height: 169vw;
  }
*/
}

/* smaller than phone */
@media (max-width: 528px) {
  .home-skills-text h1 {
    font-size: 48px;
    margin-bottom: 18px;
  }

  .home-skills-text p {
    font-size: 24px;
  }

  .home-skills a {
    font-size: 24px;
    padding-right: 18px;
    background-size: 7px 18px;
  }

  .about-skills-image {
    height: 320px;
    width: 320px;
  }

  .contact a {
    max-width: 340px;
  }

  .contact button {
    width: 360px;
    font-size: 34px;
  }

  .lightbox-images {
    margin: 0px !important;
  }

  .filter-menu-category-wrapper a {
    font-size: 26px;
  }
}

@media (hover: hover) {
  .references-entry img:hover {
    filter: brightness(30%);
  }

  .references-entry img:hover + .references-hidden-text {
    visibility: visible;
    pointer-events: none;
  }
}
