@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --bg-color: #e2e2e2;
  --text-color: #373737; /* #553831; */
  --english-text-color: rgb(70, 70, 90);
  --header-color: #553831;
  --link-color: #0099ff;
  --menu-width: 172px; /* 240px; /* 260px; */
  --general-padding: 1.65rem;
}


*, *: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;
}

*::selection {
  color: var(--bg-color);
  background-color: var(--header-color);
}

/*
::-webkit-scrollbar {
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.35);
  border: none;
}
::-webkit-scrollbar-track {
  box-shadow: none;
  background-color: transparent;
  background-color: pink;
}
*/


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

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

body {
  margin: 0px;
  padding: 0px;
  font-family: Verdana, Arial, "Trebuchet MS", Helvetica, sans-serif;
  font-size: 12px; /* 13px; /* 15px; */
  line-height: 1.55em; /* 1.475em; */
  font-weight: normal; /* 300; */
  background-color: var(--bg-color);
  color: var(--text-color);
}


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

h1, h2, h3, h4, h5, h6 {
  font-family: "Barlow Condensed", sans-serif;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2em;
  margin: 0px 0px 1.5rem 0px;
  letter-spacing: 0px;
  color: var(--header-color);
}
h2 {
  font-size: 2em; /* 1.65em; /* 1.35em; */
  line-height: 1.05em;
  padding: 0px;
}
h3 {
  font-size: 1.6em;
  padding: 0px;
}

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

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


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* OTHER WRAPPERS */


/* FOTO overview wrapper */
.overviewWrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;

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

    > a {
      display: flex;

      > img {
        max-height: 160px; /* 120px; */
        width: auto;
      }
    }

    > span {
      margin-top: 0.25rem;
      font-size: 13px; /* 14px; */
      font-family: monospace;
      color: rgba(0, 0, 0, 0.5);      
    }

  }

}





.txtWrapper {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0px 3rem;
  margin: 0;
  padding: 0;
  /* border: 1px solid blue; */
  max-width: 840px;
}


.txt {
  flex: 1;
}

.txtWrapper > .txt {
  flex: 0 0 100%;
}

@media (min-width: 600px) {
  .txtWrapper > .txt {
    flex: 1;
    /* border: 1px solid pink; */
  }
}




/* ************************************************************************** */
/* ************************************************************************** */
/* ************************************************************************** */
/* ************************************************************************** */

/* mobile */
@media screen {
  

  .pageWrapper {
    display: grid;
    grid-template-columns: 1fr; /* var(--menu-width) 1fr; */
  }

  /* burger menu */
  a#burgerButton {
    position: fixed;
    top: calc(var(--general-padding) - 0.65rem);
    right: calc(var(--general-padding) - 0.35rem);
    z-index: 9999;    
    color: var(--header-color);
    cursor: pointer;
    display: flex;

    > div#burgerIcon, div#crossIcon {
      display: flex;
    }
    /* hiding either burger or cross */
    > div.hide {
      display: none !important;
    }
  }

  a#burgerButton.hide {
    display: none;
  }  

  /* header */
  header {
    width: var(--menu-width);
    max-width: none; /* var(--menu-width); */
    padding: var(--general-padding) 0px 1rem 0px;
    margin-left: var(--general-padding);
    height: auto; /* 100dvh; */

    > .logo {
      margin-top: 0px; /* 2.5rem; */

      a img {
        width: 120px;
        height: auto;
      }
    }
    
    > .desc {
      margin: 0.35rem 0px 0px 0px; /* 1.5rem 0px 1.5rem 0px; */
    }

    > nav {
      font-weight: 400;

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

        &.active {
          border: 5px solid red;
        }

        li {
          text-align: center;

          a {
            text-decoration: none;
            color: var(--header-color); /* var(--text-color); */
            display: inline-block; /* flex; */
            /* justify-content: center; /* end; */
            

            /*
            span {
              padding: 0px 0.075rem 0px 0.125rem;
            }
            */
          }
          a.active,
          a.activeAnchor {
            color: var(--link-color);
          }
          a:hover {
            color: var(--link-color);
            text-decoration: underline;

            span {
              text-decoration: underline;
            }
          }
        }

        /* second menu! */
        ul {
          text-align: right;
          list-style-type: none;
          font-size: 10px; /* 11px; /* 12px; */
          line-height: 1.525em; /* 1.65em; /* 1.525em; */
          margin-top: 0px; /* 0.15rem; */
          margin-bottom: 0px; /* 0.2rem; */
          height: 0px;
          overflow: hidden;

          &.shown {
            margin-top: 0.175rem;
            margin-bottom: 0.175rem;
            height: auto;
          }

          li {
            padding: 0px; /* 0px 0.65rem 0px 0px; */
            position: relative;
          }
          li:after {
            content: "";
            position: relative;
          }
        }
      }
    }
  }


  /* main body content */
  main {
    padding: 0px var(--general-padding); /* var(--general-padding) 0px 0px  0px; */
    width: auto; /* calc(100vw - var(--menu-width)); */
    height: auto; /* 100dvh; */
    overflow-x: hidden; /* overflow: auto; */
  }


  header nav {
    position: fixed;
    inset: 0;
    background-color: var(--bg-color);
    box-shadow: 0 -12px 64px rgba(0,0,0,0);
    z-index: 9000 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100vw);
    transition: all 250ms ease;
  }
  header nav.shown {
    transform: translateX(0vw);
    box-shadow: 0 -12px 64px rgba(0,0,0,0.35);
  }


  /* NY WORKWRAPPER */
  .workWrapper {
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column; /* row; */
    gap: 0px; /* 1rem; */

    .work {

      /* imgs */
      > .imgWrapper {
        /* border: 1px solid green; */
        display: flex;
        flex-direction: column; /* row; */
        gap: 1rem;
        margin: 0px 0px 1rem 0px; /* 0px 0px 3rem 0px; */

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

          img {
            width: max-content; /* vertical imgs dont stretch to full width */
            max-width: 100%;
            height: auto;
            margin-bottom: 0.25rem;
          }
        }
      }
    }

    /* put some padding on right side for last work elm */
    .work:last-of-type {
      /* border: 1px solid purple; */
      padding-bottom: 0px; /* var(--general-padding) */
    }

  }


  
  /*
  .txtWrapper {
    border: 1px solid pink;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0px;

    > .txt {
      max-width: none;
    }
  }
  */
  .full {
    width: auto; /* 840px; */
    margin: 0px 3rem 0px 0px;
  }

  .caption {
    /* margin-top: 0.25rem; */
    margin: 0px;
    font-size: 12px; /* 13px; /* 15px; /* 0.9em; */
    /*
    font-family: monospace;
    font-family: "Barlow Condensed", sans-serif;
    */
    color: var(--text-color); /* rgba(0,0,0,0.5); */
    min-height: auto; /*  1.25rem;*/
  }

}


