@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100;0,400;0,900;1,100;1,400;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;600&display=swap');






body {
  overflow: scroll;
  overscroll-behavior: contain;

  background-image: url('../img/noise.gif');
  background-color: #171717;
  cursor: url("../img/cursor.svg") 10 10, auto;
}

html,
body {
  margin: 0px;
  padding: 0px;

  font-family: 'Archivo', sans-serif;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

canvas {
  position: fixed;
  top: 0px;
  display: block;
  z-index: -1;
}

#faviconCanvas {
  display: none;
}

a {
  color: hsl(0, 100%, 50%);
  transition: color 0.5s;
  text-decoration: none;
}

a:hover {
  color: hsl(50, 100%, 50%);
  text-decoration: underline;
}

#upNotification {
  width: 400px;
  position: fixed;
  z-index: 9999;
  background-image: url('../img/noise.gif');
  top: calc(50% - 100px);
  left: 50%;
  height: 200px;
  transform: translateX(-50%);
  background-color: #171717;
  padding: 40px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  text-align: center;
  box-sizing: border-box;
  color: white;
  font-weight: 100;
  border-radius: 14px;
  font-size: 1em;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

#upNotification p {
  width: 100%;
  margin-bottom: 10px;
  margin-top: 0px;
}

#upNotification .upButtons {
  display: flex;
  gap: 20px;
}

#upNotification button {
  color: white;
  font-weight: 100 !important;
  padding: 20px 30px 20px 30px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px white solid;
  font-size: 1em;
  font-family: 'Archivo', sans-serif;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#upNotification button:hover {
  color: #171717;
  background-color: white;
}


#autoplayDiv {
  /*
  position: fixed;
  top: 0px;
  display: block;
  width: 100%;
  background-color: red;
  min-height: 50px;
  padding: 0px;
  height: 100px;
  z-index: 999;
  */
}


#instructionDiv {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #171717;
  padding: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  text-align: center;
  box-sizing: border-box;
  color: white;
  font-weight: 100;
  transition: top 0.3s ease;
  border-radius: 0px 0px 14px 14px;
  width: 300px;
  font-size: 12px;
  z-index: 999;
}


.behance {
  margin-left: 5px;
}

.mainNav {
  display: flex;
  position: fixed;
  left: calc(50% - 150px);
  width: 300px;
  bottom: -2px;
  border-radius: 14px 14px 0px 0px;
  background-color: #171717;
  height: 62px;
  padding-top: 0px;
  box-sizing: border-box;
  justify-content: space-between;
  padding-left: 18px;
  padding-right: 10px;
  align-items: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  z-index: 999;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.mainNav .contactButton {
  padding: 10px 15px 10px 15px !important;
  margin-right: 0px !important;
}


.mainNav a {
  color: white !important;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  font-weight: 100;
}

.mainNav a:hover {
  opacity: 1;
}

#loading-bar {
  position: fixed;
  top: 50%;
  left: calc(50% - 100px);
  width: 200px;
  height: 2px;
  background-color: black;
  z-index: 10000;
}

#loading-progress {
  height: 100%;
  background-color: white;
  width: 0;
  z-index: 9999;
}

#loading-percentage {
  position: fixed;
  top: calc(50% - 30px);
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 100;
  z-index: 9998;
}

#page-content {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.easyzoom-flyout {
  border-radius: 4px !important;
}

.easyzoom-flyout img {
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  height: auto !important;
  object-fit: fill !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}

.overlay-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #171717;
  color: white;
  font-weight: 100;
  padding: 10px;
  transition: opacity 0.3s ease;
  border-radius: 4px;
  pointer-events: none;
  z-index: 100;
}

.easyzoom {
  position: relative;
  display: inline-block;
}

.mainContainer {
  width: 800px;
  display: flex;
  gap: 40px;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
  padding-bottom: 20px;
  align-content: center;
  margin-bottom: 60px;
  border-radius: 4px;
}

.mainContainer img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}

.mainContainer iframe {
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 0px;
  border: 0px;
}

.mainContainer h1 {
  font-size: 40px;
  font-weight: 100;
  margin-top: 5px;
  margin-bottom: 20px;
}

