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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  background-image: url(../stars.jpg);
  background-color: rgb(0, 1, 42);
  background-size: cover;
  color: ghostwhite;
}

/*====== HEADER BAR ====*/
header {
  position: fixed;
  display: flex;
  top: 0;
  margin: 0;
  width: 100vw;
  align-items: center;
  background-color: black;
  color: ghostwhite;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 20px;
  z-index: 99;
}

header .lbox p {
  font-size: 1.5em;
  padding: 4px 0px;
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0.1em;
  text-shadow: 0px 0px 2px ghostwhite;
}

.lbox {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 16px;
  gap: 8px;
  border: 2px solid ghostwhite;
  border-radius: 30px 0px 30px 0px;
  box-shadow: inset 0px 0px 8px ghostwhite;
}

.starwrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.starglow {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  z-index: 2;
  animation: spulse 2.5s ease-in-out infinite;
}

@keyframes spulse {
  0%, 100% {
    box-shadow: 0 0 21px 9px ghostwhite;
  }
  50% {
    box-shadow: 0 0 21px 11px ghostwhite;
  }
}
.star {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: radial-gradient(rgb(219, 244, 255) 2%, ghostwhite 10%);
  clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
}

.title {
  align-self: center;
  text-align: center;
  font-family: "Unbounded", sans-serif;
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: ghostwhite;
}

nav {
  padding-right: 15px;
  display: flex;
  gap: 18px;
}

nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-family: "Unbounded", sans-serif;
  color: rgba(248, 248, 255, 0.5);
  font-size: 0.8rem;
  position: relative;
  text-align: center;
  gap: 6px;
  padding: 6px;
  border: 2px solid transparent;
  transition: all ease 0.2s;
}

nav a span {
  transition: text-shadow 0.4s ease;
  line-height: 1;
}

nav a:hover {
  box-shadow: inset 0px 0px 10px ghostwhite;
  border-radius: 15px 0px 15px 0px;
  border: 2px solid ghostwhite;
  color: ghostwhite;
}

nav a:hover span {
  -webkit-text-stroke: 1px ghostwhite;
  color: black;
  text-shadow: 0 0 8px ghostwhite, 0 0 20px ghostwhite;
}

nav a:active {
  box-shadow: 0px 0px 10px ghostwhite;
  background-color: ghostwhite;
  color: black;
}

nav a:active span {
  -webkit-text-stroke: 1px black;
  color: ghostwhite;
  text-shadow: 0 0 8px black, 0 0 20px black;
}

main {
  padding-top: 60px;
  width: 95vw;
  justify-self: center;
}

/* ========== HERO ========= */
.hero {
  margin: 5vh;
  display: flex;
  flex-flow: row wrap;
  align-items: left;
  justify-content: left;
  text-align: center;
  gap: 40px;
}

/* ======== Left side ========== */
.left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(rgba(0, 0, 0, 0.5) 70%, transparent);
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5);
  padding: 40px;
}

.eyebrow {
  margin-bottom: 20px;
  background-color: black;
  padding: 6px;
  font-family: "Unbounded", sans-serif;
  font-size: 0.65rem;
  font-weight: lighter;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: ghostwhite;
  z-index: 5;
}

/* Rotating nebula */
.nebula {
  position: relative;
  width: 256px;
  height: 255px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(black 30%, transparent 65%, ghostwhite);
  border: 1px solid ghostwhite;
  border-radius: 138px 2px 138px 2px;
  box-shadow: inset 0 0 20px ghostwhite, 0 0 60px black;
  animation: Nrotate 18s linear infinite;
}

/* Counter-rotate the content so text stays upright */
.nebula-sphere {
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url(../portfolio/me.png);
  background-size: cover;
  background-position: center 20%;
  height: 250px;
  width: 250px;
  border: 2px solid ghostwhite;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-radius: 200px;
  animation: Nrotate 18s linear infinite reverse;
}

@keyframes Nrotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.name {
  margin-top: 10px;
  font-family: "Iceberg", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: ghostwhite;
  text-shadow: 0 0 10px ghostwhite;
  background: radial-gradient(rgba(0, 0, 0, 0.5), transparent);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
  line-height: 1;
  z-index: 5;
}