/* ************************************************************************** */
/* ************************************************************************** */

@media screen and (min-width: 800px) {

  /*
  .txtWrapper {
    border: 1px solid blue;
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin: 0px 0px 1rem 0px;

    > .txt {
      flex-basis: 50%;
      max-width: 50ch;
    }        
  }
  */

  .full {
    width: 840px;
    margin: 0px 3rem 0px 0px;
  }

}


/* ************************************************************************** */
/* ************************************************************************** */

@media screen and (min-width: 1024px) { 


  .pageWrapper {
    grid-template-columns: calc(var(--menu-width) + (var(--general-padding)*2.25)) 1fr;
  }

  /* burger menu */
  a#burgerButton {
    display: none;
  }  


  header {
    height: 100dvh;
    /* border: 1px solid red; */

    > .logo {
      margin-top: 2.5rem;

      a img {
        width: auto;
        height: auto;
      }
    }
    
    > .desc {
      margin: 1.5rem 0px 1.5rem 0px;
      color: var(--header-color);
    }

    > nav {

      ul {

        li {
          text-align: right;

          a {
            display: inline-block;
            /* justify-content: end; */
          }
        }

        /* second menu! */
        ul {
          text-align: right;
          /*
          list-style-type: none;
          font-size: 11px;
          line-height: 1.525em;
          opacity: 1;
          margin-top: 0px;
          margin-bottom: 0px;
          height: 0px;
          overflow: hidden;

          &.shown {
            margin-top: 0.15rem;
            margin-bottom: 0.2rem;
            height: auto;
          }
          */

          li {
            padding: 0px 0.65rem 0px 0px;
            position: relative;
          }
          li:after {
            font-size: 21px;
            content: "·";
            position: absolute;
            top: -0.1rem;
            right: -0.1rem;
          }
        }
      }
    }
  }


  main {
    padding: var(--general-padding) 0px 0px 0px;
    width: calc(100vw - (var(--menu-width) + (var(--general-padding) * 2.25)));
    height: 100dvh;
    overflow: auto;
  }

  
  header nav {
    position: relative;
    inset: auto;
    background-color: transparent;
    z-index: auto;
    display: block;

    transform: none;
    transition: none;
    box-shadow: none;
  }
  header nav.shown {
    box-shadow: none;
  }


  /* NY WORKWRAPPER */
  .workWrapper {
    flex-direction: row;
    gap: 1rem;

    .work {

      /* imgs */
      > .imgWrapper {
        /* border: 1px solid green; */
        display: flex;
        flex-direction: row;
        gap: 1rem;
        margin: 0px 0px 2.5rem 0px;

        .img {

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


    }

    /* put some padding on right side for last work elm */
    .work:last-of-type {
      padding-right: var(--general-padding);
    }

  }

  /*
  .txtWrapper {
    border: 1px solid pink;
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin: 0px 0px 1rem 0px;
  }
  */


  .caption {
    min-height: 1.25rem;
  }
    
}