html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: "work sans", sans-serif;
}

body {
  background-size: 500% 500%;
  animation: gradient 10s ease infinite;
  margin: 0;
  overflow: scroll;
  background-size: 500% 500%;
  animation: gradient 10s ease infinite;
  font-style: none;
  line-height: 1.4;
  letter-spacing: 1px;
  overflow-x: hidden;
}

p {
  font-size: 1.15em;
  line-height: 1.3;
  margin-bottom: 0em;
  font-weight: 250;
}

h1 {
  font-style: none;
  font-weight: 250;
  font-size: 45px;
  line-height: 1.4;
  letter-spacing: 2.5px;
  margin-bottom: 100px;
}

/* h1 {
  font-style: italic;
  font-weight: 1000;
  font-size: 45px;
  line-height: 1.4;
  letter-spacing: 5px;
  margin-bottom: 60px;
  color: #ff5349;
  text-transform: uppercase;
} 
*/

h2 {
  font-weight: 250;
  font-size: 1.5em;
  line-height: 1;
  font-style: italic;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0em;
  margin-top: 0em;
}

h3 {
  margin-top: 0em;
  margin-bottom: 0.35em;
  font-weight: 300;
  font-size: 1.25em;
  line-height: 1.25em;
  font-style: italic;
}

h4 {
  margin: 0;
  font-weight: 300;
  font-size: 1em;
  line-height: 1.8em;
  font-style: italic;
  display: block;
  color: #ff5349;
}

.h4work {
  margin-top: 1em;
}

h5 {
  margin-top: 0em;
  margin-bottom: 4em;
  font-weight: 300;
  font-size: 1em;
  line-height: 1em;
  font-style: italic;
  display: block;
  color: #ff5349;
}

h6 {
  font-weight: 175;
  font-size: 1.5em;
  line-height: 1;
  font-style: italic;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0;
  margin-top: 0;
  color: white;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

h7 {
  font-weight: 250;
  font-size: 1.5em;
  line-height: 1;
  font-style: italic;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0;
  margin-top: 0;
  color: black;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

a {
  text-decoration: none;
  color: black;
  transition-duration: 0.5s;
}

a:visited {
  color: black;
}

hr {
  display: block;
  height: 0;
  width: 18em;
  border: 0;
  border-top: 1.5px solid #ff5349;
  margin-bottom: auto;
  padding: 0;
}

#metaimage {
  height: 0;
  width: 0;
}
.pixel {
  color: #ff5349;
  font-size: 20px;
  margin: 0 2.5em 0 2.5em;
  vertical-align: top;
  line-height: 100%;
  font-style: normal;
}


.pixel2 {
   color: #ff5349;
  font-size: 20px;
  margin: 0 2.5em 0 2.5em;
  vertical-align: top;
  line-height: 100%;
  font-style: normal;
}

#rightbox {
  background: #ff5349;
  width: 20px;
  height: 20px;
  top: 3vw;
  right: 3vw;
  position: fixed;
  z-index: 1000;
  transition-duration: 1s;
  overflow: wrap;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition-timing-function: ease;
}

#rightbox:hover {
  width: 120px;
  height: 210px;
  transition-duration: 1s;
  transition-timing-function: ease;
}

#menu {
  justify-content: center;
  align-items: center;
  text-align: center;
}

h6:hover {
  font-weight: 400;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

a:hover {
  font-weight: 400;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  color: #ff5349;
}

.webintro {
  margin-bottom: 80px;
}

#offset {
  margin-top: 95vh;
}

#selected-works {
  scroll-margin-block-start: 40px;
}

#about-me {
  scroll-margin-block-start: 40px;
}

#more-info {
  scroll-margin-block-start: 40px;
  padding-top: 15px;
}

