/* *****************************************************
 * 
 * load external fonts from google fonts and github
 * 
 * **************************************************** */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');




/* *****************************************************
 * 
 * global settings
 * 
 * **************************************************** */

* {
  font-family: "Inter", "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: 300;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: rgb(220, 220, 220);
  color: rgb(20, 20, 20);
  font-size: 1.25rem;
  /* global font-size */
}



header {
  min-height: 8rem;
}

main {
  background-color: rgb(240, 240, 240);
  margin-top: 100vh;
}

footer {
  background-color: rgb(240, 255, 240);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 115%;
  margin-bottom: 3rem;
}



p {
  font-size: inherit;
  font-weight: 400;
  line-height: 125%;
  max-width: 36rem;
  margin-bottom: 2rem;
}

p.wide {
  max-width: 67%;
}

p.full {
  max-width: 100%;
}

.center {
  text-align: center;
}


a {
  text-decoration: none;
  transition: color 0.3s;
  color: rgb(112, 112, 112);
  border-radius: 1rem;
  padding: 0.125rem 0.5rem;
  background-color: rgb(240, 255, 240);
}

a:hover {
  color: rgb(117, 117, 117);
  background-color: rgb(230, 230, 230);
}


b {
  font-weight: 700;
}


ul {
  list-style-type: none;
}



img,
picture,
svg,
video {
  max-width: 100%;
  display: block;
}

quote {
  font-size: calc(3rem + 0.03 * ((100vw)));
  line-height: calc(3rem + 0.03 * ((100vw)));
  text-align: left;
  font-weight: 500;
  max-width: 72rem;
  margin: auto;
}

quote>small {
  color: var(--color-0);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
}

/* *****************************************************
 * 
 * layout: rows and columns
 * 
 * **************************************************** */

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: start;
  margin: auto;
  width: auto;
  max-width: 80rem;
  gap: 1rem;
  margin-bottom: 1rem;
}

.col {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0 auto;
}

.no-gap {
  gap: 0;
  margin-bottom: 0;
}


/* *****************************************************
 * 
 * navigation: main navigation elements positioned 
 * at the top
 * 
 * **************************************************** */

nav {
  position: fixed;
  top: 1rem;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: center;
  /* Center the navigation menu */
  align-items: center;
  /* Align items vertically */
  transition: top 0.3s;
  z-index: 100;
}

.menu {
  display: flex;
  /* Display menu items in a row */
  gap: 1rem;
  background-color: rgb(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  /* Rounded edges */
  backdrop-filter: blur(1rem);
  /* Apply the blur effect */
  box-shadow: 0rem 0.5rem 15px rgba(0, 0, 0, 0.144);
  -webkit-backdrop-filter: blur(1rem);
  /* For Safari compatibility */
  font-size: 1rem;
}

.menu-item a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
  background-color: transparent;
}

.menu-item a:hover {
  color: rgb(125, 125, 125);
  background-color: transparent;
}


/* *****************************************************
 * 
 * footer: element at the bottom
 * 
 * **************************************************** */


footer p.cid {
  margin: 0;
  color: rgb(255, 255, 255,0.5);
  background-color: rgb(20, 20, 20);
  padding: 1rem 0;
  max-width: 100%;
}

footer p.cid a {
  display:block;
  background-color: transparent;
  color: rgb(255, 255, 255,0.7);
}

footer p.cid a:hover {
  color: rgb(255, 248, 248);
}

/* *****************************************************
 * 
 * landing: cover image (optionally add a headline)
 * 
 * **************************************************** */

.landing {
  z-index: -1;
  position: fixed;
  top: 0;
  width: 100vw;
}

.landing__background {
  width: 100%;
  position: absolute;
}

.landing__content {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing__content-item {
  flex: 0 0 50%;
  padding: 2rem 2rem;
  color: rgb(125, 125, 125);
  font-size: 4rem;
  text-align: center;
}


/* *****************************************************
 * 
 * lightbox: full-window size images on click
 * 
 * click on an image (must implement class="zoom") 
 * to go full size from: 
 * https://code-boxx.com/image-zoom-css-javascript
 *
 * **************************************************** */

#lightbox {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;

  transition: opacity ease 0.3s;
}

