* {
    margin: 0;
    padding: 0;
  }
  
  :root {
    --padding: 0rem; /*1.5*/
    --color-black: #000;
    --color-white: #fff;
    --color-grey: #777;
    --color-light: #efefef;
    --color-text: var(--color-black);
    --color-text-grey: var(--color-grey);
    --color-background: var(--color-white);
    --color-code-light-grey:  #cacbd1;
    --color-code-comment:     #a9aaad;
    --color-code-white:       #c5c9c6;
    --color-code-red:         #d16464;
    --color-code-orange:      #de935f;
    --color-code-yellow:      #f0c674;
    --color-code-green:       #71a571a5;
    --color-code-aqua:        #8abeb7;
    --color-code-blue:        #7e9abf;
    --color-code-purple:      #b294bb;
    --font-family-sans: "Libre Franklin", "Helvetica Neue", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    --grid-cols: 3; /*ef*/
  }
  
  html {
    font-family: var(--font-family-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-background);
    box-sizing: border-box; /*EF*/
  }

  img {
    width: 100%;
    /* subtle, soft shadows with vertical offset to create a hovering look */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12),
                0 4px 6px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
  }
  
  body {
    max-width: 120rem;
    margin: 0em 0.5em 0em 0.5em;
    background-color: rgb(255, 255, 255);
  }
  
  main {
      margin: 1em;
  }

  .page-hero {
    position: relative;
    width: min(100vw, 120rem);
    margin-left: calc(50% - min(50vw, 60rem));
    margin-right: calc(50% - min(50vw, 60rem));
    overflow: clip;
    background: #111;
  }

  .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0.03));
    pointer-events: none;
  }

  .bannerimage {
    margin: 0;
  }

  .bannerimage img {
    display: block;
    width: 100%;
    min-height: 22rem;
    max-height: 53rem;
    object-fit: cover;
    object-position: var(--banner-focus, 50% 50%);
    border-radius: 0;
    box-shadow: none;
  }

  .page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
  }

  .page-hero-overlay .header2 {
    width: min(120rem, calc(100vw - 2rem));
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 1.5rem);
    align-items: end;
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  }

  .page-hero-overlay .header2 a {
    color: inherit;
  }

  .page-hero-overlay .h1,
  .page-hero-overlay .intro {
    max-width: 40rem;
  }
  
  li {
      list-style: none;
  }
 
.header {
  /*position: relative;*/
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  padding: 0, 0, 0, 1rem;
  width: 100%;
  top: 0;
  position: sticky;
  z-index: 1000;
  background-color: white;
  opacity: 0.8;
}
.header2 {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0, 0, 0, 1rem;
    width: 100%;
    top: 0;
}

.h1, .intro{
    font-size: 2em;
    line-height: 1em;
    max-width: 330px;
}

.footer {
    padding: 1rem 0 0 1rem;
    line-height: 1.5em;
    background-color: rgb(255, 255, 255);
  }
  .footer:before {
    content: "";
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--color-black);
    margin-bottom: 1.5rem;
  }
  
  .footer h2 {
    font-weight: 600;
    margin-bottom: .75rem;
  }
  .footer ul,
  .footer p {
    color: var(--color-text-grey);
  }
  .footer p {
    max-width: 15rem;
  }
  .footer a:hover {
    color: var(--color-text);
  }

  
.logo {
    padding: 1rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
}
.site-logo img {
      height: 1.7rem;
      width: 1.7rem;
    box-shadow: none;
}
  
.flagimg {
    width: 2.5rem;
    margin: 0.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12),
                0 4px 6px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
}
  
.menu {
    display: flex;
}
.menu a {
    padding: 0.3rem 1.0rem 0.3rem 0.3rem;
    display: block;
}
.menu a[aria-current] {
    text-decoration: underline;
}
  
.language-nav {
    display: flex;
    justify-content: right;
}
.language-nav a {
    padding: 0.2rem 0.2rem 0.2rem 0.2rem;
    display: block;
}
  
.social {
    display: flex;
    padding: 0 .5rem 0 0;
    opacity: 0.8;
}
.social a {
    padding: 0em;
}
  
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
  
.intro {
    max-width: 40rem;
}
.intro *:not(:last-child) {
    margin-bottom: 1em;
}

/* CSS Document */
*{
	box-sizing: border-box;
}

p {
	margin-bottom: 1rem;
}

p.intro {
  color: var(--color-text-grey);
  font-size: smaller;
  margin-left: 0rem;
}


a {
  color: currentColor;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;	
  text-decoration-style: dotted;
}

a:link{
  color: darkcyan;
}
a:visited{
  color: darkcyan;
}

.mytext {
    margin-left: 20%;
    margin-right: 20%;
    margin-bottom: 2rem;
    line-height: 1.3em;
}

.mytext h1 {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  font-size: 1.5em;
  font-weight: 500;
	
}
.mytext h2 {
  margin-top: 0.5em;
  margin-bottom: 0;
  font-size: 1.2em;
  font-weight: 400;

}

.mytext li {
  list-style: disc;
  margin-left: 1em;
  padding-left: 1em; 
}

/* video-specific styling for full-width responsive display */
.video {
  position: relative;
  display: block;
  width: 90%;
  margin: 20px;
  aspect-ratio: var(--w, 16) / var(--h, 9);
  background: inherit;
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;         /* fill the full container height */
  object-fit: contain;
  /*border: 0;*/
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12),
              0 4px 6px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}


.img[data-contain] img {
  object-fit: contain;
}

.img.img-no-shadow img {
  box-shadow: none;
}

.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
  font-size: smaller;
  background-color: transparent;
}



/* ------------------------------------------------------------------
   responsive grid for media.  
   The number of columns adapts to the viewport: 1 on small phones, 2 on
   narrow tablets/phones in landscape, up to 3 on desktop.             
   ------------------------------------------------------------------ */
.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  gap: var(--gutter);
  width: calc(100% - 3rem);
  max-width: 100%;
  margin: 0 1.5rem 1.5rem;
  padding: 0;
}

.responsive-grid > li {
  min-width: 0;
}

.media-card,
.media-card > figure {
  display: grid;
  gap: 0.75rem;
  width: 90%;
  margin: 0;
}

.media-card > figure > * {
  min-width: 0;
  max-width: 100%;
}

.responsive-grid .video,
.responsive-grid .yt-playlist,
.responsive-grid .img {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.responsive-grid .video {
  aspect-ratio: var(--w, 16) / var(--h, 9);
}

.responsive-grid figcaption {
  padding-top: 0;
  line-height: 1.5em;
  font-size: smaller;
}

@media screen and (max-width: 768px) {
  .responsive-grid {
    width: 80%;
    margin: 0 auto 1rem;
  }

  .media-card,
  .media-card > figure {
    width: 100%;
  }
}

/*grid for the configurable amount of columns used in footer*/
.grid {
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: repeat(var(--grid-cols), 1fr);
}
.grid > .column {
  margin-bottom: var(--gutter);
  min-width: 0;
}

@media screen and (max-width: 768px) {
  .grid {  
    --grid-cols: 1 !important; 
  }

  .h1 {
    font-size: 1.6em;
  }

  .menu a {
    font-size: 0.9rem;
  }

  .page-hero-overlay .header2 {
    width: calc(100vw - 1.5rem);
    padding: 1rem 0.75rem;
    align-items: flex-start;
    gap: 1rem;
  }

  .bannerimage img {
    min-height: 18rem;
  }

  .mytext {
      margin-left: 10%;
      margin-right: 10%;
  }
}  