.info {
  z-index: 5;
}

.job {
  margin: 20px;
  padding: 6px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
  font-weight: 200;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  background-color: black;
  color: ghostwhite;
}

.tagline {
  font-family: "Tinos", serif;
  font-style: italic;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: ghostwhite;
  margin-top: 0.25rem;
}

/*=========== Center div ===========*/
.separator {
  position: relative;
  height: 80vh;
  width: 2px;
  background: linear-gradient(transparent, ghostwhite, transparent);
  box-shadow: 0px 0px 8px ghostwhite;
}

.dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: radial-gradient(ghostwhite, rgba(0, 0, 0, 0.5), ghostwhite);
  border-radius: 50%;
  border: 2px solid ghostwhite;
  box-shadow: 0px 0px 8px ghostwhite;
  z-index: 2;
}

/* ========== Right Side =============*/
.right {
  margin-top: 30px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
  background: radial-gradient(rgba(0, 0, 0, 0.5) 70%, transparent);
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5);
}

.work-header {
  font-size: 1rem;
  font-family: "Unbounded", sans-serif;
  font-weight: bold;
  padding: 6px;
  max-width: 600px;
  letter-spacing: 0.35em;
  background-color: black;
  text-transform: uppercase;
  color: ghostwhite;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: start;
  text-decoration: none;
  color: ghostwhite;
  border: 2px solid rgba(248, 248, 255, 0.5);
  border-radius: 50px 0px 50px 0px;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0px 0px 8px rgba(248, 248, 255, 0.5);
  box-shadow: 0px 0px 8px rgba(248, 248, 255, 0.5);
}
.card:hover {
  box-shadow: 0px 0px 14px ghostwhite;
  border: 2px solid transparent;
  transform: translateX(2px) translateY(-2px);
}
.card:hover .card-label span {
  color: black;
  -webkit-text-stroke: 1px ghostwhite;
}
.card:active {
  background-color: rgba(248, 248, 255, 0.5);
  color: black;
  border-color: ghostwhite;
  box-shadow: 0px 0px 8px ghostwhite;
}
.card:active .card-label, .card:active .card-name, .card:active .card-desc {
  color: black;
}
.card:active .card-label span {
  color: ghostwhite;
  -webkit-text-stroke: 1px black;
  text-shadow: 6px black;
}

.card .card-txt {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: start;
  padding: 1.5rem 1.75rem;
  flex: 1;
  min-width: 0;
  max-width: 650px;
}

.card img {
  height: 6rem;
  border: 2px solid ghostwhite;
  box-shadow: 0px 0px 2px ghostwhite;
  margin: 20px 20px;
  border-radius: 20px 0px 20px 0px;
}

@media (max-width: 1090px) {
  .card {
    flex-flow: column nowrap;
  }
  .card img {
    margin: auto;
    margin-bottom: 20px;
  }
}
.card p:not(:first-of-type) {
  padding-left: 20px;
  text-align: left;
}

