html {
    scroll-behavior: smooth;
}

body {
  background-color: white;
  margin: 0;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.001);
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0.35px;
}
a {
  color: black;
  text-decoration: none;
}
a:link {
  color: black;
  text-decoration: none;
}
a:hover {
  font-weight: bold;
}
img {
  object-fit: cover;
}
h2 {
  font-size: 14pt;
  font-weight: bold;
}
small {
  font-size: 10pt;
  font-weight: normal;
  line-height: normal;
}
/*basic header set up*/
#header {
  height: 55px;
  padding: 15px 2%;
  border: 1px solid white; /*to prevent collapsing margins*/
  font-size: 14pt;
  font-weight: normal;
}
/*Header logo, offset to have the K poking over the header slightly*/
.header-logo img {
  width: 100px;
  float: left;
}
/*the info button on the far right*/
.header-right {
  margin-top: 1em;
  width: 130px;
  text-align: right;
  float: right;
}
/*the main categories centered in the page
will disappear when the window gets too small
*/
.header-center {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  max-width: 60%;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 630px) {
  .header-center {
    display: none;
  }
}
.header-center > div {
  display: inline-block;
  text-align: center;
  margin-left: 2%;
  margin-right: 2%;
}
/*header buttons set up to look like links*/
.filter-btn {
  cursor:pointer;
}
.filter-btn:hover {
  font-weight: bold;
}
.filter-btn.currentFilter {
  font-weight: bold;
  text-decoration: underline;
}
#info-btn {
  cursor:pointer;
}
#info-btn:hover {
  font-weight: bold;
}

#strip-container {
  width:auto;
  overflow: visible;
}
/*remove the padding at the start of list of projects*/
#strip-container > ul{
  -webkit-padding-start: 0px;
  white-space: nowrap;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

#strip-container {
  padding: 0;
  line-height: 450px;
  vertical-align: middle;

}

.strip {
  background-color: black;
  margin-right: 10px;
  height: 400px;
  width: 60px;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  transition: all 1s;
  transition: width 1s ease, height 1s ease;
}
/*center the images by translating them*/
.strip img{
  height: 100%;
  /*transform: translateX(-50%);*/
}

.strip:hover {
  width: 90px;
  height: 450px;
}

.filtered{
  width: 0px;
  margin-right: 0px;
  transition: all 1s;
}

#description {
  position: fixed;
  line-height: 1em;
  text-align: left;
  font-size: 12pt;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 100px;
  white-space: normal;
  text-overflow: ellipsis;
  opacity: 1;
  display: none;
  max-width: 1200px;
}

/*default modal setup*/
.modal {
  display: none;
  opacity: 1;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.35);
}
.modal-content {
  position: relative;
  background-color: white;
  margin: auto;
  margin-top: 10%;
  padding: 20px;
  width: 60%;
  overflow: auto;
  margin-bottom: 5%;
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}
/* The Close Button */
.modal-close {
    color: #aaaaaa;
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 28px;
    font-weight: bold;
}
#imageModal > .modal-content {
  background-color: rgba(0,0,0,0);
  width: 85%;
  vertical-align: center;
  padding: 0px;
  height: auto;
  box-shadow: 0 0px 0px rgba(0,0,0,0.0);
}

#image-popout {
  width: 100%;
  object-fit:contain;
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
  margin-top: auto;
  margin-bottom: auto;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
#headshot {
  position: relative;
  float: right;
  top: 100%;
  width: 200px;
  height: 200px;
}

/*
 SLIDE SHOW CSS FROM: https://www.w3schools.com/howto/howto_js_slideshow.asp
*/
.piece-description {
  padding-left: 2%;
  padding-right: 2%;
  max-width: 1200px;
  position: relative;
  margin: auto;
}
/* Slideshow container */
.slideshow-container {
  margin-left: 2%;
  margin-right: 2%;
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
    vertical-align: middle;
    overflow: hidden;
    max-height: 500px;
}
.mySlides > img {
  width: 100%;
  vertical-align: middle;
  object-fit: contain;
  max-height: 500px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.25),
    1px -1px 0 rgba(0,0,0,0.25),
    -1px 1px 0 rgba(0,0,0,0.25),
    1px 1px 0 rgba(0,0,0,0.25);
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  background-color: rgba(0,0,0,0.2);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.5);
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.role-info {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    height: auto;
}
.spacer {
    width: 100%;
    height: 30px;
    position: relative;
    margin: auto;
    float: left;
}
.side-by-side {
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2%;
    margin-right: 2%;
    margin-left: 2%;
}
.side-span {
    display: inline-block;
}

.column-container {
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2%;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}
.column {
  display: inline-block;
  width: 100%;
  max-width: 50%;
}

.side-by-side-video {
    height: 390px;
}

.side-span-spacer {
    display: inline-block;
    min-width: 30%;
}

.left-column {
    padding-left: 2%;
    padding-right: 1%;
    width: 47%;
    float: left;
    max-width: 48%;
    position: relative;
    margin: auto;
    padding-bottom: 25px;
  }
.right-column {
    margin-left: 50%;
    padding-left: 1%;
    padding-right: 2%;
    float: left;
    max-width: 47%;
    position: relative;
    margin: auto;
    padding-bottom: 25px;
  }

.fullwidth-video {
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 25px;
    width: 100%;
    height: fit-content;
    max-width: 1200px;
    float: left;
    position: relative;
  }
.project-section {
   padding-top: 1%;
   height: auto;
   padding-bottom: 200px;
  }

.back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 30px;
    border: black;
    outline: none;
    background-color: white;
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
  }

  .image-grid-container {
    padding-top: 1%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1%;
  }

  .image-grid {
    flex: 1;
    flex-basis: 40%;
    max-width: 100%;
    margin-top: 1%;
    width: 20%;
    height: 200px;
    display: block;
    object-fit: cover;
  }