@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-display: block;
  font-weight: 300;
  font-display: swap;
  src: url(roboto.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}

@font-face {
  font-family: "quick";
  font-style: normal;
  font-display: block;
  font-weight: 400;
  font-display: swap;
  src: url(quicksand-v24-latin-regular.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}

.hidden {
  display: none;
}

body {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}

#navbar {
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 20px;
  align-items: center;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

#name {
  padding-left: 30px;
  font-family: "Roboto Slab", serif;
  /* font-weight: 00; */
  font-size: 20px;
  padding-top: 10px;
  color: black;
  text-decoration: none;
}

#nav {
  display: flex;
  flex-direction: row;
  padding-top: 12px;
}

#nav > a {
  padding: 0 30px;
  font-family: "quick", sans-serif;
  color: #333;
  text-decoration: none;
}
#nav > a:hover {
  text-decoration: underline;
}

.header {
  font-family: "Roboto Slab", serif;
  font-size: 20px;
  margin: 20px;
  /* margin-top: 100px; */
  margin-bottom: 40px;
  color: #333;
}

.projectsection {
  width: 632px;
}

.divider {
  width: 200px;
  margin-bottom: 30px;
  margin-top: 20px;
  text-align: center;
  font-size: 20pt;
  color: #888;
  font-weight: 200;
  /* font-family: 'quick', serif; */
  user-select: none;
  transform: scaleX(2);
}

canvas {
  position: absolute;
  pointer-events: none;
  width: 100% !important;
  height: 100% !important;
  bottom: 0;
}

.photogrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  /* overflow: hidden; */
  height: 310px;
}

.photogrid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 0px;
  /* overflow: hidden; */
  height: 200px;
}

.photo1 {
  grid-area: 1 / 1 / 3 / 3;
}
.photo2 {
  grid-area: 1 / 3 / 2 / 5;
}
.photo3 {
  grid-area: 2 / 3 / 3 / 4;
}
.photo4 {
  grid-area: 2 / 4 / 3 / 5;
}
.photo5 {
  grid-area: 2 / 3 / 3 / 5;
}

.photo31 {
  grid-area: 1 / 1 / 2 / 2;
}
.photo32 {
  grid-area: 1 / 2 / 2 / 3;
}
.photo33 {
  grid-area: 1 / 3 / 2 / 4;
}

.photogrid {
  /* width: 80%; */
  /* height: 400px; */
  position: relative;
}

img {
  /* object-fit: scale-down; */
  border-radius: 10px;
  width: 100%;
  /* aspect-ratio: 1/1; */
}

.photo1,
.photo2,
.photo3,
.photo4 {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.photo31,
.photo32,
.photo33 {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.projecttitle {
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  margin: 20px;
  margin-bottom: 10px;
}
.projectdesc {
  font-family: "quick", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin: 20px;
  margin-top: 0;
  color: #333;
}
.projectlinks {
  margin: 20px;
  margin-top: 0;
  color: #333;
}
.projectlinks > a {
  color: #333;
  font-family: "quick", sans-serif;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1.5px solid #333;
  padding-bottom: 1px;
  margin-left: 20px;
  transition: border-bottom 0.2s;
}
.projectlinks > a:hover {
  border-bottom: 1.5px solid #3e95ff;
}

#content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#content-portfolio {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
/* #pcol1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#pcol2 {
    display: flex;
    flex-direction: column;
    align-items: center;
} */
.artcol {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  margin: 10px;
}
.artcol > img {
  border-radius: 0;
  margin-bottom: 20px;
}

video {
  margin-bottom: 20px;
}

#fullsc {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #0009;
  z-index: 200;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  transition: 1s;
  top: 0;
  left: 0;
}

#focusedimg,
#focusedvideo {
  max-height: 90%;
  height: auto;
  position: absolute;
  margin: auto;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 20px 50px 0px;
  max-width: 90%;
  border-radius: 5px;
  user-select: none;
  cursor: default;
  /*keep aspect ratio */
  width: auto;
}

#leftarrow,
#rightarrow {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 120px;
  opacity: 0;
  transition:
    padding 0.5s,
    opacity 0.5s;
}
#leftarrow {
  left: 0px;
}
#rightarrow {
  right: 0px;
  transform: rotate(180deg);
}
#leftarrow:hover,
#rightarrow:hover {
  opacity: 1;
  padding-left: 100px;
  padding-right: 140px;
}
#leftarrow:active {
  filter: brightness(0.5);
}
#rightarrow:active {
  filter: brightness(0.5);
}
.centered {
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
}

@media (pointer: none),
  (pointer: coarse),
  (max-resolution: 1dppx),
  (max-width: 400) {
  #navbar > a,
  #nav > a {
    font-size: 24pt;
    font-weight: normal !important;
  }
}
