:root {
  --c-body-bg: #222;
  --c-main-bg: white;
  --c-side-bg: #222;
  --ff-default: 'Titillium Web', sans-serif;
  --fw-default: 300;
  --ff-header: 'Titillium Web', sans-serif;
  --fw-header: 300;
  --fs-basic: 21px;
  --f-color-main: rgba(0, 0, 0, 0.76);
  --f-color-light: rgba(0, 0, 0, 0.66);
  --f-color-inverse-bright: rgba(255, 255, 255, 0.95);
  --f-color-inverse-regular: rgba(255, 255, 255, 0.8);
  --f-color-inverse-light: rgba(255, 255, 255, 0.3);
  --f-color-link: #a8d0d3;
  --f-color-menu-active: #eda961;
  --f-color-menu: white;
}
/* width */
::-webkit-scrollbar {
  width: 4px;
}
/* Track */
::-webkit-scrollbar-track {
  border-radius: 8px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #a1a1a1;
  border-radius: 8px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}
* {
  box-sizing: border-box;
}
html {
  font-family: var(--ff-default);
  font-weight: var(--fw-default);
  font-size: var(--fs-basic);
  color: var(--f-color-inverse-regular);
  font-style: normal;
  line-height: 1.5;
  background-color: var(--c-body-bg);
}
h1,
h2,
h3,
h4 {
  font-family: var(--ff-header);
  font-weight: var(--fw-header);
  font-style: normal;
  margin: 0;
  padding: 0;
  text-transform: lowercase;
  overflow-wrap: anywhere;
}
h1 {
  line-height: 1.2;
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
a {
  text-decoration: none;
  color: var(--f-color-link);
}
a:hover {
  color: var(--f-color-menu-active);
  text-decoration: underline;
}
.link-small {
  font-size: 0.7rem;
}
.link-small.disabled {
  color: var(--f-color-inverse-light);
  text-decoration: none;
}
.active {
  color: var(--f-color-menu-active);
}
p {
  line-height: 1.7em;
  margin: 0 0 1.7em 0;
  padding: 0;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .cards {
    justify-content: center;
  }
}
.cards .card {
  width: 15rem;
  height: 10rem;
  border-radius: 0.5rem;
  border: 1px black solid;
  position: relative;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 4px 5px 11px 0px rgba(0, 0, 0, 0.5);
}
.cards .card:hover {
  z-index: 0;
  transform: scale(1.03);
  border: 1px rgba(255, 254, 254, 0.8) solid;
  box-shadow: 0 0 60px 6px rgba(194, 236, 242, 0.5);
}
.cards .card:hover .title {
  opacity: 0.95;
}
.cards .card:hover .title h2 {
  line-height: 1em;
}
.cards .card img {
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cards .card .title {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 0.5rem 1rem;
  color: white;
  text-shadow: 1px 1px 5px black;
  text-align: end;
  font-size: 1rem;
  text-transform: lowercase;
  opacity: 0;
  border-radius: inherit;
}
.wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 120px 1fr min-content;
  grid-template-areas: "header" "main" "footer";
}
.wrapper .mainheader {
  grid-area: header;
  position: fixed;
  background-color: var(--c-body-bg);
  z-index: 200;
  width: 100%;
  padding-bottom: 1.5rem;
}
.wrapper main {
  grid-area: main;
  margin-bottom: 50vh;
}
.wrapper footer {
  grid-area: footer;
}
@media (min-width: 769px) {
  .wrapper {
    padding: 0 2vw 0 8vw;
  }
}
@media (max-width: 768px) {
  .wrapper {
    padding: 0 0.75rem;
    grid-template-rows: 160px 1fr min-content;
  }
}
header.mainheader {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.5;
  padding-top: 1rem;
}
header.mainheader a {
  font-size: 1.2rem;
  padding-right: 1rem;
  color: var(--f-color-menu);
  text-transform: lowercase;
}
header.mainheader a:hover {
  color: var(--f-color-link);
  text-decoration: none;
}
header.mainheader a[aria-current] {
  color: var(--f-color-menu-active);
}
main section {
  margin-bottom: 12rem;
}
main section.text h1,
main section.text h2,
main section.text h3,
main section.text h4,
main section.text h4 {
  text-transform: none !important;
  margin-top: 1em;
  margin-bottom: 0.5em;
}
main.portfolio section h1 {
  margin-bottom: 1em;
}
main.portfolio section .link-small {
  margin-left: 2em;
}
@media (min-width: 769px) {
  main.collection section.text {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 5rem;
  }
  main.collection section.text h1 {
    align-self: flex-start;
  }
  main.collection section.text > div {
    columns: 2;
    column-gap: 3rem;
    widows: 2;
    orphans: 2;
    max-width: 50rem;
  }
}
main.singleGallery {
  display: grid;
  grid-template-columns: minmax(14em, 28vw) 1fr;
  gap: 3rem;
}
main.singleGallery .infopanel {
  grid-column: 1;
}
main.singleGallery .collection {
  grid-column: 2;
}
@media (max-width: 768px) {
  main.singleGallery {
    grid-template-columns: 1fr;
    grid-template-rows: min-content 1fr;
  }
  main.singleGallery .collection {
    grid-column: 1;
  }
}
main.default {
  display: grid;
  grid-template-columns: 0.8fr max-content 1fr;
}
main.default section.text {
  grid-column: 2;
  width: 90vw;
  max-width: 32rem;
  margin-bottom: 50vh;
}
main.default section.text p {
  margin: 0;
  padding-bottom: 1em;
}
main.default section.text p + h1 {
  padding-top: 2em;
  padding-bottom: 0.5em;
}
main.default section.text h1 {
  padding-bottom: 0.5em;
}
main.default section.text figure {
  padding-bottom: 3rem;
}
main.default section.text figure img {
  max-width: 50%;
  height: auto;
}
article.infopanel {
  color: var(--f-color-inverse-regular);
}
article.infopanel article p {
  margin-bottom: 1em;
}
article.infopanel .header {
  padding: 0 0 1em 0;
  margin: 0;
  line-height: 1;
}
article.infopanel .info {
  margin-top: 2rem;
  font-size: 0.8rem;
}
article.infopanel .technicalInfo {
  margin-top: 2rem;
  font-size: 0.7rem;
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-gap: 0.5em 1em;
}
article.infopanel .technicalInfo p {
  padding: 0;
  margin: 0;
}
article.infopanel .technicalInfo .label {
  grid-column: 1;
}
article.infopanel .technicalInfo .value {
  grid-column: 2;
}
article.infopanel .pagination {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  margin: 0.5em 0 2rem;
  gap: 2rem;
}
.collection .previews .preview {
  text-decoration: none;
  z-index: 100;
  display: inline-block;
  height: 30vh;
  margin: 12px 3px;
  z-index: 10;
}
@media (max-width: 768px) {
  .collection .previews .preview {
    height: auto;
    margin: 12px 0;
  }
}
.collection .previews img {
  height: 100%;
  width: 100%;
  border-radius: 3px;
  box-shadow: 4px 5px 11px 0px rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
}
.collection .previews img:hover {
  z-index: 0;
  box-shadow: 4px 5px 11px 5px rgba(0, 0, 0, 0.5);
  transform: scale(1.02);
}
.collection .previews img figure {
  padding: 0;
  margin: 0;
}
article.home {
  color: white;
  width: 100vw;
  height: 100vh;
}
article.home ul {
  padding: 0;
  margin: 0;
}
article.home li {
  list-style: none;
}
article.home .grid-main {
  display: grid;
  grid-template-columns: 10vw max-content 2vw 1fr 10vw;
  grid-template-rows: 0.5fr min-content 4fr 20vh;
  grid-row-gap: 3rem;
  justify-items: start;
  height: 100%;
}
article.home .welcome {
  grid-column: 2 / 5;
  grid-row: 2;
  text-shadow: 0 0 5px black;
}
article.home .welcome h1 {
  font-size: 4rem;
  line-height: 0.8;
  margin-bottom: 0.6rem;
  margin-right: 2rem;
  display: inline-block;
}
article.home .welcome h2 {
  line-height: 1.8;
  color: #a1a1a1;
  font-size: 4rem;
  display: inline-block;
}
article.home .welcome p {
  color: #a1a1a1;
}
article.home .welcome span {
  margin-right: 1em;
}
article.home img,
article.home picture {
  grid-column: 4;
  grid-row: 3;
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 4px 5px 11px 0px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  article.home img,
  article.home picture {
    display: none;
  }
}
article.home nav {
  grid-column: 2;
  grid-row: 3;
  font-size: 2rem;
  text-transform: lowercase;
}
article.home nav a,
article.home nav a:visited,
article.home nav a:active {
  color: var(--f-color-link);
  display: block;
  padding: 0 2em 0 0.25em;
  border-radius: 0.25rem;
}
article.home nav a:hover {
  color: var(--f-color-menu-active);
}
footer.footer {
  padding-bottom: 1rem;
  display: flex;
  display: none;
  flex-direction: row;
  justify-content: space-between;
}
footer.footer .socialmedia,
footer.footer .subsites {
  display: flex;
  padding: 0;
  margin: 0;
}
footer.footer .socialmedia li,
footer.footer .subsites li {
  display: inline-block;
  margin-right: 1rem;
  list-style: none;
}
footer.footer .socialmedia a:hover,
footer.footer .subsites a:hover {
  color: #f1f1f1;
}
