
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;

        flex-direction: column;
    }

/* html{
      scroll-snap-type: y proximity;
      scroll-behavior: smooth;
} */

    body {
      position: relative;
      /* background: var(--col); */
      background: var(--col_mid);
      color: var(--text);
      font-size: 1.3rem;
      font-weight: 200;

      font-family: sans-serif; /* fallback */
      font-family: var(--font);
      /* letter-spacing: 0.02em; */
    }

    h1, h2, h3
    {
      font-family: var(--headfont);
      font-weight: 250;
    }


    a {
        color: var(--text);
    }

    
    .content {
        /* max-width: 1400px; */
        margin: auto;
        /* padding-left: 16px; */
        /* padding-right: 16px; */

        text-align: center;
    }
    
    section{
       scroll-margin-top: 40px;
      /* margin-top: 2rem; */
       margin-bottom: 3rem;
    
          h1{
        padding-top: 12px;
        padding-bottom: 12px;
        font-weight: 300;
        letter-spacing: 0.1rem;
        width: 100%;
        text-align: center;
      }

    }

    #banner {
        * { color: var(--text_dark); }
        position: relative;

        height: 100vh;
        overflow: hidden;

    }


    #banner::before {
      content: "";
      position: absolute;
      inset: 0;

      background-image: url("images/banner_ThijsDeVries.deVriesArts.jpg");
      background-size: cover;
      background-position: 80% 10px;
      transform: translateY(var(--offset, 0));
    }

    /* Smaller overlay */
    .overlay {
    
      position: absolute;
      top: 60%;
      left: 20%;
      transform: translate(-20%, -50%);

      z-index: 1;
      padding: 10px;

      width: calc(40vw + 200px);
      /* width: calc(30vw + 500px); */
       /* 1440px; */
      height: 220px;

      display: flex;
      align-items: center;
      justify-content: center;

      background: var(--bg_white_transparent);

      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);

      transition:
      backdrop-filter 0.2s ease,
      -webkit-backdrop-filter 0.2s ease,
      background-color 0.2s ease;

      border-radius: 4px;
      .overlay_clamped
      {
          display: flex;
          align-items: center;
          justify-content: center;  
          width: min(100%, 80vw);
      }
    }

    .overlay h1 {
        font-size: 1.8em;
    }
    .overlay h3 {
        font-size: 1em;
    }



.section-divider
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 16px;

    width: 100%;
    margin: 1rem 0;
}

.section-divider *
{
    background: var(--col_div);
    height: 8px;

    border-radius: 16px; 
}


.divider-dot
{
    width: 8px;
    flex-shrink: 0;
}

.divider-line
{
    width: min(300px, 30vw);
}

/* .info{
  margin-left: auto;
  margin-right: auto;
   background: var(--col_div);
   
    
    color:var(--col_div);

    min-height: 8px;
    max-height: 8px;
    transition: max-height 0.3s ease, color 0.3s ease, height 0.3s ease;

    border-radius: 8px;
    overflow: hidden; 

    width: min(1400px, 90%);
}

.info.hasContent{
   max-height: 300px;
    color:black;

  } */

.highlight .section-divider *
{
    background: var(--col_div_dark);
    height: 8px;

   border-radius: 16px; 
}

#nav-mobile {
  display: none;
}

/* for the burger nav */
#mobile-empty {
  display: none;
}

.navbar-padding{
  position: relative;
  height: var(--nav_height);
}

.navbar * {flex-direction: row;}
.vertical .navbar * {flex-direction: column;}

/* .navblur {
  z-index: 1;
  display: block;
  position: fixed;
  top: calc(-1 * var(--nav_height));
  left:-10%;
  width: 120%;
  height: calc(2 * var(--nav_height));

  filter: blur(8px);
  backdrop-filter: blur(8px);
} */

.navbar {
  /* visibility: hidden; */
  z-index: 1000;
  display: block;
  position: fixed;
  top: 0;


  width: 100%;
  height: var(--nav_height);

  background-color: var(--bg_white_transparent);
  /* background-color: var(--bg); */
  /* put blur layer underneath our navbar, then add this: */
  /* mask: linear-gradient(black, black, transparent); */

  backdrop-filter: blur(8px);
  /* invisible shadow */
  box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.00);

  z-index: 10;
  transition: background-color 0.5s, box-shadow 0.5s;
}


