@charset "utf-8";


:root {
  --text-color: rgba(21, 32, 48, 0.92);
  --menu-link-color: rgba(21, 32, 48, 0.65);
  --bg-color: #FEFEFE;
  --caption-color: rgba(21,34,85,0.65);
  --scroll-width: 0.65rem;
  --page-padding: 1rem;
  --link-color: rgba(41, 138, 58, 0.92);
}


*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.unselectable {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

::-webkit-scrollbar {
  width: var(--scroll-width);
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.25);
  border: none;
}
::-webkit-scrollbar-track {
  box-shadow: none;
  background-color: transparent;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* SITE SPECIFIC styling ++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height: 100%;
  width: 100%;
  scrollbar-gutter: stable;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  /* font-family: 'Inter', sans-serif; */
  font-family: 'Switzer', sans-serif;
  font-size: 16px;
  line-height: 1.4em;
  margin: 0px;
  padding: 0px;
  min-height: 100vh;
  overflow-x: hidden;
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* TYPE STUFF */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600; 
  line-height: 1.2em;
  margin: 0px 0px 2rem 0px;
  letter-spacing: 0px;
}
h2 {
  font-size: 1.65em;
  line-height: 1.05em;
  padding: 0px;
}
h3 {
  font-size: 1.35em;
  padding: 0px;
}

p {
  font-size: 1em;
  margin: 0px 0px 1.5rem 0px;
}

/* INLINE LINKS */
a {
  text-decoration: none;
  color: var(--link-color);
  outline: 0;
}
a:active, a:focus { outline: 0; }
a:hover { text-decoration: underline; outline: none; }

a img {
  border: 0px;
}

img {
  max-width: 100%;
  height: auto;
}


/* ************************************************************************** */
/* Other Wrappers */



/* ************************************************************************** */
/* workThumbWrapper */

.workOverviewWrapper {
  display: grid;
  grid-gap: 1rem;
  margin: 0px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

  a {
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    text-decoration: none;

    img {
      width: 100%;
      height: auto;
      margin-bottom: 0.25em;
      transition: all 50ms ease-in-out;
      transform: scale(1.0);
    }

    &:hover {
      text-decoration: none; /* underline; */

      img {
        transform: scale(1.0125);
      }
    }
  }
}


.cataloguesOverviewWrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: end;

  .item {
    display: flex;
    flex-direction: column;

    a {
      display: flex;
      flex-direction: column;
      color: var(--text-color);

      img {
        max-width: 100%;
        height: auto;
        margin-bottom: 0.5em;
        box-shadow: 0 5px 16px rgba(0,0,0,0.125);
        transition: all 50ms ease-in-out;
        transform: scale(1.0);
      }

      &:hover {
        text-decoration: none; /* underline; */

        img {
          transform: scale(1.0125);
        }
      }
    }
  }
}


.textsOverviewWrapper {
  border-top: 1px dotted grey;

  .item {
    display: block;
    padding: 0px;
    border-bottom: 1px dotted grey;

    a {
      display: flex;
      flex-direction: column;
      padding: 1em 0px;
      color: var(--text-color);

      &:hover {
        cursor: pointer;
      }
    }
  }
}

.txtColumn {
  max-width: 60ch;
}


.someIcons {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;

  a {
    display: flex;
    flex-direction: column;
    color: var(--menu-link-color);
    
    svg {
      width: 18px;
      height: 18px;
    }
  }

}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* THERE ARE STYLESHEETS ATTACHED TO THIS formatting */