.mainContainer h2 {
  font-weight: 100;
  font-size: 24px;
  margin: 0px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.mainContainer .cols {
  display: flex;
  flex-direction: row;
  gap: 100px;
  margin-bottom: 20px;
}

.mainContainer ul {
  font-weight: 100;
  font-size: 1em;
  margin: 0px;
  margin-top: 0px;
  font-family: 'Source Sans 3', sans-serif;
  list-style-position: inside;
  position: relative;
  padding-left: 0px;
  letter-spacing: 0em;
}

.mainContainer p {
  font-size: 1em;
  font-weight: 100;
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: 0em;
  margin-top: 0px;
  margin-bottom: 10px;
}

.mainContainer .blockText {
  margin-bottom: 0px;
}

.mainContainer figure {
  margin: 0px;
  display: flex;
  flex-direction: column;
}

.mainContainer .blockImage {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
}

.mainContainer .blockVideo {}



.mainContainer figcaption {
  font-size: 12px;
  font-weight: 100;
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: 0em;
  opacity: 0.5;
  margin-top: 10px;
}


.mainContainer .blockGallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  /* Adjust the gap size as needed */
}

.mainContainer .galleryImage {
  width: 100%;
  position: relative;
  line-height: 0;
}

.mainContainer .galleryImage a {}

.mainContainer .galleryImage img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mainContainer ol {
  list-style-position: outside;
  padding-left: 30px;
  letter-spacing: 0em;
  padding: 0px;
  margin: 0px;
}

.cvEntry {
  display: flex;
  width: 100%;
  font-weight: 100;
  font-size: 1em;
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: 0em;
  margin-bottom: 20px;
}

.cvEntry .jobDate {
  display: flex;
  flex-direction: row;
  width: 120px;
  justify-content: space-between;
  margin-right: 30px;
}

.cvEntry .featDate {
  width: 32px;
  margin-right: 30px;
}

.cvEntry .jobFrom {
  width: 34px;
  text-align: left;
}

.cvEntry .jobTo {
  width: 34px;
  text-align: right;
}

.cvEntry .jobDescription {
  width: 100%;
}

.cvEntry .jobName {
  font-weight: 600;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.cvEntry .jobTitle {
  font-style: italic;
}

.cvEntry .jobText {
  opacity: 0.5;
}

.footer {
  display: flex;
  position: fixed;
  bottom: 0px;
  height: fit-content;
  width: 100%;
  justify-content: space-between;
  padding: 10px 40px 10px 34px;
  box-sizing: border-box;

}

.social {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.social img {
  width: auto;
  height: 30px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.social img:hover {
  opacity: 1;
}

.copyright {
  bottom: 30px;
  right: 40px;
  font-size: 12px;
  opacity: 0.5;
  font-weight: 100;
  align-self: center;
}


.loadContainer {
  /*
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    */
}

.loadingText {
  width: fit-content;
  /*
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: 50vh;
  */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 100;
  letter-spacing: 0.2em;
}

.logocont {
  position: absolute;
  display: flex;
  align-content: center;
  height: 100vh;
  width: 100vw;
}

.logo {
  position: absolute;
  width: 350px;
  /* margin: 0 auto 0 auto; */
  align-self: center;
  margin-left: calc(100vw / 2 - 175px);
  margin-bottom: 40px;
}


.noise {
  background: url("noise.jpg");
  mix-blend-mode: overlay;
  background-size: cover;
  position: absolute;
  display: flex;
  align-content: center;
  height: 100vh;
  width: 100vw;

}

.prjimg {
  display: none;
}

.header {
  position: fixed;
  top: 0px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 100;
  padding: 10px 40px 10px 40px;
  box-sizing: border-box;
}

nav {
  width: fit-content;
  font-size: 1em;
  font-weight: 100;

}

nav a {
  color: #FFFFFF !important;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 1;
  text-decoration: none;
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: 30px;
  padding-left: 0px;
}



.burger {
  display: none;
}


.contactButton {
  width: 90px;
  height: 40px;
  border: 1px solid #FFFFFF;
  padding: 10px 15px 10px 15px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;


}

.contactButton:hover {
  color: #141414 !important;
  background-color: white;
  text-decoration: none;
}

.nametag {
  font-size: 24px;
  font-weight: 900;
  position: fixed;
  top: 26px;
  left: 40px;
}

#sketch-holder {
  opacity: 0.5;
  transition: opacity 0.3s ease;
  margin-top: 6px;
  position: relative;
  left: -10px;
}

#sketch-holder:hover {
  opacity: 1;
}

#sketch-holder canvas {
  position: relative;

}

.about {
  width: 600px !important;
  gap: 0px !important;
}

:root {
  --mainWidth: 800px;
  --gapWidth: 20px;
  --colwidth: calc((800px - (20px * 2)) / 3);
}