.logo
{
    position: absolute;
    margin-left: 25px;
    /* margin-top: 8px; */

    display: block;

    width: 130px;
    height: 100%;

    z-index: 1;
}

.logo img
{
    display: block;

     margin-top: 8px;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: top center;
}

.vertical .logo{
  background: url("images/deVriesArts_vertical.png");
  height: 50px;

  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}

.vertical .navbar {

    height:100%;
    left: 0;
    width: var(--verticalWidth);
}
 
.vertical .nav-menu
{
  padding-left: 0;

  flex-direction: column;
  justify-content: space-evenly;
  align-items: stretch;
  height: 100%;
}



.nav-menu {
    /* background-color: rgba(255, 255, 255, 0.075); */
  
  /* background-color: rgba(255, 255, 255, 0); */
  font-size: var(--nav_fontSize);
  padding-left: 155px; /* to accomodate logo when squished */
  list-style: none;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  font-weight: 200;

  a {
  font-weight: 500;
    text-align: center;

    width: 200px;
    
    /* border-radius: 8px; */
    height: var(--nav_height);
    line-height: var(--nav_height);
    transition: all 0.2s ease;
   
    /* color: #31313100; */
    white-space: nowrap;
    
    text-decoration: none;
    backdrop-filter: blur(8px) opacity(0.0);
    transition: backdrop-filter(blur) 0.3s ease;
    p {
        margin-top: 0px;
        transition: margin 0.3s ease;
    }

    span {
        /* opacity: 0.5; */
      
        transform-origin: bottom center;
        display: inline-block;
        pointer-events: none;
        transition: opacity 0.25s ease;
      }
    }


  a:hover { 
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.17);
    color: var(--text_dark);
    p {
     margin-top: -4px;
    }
     backdrop-filter: blur(32px) opacity(1);

    background-color: rgba(145, 145, 145, 0.1);
  
    margin-bottom: 2px;
  }


  a:hover::after {
    content: "";
    position: absolute;

    top: 2px;
    right: 8px;

    width: 16px;     /* length of highlight */
    height: 2px;     /* thickness */
    /* background-color: white; */
    pointer-events: none;
    display: block;
  }
  
  transition: background-color 0.1s ease;
}

.vertical
{
  .nav-menu a{
    padding-left: calc(0.35 * var(--nav_height));
    width: var(--nav_height);
    margin-left: 16px;
    background-color: #ffffff;
    color: black;
    border-radius: 24px;
  }

  .nav-menu  a:hover {
    border-radius: 16px;
    padding-left: 0px;
    width: 160px;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.17);
    color: var(--text_dark);
    p {
     margin-top: -4px;
    }
    
    background-color: rgb(255, 255, 255);
    margin-bottom: 2px;
  }


}

.nav-menu a span.first {
  opacity: 1;
}
.nav-menu a:hover span {
  opacity: 1;
  animation: hop 0.2s ease;
}

.about{
  max-width: min(1200px, 90%);
  margin-left: auto;
  margin-right: auto;

text-align: justify;
}

.vanguard{
cursor: pointer;
color: rgb(138, 81, 7);
background: linear-gradient(rgba(0, 0, 0, 0) 90%, rgba(66, 0, 0, 0.2));
}
.teaching{
  cursor: pointer;
color:green;
background: linear-gradient(rgba(0, 0, 0, 0) 90%, rgba(6, 66, 0, 0.2));

}

@keyframes hop {
  0%   { transform: translateY(0)     scale(1,1); }
  20%  { transform: translateY(-4px)  scale(0.9,1.1); }     /* jump */
  30%  { transform: translateY(-8px)  scale(1,1); }     /* jump */
  50%  { transform: translateY(0)     scale(0.85,1.3); }  /* squash */
  70%  { transform: translateY(-5px)  scale(1.3,0.7);}/* tiny rebound */
  100% { transform: translateY(0)     scale(1,1); }
}
