@font-face {font-family: mori; src: url(./assets/fonts/PPMori-Regular.otf)}

@font-face {font-family: dMono; src: url(./assets/fonts/DejaVuSansMono.ttf)}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main {
  overflow: hidden;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  /* background: linear-gradient(to right, white 50%, black 50%); */
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  background-color: #fff;
  /* color: #d8fff7; */
  -webkit-font-smoothing: antialiased;
  font-family: 'mori', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p {
  font-weight: normal;
  line-height: 1.2;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  appearance: none;
}

button {
  cursor: pointer;
}

.box {
  width: 50px;
  height: 50px;
  background-color: #000;
  opacity: 0;
  transform: scale(0.1);
}


@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* resets done */
#imageWrapper {
  position: relative;
  width: 68vw;
  height: 80vh;
}

.half {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.half:hover img {
  transform: scale(1.05);
}

.top {
  clip-path: polygon(0 100%, 100% 0, 100% 0, 0 0);
  z-index: 2;
}

.bottom {
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

/* nav button */
.back {
  display: flex;
  width: 100%;
   position: absolute;
}

.back a {
     z-index: 10;
}

.left {
    justify-content: flex-start;

}
.right {
      justify-content: flex-end;
         color: #ffffff;


}
/* design??? */

.center {
  display: flex;
  height: 100vh;
  width: 100%;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.big {
  grid-column: span 2; 
}

.designHead {
    font-size: 7em;
  }

.designContainer {
  height: 100vh;
  width: 80vw;
  overflow: hidden;
  margin: auto;
  display: grid;
  align-items: center;
}

#design {
  height: 80vh;
}

.portfolioBox {
  display: flex;
  height: 100vh;
  align-content: center;
  flex-wrap: wrap;
  overflow: hidden;
}

.stripe {
  height: 58vh;
  width: 200%;
  background-color: #000;
  transform: rotate(345deg) scaleX(2);
  transform-origin: center;
  /* z-index: -1; */
}

.designContainer {
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
}

.portfolioGrid {
  display: flex;
  justify-content: center;
  gap: 1px;
  transform: translateX(200px) translateY(-120px);  
}


.portfolioGrid img {
  transform: rotate(8deg); 
  width: 40px;
  height: 440px;
  object-fit: cover;
  cursor: pointer!important;
}

/* about me */

.search {
  font-size: .7em;
}
.aboutText > span {
  cursor: pointer;
}

.aboutHead {
  font-size: 75pt;
}

#stripe {
position: absolute;
}

.aboutLeft {
  width: 40vw;
}

.aboutHead {
  margin: .75em .5em;
}

.aboutText {
  margin: 2em;
}

.aboutRight {
  width: 60vw;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1em;
}

.aboutItem {
  padding: 1em 3em;
  width: 54vw;
  font-family: dmono, sans-serif;
  font-size: 1.1em;
}

.aboutItem > h4 {
  color: #ffffff7c;
  margin: .5em 0 .5em 0;
  font-size: 1.2em;
}

.aboutItem > h3 {
  font-size: 1.5em;
}

#aboutHeadline {
  margin-bottom: 1.5em;
}

li > p {
  margin-bottom: 1em;
}

ul {
  margin-left: 3em;
  list-style-type: disclosure-closed;
}

.aboutText > a {
  border-radius: 30px;
  color: #000000;
  background: #ffffff;
  padding: 12px 17px;
  margin-top: 16px; 
  display: inline-block;
    font-size: 15pt;
}

.aboutText {
  font-family: 'dmono', sans-serif;
  font-size: 2em;
}

.center,
.about {
  height: 100vh;
}


/* Define a transition duration during page visits */ 
html.is-changing .transition-fade {   
  transition: opacity 0.25s;   opacity: 1; 

} /* Define the styles for the unloaded pages */ 
html.is-animating .transition-fade {   
  opacity: 0; 
}

/* new attempt */

/* nav */
#sticky {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 1rem;
  z-index: 1000;
}

#sticky a {
  color: white;
  text-decoration: none;
  font-size: .8rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

#sticky a:hover {
  transform: scale(1.2);
  color: #ffffff;
}
/* post-nav */
.name {
  display: flex;
  inset: 0;
  position: absolute;
  justify-content: space-between;
  align-items: center;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  user-select: none;
  background: transparent;
}

