/* Pictures */
#about {
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  box-sizing: border-box;
  background: linear-gradient(to bottom,#344f5c 0%,#263b4a 35%,#18323a 65%,#030a12 100%);
}

#about h1 {
  position: relative;
  color: #9edff0;
  font-size: 3.5rem;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(110,210,235,0.45),0 0 25px rgba(60,160,190,0.25);
  text-align: center;
}
#about h1::after {
  content: "✦";
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  font-size: 1rem;
  color: #72c9dc;
  text-shadow: 0 0 10px rgba(100,210,235,0.8);
}

#about p {
  color: #c7e6eb;
  text-shadow: 0 0 6px rgba(100,200,220,0.18);
}

.about-gallery {
  position: absolute;
  width: 50vw;
  height: 55vh;
  left: 70%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.about-gallery img {
  position: absolute;
  border: 1px solid rgba(130,210,225,0.55);
  object-fit: cover;
  box-sizing: border-box;
}

/* Austins */
.about-gallery img:nth-child(1) {
  width: 19vw;
  height: 39vh;
  left: 4vh;
  top: 0;
  z-index: 1;
}
/* Stars */
.about-gallery img:nth-child(2) {
  width: 27vw;
  height: 26vh;
  left: 21.5vw;
  top: 0;
  z-index: 2;
}
/* Me guitar*/
.about-gallery img:nth-child(3) {
  width: 11vw;
  height: 12.5vh;
  left: 37.5vw;
  top: 26.5vh;
  z-index: 3;
}
.about-gallery img:nth-child(4) {
  width: 15.8vw;
  height: 12.5vh;
  left: 21.5vw;
  top: 26.5vh;
  z-index: 4;
}
/* github graph */

/* GitHub Graph */
.github-graph {
  --gh-bg-color: rgba(5,18,30,0.88);
  --gh-text-default-color: #b9e3eb;
  --gh-text-inactive-color: rgba(190,220,228,0.45);
  --gh-link-hover-color: #72c9dc;
  --gh-cell-level0-color: #071521;
  --gh-cell-level1-color: #10303d;
  --gh-cell-level2-color: #185061;
  --gh-cell-level3-color: #28758a;
  --gh-cell-level4-color: #54b5ca;
  --gh-cell-size: 8px;
  --gh-cell-gap: 3px;
  --gh-cell-radius: 3px;
  --gh-cell-border-color: rgba(130,210,225,0.08);
  --gh-cell-outline-color: rgba(130,210,225,0.15);
  --gh-border-card-color: rgba(130,210,225,0.15);
  --gh-border-card-width: 1px;
  --gh-card-padding: 10px;
  --gh-card-padding-block: 10px;
  --gh-card-radius: 0px;
  --gh-tooltip-text-color: #72c9dc;
  --gh-tooltip-padding: 8px;
  --gh-tooltip-radius: 6px;
  --gh-tooltip-font-size: 12px;
}

.about-gallery .github-graph {
  position: absolute;
  width: 46.2vw;
  left: 2.3vw;
  top: 39.5vh;
  z-index: 5;
  border-radius: 15px;
  opacity: 0.9;
}

.graduation-pic {
  display: block;
  width: 200px;
  height: 260px;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 2px solid rgba(110,200,220,0.6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(50,170,200,0.2);
  filter: brightness(0.9);
}

/* Smaller screen */
@media (max-width: 1300px) {
  #about {
    min-height: 100vh;
    height: auto;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
  }
  .about-text {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 90%;
    z-index: 4;
  }
  .about-gallery {
    position: relative;
    width: 90%;
    height: 55vh;
    left: auto;
    top: auto;
    transform: none;
    z-index: 1;
  }
}

/* Underwater Light Rays */

.about-light-rays {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.light-ray {
	position: absolute;
	top: -15%;
	height: 100%;
	background: linear-gradient(to bottom,rgba(180,235,245,0.5),rgba(100,200,220,0.15) 45%,transparent 100%);
	transform-origin: top center;
	transform: rotate(var(--ray-angle)) translateX(0);
	animation: light-ray-drift ease-in-out infinite alternate;
}

@keyframes light-ray-drift {
	0% {
		transform: rotate(calc(var(--ray-angle) - 2deg)) translateX(-3vw);
	}
	50% {
		transform: rotate(var(--ray-angle)) translateX(0);
	}
	100% {
		transform: rotate(calc(var(--ray-angle) + 2deg)) translateX(3vw);
	}
}