#lightbox.show {
  visibility: visible;
  opacity: 1;
}

#lightbox img {
  margin: auto;
  width: auto;
  height: 90%;
  object-fit: cover;
  box-shadow: 2rem 2rem 4rem rgba(0, 0, 0, 0.497);
}

.zoom {
  cursor: pointer;
}


.drag__gallery-images {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: rgb(200,200,200);
}


.drag__gallery-image {
  position: absolute;
}


/* *****************************************************
 * 
 * presets: presets to make layout adjustments 
 * 
 * **************************************************** */


 :root {
  --spacing-m: 1rem;
  --spacing-l: 2rem;
  --spacing-xl: 4rem;
  --spacing-2x: 8rem;

  --font-size-xs: 0.8rem;
  --font-size-s: 1rem;
  --font-size-m: 1.5rem;
  --font-size-l: 2rem;
  --font-size-xl: 4rem;
  --font-size-2x: 8rem;
  --font-size-4x: 12rem;
  --font-size-8x: 24rem;
}



.width__full,
.width__xl {
  min-width: 100vw;
}

.width__l {
  max-width: 80rem;
}

.width__m {
  max-width: 64rem;
}

.width__s {
  max-width: 40rem;
}

.width__xs {
  max-width: 24rem;
}


.margin__auto {
  margin: auto;
}

.margin__m {
  margin: var(--spacing-m);
}

.margin__top-m {
  margin-top: var(--spacing-m);
}

.margin__bottom-m {
  margin-bottom: var(--spacing-m);
}

.margin__y-m {
  margin-top: var(--spacing-m);
  margin-bottom: var(--spacing-m);
}

.margin__x-m {
  margin-left: var(--spacing-m);
  margin-right: var(--spacing-m);
}


.padding__l {
  padding: var(--spacing-m);
}

.padding__top-m {
  padding-top: var(--spacing-m);
}

.padding__bottom-m {
  padding-bottom: var(--spacing-m);
}

.padding__y-m {
  padding-top: var(--spacing-m);
  padding-bottom: var(--spacing-m);
}

.padding__x-m {
  padding-left: var(--spacing-m);
  padding-right: var(--spacing-m);
}

.margin__l {
  margin: var(--spacing-l);
}

.margin__top-l {
  margin-top: var(--spacing-l);
}

.margin__bottom-l {
  margin-bottom: var(--spacing-l);
}

.margin__y-l {
  margin-top: var(--spacing-l);
  margin-bottom: var(--spacing-l);
}

.margin__x-l {
  margin-left: var(--spacing-l);
  margin-right: var(--spacing-l);
}


.padding__l {
  padding: var(--spacing-l);
}

.padding__top-l {
  padding-top: var(--spacing-l);
}

.padding__bottom-l {
  padding-bottom: var(--spacing-l);
}

.padding__y-l {
  padding-top: var(--spacing-l);
  padding-bottom: var(--spacing-l);
}

.padding__x-l {
  padding-left: var(--spacing-l);
  padding-right: var(--spacing-l);
}

.margin__xl {
  margin: var(--spacing-xl);
}

.margin__top-xl {
  margin-top: var(--spacing-xl);
}

.margin__bottom-xl {
  margin-bottom: var(--spacing-xl);
}

