/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --bg-color: #020247;
  --max-width: 700px;
  --color-main: white;
  --color-secondary: white;
  --color-links: white;
}
.wrapped {
  max-width: var(--max-width);
}

/* Typo */
@font-face{font-family: "TradeGothicLT";
  src: url("https://schuerer.allwinds-webstudio.ch/fonts/TradeGothicLTStd.otf");
} 
@font-face{font-family: "TradeGothicLTBoldNo2";
  src: url("https://schuerer.allwinds-webstudio.ch/fonts/TradeGothicLTStdBoldNo_2.otf");
}
/* Typo */
/* @font-face {
  font-family: 'trade-gothic-bold-no-2';
  src: url("https://schuerer.allwinds-webstudio.ch/dev/site/templates/fonts/TradeGothicLTStdBoldNo2.otf");
} */


/* * {
  font-family: 'Roboto', sans-serif;
} */
bold {font-weight: 700;}

html {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 100;
  line-height: 1.3rem;
  font-weight: 400;
  color: var(--color-main);
}
/* Main elements */
body {
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  min-height: 100vh;
}
h1 {
  margin-bottom: 2rem;
}
p {
  margin: 1rem 0;
}
a, a:hover, a:focus, a:visited {
  color: var(--color-links);
}

/* Header */
.header {
  padding: 1rem 0;
  margin-bottom: 2rem;
  min-height: auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  position: sticky;
  top:0;
  background-color: var(--bg-color);
}
.logo {
  min-width: 5rem; 
}
a.logo-item {
  font-family: 'TradeGothicLT', sans-serif;
  color: var(--color-main);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 4px;
  display: inline-block;
  text-align: right;
}
a.logo-item span.logo-bold {
  font-family: 'TradeGothicLTBoldNo2', sans-serif;
}

/* Footer */
.footer {
  min-height: 3rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0rem;
}
.footer-item {
  color: var(--color-links);
  margin: 0 1rem 0 0;
}

@media screen and (min-width: 600px) {
  html {
    font-size: 18px;
    line-height: 1.5rem;
  }
  body {
    padding: 2rem;
  }
  h1 {
    margin-bottom: 2rem;
  }
  .header {
    padding:1rem;
    min-height: 7rem;
    width: 100%;
  }
  .logo {
    min-width: 5rem; 
  }
  
  /* Footer */
  .footer {
    padding: 1rem 1rem 1rem 0;
  }
  .footer-item {
    margin: 1rem 1rem 1rem 0;
  }
      
}