@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;900&display=swap");
body {
  color: #E8E8E8;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  background: #606060;
  font-size: .875rem;
  overflow-x: hidden; }
  @media (min-width: 50em) {
    body {
      font-size: 1.125rem; } }

h1, h2, p {
  margin-top: 0;
  margin-bottom: 1em; }

h1 {
  line-height: 1;
  font-size: 3.125rem;
  color: #03AFC2; }

h2 {
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: #A7A7A7;
  text-transform: uppercase;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  font-weight: 300; }
  @media (min-width: 50em) {
    h2 {
      font-size: 3.5rem; } }

img {
  max-width: 100%; }

.menu-button {
  position: absolute;
  top: 3em;
  left: 3em;
  background: transparent;
  border: 0; }

nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 15%;
  z-index: 10;
  transform: translateX(-100%);
  transition: transfor, ease-in 250ms; }

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-around;
  align-items: stretch;
  background: #03AFC2; }

nav li {
  text-align: center; }
  nav li:not(:last-of-type) {
    border-bottom: 1px solid #223843; }

nav li:hover {
  background: rgba(34, 56, 67, 0.5); }

nav a {
  display: inline-block;
  font-size: 4rem;
  letter-spacing: 0.15em;
  color: #223843;
  text-transform: uppercase;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  text-decoration: none;
  padding: calc(100vh/6) 0;
  line-height: 0;
  width: 100%; }

.close-icon {
  display: none; }

.nav-is-open {
  height: 100vh;
  overflow-y: hidden; }
  .nav-is-open nav {
    transform: translateX(0); }
  .nav-is-open .container-all {
    transform: translateX(85%); }
  .nav-is-open .close-icon {
    display: block; }
  .nav-is-open .hamburger {
    display: none; }
  .nav-is-open .menu-button {
    transform: translateX(-70%); }

.st0 {
  color: #223843; }

.welcome {
  background-image: url();
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; }
  .welcome h1 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #223843;
    line-height: 2;
    text-align: center; }
    @media (min-width: 50em) {
      .welcome h1 {
        font-size: 3vw; } }
    .welcome h1 span {
      font-size: 5.5rem;
      letter-spacing: 0.15em;
      color: #03AFC2;
      text-transform: uppercase;
      line-height: 1;
      font-family: "Roboto", sans-serif;
      font-weight: 300;
      display: block; }
      @media (min-width: 50em) {
        .welcome h1 span {
          font-size: 10vw; } }
    .welcome h1::before, .welcome h1::after {
      content: '';
      width: 60%;
      height: 1px;
      background: #223843;
      display: block; }
    .welcome h1::before {
      margin: 0 auto 2em; }
    .welcome h1::after {
      margin: 2em auto 0; }

.intro {
  display: flex; }
  @supports (display: grid) {
    .intro {
      display: grid;
      grid-template-columns: minmax(2em, 1fr) minmax(auto, 30em) minmax(2em, 1fr); } }

.intro-middle {
  text-align: center;
  background: rgba(34, 56, 67, 0.3);
  justify-content: center; }

.portfolio {
  text-align: center;
  background: #223843;
  padding: 5em 0; }

.portfolio-items {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
  max-width: 75em; }

.portfolio-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  flex: 1 1 20rem; }
  .portfolio-item img {
    display: block;
    width: 100%; }
  .portfolio-item figcaption {
    position: absolute;
    top: 100%;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 2em;
    background: rgba(3, 175, 194, 0.5);
    color: #FFFFFF;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: top ease-in-out 250ms; }
  .portfolio-item:hover figcaption,
  .portfolio-item:focus figcaption {
    top: 0; }

.portfolio-title {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: auto; }

.portfolio-desc {
  display: none; }

.portfolio-link {
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 2px solid #FFFFFF;
  align-self: flex-start; }

.portfolio-modal {
  position: fixed;
  z-index: 10;
  top: 2em;
  bottom: 2em;
  left: 2em;
  right: 2em;
  background: #223843;
  box-shadow: 0 0 0 3em rgba(0, 0, 0, 0.5);
  overflow-y: scroll;
  overflow-x: hidden;
  display: none; }
  .portfolio-modal.is-open {
    display: block; }
  .portfolio-modal .portfolio-full-width {
    width: 100vw;
    max-width: initial;
    margin: 0 calc(50% - 50vw);
    height: 20vh;
    object-fit: cover; }
  .portfolio-modal .portfolio-subtitle {
    font-size: 1rem; }
  .portfolio-modal .portfolio-content {
    text-align: left;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 2em;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    max-width: 75em; }
    .portfolio-modal .portfolio-content img {
      display: block;
      width: 100%;
      position: relative;
      overflow: hidden;
      margin: 0;
      flex: 1 1 20rem; }
  .portfolio-modal .portfolio-header {
    text-align: left;
    padding: 5em 0;
    margin-bottom: 2em; }
  .portfolio-modal .portfolio-header:nth-of-type(1) {
    background-size: cover;
    background-position: center; }
  @media (min-width: 50em) {
    .portfolio-modal .portfolio-pull-left {
      width: 65%;
      float: left;
      margin-right: 2em; }
    .portfolio-modal .portfolio-pull-right {
      width: 65%;
      float: right;
      margin-left: 2em; } }
  @supports (display: grid) {
    .portfolio-modal .portfolio-content {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 0.5em; }
      @media (min-width: 50em) {
        .portfolio-modal .portfolio-content {
          grid-template-columns: repeat(2, 1fr);
          grid-template-rows: masonry;
          grid-auto-flow: dense; } } }

.modal-close {
  background: #A7A7A7;
  position: fixed;
  left: 1em;
  top: 1em;
  border: 0;
  width: 2em;
  height: 2em;
  padding: 4px 0 4px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }

.portfolio-title-box {
  background: rgba(3, 175, 194, 0.75);
  padding: 3em 0 3em 3em;
  color: white;
  width: 70%; }
  .portfolio-title-box .portfolio-title {
    font-size: 3rem;
    display: inline-block; }
    .portfolio-title-box .portfolio-title::after {
      content: '';
      display: block;
      height: 1px;
      margin: .5em 0;
      background: white;
      width: 100%; }

@supports (display: grid) {
  .portfolio-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0.5em; }
    @media (min-width: 50em) {
      .portfolio-items {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: masonry;
        grid-auto-flow: dense; } }
  .portfolio-item.featured {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2; }
  .featured .portfolio-title {
    font-size: 5rem; }
  .featured .portfolio-desc {
    display: block; } }

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

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

