:root {
  --nav-height: 60px;
  --menu-btn-width: 60px;
  --text-white: #fff;
  --text-black: #000;
  --bg-primary: #004d2f;
  --bg-offcanvas: #4c7d6a;
  --bg-secondary: #c8dfdc;
  --bg-body: rgb(243, 243, 243);
  --font-logo: 'Nimbus Sans D OT';
  --font-logo: 'Nimbus Sans L';
}

* {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  box-sizing: border-box;
}

html, body {
  margin: 0px;
  background-color: var(--background-color);
  height: 100%;
}

.root-wrapper {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.centered {
  display: flex;
  justify-content: center;
}

.container {
  width: 90vw;
  max-width: 1000px;
}

.flex-row {
  display: flex;
  align-items: center;
}

.gap {
  gap: 10px;
}

/* accessibility */
.assistive-text {
  height: 1px;
  width: 1px;
  position: absolute;
  overflow: hidden;
  top: -10px;
}

a:focus,
button:focus-visible {
  outline: 3px solid red;
  outline-offset: 5px;
}

.skiplink {
  background-color: var(--bg-body);
  position: absolute;
  top: -999px;
  z-index: 1;
  padding: 10px;
  text-decoration: none;
  color: var(--text-black);
  border-radius: 0px 0px 5px 5px;
}

.skiplink:focus {
  top: 0px;
  left: 10px;
  outline: none;
}

/* nav */

.nav-wrapper {
  background-color: var(--bg-primary);
  height: var(--nav-height);
  display: flex;
  /*grid-template-columns: 1fr var(--menu-btn-width);*/
}

.nav-menu-btn {
  background: transparent;
  border: none;
  width: var(--menu-btn-width);
  height: var(--menu-btn-width);
  padding: 5px;
  fill: var(--text-white);
}

#menu-btn.nav-menu-btn:hover {
  background-color: var(--bg-offcanvas);
}

#menu-close-btn.nav-menu-btn:hover {
  background-color: var(--bg-primary);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: serif;
  flex-grow: 1;
  padding-left: var(--menu-btn-width);
  text-transform: uppercase;
}

.nav-wrapper .nav-logo a {
  text-decoration: none;
  color: var(--text-white);
  font-weight: normal;
  font-size: clamp(20px, 3vw, 30px);
  font-family: var(--font-logo);
  letter-spacing: 0,045em;
  text-align: center;
}

#offcanvasNav .lang-btn {
  text-decoration: none;
  color: var(--text-white);
}


#offcanvasNav .lang-btn:hover {
  color: var(--text-black);
}

#offcanvasNav .lang-code {
  text-transform: uppercase;
}

#offcanvasNav {
  position: fixed;
  background-color: var(--bg-offcanvas);
  color: var(--text-white);
  top: 0;
  bottom: 0;
  width: 100vw;
  left: 100vw;
  visibility: hidden;
  transition: 300ms ease-in-out;
}

#offcanvasNav.show {
  visibility: visible;
  left: 0;
}

#offcanvasNav .header {
  display: flex;
  justify-content: end;
  height: var(--nav-height);
}

#offcanvasNav .full-height {
  display: flex;
  flex-direction: column;
  min-height: calc(100% - var(--nav-height));
  justify-content: center;
}

#offcanvasNav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#offcanvasNav ul li {
  font-size: clamp(20px, 4vw, 40px);
  padding: 5px 0px;
}

#offcanvasNav ul li a {
  display: inline-block;
  width: 100%;
  color: var(--text-white);
  text-decoration: none;
  text-align: center;
}

#offcanvasNav ul li a:hover {
  color: var(--text-black);
  transition: 100ms ease-out;
}

/* footer */
footer {
    background-color: var(--bg-primary);
    color: var(--text-white);
    margin-top: 50px;
    padding: 20px 0px;

    .footer-wrapper {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .footer-list {
      list-style: none;
      padding: 0;
      margin: 0;

      a {
        text-decoration: none;
        color: var(--text-white);
        font-size: .8em;
      }
    }

    h2 {
      font-size: 18px;
	    font-weight: bold;
      margin-top: 0;
    }
}

#footer-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

#footer-wrapper > * {
    text-decoration: none;
    color: black;
    background-color: #cacaca;
    padding: 10px;
    transition: background-color 200ms;
}

#footer-wrapper > *:hover {
    background-color: #d4ebee;
}

/* index.html */
.portrait-section {
  background-color: black;
}

.portrait-wrapper {
    max-width: 1000px;
    width: 100%;
}

.portrait-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* blocks */

.block-gallery {
}

.block-gallery .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-gallery .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.block-gallery .gallery .gallery-img-btn {
  background:transparent;
  padding: 0;
  margin: 0;
  border: none;
}

.block-gallery .lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  overflow: hidden;
  flex-direction: column;
}

.block-gallery .lightbox.show {
  display: flex;
}

.block-gallery .lightbox .lightbox-size-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  width: 100vw;
}

.block-gallery .lightbox .lightbox-wrapper {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "img img"
                       "prev next";
  grid-template-rows: 1fr var(--menu-btn-width);                       
}

.block-gallery .lightbox .lightbox-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  grid-area: img;
}

.block-gallery .lightbox .lightbox-img {
  width: auto;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
}

.block-gallery .lightbox .lightbox-control {
  background:transparent;
  fill: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.block-gallery .lightbox .lightbox-control:hover {
  background-color: #ffffff63;
}

.block-gallery .lightbox .lightbox-control>svg {
  width: var(--menu-btn-width);
  pointer-events: none;
}

/* Performances */

.block-performances {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.block-performances .performance-wrapper {
  background-color: var(--bg-secondary);
  border-radius: 10px;
}

.block-performances .performance-wrapper iframe {
  /* embedded content */
  width: 100%;
}

.block-performances .performance-wrapper h2 {
  margin: 10px;
}

.block-performances .performance-wrapper span {
 margin: 0px 10px; 
}

.block-social_media_links ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: space-around;
}

.block-social_media_links li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block-social_media_links li a > svg {
  width: 42px; 
}

@font-face {
    font-family: 'Nimbus Sans L';
    src: local('Nimbus Sans L Regular'), local('NimbusSanL-Reg'),
        url('fonts/NimbusSans/NimbusSanL-Reg.woff2') format('woff2'),
        url('fonts/NimbusSans/NimbusSanL-Reg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nimbus Sans L';
    src: local('Nimbus Sans L Bold'), local('NimbusSanL-Bol'),
        url('fonts/NimbusSans/NimbusSanL-Bol.woff2') format('woff2'),
        url('fonts/NimbusSans/NimbusSanL-Bol.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nimbus Sans D OT';
    src: local('Nimbus Sans D OT Ultra Light'), local('NimbusSansDOT-UltrLigh'),
        url('fonts/NimbusSans/NimbusSansDOT-UltrLigh.woff2') format('woff2'),
        url('fonts/NimbusSans/NimbusSansDOT-UltrLigh.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@media screen and (min-width: 576px) {
  .block-gallery .lightbox .lightbox-size-wrapper {
    width: 80vw;
  }
  .block-gallery .lightbox .lightbox-wrapper {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "prev img next";
  }
  .block-gallery .lightbox .lightbox-control {
    width: var(--menu-btn-width);
  }
}