/* grids */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media screen {
  

  body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .pageWrapper {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: max-content 1fr;
    gap: 2rem;
    justify-content: start;
    align-items: self-start;
    padding: var(--page-padding) calc(var(--page-padding) - var(--scroll-width)) var(--page-padding) var(--page-padding);
    margin: 0px;
    /* max-width: 1400px; */
  }

  header {
    position: relative;
    min-height: 2.5rem;

    .fixed {
      position: relative;
      top: 0px; /* var(--page-padding); */
      left: 0px; /* var(--page-padding); */

      /* desktop menu */
      nav.menuWrapper {
        display: none;

        ul {
          padding: 0px;
          margin: 0px;
          list-style-type: none;
        }
      }
    }

    .logo {
      display: block;
      margin-bottom: 2.5rem;

      a {
        font-size: 1.65em;
        line-height: 1em;
        font-weight: 600;
        color: var(--text-color);
      }
      a:hover {
        text-decoration: none;
      } 
    }   
  }


  /* mobile menu */
  .mobileMenuWrapper {
    display: flex;
    flex-direction: column;
    

    .burgerWrapper {
      position: fixed;
      top: calc(var(--page-padding) - 0.65rem);
      right: calc(var(--page-padding) - 0.65rem);;
      z-index: 9999;
      display: flex;
      flex-direction: column;

      a#burger {
        display: flex;
        flex-direction: column;
        color: var(--text-color);

        #burgerIcon,
        #crossIcon {
          display: flex;
          flex-direction: column;

          &:hover {
            cursor: pointer;
          }

          &.hide {
            display: none;
          }
        }

      }
      
    }

    /* navigation menu -> THE LINKS! */
    #mobileNavWrapper {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0px;
      left: 0px;
      inset: 0;
      width: 100%;
      z-index: 9000;
      justify-content: center;
      align-items: center;
      background-color: var(--bg-color);
      transition: all 250ms ease;
      box-shadow: 0px 5px 32px rgba(0,0,0,0.25);


      ul {
        padding: 0 0 0 var(--scroll-width);
        margin: 0px;
        list-style-type: none;
        width: 100%;

        li {
          display: flex;
          flex-direction: column;

          a {
            font-size: 1.65em;
            line-height: 1em;
            padding: 0.25em 0.5em;
            text-align: center;
            color: var(--text-color);

            
          }

          &:first-of-type {
            margin-bottom: 1rem;

            a {
              font-weight: 600;
            }
          }
        }
      }
    }
    #mobileNavWrapper.hide {
      left: calc(100vw + 2rem);
    }

  }


  main {
    padding: 0px;
  }


  .CVWrapper {

    h2 {
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
    }

    p {
      margin: 0px;
    }

    .YearRow {
      display: grid;
      grid-template-columns: 6ch 1fr; /* 10ch 1fr; */
      gap: 1rem;

      .left { }

      .right {
        .item {
          display: block;  
        }
      }
    }

    .spacer {
      display: block;
      min-height: 2rem;
    }
  }

  /* Gallery wrapper  */
  .galleryWrapper {
    display: grid;
    grid-gap: 1rem;
    margin: 0px;

    .galleryImg {
      display: flex;
      flex-direction: column;

      img {
        max-width: 100%;
        height: auto;
      }

      .caption {
        line-height: 1.3em;
        padding-top: 0.5rem;
      }
    }

  }
  
  .halfWrapper {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  .fullWrapper {
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  }

  .caption {
    opacity: 0.6;
    font-size: 0.9em;
  }
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* BREAK MEDIUM */

@media (min-width: 650px) {

  :root {
    --page-padding: 2rem;
  }

}



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* 4. */
@media screen and (min-width: 800px) {

}



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* 4. */
@media screen and (min-width: 1024px) {

  :root {
    --page-padding: 3rem;
  }  

  body {
    overflow-y: scroll;
  }

  .pageWrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 20% 1fr;
    grid-template-rows: 1fr;
    margin: 0px;
  }

  .burgerWrapper {
    display: none !important;
  }

  header {
    min-height: auto;

    .fixed {
      position: fixed;
      top: var(--page-padding);
      left: var(--page-padding);
      display: flex;
      flex-direction: column;
      width: max-content;

      nav.menuWrapper {
        display: flex;
        flex-direction: column;
        width: 100%;

        ul {
          /* Don't show the first link, which is "Peter Holm" */
          li:first-of-type {
            display: none;
          }

          li {
            margin-bottom: 0.75em;

            a {
              color: var(--menu-link-color);

              &.activeAnchor {
                color: var(--text-color);
              }
            }
          }

        }
      }  
    }
  }

  .mobileMenuWrapper {
      

    #mobileNavWrapper {
      display: none;
    }

  }


}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* 4. */
@media screen and (min-width: 1280px) {

  #workOverviewWrapper {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* 4. */
@media screen and (min-width: 1400px) {
  
  :root {
    --page-padding: 5rem;
  }  

}




/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* SWITZER @font-face */
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* switzer-100 - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 100;
  src: local(''),
       url('../fonts/switzer-latin-100-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-100-normal.woff') format('woff');
}
/* switzer-100-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 100;
  src: local(''),
       url('../fonts/switzer-latin-100-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-100-italic.woff') format('woff');
}
/* switzer-200 - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 200;
  src: local(''),
       url('../fonts/switzer-latin-200-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-200-normal.woff') format('woff');
}
/* switzer-200-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 200;
  src: local(''),
       url('../fonts/switzer-latin-200-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-200-italic.woff') format('woff');
}
/* switzer-300 - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 300;
  src: local(''),
       url('../fonts/switzer-latin-300-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-300-normal.woff') format('woff');
}
/* switzer-300-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 300;
  src: local(''),
       url('../fonts/switzer-latin-300-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-300-italic.woff') format('woff');
}
/* switzer-regular - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/switzer-latin-400-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-400-normal.woff') format('woff');
}
/* switzer-400-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('../fonts/switzer-latin-400-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-400-italic.woff') format('woff');
}
/* switzer-500 - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('../fonts/switzer-latin-500-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-500-normal.woff') format('woff');
}
/* switzer-500-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 500;
  src: local(''),
       url('../fonts/switzer-latin-500-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-500-italic.woff') format('woff');
}
/* switzer-600 - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 600;
  src: local(''),
       url('../fonts/switzer-latin-600-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-600-normal.woff') format('woff');
}
/* switzer-600-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 600;
  src: local(''),
       url('../fonts/switzer-latin-600-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-600-italic.woff') format('woff');
}
/* switzer-700 - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('../fonts/switzer-latin-700-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-700-normal.woff') format('woff');
}
/* switzer-700-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 700;
  src: local(''),
       url('../fonts/switzer-latin-700-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-700-italic.woff') format('woff');
}
/* switzer-800 - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 800;
  src: local(''),
       url('../fonts/switzer-latin-800-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-800-normal.woff') format('woff');
}
/* switzer-800-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 800;
  src: local(''),
       url('../fonts/switzer-latin-800-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-800-italic.woff') format('woff');
}
/* switzer-900 - latin */
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 900;
  src: local(''),
       url('../fonts/switzer-latin-900-normal.woff2') format('woff2'),
       url('../fonts/switzer-latin-900-normal.woff') format('woff');
}
/* switzer-900-italic - latin */
@font-face {
  font-family: 'Switzer';
  font-style: italic;
  font-weight: 900;
  src: local(''),
       url('../fonts/switzer-latin-900-italic.woff2') format('woff2'),
       url('../fonts/switzer-latin-900-italic.woff') format('woff');
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* INTER @font-face (kept for fallback / later use) */
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* inter-100 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/inter-v7-latin-100.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-100.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-100.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-200 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/inter-v7-latin-200.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-200.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-200.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-300 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v7-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-300.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-regular - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v7-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-regular.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-500 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v7-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-500.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-600 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v7-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-600.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-700 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v7-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-700.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-900 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/inter-v7-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-900.svg#Inter') format('svg'); /* Legacy iOS */
}
/* inter-800 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v7-latin-800.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/inter-v7-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/inter-v7-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/inter-v7-latin-800.woff') format('woff'), /* Modern Browsers */
       url('../fonts/inter-v7-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/inter-v7-latin-800.svg#Inter') format('svg'); /* Legacy iOS */
}