.projects {
  display: grid;
  margin-left: auto;
  margin-right: auto;
  width: var(--mainWidth);
  gap: var(--gapWidth);
  grid-template-columns: repeat(auto-fill, minmax(var(--colwidth), 1fr));
  margin-top: 120px;
  margin-bottom: 120px;
}

.projectBox {
  width: 100%;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.projectBox img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.projectBox:hover {
  width: 100%;
  height: 100%;
  opacity: 0.3;
  transform: scale(0.9);
}

.navCircle {
  position: fixed;
  pointer-events: none;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#circle0 {
  z-index: 10;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
}

#bridge {
  z-index: 9;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
}

#circle1 {
  z-index: 8;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
}

#circle2 {
  z-index: 7;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
}

#nameCont {
  width: 0;
  height: 0;
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  top:0;
  z-index: 20;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

/*
.nameContInner {
  display: flex;
  flex-direction: row;
  width: fit-content;
  flex-grow: 0;
  justify-content: center;
  opacity: 0.2;
  transition: opacity 0.3s ease;
  align-self: center;
}

.nameContInner:hover {
  opacity: 1;
}
*/
.nameCont div {}

.prjCont {
  display: none;
  width: 400px;
  height: 400px;
  position: fixed;
  margin-left: -200px;
  margin-top: -200px;
  top: 50%;
  left: 50%;
  transform: scale(0);
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.5));
  transition: filter 0.3s ease, transform 1s ease;
  z-index: 2;
}

.prjCont:hover {
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
}

.prjCont .prjImg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  background-color: rgb(10, 10, 10);
  border-radius: 400px;
}

.prjCont:hover .prjImg {
  transform: scale(0.9);
}

.prjCont:hover .prjImg img {
  opacity: 0.2;
}

.prjCont .prjImg img {
  width: 100%;
  height: auto;
  border-radius: 400px;

  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.prjCont .prjInfo {
  width: inherit;
  height: inherit;
  position: absolute;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  gap: 80px;
  color: white !important;
  font-weight: 100;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 40px;
  box-sizing: border-box;
  z-index: 3;
}

.prjCont:hover .prjInfo {
  opacity: 1;
  transform: scale(0.9);
}

.prjCont .prjTitle {
  font-size: 2em;
}

.prjCont .prjDate,
.prjCont .prjType {
  font-size: 0.8em;
}

.prjCircle {
  width: inherit;
  height: inherit;
  border-radius: 400px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px white solid;
  transform: scale(0.8);
  position: fixed;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
}

.prjCont:hover .prjCircle {
  transform: scale(1.0);
  opacity: 0.3;
}

#cursorCircle {
  width: 0px;
  height: 0px;
  margin-left: 0px;
  margin-top: 0px;
  border-radius: 400px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px rgba(40, 40, 40, 1) solid;
  position: fixed;
  z-index: 1000;
  opacity: 1;
  transition: width 0.5s ease, height 0.5s ease, margin-left 0.5s ease, margin-top 0.5s ease;
  box-sizing: border-box;
  pointer-events: none;
  display: none;
}

#dragCircle {
  width: 0px;
  height: 0px;
  margin-left: 0px;
  margin-top: 0px;
  border-radius: 400px;
  background-color: rgba(0, 0, 0, 0);
  border: 1px rgba(40, 40, 40, 1) solid;
  position: fixed;
  z-index: 1000;
  opacity: 1;
  transition: width 0.5s ease, height 0.5s ease, margin-left 0.5s ease, margin-top 0.5s ease;
  box-sizing: border-box;
  pointer-events: none;
  display: none;
}

#dragCenterCircle {
  width: 0px;
  height: 0px;
  margin-left: 0px;
  margin-top: 0px;
  border-radius: 400px;
  background-color: rgba(40, 40, 40, 1);
  position: fixed;
  z-index: 1000;
  transition: width 0.5s ease, height 0.5s ease, margin-left 0.5s ease, margin-top 0.5s ease;
  box-sizing: border-box;
  pointer-events: none;
  display: none;
}

#dragIntCircle {
  width: 0px;
  height: 0px;
  margin-left: 0px;
  margin-top: 0px;
  border-radius: 400px;
  background-color: rgba(40, 40, 40, 1);
  position: fixed;
  z-index: 1000;
  transition: width 0.5s ease, height 0.5s ease, margin-left 0.5s ease, margin-top 0.5s ease;
  box-sizing: border-box;
  pointer-events: none;
  display: none;
}

