/* color values */
/* sizes */
@font-face {
  font-family: 'robotoregular';
  src: url("assets/Roboto/Roboto-Regular-webfont.eot");
  src: url("assets/Roboto/Roboto-Regular-webfontd41d.eot?#iefix") format("embedded-opentype"), url("assets/Roboto/Roboto-Regular-webfont.woff") format("woff"), url("assets/Roboto/Roboto-Regular.ttf") format("truetype"), url("assets/Roboto/Roboto-Regular-webfont.svg#robotoregular") format("svg");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'SpaceGrotesk';
  src: url("assets/SpaceGrotesk-VariableFont_wght.ttf");
  src: url("assets/SpaceGrotesk-VariableFont_wght.ttf") format("truetype"); }

body {
  margin: 0; }

body, p, div, li {
  font-family: Roboto, robotoregular, helvetica, sans-serif;
  color: #000;
  font-size: 1rem; }

h1, header .logo {
  font-family: SpaceGrotesk, georgia, serif;
  color: #404040; }

h2, h3, h4, h5 {
  font-family: Roboto, robotoregular, helvetica, sans-serif;
  color: #404040;
  font-weight: 400; }

h1 {
  font-size: 2.25rem; }

h2 {
  font-size: 1.6rem;
  line-height: normal; }

h3 {
  font-size: 1.25rem;
  margin-bottom: -0.625rem !important; }

h4 {
  font-size: 1.125rem; }

h5 {
  font-size: 1.06rem; }

h6 {
  font-size: 1rem; }

a {
  color: #404040; }

hr {
  margin-right: 1rem;
  margin-left: 1rem;
  border-bottom: 1px solid #000;
  clear: both; }

/* fontawesome icons */
.inline-svg {
  display: inline-block;
  height: 1.15em;
  width: 1.15em;
  top: 0.15em;
  position: relative; }

/* layout */
main {
  margin: 1rem; }

section {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto; }

/* index page */
section.index {
  margin-bottom: 5rem; }

header {
  margin: 0;
  margin-left: 1rem;
  margin-right: 1rem; }

header nav {
  margin: 1rem;
  margin-bottom: 3rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto; }

header nav, header nav .menu, header nav .lang_nav {
  display: flex; }

header nav a {
  display: block;
  margin-bottom: 1rem;
  text-align: center;
  text-decoration: none;
  color: #404040; }

header a.active {
  color: #999; }

header .logo {
  font-family: SpaceGrotesk, Arial, Helvetica, sans-serif, serif;
  color: #404040;
  font-size: larger; }

header.home .logo {
  visibility: hidden; }

/* responsive navigation */
@media only screen and (max-width: 42rem) {
  header nav .hide {
    display: none; }
  header .menu-home {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%; }
  header .logo {
    text-align: left; }
  header .hamburger {
    text-align: right;
    font-size: 1.5rem; }
  header nav, header nav .menu, header nav .lang_nav {
    flex-direction: column; }
  header nav .menu {
    margin-top: 1rem; }
  header .lang_nav {
    text-align: center; } }

@media only screen and (min-width: 42rem) {
  header nav {
    justify-content: space-between; }
  header .menu a, header .lang_nav a {
    margin-left: 1rem; }
  header .hamburger {
    display: none; }
  /* only display first letter of each language */
  /*
    header nav .lang_nav a {
        font-size: 0;
    }
    header nav .lang_nav a::first-letter {
        font-size: 1rem;
    }
    */ }

footer {
  margin: 1rem;
  margin-top: 3rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid #000; }

footer nav {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto; }

/* projects overview */
/* Project Article View */
main section.projects article.project img {
  width: 100%; }

/* project overview on main page */
main#home section.projects .previews article {
  width: 100%;
  margin-bottom: 3rem; }

/* project overview page */
.projects .previews {
  display: flex;
  flex-wrap: wrap; }

.projects .previews article {
  margin-top: 1rem; }

.projects .previews article .visual {
  width: 100%;
  padding-top: 56.25%;
  background-image: linear-gradient(to bottom right, var(--c-bright-bg), var(--c-blue-bg));
  background-size: cover;
  background-position: center center;
  background-color: #999; }

.projects .previews article .caption {
  padding: 1rem 0; }

.previews article a {
  text-decoration: none; }

/* responsiveness */
@media only screen and (max-width: 57rem) {
  .projects .previews article {
    width: 100%; } }

@media only screen and (min-width: 57rem) and (max-width: 80rem) {
  .projects .previews article {
    width: 50%; } }

@media only screen and (min-width: 80rem) {
  .projects .previews article {
    width: 33.3%; } }