#rint {
  color: rgb(0, 0, 0);
  min-width: 300px;
}
#endo {
  color: rgb(255, 255, 255);
}

#endo h3, #rint h3 {
    mix-blend-mode: difference;

}

.content {
  position: relative;
  height: 100vh;
  width: 100%;
  background-color: #fff;
}

.myName { 
min-width: fit-content;

}

.myName h3 {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  font-size: 98pt;
}



.blackbox {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 3280px;
  height: 1620px;
  background-color: black;
  transform: scaleX(3);
}


.panel.topper { 
  position: relative; 
  overflow: hidden;
}

.on-black {
 color: white !important;
}

.introContent {
  color: #fff;
  position: absolute;
  top: 37%;
  left: 23%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 24px;
  mix-blend-mode: difference;
}

.introContent h2 {
    font-size: 50px;
}

.introContent h2 {
    font-size: 43px;
}


.sideContent {
  color: #fff;
  position: absolute;
  top: 55%;
  right: 15%;
  transform: translate(20%, -50%);
  z-index: 2;
  font-size: 24px;
  text-align: right;
  mix-blend-mode: difference;

}

.sideContent h2 {
    font-size: 45px;
}

.introContent h2 {
    font-size: 50px;
}

.introContent h2 {
    font-size: 43px;
}


.introContent > a {
  border-radius: 30px;
  color: #000;
  background: #fff;
  padding: 12px 17px 12px 17px;
}

.sideContent > a {
  border-radius: 30px;
  color: #000000;
  background: #ffffff;
  padding: 12px 17px 12px 17px;
}

.scrollInfo {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
  width: 6em;
  height: 5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: dmono, sans-serif;
}

#transitionParent {
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, 50px);
  grid-template-rows: repeat(auto-fit, 50px);
  grid-auto-flow: column;
  /* gap: 1px; */
  z-index: 9999;
  overflow: hidden;
}


/* code page */

.techContainer {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.codeSite {
  color: #fff;
  background-color: #000;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
}

.contentbox {
  border: 3px solid rgb(255, 255, 255);
  height: 85vh;
  width: 90vw;
  margin: auto;
  display: flex;
}
#scrollbox {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  text-align: right;
  height: 90%;
  width: 60%;
  margin-left: auto;
  position: absolute;
  right: 8em;
  top: 6em;
}

.headline {
  margin-top: 1.6em;
}

.projectItem {
margin-bottom: 2em;
}

#scrollbox > h3 {
  font-size: 3em;
}

.itemName {
    display: flex;
    align-items: center;
    justify-content: flex-end;

}

.itemName > iconify-icon {
  font-size: 1em;
  color: #1dbb0f;
  margin-top: 1px;
  margin-right: 1px;
}

.techContainer > div:nth-child(3) > h1 {
  font-size: 3em;
}

.commented {
  color: #818181;
  font-size: 1em;
}

.infotext {
  font-size: 1.5em;
}

.languages {
  width: 76%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.languages > span {
  position: relative;
  display: inline-flex;
  justify-content: center;
  cursor: pointer;
}

.languages iconify-icon {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.languages > span:hover iconify-icon {
  transform: scale(1.15);

}

.languages > span > p {
  position: absolute;
  bottom: 121%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: #00000086;
  color: #d5dada;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;

}

.languages > span:hover > p {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}


/* test chart */

#myChart {
height: 25vw!important;
}

iconify-icon {
font-size: 3em;
margin: 1%;
}

.preview,
.dots {
  display: inline;
  margin: 0;
  cursor: pointer;
  opacity: 0.66;
  transition: opacity 0.2s ease;
}

#scrollbox .projectItem:hover .preview,
#scrollbox .projectItem:focus-within .preview {
  opacity: 1;
}

.previewText {
  display: inline;
  white-space: nowrap; 
}

#shapeContainer {
  
  position: absolute;
  /* display: flex; */
  transform: rotate(35deg);
  left: -18%;
  bottom: 20vh;
}

#hex1 {
  position: absolute;
  left: 20em;
}
#hex2{
  position: relative;
  left: 35em;
}
.st0 {
  position: absolute;
  z-index: 999;
}



.testSection {
  /* background-color: #000000; */
  height: 100vh;
  width: 100vw;
  z-index: -1;
}