.canvas {
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 1px;
  white-space: nowrap;
  position: absolute;
  top: 49%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.sam {
  font-style: italic;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 1.25px;
  color: black;
}

.s {
  display: inline-block;
  transition-duration: 1s;
}

.a {
  display: inline-block;
  transition-duration: 1s;
}

.m {
  display: inline-block;
  transition-duration: 1s;
}

.canvas_s {
  display: inline-block;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 40px;
  width: 300px;
  height: 320px;
  animation: 4s ease 0s infinite sambounce;
}

.pixel_s {
  width: 20px;
  height: 20px;
  float: left;
  box-shadow: 0px 0px 0px 0px;
}

.canvas_a {
  display: inline-block;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 40px;
  width: 300px;
  height: 320px;
  animation: 4s ease 0.4s infinite sambounce;
}

.pixel_a {
  width: 20px;
  height: 20px;
  float: left;
  box-shadow: 0px 0px 0px 0px;
}

.canvas_m {
  display: inline-block;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 40px;
  width: 300px;
  height: 320px;
  animation: 4s ease 0.8s infinite sambounce;
}

.pixel_m {
  width: 20px;
  height: 20px;
  float: left;
  box-shadow: 0px 0px 0px 0px;
}

.main-letter {
  background: #ff5349;
  box-shadow: 0px 0px 0px 0px #ff5349;
  transition-duration: 1s;
  position: relative;
}

.nineteenth {
  background: #ffc6c2;
  transition-delay: 1s;
}

.eighteenth {
  background: #ffc6c2;
  transition-delay: 0.91s;
}

.seventeenth {
  background: #ffc6c2;
  transition-delay: 0.9s;
}

.sixteenth {
  background: #ffc6c2;
  transition-delay: 0.85s;
}

.fifteenth {
  background: #ffc6c2;
  transition-delay: 0.8s;
}

.fourteenth {
  background: #ffc6c2;
  transition-delay: 0.75s;
}

.thirteenth {
  background: #ffc6c2;
  transition-delay: 0.7s;
}

.twelfth {
  background: #ffc6c2;
  transition-delay: 0.65s;
}

.eleventh {
  background: #ffc6c2;
  transition-delay: 0.6s;
}

.tenth {
  background: #ffc6c2;
  transition-delay: 0.55s;
}

.ninth {
  background: #ffc6c2;
  transition-delay: 0.5s;
}

.eighth {
  background: #ffc6c2;
  transition-delay: 0.45s;
}

.seventh {
  background: #ffc6c2;
  transition-delay: 0.4s;
}

.sixth {
  background: #ffc6c2;
  transition-delay: 0.35s;
}

.fifth {
  background: #ffc6c2;
  transition-delay: 0.3s;
}

.fourth {
  background: #ffc6c2;
  transition-delay: 0.25s;
}

.third {
  background: #ffc6c2;
  transition-delay: 0.2s;
}

.second {
  background: #ffc6c2;
  transition-delay: 0.15s;
}

.first {
  background: #ffc6c2;
  transition-delay: 0.1s;
}

.canvas_s:hover {
  transition-duration: 1s;
  transition-timing-function: ease;
}

.ps {
  font-size: 1em;
  line-height: 1.3;
  margin-bottom: 0em;
  font-weight: 250;
  font-size: 1em;
  text-transform: uppercase;
  transition-duration: 1s;
  margin-top: 30px;
}

.s:hover .ps {
  transition-duration: 1s;
  transition-timing-function: ease;
  font-weight: 400;
   color: #ff5349;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

.pa {
  font-size: 1em;
  line-height: 1.3;
  margin-bottom: 0em;
  font-weight: 250;
  font-size: 1em;
  text-transform: uppercase;
  transition-duration: 1s;
  margin-top: 30px;
}

.a:hover .pa {
  transition-duration: 1s;
  transition-timing-function: ease;
  font-weight: 400;
   color: #ff5349;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

.pm {
  font-size: 1em;
  line-height: 1.3;
  margin-bottom: 0em;
  font-weight: 250;
  font-size: 1em;
  text-transform: uppercase;
  transition-duration: 1s;
  margin-top: 30px;
}

.m:hover .pm {
  transition-duration: 1s;
  transition-timing-function: ease;
  font-weight: 400;
   color: #ff5349;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

.s:hover {
  margin-right: 20px;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

.a:hover {
  margin-left: 20px;
  margin-right: 20px;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

.m:hover {
  margin-left: 20px;
  transition-duration: 1s;
  transition-timing-function: ease-out;
}

.canvas_a:hover {
  transition-duration: 1s;
  transition-timing-function: ease;
}

.canvas_m:hover {
  transition-duration: 1s;
  transition-timing-function: ease;
}

.canvas_s:hover .main-letter {
  box-shadow: 0px 0px 0px 5px #ff5349;
  transition-duration: 1s;
}

.canvas_a:hover .main-letter {
  box-shadow: 0px 0px 0px 5px #ff5349;
  transition-duration: 1s;
}

.canvas_m:hover .main-letter {
  box-shadow: 0px 0px 0px 5px #ff5349;
  transition-duration: 1s;
}

.canvas_s:hover .fourteenth {
  background: none;
  transition-delay: 0.1s;
}

.canvas_s:hover .thirteenth {
  background: none;
  transition-delay: 0.15s;
}

.canvas_s:hover .twelfth {
  background: none;
  transition-delay: 0.2s;
}

.canvas_s:hover .eleventh {
  background: none;
  transition-delay: 0.25s;
}

.canvas_s:hover .tenth {
  background: none;
  transition-delay: 0.3s;
}

.canvas_s:hover .ninth {
  background: none;
  transition-delay: 0.35s;
}

.canvas_s:hover .eighth {
  background: none;
  transition-delay: 0.4s;
}

.canvas_s:hover .seventh {
  background: none;
  transition-delay: 0.45s;
}

.canvas_s:hover .sixth {
  background: none;
  transition-delay: 0.5s;
}

.canvas_s:hover .fifth {
  background: none;
  transition-delay: 0.55s;
}

.canvas_s:hover .fourth {
  background: none;
  transition-delay: 0.6s;
}

.canvas_s:hover .third {
  background: none;
  transition-delay: 0.65s;
}

.canvas_s:hover .second {
  background: none;
  transition-delay: 0.7s;
}

.canvas_s:hover .first {
  background: none;
  transition-delay: 0.75s;
}

.canvas_a:hover .fourteenth {
  background: none;
  transition-delay: 0.1s;
}

.canvas_a:hover .thirteenth {
  background: none;
  transition-delay: 0.15s;
}

.canvas_a:hover .twelfth {
  background: none;
  transition-delay: 0.2s;
}

.canvas_a:hover .eleventh {
  background: none;
  transition-delay: 0.25s;
}

.canvas_a:hover .tenth {
  background: none;
  transition-delay: 0.3s;
}

.canvas_a:hover .ninth {
  background: none;
  transition-delay: 0.35s;
}

.canvas_a:hover .eighth {
  background: none;
  transition-delay: 0.4s;
}

.canvas_a:hover .seventh {
  background: none;
  transition-delay: 0.45s;
}

.canvas_a:hover .sixth {
  background: none;
  transition-delay: 0.5s;
}

.canvas_a:hover .fifth {
  background: none;
  transition-delay: 0.55s;
}

.canvas_a:hover .fourth {
  background: none;
  transition-delay: 0.6s;
}

.canvas_a:hover .third {
  background: none;
  transition-delay: 0.65s;
}

.canvas_a:hover .second {
  background: none;
  transition-delay: 0.7s;
}

.canvas_a:hover .first {
  background: none;
  transition-delay: 0.75s;
}

.canvas_m:hover .fourteenth {
  background: none;
  transition-delay: 0.1s;
}

.canvas_m:hover .thirteenth {
  background: none;
  transition-delay: 0.15s;
}

.canvas_m:hover .twelfth {
  background: none;
  transition-delay: 0.2s;
}

.canvas_m:hover .eleventh {
  background: none;
  transition-delay: 0.25s;
}

.canvas_m:hover .tenth {
  background: none;
  transition-delay: 0.3s;
}

.canvas_m:hover .ninth {
  background: none;
  transition-delay: 0.35s;
}

.canvas_m:hover .eighth {
  background: none;
  transition-delay: 0.4s;
}

.canvas_m:hover .seventh {
  background: none;
  transition-delay: 0.45s;
}

.canvas_m:hover .sixth {
  background: none;
  transition-delay: 0.5s;
}

.canvas_m:hover .fifth {
  background: none;
  transition-delay: 0.55s;
}

.canvas_m:hover .fourth {
  background: none;
  transition-delay: 0.6s;
}

.canvas_m:hover .third {
  background: none;
  transition-delay: 0.65s;
}

.canvas_m:hover .second {
  background: none;
  transition-delay: 0.7s;
}

.canvas_m:hover .first {
  background: none;
  transition-delay: 0.75s;
}

* {
  box-sizing: border-box;
}

.intro {
  justify-content: center;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-top: 190px;
  margin-bottom: 70px;
  position: flex;
  top: 0;
  left: 0;
  width: 100%;
}

.gallery-container {
  flex-wrap: wrap;
  background: white;
  padding: calc(4vw + 15px);
  margin: 0 3vw 0 3vw;
}

.gallery-item {
  flex-basis: 32.7%;
  margin-bottom: 0;
  opacity: 1;
  cursor: pointer;
  transition-duration: 0.5s;
  color: black;
  position: relative;
}

.gallery-item::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0;
  transition-duration: 0.5s;
  pointer-events: none;
}

.blocks {
  margin-top: calc(.5vw + 5px);
  display: inline-block;
  position: relative;
  margin-bottom: calc(4.5vw + 15px);
  width: 100%;
}

.headtext {
  position: relative;
  display: block;
  font-size: 20pt;
  text-wrap: nowrap;
  text-align: left;
  font-weight: 250;
  left: 0px;
  transition-duration: 0.5s;
  z-index: 100;
}

.descriptiontext {
  position: relative;
  display: block;
   font-size: 13pt;
  text-wrap: nowrap;
  left: 0px;
  transition-duration: 0.5s;
  z-index: 100;
  margin-top: 1px;
}

.gallery-item:hover::after {
  opacity: 0.2;
  transition-duration: 0.5s;
  text-align: left;
}

.project:hover .headtext {
  color: #ff5349;
}
/* .gallery-item:hover .headtext {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  margin: 0;
  transition-duration: 0.5s;
}

.gallery-item:hover .descriptiontext {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  transition-duration: 0.5s;
} */

.gallery-item img {
  width: 100%;
  height: calc(30vw + 40px);
  margin: 0 auto;
  object-fit: cover;
}

.lightbox {
  position: absolute;
}

.lightbox-content {
  position: a;
  width: 70%;
  height: 70%;
  margin: 100% auto;
}

.lightbox-content img {
  border-radius: 7px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 45%;
  cursor: pointer;
}
.lightbox-prev {
  left: 0;
}
.lightbox-next {
  right: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.8;
}

.return {
  font-size: 50px;
  text-align: center;
  font-weight: 100;
  line-height: 0;
  padding: 0;
  margin-top: calc(4vw + 15px);
  color: black;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

.return:hover {
  font-weight: 400;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

.body-container {
  display: absolute;
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
  background: white;
  margin: 3vw;
  padding: calc(4vw + 15px);
}

.container {
  margin-bottom: 110px;
  position: relative;
  display: flex;
  width: 100%;
}

.side1 {
  vertical-align: top;
  display: inline-block;
  width: auto;
  margin-right: 2em;
  width: 50%;
}

.side2 {
  vertical-align: top;
  margin-left: 1.5em;
  margin-right: 0;
  display: inline-block;
  width: 50%;
}

#image {
  background-image: url("https://cdn.glitch.global/c424e333-e025-46a2-8869-bdcf91a7f193/IM000130.jpeg?v=1738131701571");
  background-size: cover;
  background-position: center right -200px ;
  vertical-align: top;
  display: inline-block;
  width: auto;
  margin-right: 1.5em;
  width: 50%;
  object-fit: cover;
  display: flex;
}

#about {
  vertical-align: top;
  margin-left: 1.5em;
  margin-right: 0;
  display: inline-block;
  width: 50%;
}

#separate {
  margin-top: 1em;
  display: block;
}

#separate h3 {
  margin-top: 1em;
  display: block;
}

.text {
  margin-bottom: calc(4vw + 15px);
  position: relative;
  display: flex;
  width: 100%;
}

.links {
  margin-top: 65px;
  margin-bottom: 150px;
  position: relative;
  display: flex;
  width: 100%;
}

.textblock {
  margin-bottom: 25px;
}

.button {
  background-color: #ff5349;
  color: white;
  padding: 20px 0 20px 0;
  text-align: center;
  margin-bottom: 25px;
}

.display-content {
  flex: 1 1 80%;
  min-height: 70vh;
}

@keyframes sambounce {
  0% {
    transform: translateY(0vh);
  }
  50% {
    transform: translateY(-1.5vh);
  }
  100% {
    transform: translateY(0vh);
  }
}

@media (max-width: 4000px) {
  .canvas {
    zoom: 0.88;
  }
  .intro {
    zoom: 0.88;
  }
  #image {
  background-position: center right;
  }
  .links {
    zoom: 1.20;
  }
}

@media (max-width: 1200px) {
   #image {
  background-position: center right -150px;
}
}

@media (max-width: 1375px) {
  .canvas {
    zoom: 0.68;
  }
  .intro {
    zoom: 0.68;
  }
  .canvas_s {
    margin: 20px;
  }
  .canvas_a {
    margin: 20px;
  }
  .canvas_m {
    margin: 20px;
  }
  .headtext {
    font-size: 14pt;
  }
  .descriptiontext {
    font-size: 9pt;
  }
    .links {
    zoom: 1.00;
  }
}

@media (max-width: 1050px) {
  .canvas {
    zoom: 0.48;
  }
  .intro {
    zoom: 0.48;
  }
  .canvas_s {
    margin: 15px;
  }
  .canvas_a {
    margin: 15px;
  }
  .canvas_m {
    margin: 15px;
  }
}

.containerflex {
  margin-bottom: 110px;
  position: relative;
  display: flex;
  margin-bottom: 140px;
  width: 100%;
}

@media (max-width: 985px) {
  #image {
  background-position: center right -200px ;
}
    .pixel2 {
 display: none;

}
  .text {
    zoom: 0.8;
  }
   #about {
    zoom: 0.91;
  }
  }

