@font-face {
  font-family: 'Nunito Sans';
  src: url('NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('NunitoSans-Italic-VariableFont_YTLC\,opsz\,wdth\,wght.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

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

.jenner-wrapper {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  background-size: 100% 100vh;
  background-attachment: fixed;
  background-image: url(bg.jpg);
  background-color: #d0d7cf;
  flex-grow: 1;
  line-height: 1.4em;
  color: #333;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2em;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
}

.jenner-header {
  margin-top: 4em;
  background-color: #fffffa;
  padding: 1.2em 2em;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  box-shadow: inset 0 0 0 4px #363636;
}

.jenner-header h1 {
  margin: 0 0 0.4em 0;
  font-size: 1.6em;
}

.jenner-header p {
  margin: 0;
}

.jenner-subtitle {
  margin: 1.1em auto 0.6em;
}

.jenner-tagline {
  font-size: 1.2em;
  font-weight: bold;
}

.jenner-cardbox {
  display: grid;
  gap: 1.5em;
  max-width: 90%;
  margin-bottom: 4em;
}

.jenner-project-card-disabled {
  text-align: center;
  display: block;
  max-width: 20em;
  padding: 1em;
  border-radius: 1em;
  background: rgba(255,255,255,.92);
  color: #333;
  text-decoration: none;
  position: relative;
  box-shadow: inset 0 0 0 4px #363636;
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

.jenner-project-card-disabled:hover {
  color: #333;
}

.jenner-project-card {
  text-align: center;
  display: block;
  max-width: 20em;
  padding: 1em;
  border: 4px solid #262f6a;
  border-radius: 1em;
  background: rgba(255,255,255,.92);
  box-shadow: 0 5px 12px rgba(0,0,0,.08);
  color: darkblue;
  text-decoration: none;
  position: relative;
  transition: transform .15s,box-shadow .15s;
}

.jenner-project-card:hover {
  transform: translateY(2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.14);
  color: darkred;
  border: 4px solid #6a2626;
}

.jenner-project-card-disabled h3,
.jenner-project-card h3 {
  margin: 0 0 .5em;
  font-size: 1em;
  line-height: 1.3em;
}

.jenner-project-card-disabled h3 {
  margin-top: 0.3em;
}

.jenner-project-card p {
  margin: 0.4em 0 0;
  font-size: 1em;
}

a {
  margin: 0;
  padding: 0;
  color: darkblue;
  text-decoration: none;
}

a:hover {
  color: darkred;
}

@media (max-width:400px){
  .jenner-wrapper {
    font-size: 0.7em !important;
  }
}

@media (max-width:535px){
  .jenner-wrapper {
    font-size: 0.8em !important;
  }
}

@media (min-width:1050px){
  .jenner-cardbox {
    grid-template-columns:repeat(2,1fr);
  }
}