#hoverCircle {
  width: 0px;
  height: 0px;
  display: block;
  background-color: white;
  border-radius: 100px;
  transition: width 0.3s ease, height 0.3s ease;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
  transition: width 0.5s ease, height 0.5s ease, margin-left 0.5s ease, margin-top 0.5s ease;
}


#navDirCircle {
  width: 0px;
  height: 0px;
  margin-left: 0px;
  margin-top: 0px;
  border-radius: 400px;
  background-color: rgba(20, 20, 20, 1);
  border: 1px rgba(40, 40, 40, 1) solid;
  position: fixed;
  z-index: 1000;
  opacity: 1;
  transition: width 0.5s ease, height 0.5s ease, margin-left 0.5s ease, margin-top 0.5s ease;
  box-sizing: border-box;
  pointer-events: none;
}

#navLines {
  width: 100%;
  height: 100%;
  position: fixed;
  pointer-events: none;
  z-index: 200;
}

#navLine,
#dragLine {
  stroke: rgba(40, 40, 40, 1);
  stroke-width: 1px;
  display: none;
}


.projectDetails {
  width: calc((var(--mainWidth) - (var(--gapWidth) * 2)) / 3);
  height: auto;
  aspect-ratio: 1 / 1;
  margin-top: calc(calc((var(--mainWidth) - (var(--gapWidth) * 2)) / 3) * -1);
  padding: 40px;
  box-sizing: border-box;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  font-weight: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projectTitle {
  font-size: 24px;
}

.projectDate,
.projectType {
  font-size: 12px;
}

.projectUrl:hover .projectDetails {
  opacity: 1 !important;
}

.projectUrl {
  color: white !important;
  text-decoration: none !important;
}

.projectUrl:hover {
  color: white !important;
  text-decoration: none !important;
}

.projectUrl:hover {
  color: white !important;
  text-decoration: none !important;
}

.projectBox {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: 4px;
}


.projectDesc {
  position: fixed;
  left: 40px;
  top: calc(50% - 250px);
  width: 250px;
}

.projectDescb {
  display: none;
}


.prjInfo {
  height: 380px;
}

.prjTitle h1 {
  font-size: 40px;
  font-weight: 100;
  margin-top: 5px;
}

.prjLine {
  width: 100%;
  border-bottom: 1px solid #FFFFFF;
  margin-top: 25px;
  margin-bottom: 30px;
}

.prjDesc {
  font-size: 1em;
  font-weight: 100;
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: 0em;

}

.prjData {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.prjNo {
  font-size: 1em;
  font-weight: 100;
  letter-spacing: 0em;
  margin-bottom: 0px;
}

.arrow {
  position: relative;
  border: solid white;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 5px;
}

.arrowline {
  position: relative;
  border: solid white;
  border-width: 0 0px 1px 0;
  display: inline-block;
  padding: 10px;
  top: -5px;
  left: -12px;
}

.arrowlineRight {
  position: relative;
  border: solid white;
  border-width: 0 0px 1px 0;
  display: inline-block;
  padding: 10px;
  top: -5px;
  left: 12px;
}

.backPrj,
.prevBut,
.nextBut {
  font-weight: 100;
  margin-bottom: 20px;
  font-size: 1em;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: fit-content;
}

.backPrj a,
.prevBut a,
.nextBut a {
  color: white !important;
  text-decoration: none;
}

.backPrj:hover,
.prevBut:hover {
  transform: translate(-5px);
  opacity: 1;
}

.nextBut:hover {
  transform: translate(5px);
  opacity: 1;
}

.prjNav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}



.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}