@media (max-width: 894px) {
.headtext {
    font-size: 11pt;
  }
  .descriptiontext {
    font-size: 8pt;
  }
}

@media (max-width: 830px)  {
  .links {
    zoom: 0.80;
  }
}

@media (max-width: 780px) {
.headtext {
    font-size: 9pt;
      text-wrap: wrap;
      align-items: left;
       text-align: left;
  }
  .descriptiontext {
    font-size: 6pt;
  }
#image {
  height: 300px;
    width: 100%;
  display: block;
  background-position: center right;
  }
#about {
    width: 100%;
  display: block;
  margin: 40px 0 4em 0
  }
.containerflex {
  margin-bottom: 0px;
  position: auto;
  display: block;
  width: auto;
}
}

@media (max-width: 670px) {
  .text {
    zoom: 0.6;
  }
  #about {
    zoom: 0.75;
  }
}
  
  @media (max-width: 600px) {
  .canvas {
    zoom: 0.38;
  }
  .intro {
    zoom: 0.38;
  }
  .links {
    zoom: 0.66;
  }
  .pixel2 {
 display: none;

}
  
}
  
  @media (max-width: 495px) {
    .ps {
      font-weight: 350;
    }
    .pa {
      font-weight: 350;
    }
    .pm {
      font-weight: 350;
    }
  .canvas {
    zoom: 0.32;
  }
  .links {
    zoom: 0.60;
  }
  }
