/* basic elements */

* {
  font-family: "Inter", sans-serif;
}

a {
  color: #00312d;
}

body {
  background-color: #ffffff;
  color: #242526;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

section {
  margin: 0% 5%;
  display: flex;
  flex-direction: inherit;
  align-content: center;
}

footer {
  font-size: smaller;
  color: whitesmoke;
  font-family: "Crimson Text", serif;
  border-top: #00312d 5px solid;
  margin-top: 5%;
  padding: 1%;
  background-color: #00877e;
}

/* navigation */

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 0px;
}

nav a {
  font-size: small;
  text-decoration: none;
  text-align: center;
  align-content: center;
  padding: 15px 15px;
  width: 100%;
  border-right: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  background-color: #00877e;
  color: whitesmoke;
  text-transform: uppercase;
}

nav a:hover {
  opacity: 0.7;
  transition: opacity 0.2s ease-in-out;
}

/* headings */

header > p.title {
  margin: 0.5em 0 0 0;
  font-family: "Crimson Text", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-size: xx-large;
  font-style: normal;
  letter-spacing: -0.04em;
  text-indent: 5%;
  color: #242526;
}

h1 {
  margin-bottom: 0.5em;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
}

h2 {
  margin-bottom: 0.5em;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: larger;
  font-style: oblique;
}

/* other text */

p {
  font-size: 90%;
  font-optical-sizing: auto;
  line-height: 1.5;
  margin-bottom: 1.5em;
  font-weight: 300;
  font-style: normal;
}

li {
  font-size: 90%;
  font-optical-sizing: auto;
  line-height: 1.5;
  margin-bottom: 0.25em;
  font-weight: 300;
  font-style: normal;
}

/* images */

.album {
  display: inline-flex;
  flex-wrap: nowrap;
  max-height: 200px;
  background-color: #00312d;
  padding: 5px;
}

.album-item {
  margin: 3px;
  object-fit: scale-down;
  max-height: inherit;
}

/* special classes */

.main-quote {
  background-color: #00312d;
  color: #ffffff;
  margin-top: 2%;
}

.main-quote > p {
  margin-left: 3%;
  margin-right: 5%;
  padding: 12px;
  font-style: italic;
  border-left: 5px solid #00877e;
}
.subpage-lead {
  background-color: #00312d;
  color: #ffffff;
  margin-top: 2%;
  display: flex;
  flex-direction: column;
  align-content: center;
}

.subpage-lead > h1 {
  font-family: "Crimson Text", serif;
  margin-left: 2%;
  margin-right: 5%;
  margin-bottom: 0;
}

.subpage-lead > p {
  font-style: italic;
  margin-left: 3%;
  margin-right: 5%;
  padding: 12px;
  border-left: 5px solid #00877e;
}

.subpage-content {
  margin: 0% 5%;
  display: flex;
  flex-direction: column;
  align-content: center;
}

.updates {
  padding: 1%;
  border: #00312d 2px solid;
  background-color: #e0e0e0;
}

.tiles {
  display: flex;
  /* tuuuu potrzebuję mediaquery dla wrap/nowrap?*/
  flex-flow: row nowrap;
}

.tiles div {
  background-color: rgba(0, 128, 128, 0.458);
  margin: 1%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subpage-content > article:not(:last-child) {
  display: block;
  border-bottom: 5px solid #00877e;
}