.fade-in {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fade-in.show {
  opacity: 1;
}


b {
  font-weight: 600;
}

.contactEntry {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}

.contactEntries {
  margin-top: 20px;
}

.contactType {
  width: 100px;
}

hr {
  width: 100%;
  border: 0px;
  border-bottom: 1px solid white;
  margin-bottom: 40px;
  margin-top: 40px;
}

@media only screen and (max-width: 1440px) {
  .projectDesc {
    position: relative;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    left: 0px;
    top: 100px;
    height: fit-content;
  }

  .prjTitle h1 {
    margin-bottom: 12px;
  }

  .prjLine {
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .prjDesc {
    display: flex;
    justify-content: space-between;

  }

  .prjInfo {
    height: fit-content;
  }

  .prjDesc div {
    width: fit-content;

  }

  .prjData {
    margin-top: 0px;
    flex-direction: column;
    gap: 0px;
    margin-left: 80px;
  }

  .prjText {
    width: 240px;
  }

  .prjText p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /*
  .prjData:last-child {
    text-align: right;
    flex-direction: row;
    gap: 10px;
  }
  */

  .mainContainer {
    margin-top: 120px;
    margin-bottom: 20px;
  }

  .header {
    background-image: url('../img/noise.gif');
    background-color: #171717;
  }

  .projectDescb {
    display: flex;
    margin-bottom: 60px;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .prjNav {
    width: 100%;
  }

  .projectDescb .prjNav {
    margin-top: 0px;
    width: 100%;
  }

}

@media only screen and (max-width: 1220px) {
  .footer {
    background-image: url('../img/noise.gif');
    background-color: #171717;
  }
}

@media only screen and (max-width: 900px) {
  .projectDesc {
    width: calc(100% - 80px);
    margin-left: 40px;
    margin-right: 40px;
    box-sizing: border-box;
  }

  .projectDescb {
    width: calc(100% - 80px);
    margin-left: 40px;
    margin-right: 40px;
  }

  .mainContainer {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    gap: 20px;
  }

  .mainContainer .blockImage {
    margin-bottom: 0px;
  }

  .mainContainer iframe {
    margin-bottom: 0px;
  }

  .about {
    width: 100% !important;
  }

  :root {
    --mainWidth: 100%;
    --gapWidth: 20px;
    --colwidth: calc((800px - (20px * 2)) / 3);
  }

  .projects {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    width: var(--mainWidth);
    gap: var(--gapWidth);
    grid-template-columns: repeat(auto-fill, minmax(calc((var(--mainWidth) - (var(--gapWidth) * 2)) / 3), 1fr));
    margin-top: 120px;
    margin-bottom: 120px;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }

  .projectContainer {
    background-color: white;
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .projectBox {
    width: 100%;
    height: fit-content;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .projectBox img {
    width: 100%;
    height: auto;
    border-radius: 4px 4px 0px 0px;
  }


  .projectBox:hover {
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: scale(1);
  }

  .projectDetails {
    width: 100%;
    aspect-ratio: revert;
    margin-top: 0px;
    padding: 5px 10px 10px 10px;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
    justify-content: start;
    pointer-events: none;
    opacity: 1;
    gap: 3px;
    color: #171717;
  }

  .projectTitle {
    font-size: 1.2em;
  }

  .projectDate {
    order: 3;
  }


}

@media only screen and (max-width: 800px) {
  .prjDesc {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .prjText {
    margin-bottom: 20px;
    width: 100% !important;
  }

  .prjData {
    margin-left: 0px;
    margin-right: 80px;
  }

  .mainContainer img {
    border-radius: 0;
  }

  .projects {
    grid-template-columns: repeat(auto-fill, minmax(calc((var(--mainWidth) - (var(--gapWidth) * 2)) / 2), 1fr));
  }


}

@media only screen and (max-width: 620px) {
  .cvEntry .jobName {
    flex-direction: column;
    gap: 0px;
  }

  .cvEntry .jobSepa {
    display: none;
  }
}

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

  .projects {
    grid-template-columns: repeat(auto-fill, minmax(calc((var(--mainWidth) - (var(--gapWidth) * 2)) / 1), 1fr));
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .prjDesc {
    flex-direction: column;
    width: 100%;
  }

  .prjDesc div {
    width: fit-content;
    flex-direction: row;
    gap: 20px;
  }

  nav ul {
    gap: 15px;
  }

  .header,
  .footer {
    padding: 10px 20px 10px 20px;
  }

  .projectDesc {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
  }

  .mainContainer {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .mainContainer .cols {
    flex-direction: column;
    gap: 20px;
  }

  .prjData div:first-child {
    width: 40px;
  }


}

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

  .about p {
    padding: 0px !important;
  }



  #sketch-holder {
    margin-top: 6px;
  }



  .contactButton {
    padding: 8px 10px 8px 10px;
    margin-right: -4px;
  }

  .header {
    padding: 5px 20px 5px 20px;
  }

  .footer {
    padding: 5px 20px 5px 10px;
  }

  .mainContainer {
    width: 100%;
    padding: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
  }

  .mainContainer p {
    padding: 20px;
  }

  .mainContainer img {
    border-radius: 0;
  }

  .easyzoom-flyout {
    border-radius: 0px !important;
  }

  .projectDescb {
    margin-bottom: 60px;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
  }

  .about {
    width: calc(100% - 40px) !important;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 60px !important;
  }
}
