/*////////////////*/
/* Landing Section */
/*////////////////*/

.landing-section {
  max-width: 1440px;
  width: 100%;
  height: calc(100vh);
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.landing-header {
  display: flex;
  align-items: center;
  margin-top: 5rem;
  margin-bottom: 1rem;
  position: relative;
}

.home-big-name {
  /* font-size: 13vw; */
  /* font-weight: 700; */
  /* padding-top: 1rem; */
  max-width: 1440px;
  width: 75%;
  /* height: 46vh; */
  height: max-content;
  pointer-events: none;
  position: relative;
  /* margin: 2rem 0rem; */
  /* margin-top: 5rem; */
}

.home-big-name-solid {
  top: 0;
  left: 0;
  width: 100%;
}

.home-big-name-outline {
  position: absolute;
  top: 0;
  opacity: 1;
  left: 0;
  width: 100%;
  transition: top 0.4s ease;
}

.landing-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 6rem;
  margin-top: 1rem;
}

.landing-about {
  width: 50%;
  white-space: nowrap;
  cursor: default;
  line-height: 1.5rem;
}

.landing-about-text {
  width: 50%;
}

.landing-scroll-button {
  width: 50%;
}

/*////////////////*/
/* Portfolio Section */
/*////////////////*/

.sp-section {
  max-width: 1440px;
  width: 100%;
  padding: 10rem 0rem;
}

.sp-header {
  font-size: 4rem;
  overflow: hidden;
  pointer-events: none;
}

.sp-title {
  font-weight: 300;
  opacity: 1;
  font-family: "Major Mono Display", monospace;
  /* font-family: "Doto", sans-serif; */
}

.sp-row {
  display: flex;
  flex-direction: row;
  margin: 3rem 0rem;
  width: 100%;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 7rem;
}

.sp-card-large {
  width: 55%;
}

.sp-card-small {
  width: 45%;
}

.sp-card-image-container {
  overflow: hidden;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.5rem;
}

.sp-card-image {
  transition: transform 0.5s ease;
  display: block;
  width: 100%;
  transform: scale(1);
  height: auto;
}

.sp-card-image:hover {
  transform: scale(1.05); /* Slight zoom in */
}

.sp-caption {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  pointer-events: none;
  padding: 0rem 0rem;
}

.sp-caption-left,
.sp-caption-right {
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
}

.sp-caption-right {
  font-weight: 200;
  opacity: 0.8;
}

.projects-button {
  width: 50%;
  margin-top: -2rem;
}

/*////////////////*/
/* About Section */
/*////////////////*/

.about-section {
  max-width: 1440px;
  width: 100%;
  padding: 10rem 0rem;
}

.about-row {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.about-title {
  width: 25%;
  pointer-events: none;
  display: flex;
  gap: 0.5rem;
}

.about-desc {
  width: 75%;
  font-weight: 300;
  pointer-events: none;
}

.about-desc-text {
  font-size: 3vw;
  /* font-family: "Major Mono Display", monospace; */
  font-weight: 200;
}

.about-button {
  margin-top: 5rem;
  padding-left: 25%;
}

/* about text */

.about-desc-text {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-desc-text.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-icon {
  height: 1em;
  vertical-align: middle;
  display: inline-block;
  width: auto;
}

/*////////////////*/
/* Pixel Section */
/*////////////////*/
.grid-container {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-wrapper {
  aspect-ratio: 2 / 3;
  max-width: 1440px;
  width: 75%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 5px;
  /* padding: 0rem 2rem; */
  margin-top: 5rem;
  position: relative;
}

.pixel {
  background-color: #292929;
  border-radius: 0px;

  transition: background-color 0.5s ease-out;
}

.pixel.on {
  background-color: rgb(255, 255, 255);
}

.pixel:hover {
  background-color: rgb(255, 255, 255);
  transition: background-color 0.5s ease;
}

/*////////////////*/
/* Pixel Section */
/*////////////////*/

.home-circle-container {
  width: calc(25%);
  padding: 2vw;
  position: relative;
  z-index: 5;
}

.home-circle-under{
  padding-top: 100%; /* Makes it a square based on width */
  background-color: rgb(255, 0, 0);
  border-radius: 50%;
  position: absolute;
  overflow: hidden;
}

.home-circle {
  padding-top: 100%; /* Makes it a square based on width */
  background-color: white;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.home-circle:hover{
  opacity: .9;
  cursor: pointer;
}

.home-circle:active .pupil {
  background-color: transparent;
  color: black;
}

.home-circle-eyes {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    transform: translate(-50%, -50%);
}

.eye-l,
.eye-r {
  width: 50%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.eye-l::before,
.eye-r::before {
  content: "";
  position: absolute;
  width: 40%;
  height: 40%;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  top: 30%;
  left: 30%;
  transition: all 0.05s linear;
}

.pupil {
    width: 40%;
    height: 40%;
    background-color: black;
    border-radius: 50%;
    position: absolute;
    top: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    color: transparent;
    font-size: 5vw;
    left: 30%;
    transition: transform 0.05s linear;
    pointer-events: none;
  
}

.circle-under-container{
      width: calc(25% - 0vw);
    aspect-ratio: 1 / 1;
    position: absolute;
    
    border-radius: 50%;
    /* height: 200px; */
    left: 75%;
    padding: 2vw;
}

.circle-under{
  
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    /* background-color: red; */
    border: 3px solid #ffffff;
    box-sizing: border-box;
}

@media (max-width: 860px) {

  .circle-under-container{
    display: none;
  }

  .landing-header{
    flex-direction: column-reverse;
  }
  .home-big-name {
    width: 100%;
  }

  .grid-container {
    display: none;
  }

  .landing-section {
    height: unset;
  }

  .sp-title {
    font-size: 15vw;
  }
  .sp-row {
    flex-direction: column;
    gap: 3rem;
  }

  .sp-card-large {
    width: 100%;
  }

  .sp-card-small {
    width: 100%;
  }

  .landing-row {
    flex-direction: column;
    gap: 2rem;
    margin-top: 5rem;
  }

  .landing-about {
    font-size: 3.8vw;
    line-height: unset;
  }

  .about-button {
    padding-left: 0;
  }

  .about-row {
    flex-direction: column;
    gap: 2rem;
  }
  .about-desc {
    width: 100%;
  }
  .about-desc-text {
    font-size: 1.8rem;
  }
}

@media (min-width: 1440px) {
  .about-desc-text {
    font-size: 2.8rem;
  }
}
