/* ---------------------------- */
/* general styling */
/* ---------------------------- */

html {
  font-family: "Space Mono", monospace;
  font-size: 18px;
  color: white;
  box-sizing: border-box;
  background-color: #151531;
  scroll-behavior: smooth;
}

/* ensure all elements will have the alternative box sizing */
*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  padding: 0px;
  margin-left: 10%;
  margin-right: 10%;
}

h1,
h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 36px;
  text-transform: uppercase;
  text-shadow: 3px 3px 1px #c051ff;
  text-align: center;
}

p {
  line-height: 1.5;
  text-shadow: 1px 1px 3px black;
  background-color: #151531;
}

strong {
  color: #39beff;
}

a {
  color: #39beff;
  padding: 3px;
}

a:active {
  color: white;
}

footer > p {
  text-align: center;
}

.github-link::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 3px;

  background-size: 100%;
  background-image: url("../assets/icons/github-142-svgrepo-com.svg");
}

/* ---------------------------- */
/* navbar styling               */
/* ---------------------------- */
/* NOTE: old solar system navbar stuff */
/* nav {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 15vh;
  z-index: 1;
  background-color: #151531;
  background-image: radial-gradient(
    circle at 0% 50%,
    #ffbb39 30%,
    transparent 35%
  );
  border-bottom: solid white;
  overflow: hidden;
} */

/* targets the anchor around the logo */
/*
nav > a {
  margin-left: 25px;
}

.logo {
  align-self: center;
  width: 72px;
  height: 72px;
  transition: all 200ms ease-in-out;
}

.logo:hover {
  transform: scale(1.2);
}

.nav-item {
  position: relative;
  margin: 5px 50px;
  display: inline-block;
  list-style: none;
  font-family: "Orbitron", sans-serif;
  font-size: 24px;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: all 200ms ease-in-out;
  z-index: 1;
}

.nav-item a {
  color: inherit;
  text-decoration: none;
  z-index: 1;
}

.nav-item:hover {
  transform: scale(1.2);
}

#resume::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: -3px;

  background-size: 100%;
  background-image: url("../assets/icons/arrow-square-out-fill-svgrepo-com.svg");
} */

nav {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 15vh;
  z-index: 1;
  background-color: #151531;
  border-bottom: solid white;
  overflow: hidden;
}

/* targets the anchor around the logo */
nav > a {
  margin-left: 25px;
}

.logo {
  align-self: center;
  width: 72px;
  height: 72px;
  transition: all 200ms ease-in-out;
}

.logo:hover {
  transform: scale(1.1);
}

.nav-item {
  margin: 5px 15px;
  padding: 5px;
  display: inline-block;
  list-style: none;
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  border-radius: 5px;
  border: 1px solid white;
  color: white;
  text-shadow: 0 0 5px #c051ff;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: all 200ms ease-in-out;
  z-index: 1;
}

.nav-item a {
  color: inherit;
  text-decoration: none;
  z-index: 1;
}

.nav-item:hover {
  transform: scale(1.1);
  border-color: #c051ff;
  box-shadow: #c051ff 0px 0px 10px 10px;
}

#resume {
  margin-right: 30px;
}

#resume::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: -3px;

  background-size: 100%;
  background-image: url("../assets/icons/arrow-square-out-fill-svgrepo-com.svg");
}

/* ---------------------------- */
/* about section styling        */
/* ---------------------------- */
#about {
  margin-top: 20vh;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.about-content {
  flex: 1;
}

.solar-system {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.headshot {
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #ffbb39;
  box-shadow: #ffbb39 0px 0px 30px 30px;
  width: 300px;
  height: 300px;
}

/* ---------------------------- */
/* projects section styling     */
/* ---------------------------- */
#projects {
  margin-top: 20vh;
}

#projects-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-item {
  flex: 1;
  display: flex;
  max-height: 40vh;
  align-items: stretch;
  justify-content: space-around;
  gap: 20px;
  padding: 10px;
  margin: 10px;
  border: 1px solid white;
  border-radius: 10px;
  background-color: #151531;
}

.project-item h3 {
  font-size: 1.5rem;
  color: #39beff;
}

.project-item p,
.project-item a {
  font-size: 0.75rem;
}

.project-item:hover {
  border-color: #39beff;
  box-shadow: #39beff 0px 0px 20px 20px;
}

.project-thumbnail {
  flex: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  overflow: auto;
  border-radius: 10px;
}

.project-content {
  flex: 2;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  max-height: 100%;
  flex-direction: column;
  overflow: auto;
}

.project-content * {
  padding: 0;
  margin: 0;
}

/* ---------------------------- */
/* contact section styling      */
/* ---------------------------- */
#contact {
  margin-top: 20vh;
}

/* Social Media Icons */
.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10%;
  overflow: auto;
}

.social-media a {
  display: inline-block;
}

.social-media ion-icon {
  justify-self: center;
  font-size: 64px;
  color: white;
  transition: transform 100ms ease-in-out;
}

.social-media ion-icon:hover {
  transform: scale(1.2);
  color: #39beff;
}

/* ---------------------------- */
/* star background styling      */
/* ---------------------------- */

#star-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* ensures stars don't interfere with interaction */
  overflow: hidden;
  z-index: -1; /* ensures the stars stay in the background */
}

.star {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  opacity: 1;
}