.contact {
  width: 90%;
  margin: 0 auto;
  max-width: 50em;
  padding: 5em; }
  .contact h1 {
    text-align: center; }

form {
  display: flex;
  flex-direction: column; }

label {
  display: block;
  margin-top: 1em;
  color: #A7A7A7; }

input, textarea {
  box-sizing: border-box;
  display: block;
  padding: .75em;
  widht: 100%;
  background: #b4b4b4;
  border: 1px solid #223843;
  font-size: 1.2rem; }

.button {
  display: inline-block;
  width: auto;
  margin-top: 1em;
  margin-left: auto;
  background: #03AFC2;
  border: none;
  font-size: 2.5rem;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  padding: .5em 1.5em; }

footer {
  background: #223843;
  padding: 5em 0;
  text-align: center; }

.social-icons {
  width: 90%;
  margin: 0 auto;
  max-width: 15em;
  display: flex;
  justify-content: space-between;
  margin: 1.75em auto 4em; }

.social-icon {
  width: 25%;
  height: 25%; }

.copyright::before {
  content: '';
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 4em auto;
  width: 25%; }

.impressum {
  width: 90%;
  margin: 0 auto;
  max-width: 75em;
  ext-align: center;
  background: #223843;
  padding: 5em 0; }

.impressum-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75); }

.impressum-back-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.75); }

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0; }

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none; }

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none; }