#background {
  height: 100vh;
  width: 100vw;
  position: absolute;
  /* background-color: #000000; */
  z-index: -1!important;

}

.particles {
    min-height: 100vh;
  position: relative;
  overflow: hidden;
  width: 100%;
  position: absolute;
  color: #fff;
  display: flex;
}

.profileText > h3 {
  margin: 3px;
  margin-top: 1em;
}

.playerCard {
  width: 27vw;
  height: 35vh;
  border-radius: 1.3pc;
  background-color: #54515c;
  background-image: url(/assets/header.webp);
  background-size: cover;        
  background-position: top;   
  background-repeat: no-repeat;  
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  justify-content: center;
  color: rgb(61, 209, 202);
  font-size: 12pt;

}

.profileWrapper {
  display: flex;
  justify-content: space-between;
  justify-content: flex-end;
  height: 17vh;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  position: absolute;
  background-color: #8c929742;
  backdrop-filter: blur(3px);
  border-bottom-left-radius: 1.3pc;
  border-bottom-right-radius: 1.3pc;
}

.profileText {
  width: 80%;
  text-align: right;
  margin-right: .5em;
}

.profileText > p {
    display: flex;
    align-items: center;
    justify-content: flex-end;}

.links {
  display: flex;
  align-items: flex-end;
  margin-left: .5em;
  font-size: .7em;  
  width: 50%;
}

.links > span {
  display: flex;
  margin: .6em;
}

span:nth-child(1) > a > iconify-icon {
  font-size: 31pt;
}

span:nth-child(2) > a > iconify-icon, span:nth-child(3) > a > iconify-icon {
  margin-bottom: 5px;
}

.profileWrapper {
  display: flex;
}

#pfp {
  height: 8em;
  width: 8em;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 1.3em;
  z-index: 99;

  background-image: url(/assets/face.png);
  background-size: cover;        
  background-position: top;   
  background-repeat: no-repeat;  
}

.mainContainer {
  height: 100vh;
  overflow-y: auto;      
  position: relative;   
  background-color: #000000;
}

.blue {
  position: sticky;
  top: 0;           
  z-index: 2;          
  height: 100vh;
  width: 100%;
  background-color: rgb(255, 255, 255);
}

.purple {
  position: relative;
  z-index: 1;          
  height: 100vh;
  width: 100%;
  background-color: #000000;

}

.popover {
  position: fixed;
  top: 50%;
  left: calc(100vw / 6);
  transform: translateY(-50%);

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: .5rem;
  padding: 1rem;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
}


.popUp.is-open .popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.shape1 {
  mix-blend-mode: difference;
  position: absolute;
  bottom: -12em;
  left: -15em;

  z-index: 1;
  transform: scale(0.9);
}

.shape2 {
  mix-blend-mode: difference;
  position: absolute;
  top: -12em;
  right: -10em;

  z-index: 1;
  transform: scale(0.88);
}

.shape1 polygon, .shape2 polygon {
  fill: #ffffff;
}



.panel {
  width: 100vw;
  height: 100vh;
  position: relative;
  z-index: 1;
}

.topper {
  background-color: white;
}

.contentWrapper2 {
  width: 100vw;
  height: 100vh;

}

.aboutMe {
  color: white;
}

#background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  top: 0;
  left: 0;
}


/* shite */

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

#cvFlyout {
  position: absolute;
  top: 100%;
  left: 0;
  background: #383a3a4d;
  font-size: 0.8em;
  border-radius: 6px;
  padding: 6px;
  margin-top: 8px;
  display: flex;
  gap: 4px;
  z-index: 100;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}


.downloadButton:hover #cvFlyout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


#cvFlyout a {
  color: #fff;
  padding: 6px 10px;
  text-decoration: none;
  transition: background 0.2s ease;
  border-radius: 4px;
  white-space: nowrap;
}

#cvFlyout a:hover {
  background: #d5dada;
  color: #000;
}


#about > div > div > div.aboutLeft > h2.aboutText > div > a {
  border-radius: 30px;
  color: #000000;
  background: #ffffff;
  padding: 12px 17px;
  margin-top: 16px;
  display: inline-block;
  font-size: .9em;
  cursor: pointer;
}

.scrollInfo iconify-icon {
  display: inline-block;
  animation: bounce 1s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px);  }
}
