@import url(https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@200..800&display=swap);


/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}
/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
    height:100%;
  }
}
body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
  height:100%;
}
/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

body {
  background: #f3f3f3;
}

h1 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
  color: #030303;
  margin: 0;
  padding: 0;
  font-size: 15vw;
  line-height: 17vw;
  letter-spacing: -5px;
}

h2 {
  font-family: "DM Serif Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 42px;
  line-height: 1;
  color: #030303;
}

h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 21px;
  color: #030303;
  padding-top: 20px;
}

h4 {
  font-family: "DM Serif Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 48px;
  line-height: 1;
  color: #030303;
}

h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  color: #030303;
  padding-top: 9px;
  letter-spacing: -0.5px;
}

p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 15px;
  color: #888888;
  padding-top: 10px;
  line-height: 1.7;
}


nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  padding-left: 40px;
  padding-top: 2px;
  color: #888888;
}

.morepoints ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-right: 46px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
}

.botPad {
  padding-bottom: 46px;
}

nav li {
  display: inline;
  padding-left: 40px;
}

#contectButton {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  position: absolute;
  right: 46px;
  padding-top: 2px;
  text-decoration: underline;
  color: #888888;
  display: flex;
   align-items:center;
 
}

#contectButton a {
  color: #000000;
  text-decoration: underline;
}

#contectButton img {
  height: 8px;
  padding-left: 4px;
}

#stickyBar {
  height: 10vh;
  display:flex;
  align-items:center;
  background: #f3f3f3;
}

#photoIntro {
  height: 90vh;
  display:flex;
  align-items:center;
  background: #f3f3f3 url("../images/stephen-kozik.jpg") no-repeat right bottom;
  background-size: contain;
}

#projectOverview {
  align-items:center;
  background: #f3f3f3;
  padding: 46px;
}

#projectOverview h1 {
  font-size: 8vw;
  text-align: center;
  letter-spacing: -2px;
  line-height: 1;
  padding: 6vh;
}

#projectOverview h3 {
  font-size: 1.5vw;
  text-align: center;
  color: #888888;
  width: 80%;
  margin: auto;
}

#projectOverview img {
  width: 100%;
  margin-top: 46px;
  border-radius: 8px;
}

#projectList {
  align-items:center;
  background: #eeeeee;
  padding: 46px;
}

.externalLink {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 21px !important;
  width: 80%;
  margin: auto;
  text-align: center;
}

.externalLink a {
  text-decoration: none;
  color: #666666;
}

.externalLink a:hover {
  color: #000000;
}


#projectList nav {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 21px;
  width: 80%;
  margin: auto;
  text-align: center;
}

#projectList a {
  text-decoration: none;
  padding-left: 10px;
  padding-right: 10px;
  color: #999999;
}

#projectList a:hover {
  color: #000000;
}

.currentLink {
  color: #000000 !important;
}



#projectBlade {
  align-items:center;
  background: #f3f3f3;
  padding: 46px;
}

#projectBlade h3 {
  font-size: 1.5vw;
  color: #888888;
  text-align: center;
  width: 80%;
  margin: auto;
}

#projectBlade P {
  width: 40vw;
  text-align: center;
  margin: auto;
  margin-top: 46px;
  font-size: 13px;
}

#projectBlade h2 {
  text-align: center;
  margin-bottom: 46px;
}

#projectBlade img {
  width: 75%;
  margin: auto;
  margin-top: 46px;
  border-radius: 8px;
}

#projectBlade video {
  width: 100%;
}

.play {
  width: 42px !important;
}

.playButton {

  position: absolute;
  bottom: 23px;
  left: 0%;
  height: 100%;
  width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.videoContainer {
  width: 75%;
  margin: auto;
  margin-top: 46px;
  position: relative;
}

.squareContainer {
  width: 50%;
  margin: auto;
  margin-top: 46px;
  position: relative;
}

.galleryStyleA {
  display: flex;
  flex-wrap: wrap;
}

.galleryStyleA img {
  width: 33%;
}

.galleryStyleB {
  display: flex;
  flex-wrap: wrap;
}


.galleryStyleB img {
  width: 50%;
}


.squareContainer video {
  border-radius: 8px;
}

.wideContainer {
  width: 100%;
  margin: auto;
  margin-top: 46px;
  position: relative;
}

.wideContainer video {
  border-radius: 8px;
}

#nameIntro{
  display:none;
  align-items:center;
  background: #f3f3f3;
  justify-content: center;
}


#about {
  background: #eeeeee;
  padding: 46px;
  display: flex;
}

.recentProjects {
  background: #f3f3f3;
  padding: 46px 46px 0px 46px;
  display: flex;
  justify-content: space-between;
}
.recentProjects h2 {
  margin: auto;
}

.projects {
  background: #f3f3f3;
  padding: 46px;
  display: flex;
  justify-content: space-between;
}

.projectBlock {
  width: 31.25%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
}

.galleryBlock {
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
  padding-right: 23px;
}
.galleryIntro {
  width: 50vw;
  display:flex;
  align-items:center;
}
.gallerySection {
  background: #eeeeee;
  padding: 46px 0px 46px 46px;
  display: flex;
  align-content: space-between;
  justify-content: space-between;
}

.theFirstName {
  font-family: "Plus Jakarta Sans", sans-serif;
  display: block;
  white-space: nowrap; 
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  transform: rotate(90deg);
  margin-left: 46px;
  width: 18px;
  margin-bottom: 5vw;
}