.card .card-label {
  font-size: 0.8rem;
  font-weight: bolder;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: ghostwhite;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.card .card-name {
  font-family: "Iceberg", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: ghostwhite;
}

.card .card-desc {
  font-family: "Tinos", serif;
  font-style: italic;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.section-div {
  position: relative;
  align-self: center;
  justify-self: center;
  height: 2px;
  width: 90vw;
  background: radial-gradient(transparent, ghostwhite, transparent);
  box-shadow: 0px 0px 8px ghostwhite;
  margin-top: 10px;
}

/*==== Labs & Experiments =====*/
.labs {
  margin: 6vh;
}

.section-heading {
  font-size: 1rem;
  font-family: "Unbounded", sans-serif;
  font-weight: bold;
  padding: 6px;
  letter-spacing: 0.35em;
  background-color: black;
  text-transform: uppercase;
  color: ghostwhite;
  display: flex;
  max-width: 600px;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lab-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: ghostwhite;
  border: 2px solid rgba(248, 248, 255, 0.5);
  border-radius: 30px 0px 30px 0px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 8px rgba(248, 248, 255, 0.5);
  transition: all 0.2s ease;
  gap: 0.4rem;
}
.lab-card:hover {
  box-shadow: 0px 0px 14px ghostwhite;
  border-color: ghostwhite;
  transform: translateX(2px) translateY(-2px);
}
.lab-card:active {
  background-color: rgba(248, 248, 255, 0.5);
  border-color: ghostwhite;
}
.lab-card:active .lab-label, .lab-card:active .lab-name, .lab-card:active .lab-desc {
  color: black;
}

.lab-label {
  font-family: "Unbounded", sans-serif;
  font-size: 0.8rem;
  font-weight: bolder;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: ghostwhite;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lab-name {
  font-family: "Iceberg", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: ghostwhite;
}

.lab-card:hover .lab-label span {
  -webkit-text-stroke: 1px ghostwhite;
  color: black;
  text-shadow: 0 0 8px ghostwhite, 0 0 20px ghostwhite;
}

.lab-card:active .lab-label span {
  color: ghostwhite;
  -webkit-text-stroke: 1px black;
  text-shadow: 6px black;
}

.lab-desc {
  font-family: "Tinos", serif;
  font-style: italic;
  color: ghostwhite;
  margin-top: 0.35rem;
  line-height: 1.4;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 6px;
  border-radius: 15px 0px 15px 0px;
}

.lab-card:active .lab-desc {
  background-color: rgba(248, 248, 255, 0.5);
  color: black;
}

/*===== ABOUT =========*/
.about {
  margin: 6vh;
}

.about-inner {
  display: flex;
  flex-flow: column;
  gap: 3rem;
  align-items: start;
}

.about-bio {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: radial-gradient(rgba(0, 0, 0, 0.5) 70%, transparent);
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5);
  padding: 2rem;
}
.about-bio p {
  font-family: "Tinos", serif;
  font-size: 1rem;
  line-height: 1.75;
  color: ghostwhite;
}

.about-skills {
  width: 100%;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: radial-gradient(rgba(0, 0, 0, 0.5) 70%, transparent);
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5);
  padding: 2rem;
}

.skills-heading {
  display: flex;
  align-self: center;
  justify-content: center;
  width: 400px;
  font-family: "Unbounded", sans-serif;
  font-size: 0.65rem;
  font-weight: lighter;
  text-align: center;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: ghostwhite;
  background-color: black;
  padding: 6px;
}

.skills-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.skills-list ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.skills-list li {
  font-family: "Tinos", serif;
  font-size: 0.9rem;
  color: ghostwhite;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 6rem;
}
.skills-list li span {
  font-size: 0.6rem;
  color: ghostwhite;
  transition: text-shadow 0.4s ease;
  text-shadow: 0 0 8px ghostwhite, 0 0 20px ghostwhite;
}

/*====FOOTER====*/
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 4vh;
  border-top: 2px solid ghostwhite;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 8px ghostwhite;
  gap: 0.5rem;
}

.footer-name {
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: ghostwhite;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-name span {
  font-size: 0.7rem;
  color: ghostwhite;
}

footer .copy {
  font-family: "Tinos", serif;
  font-size: clamp(0.7rem, 10px, 0.9rem);
  color: ghostwhite;
  letter-spacing: 0.08em;
}

/*=====mobile====*/
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }
  nav {
    padding-right: 0px;
  }
  .hero {
    flex-flow: column nowrap;
  }
  .eyebrow {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .separator {
    height: 2px;
    width: 80vw;
  }
  .right {
    margin-top: 0px;
  }
  .card {
    justify-content: left;
    text-align: left;
  }
  .card img {
    flex-grow: 1;
    height: auto;
    max-height: 200px;
  }
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .skills-heading {
    width: auto;
    max-width: 80vw;
  }
  .skills-list {
    flex-direction: column;
  }
  .skills-list ul li {
    padding-left: 2.5rem;
    padding-top: 0.6rem;
  }
}/*# sourceMappingURL=CIS295.css.map */