.margin__y-xl {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.margin__x-xl {
  margin-left: var(--spacing-xl);
  margin-right: var(--spacing-xl);
}

.padding__xl {
  padding: var(--spacing-xl);
}

.padding__top-xl {
  padding-top: var(--spacing-xl);
}

.padding__bottom-xl {
  padding-bottom: var(--spacing-xl);
}

.padding__y-xl {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.padding__x-xl {
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

.margin__2x {
  margin: var(--spacing-2x);
}

.margin__top-2x {
  margin-top: var(--spacing-2x);
}

.margin__bottom-2x {
  margin-bottom: var(--spacing-2x);
}

.margin__y-2x {
  margin-top: var(--spacing-2x);
  margin-bottom: var(--spacing-2x);
}

.margin__x-2x {
  margin-left: var(--spacing-2x);
  margin-right: var(--spacing-2x);
}

.padding__2x {
  padding: var(--spacing-2x);
}

.padding__top-2x {
  padding-top: var(--spacing-2x);
}

.padding__bottom-2x {
  padding-bottom: var(--spacing-2x);
}

.padding__y-2x {
  padding-top: var(--spacing-2x);
  padding-bottom: var(--spacing-2x);
}

.padding__x-2x {
  padding-left: var(--spacing-2x);
  padding-right: var(--spacing-2x);
}


/* *****************************************************
 * 
 * presets: typography
 * 
 * **************************************************** */


.italic {
  font-style: italic;
}

.bold {
  font-style: bold;
}

.font__size-xs {
  font-size: var(--font-size-xs);
}

.font__size-s {
  font-size: var(--font-size-s);
}

.font__size-m {
  font-size: var(--font-size-m);
}

.font__size-l {
  font-size: var(--font-size-l);
}

.font__size-xl {
  font-size: clamp(2rem, 10vw, var(--font-size-xl));
}

.font__size-2x {
  font-size: clamp(2rem, 16vw, var(--font-size-2x));
}

.font__size-4x {
  font-size: clamp(2rem, 16vw, var(--font-size-4x));
}

.font__size-8x {
  font-size: clamp(2rem, 16vw, var(--font-size-8x));
}

.font__weight-100 {
  font-weight: 100;
}

.font__weight-200 {
  font-weight: 200;
}

.font__weight-300 {
  font-weight: 300;
}

.font__weight-400 {
  font-weight: 400;
}

.font__weight-500 {
  font-weight: 500;
}

.font__weight-600 {
  font-weight: 600;
}

.font__weight-700 {
  font-weight: 700;
}

.font__weight-800 {
  font-weight: 800;
}

.font__weight-900 {
  font-weight: 900;
}

.align__center {
  align-items: center;
}

.align__top {
  align-items: start;
}

.align__bottom {
  align-items: end;
}


/* *****************************************************
 * 
 * mobile: specific settings when in portrait-mode
 * 
 * **************************************************** */

@media (orientation: portrait) {

  :root {
    --spacing-m: 1rem;
    --spacing-l: 1rem;
    --spacing-xl: 2rem;
    --spacing-2x: 6rem;

    --font-size-xs: 0.8rem;
    --font-size-s: 1rem;
    --font-size-m: 1.5rem;
    --font-size-l: 2rem;
    --font-size-xl: 4rem;
    --font-size-2x: 8rem;
    --font-size-4x: 12rem;
    --font-size-8x: 24rem;
  }

  body {
    font-size: 1.15rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.5rem;
  }

  quote {
    font-size: calc(2rem + 0.03 * ((100vw)));
    line-height: calc(2rem + 0.03 * ((100vw)));
  }

  .row {
    flex-direction: column;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .col {
    display: flex;
    flex: auto;
    width: 100%;
  }

  .mobile-hide {
    display: none;
  }

  .width__full,
  .width__xl {
    margin: 0;
  }

  p.wide {
    max-width: 100%;
  }

  .img__cover-50,
  .img__cover-67,
  .img__cover-75,
  .img__cover-100 {
    width: 100%;
    object-fit: cover;
    position: relative;
  }


  .img__cover-50 {
    height: 50vh;
  }

  .img__cover-67 {
    height: 67vh;
  }

  .img__cover-75 {
    height: 75vh;
  }

  .img__cover-100 {
    height: 100vh;
  }

  #lightbox.show {
    visibility: hidden;
    opacity: 0;
  }

}

/* *****************************************************
 * 
 * uncomment the following line to enable 
 * visible bounding-boxes for debug purposes.
 * 
 * **************************************************** */

/* div {
  border:1px solid red;
} */




#progress-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background-color: rgb(240,255,240);
  border-radius: 50%;
  box-shadow: 0rem 0.5rem 15px rgba(0, 0, 0, 0.2); 
}

#progress-container:hover {
  cursor: pointer;
}