.projectType {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 12px;
  margin-top: 10px;
  padding: 3px 15px 5px 15px;
  color: #030303;
  background: #e0e0e0;
  border-radius: 100px;
}

.nameLogo {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
  color: #030303;
  margin: 0;
  padding: 0 0 0 46px;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.bio {
  width: 37%;
  margin-right: 3%;
}
.callout {
  background: #ffffff;
  width: 20%;
  padding:20px;
  border-radius: 5px;
  align-content: flex-end;
}
.morepoints {
  width: 37%;
  margin-left: 3%;
  display: flex;
  flex-wrap: wrap;
}


.callout img {
  width: 100%;
  border-radius: 6px;
  margin-top: 20px;
}

.halfHeight {
  width: 100%;
  height: 40%;
  border-radius: 5px;
  object-fit: cover;
}
.halfWidth {
  width: 46%;
  border-radius: 5px;
  object-fit: cover;
}

.projectThumb {
  width: 86vw;
  height: 40vh;
  border-radius: 8px;
  object-fit: cover;
}

.projectImage {
  position: relative;
  cursor: pointer;
}

.hoverArrow {
  position: absolute;
  top: 0%;
  left: 0%;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .5s ease;
  opacity: 0;

}

.hoverArrow:hover {
  opacity: 1;
}

.hoverArrow img {
  width: 30%;
  height: 30%;
  margin: auto;
}

.gallery {
  overflow-y: auto;
  cursor: pointer;
  width: 80%;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.galleryHolder {
  display: flex;
  width: 360vh;
}

.darkBar {
  background: #191919;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px 46px;
}

.darkBar img {
  width: 23px;
}

.darkBar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  color: #888888;
  display: flex;
}

.darkBar li {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
}

#Navigation a {
    text-decoration: none;
    color: #888888;
}

@media screen and (max-aspect-ratio: 50/35) {

  #photoIntro {
   display:flex;
   align-items: normal;
   background: #f3f3f3 url("../images/stephen-kozik.jpg") no-repeat center bottom;
   background-size: contain;
   height: 70vh;
  }
  #photoIntro span {
    display: none;
  }
  #photoIntro h1 {
    display: none;
  }
  #nameIntro{
    display:flex;
  }
  #nameIntro h1{
    font-size: 20vh;
  }
  .callout {
    display: none;
  }
  #about {
   display: block;
  }
  .bio {
    width: 75vw;
    padding-bottom: 46px;
    padding-left: 15vw;
  }
  .morepoints {
    width: 75vw;
    padding-left: 15vw;
    margin: 0;
  }
  .halfHeight {
    height: 45vh;
    margin: 0;
    padding-bottom: 23px;
  }

  h2 {
    margin-bottom: 23px;

  }

}



@media screen and (max-width: 860px) {
#projectBlade P {
  width: 80vw;
}
.galleryStyleA img {
  width: 50%;
}


#projectOverview h1 {
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -1px;
}
#projectOverview h3 {
  font-size: 16px;
  width: 100%;
}

#projectBlade {
  padding: 46px;
}

#projectBlade h3 {
  font-size: 16px;
  width: 100%;
}

#projectBlade h2 {
  margin-bottom: 46px;
}

#projectBlade img {
  width: 100%;
  margin-top: 46px;
}

#projectBlade video {
  width: 100%;
}


.videoContainer {
  width: 100%;
  margin-top: 46px;
}



}


@media screen and (max-width: 640px) {

.squareContainer {
  width: 100%;
}
.galleryStyleA img {
  width: 100%;
}
.galleryStyleB img {
  width: 100%;
}


  #Navigation {
    display: none;
  }
  h1 {
    margin-top: 26px;
    font-size: 37vw !important;
  }
#projectOverview h1 {
  font-size: 58px !important;
  line-height: 0.9;
  letter-spacing: -1px;
  padding-left: 0;
  padding-right: 0;
  padding-top: 7vw;
  padding-bottom: 7vw;
}

#projectOverview {
  padding: 7vw;
}


#projectBlade {
  padding: 7vw;
}

#projectList {
  padding: 7vw;
}


    #photoIntro {
   background-size: cover;
 }
  #about {
    padding-left: 7vw;
  }
  .bio {
    width: 86vw;
    padding-bottom: 46px;
    padding-left: 0;
  }
  .morepoints {
    width: 86vw;
    padding-left: 0;
    margin: 0;
  }
  .halfHeight {
    height: 45vh;
    margin: 0;
    padding-bottom: 46px;
  }
.recentProjects {
  padding: 0vw 7vw 0px 7vw;
  display: block;
  justify-content: space-between;
}
.projectBlock {
  width: 100%;
  margin-bottom: 7vw;
}
  .recentProjects h2 {
    margin-top: 7vw;
    margin-bottom: 7vw;
  }
.nameLogo {
  padding: 0 0 0 7vw;
}
#contectButton {
  right: 7vw;
}

.gallerySection {
  padding: 7vw 0px 7vw 7vw;
  display: block;
}
.gallery {
  width: 100%;
}


.galleryBlock {
  display: block;
}
.gallerySection {
  display: block;
}
.galleryBlock .projectThumb {
  height: 20vh;
  width: 23vh;
}


}
