*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  background-image: url("/public/img/frutiger_aero_50.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  padding: 3rem 2rem;
  margin-top: 2vh;

}

footer{
    color: #f8f8f8;
    padding-bottom: 1%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  gap: 1.5rem;
  margin-inline: auto;
  margin-top: 2.5%;
}

h2, h4 {
    font-family: "Trispace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    margin-bottom: 7%;
    justify-self: center;
    color: #ffffff;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
}

h4 {
  font-style: italic;
}
.navLink {
    user-select: none;
    padding-inline: 2%;
    padding-block: 1%;
}

.window-body.scrollable{
  font-size: medium;
  max-height: 400px;
  overflow-y: auto;
  margin: 1.0rem;
}

.window-body.centered{  
  display: flex;
  align-items: center;
  justify-content: center;
}

.window {
  background-color: #ece9d8db;
  backdrop-filter: blur(4px);
  margin: 1%;
}

.project-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 3%;
}

.project-col {
  flex: 1;
  min-width: 0;
}

.project-col .window {
  width: 100%;
  flex-direction: column;
}

.project-col .window-body img {
  width: 100%;
  height: 100%;
}

.window-body ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.window-body li {
  margin: 0.25rem;
}

.title-bar {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

section.field-row{
  margin: 1.2rem !important;
  justify-content: center;
}

@media (min-width: 768px) {

  main {
    max-width: 100rem;
  }
  .project-row {
    flex-direction: row;
    align-items: stretch;

  }
  .title-bar {
  min-height: 2rem;
  }
    h2, h4 {
      margin-bottom: 2%;
  }
}