.card {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  margin-top: 10px;
  margin-bottom: 10px;
}

.card:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.card-text {
  padding: 15px;
}

.card-header {
  font-size: large;
  font-weight: bold;
}

.card-subheader {
  color: #8c8c8c;
}

/*---font---*/
@font-face {
  font-family: "Work Sans";
  src: url("../../assets/fonts/WorkSans-Regular.ttf");
}
@font-face {
  font-family: "Work Sans";
  src: url("../../assets/fonts/WorkSans-Bold.ttf");
  font-weight: bold;
}
@font-face {
  font-family: "Work Sans";
  src: url("../../assets/fonts/WorkSans-Italic.ttf");
  font-style: italic;
}
@font-face {
  font-family: "Work Sans";
  src: url("../../assets/fonts/WorkSans-BoldItalic.ttf");
  font-weight: bold;
  font-style: italic;
}
/*---variables---*/
/*---HPI Corporate Design colors---*/
/*-----------layout variables-------*/
/*-----------headlines------------*/
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  color: #34434B;
  width: 100%;
}

h1 {
  font-size: 2.4rem;
  border-bottom: 3px solid rgb(177, 6, 58);
  line-height: 1.2;
}

h1:first-of-type {
  margin-top: 0px;
}

h2 {
  font-size: 1.8rem;
  color: rgb(221, 97, 8);
}

.banner {
  font-size: 2.2rem;
  font-weight: bold;
  border-bottom: none;
  grid-column: content;
  grid-row: line1;
  text-align: right;
  color: #34434B;
  align-self: center;
}

.banner, nav {
  padding-right: 0px !important;
  padding-left: 0px !important;
}

/*-----------layout------------*/
html {
  scroll-behavior: smooth;
  font: normal 400 1rem/1.6 "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: [sidebar] 250px [content] auto;
  grid-template-rows: [line1] 150px [line2] auto [line3] 240px [line4];
  grid-gap: 10px 10px;
  margin: 0 auto;
}
.container > * {
  padding: 12px;
}

body {
  color: #586368;
}

header {
  grid-column: sidebar;
  grid-row: line1;
  text-align: center;
}
header img {
  width: 220px;
  height: auto;
}

nav {
  max-width: 800px;
  font-size: 1.3rem;
  display: block;
  grid-column: content;
  grid-row: line1;
  text-align: center;
  align-self: flex-end;
  justify-self: end;
}
nav li {
  list-style-type: none;
  margin-right: 1em;
}
nav li a {
  color: #34434B;
}
nav li a:hover {
  color: rgb(0, 122, 158);
}
nav li:last-of-type {
  margin-right: 0;
}
nav ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  text-align: right;
  padding-left: 0;
  margin-bottom: 0;
}

nav label, #menu {
  display: none;
}

#sidebar-wrapper {
  grid-column: sidebar;
  grid-row: line2;
  padding: 0 !important;
}

#sidebar-sticky {
  position: sticky;
  position: -webkit-sticky;
  top: 100px;
  background: #f9f9fa;
  padding: 0.5em 1em;
}

#sidebar-subnav {
  font-size: 18px;
  flex-flow: row nowrap;
  padding-left: 0px;
}
#sidebar-subnav li {
  list-style-type: none;
  padding-bottom: 0.8em;
  line-height: 1.2;
}
#sidebar-subnav li a:hover {
  text-decoration: underline;
}

section {
  max-width: 1200px;
  grid-column: content;
  grid-row: line2;
}

#footer-left {
  grid-column: sidebar;
  grid-row: line3;
  font-size: 14px;
  background: #f9f9fa;
}

#footer-right {
  grid-column: content;
  grid-row: line3;
  font-size: 14px;
  border-top: solid 3px rgb(177, 6, 58);
}

@media screen and (max-width: 820px) {
  .container {
    display: flex;
    flex-flow: column wrap;
    text-align: left;
  }
  header {
    order: 1;
    text-align: left;
    position: absolute;
  }
  .banner {
    text-align: right;
    align-self: flex-end;
    max-width: 230px;
    font-size: 1.75rem;
    line-height: 1;
    padding-top: 15px;
  }
  nav {
    order: 2;
    align-self: center;
    padding-top: 0px !important;
    display: block;
  }
  .sidebar {
    display: none;
  }
  section {
    order: 3;
  }
  #footer-right {
    order: 4;
  }
  #footer-left {
    order: 5;
  }
  .logo {
    height: 100px;
    width: auto;
  }
}
@media screen and (max-width: 580px) {
  nav {
    position: sticky;
    position: -webkit-sticky;
    display: flex;
    flex-flow: column nowrap;
    top: 12px;
    align-self: flex-end;
    z-index: 1;
  }
  nav label {
    display: block;
    align-self: flex-end;
    color: #34434B;
    font-size: 30px;
    width: 45px;
    height: 40px;
    padding-bottom: 5px;
    border-radius: 6px;
    background: white;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.18);
    opacity: 0.9;
    user-select: none;
  }
  nav label:hover {
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    cursor: pointer;
    color: #00536b;
  }
  nav ul li {
    display: block;
    font-size: 1.2em;
  }
  nav ul {
    display: none;
  }
  nav input:checked ~ ul {
    display: block;
    text-align: left;
    background: #f9f9fa;
    border: 3px solid #586368;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    user-select: none;
    padding-left: 1em;
    position: fixed;
    top: 40px;
    right: 60px;
    z-index: 5;
  }
}
/*-----------general------------*/
img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: rgb(0, 122, 158);
}

a:hover {
  text-decoration: none;
  color: black;
}

/*-----------concrete sections------------*/
section.people .person-photo-large,
section.person .person-photo-large {
  width: 200px;
  height: auto;
}
section.people .person-wrapper,
section.person .person-wrapper {
  display: flex;
  flex-flow: row wrap;
}
section.people .person-short,
section.person .person-short {
  width: 380px;
  margin: 0.5em 0;
}
section.people .person-photo-small,
section.person .person-photo-small {
  width: 100px;
  height: 130px;
  object-fit: cover;
}
section.people .person-info,
section.person .person-info {
  width: 250px;
  position: relative;
  display: inline-block;
  margin: 0 10px;
  line-height: 0.9;
}
section.people .person-info p,
section.person .person-info p {
  font-size: 14px;
}
section.people .person-info > *,
section.person .person-info > * {
  word-wrap: break-word;
}
section.people .person-info-long,
section.person .person-info-long {
  position: relative;
  line-height: 0.5;
  display: inline-block;
  margin: 0 1em;
}
section.people span.now-at,
section.person span.now-at {
  font-size: 14px;
}

section.tools .tools-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
section.tools .tools-wrapper div.tool {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #D7E7ED;
  color: #34434B;
  flex-grow: 1;
  margin: 1em 1em 1em 0;
  padding: 0.5em;
}
section.tools .tools-wrapper div.tool p {
  max-width: 250px;
}
section.tools .tools-wrapper div.tool:hover {
  background-color: #fafcfd;
}

section.projects div.logo-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  border-left: 10px solid #D7E7ED;
  margin-top: 1rem;
}
section.projects div.logo-wrapper img {
  max-height: 100px;
  margin: 10px;
}
section.projects h2 {
  margin-bottom: 1rem;
}
section.projects h3.subtitle,
section.projects p.timeframe,
section.projects p.persons {
  margin: 0.1rem 0;
}
section.projects h4 {
  font-size: 1.1rem;
}

/*# sourceMappingURL=style.css.map */