body {
  background-color: rgb(39, 39, 39);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
  "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
  sans-serif;
  height: 100%;
  margin: 0;
  overflow: hidden; /* stops page scroll entirely */
  padding: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  --first: #0092D0;
  --second: #FDBE43;
  --third: #FF7500;
}

body::before {
  background-image: url("./images/portfolio-main-2025.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  inset: 0;             /* top:0;right:0;bottom:0;left:0 */
  pointer-events: none; /* allow clicks through */
  position: fixed;      /* fixed to viewport */
  z-index: 0;
}

h1 {
  color: #ffffff;
  font-family: "Victor Mono", monospace;
  font-style: italic;
  font-weight: 700;
  margin: 16px;
}

h2 {
  color: #ffffff;
  font-family: "Victor Mono", monospace;
  font-size: 48px;
  font-style: italic;
  font-weight: 700;
  margin: 16px;
  text-shadow: 2px 2px 20px #000;
}

h3 {
  color: #ffffff;
  font-family: "Victor Mono", monospace;
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  text-shadow: 2px 2px 10px #000;
}

a, p {
  color: #ffffff;
  font-family: "Victor Mono", monospace;
  text-shadow: 2px 2px 5px #000;
}

.container {
  background: rgba(39, 39, 39, 0); /* transparent layer */
  inset: 0;
  overflow-y: auto; /* internal scrolling */
  position: fixed; /* anchor to viewport */
  scrollbar-gutter: stable;
  z-index: 1;
}

/* navbar */
.navbar {
  background-color: #000;
  display: flex;
  height: 100px;
  justify-content: space-between;
}

.signature {
  filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
  height: 50px;
  width: 300px;
}

.signature .svg-group {
  stroke: url(#signature-gradient) #ffffff;
}

svg .draw {
  animation: animate 5s linear forwards;
  fill: transparent;
  stroke-dasharray: 5000;
  stroke-dashoffset: 5000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 20px;
}

@keyframes animate {
  from {
    stroke-dashoffset: 5000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.social-navbar {
  align-items: center;
  display: flex;
  font-size: 64px;
  justify-content: space-around;
  width: 200px;
}

.social-navbar .icon {
  filter: invert(0.5);
  height: 48px;
  width: 48px;
}

@media screen and (max-width: 600px) {
  .navbar {
    justify-content: center;
  }

  .social-navbar {
    display: none;
  }
}
/* end navbar */

/* hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 100px);
  filter: drop-shadow(2px 2px 10px #000);
}

.hero h1 {
  min-height: 0;
  overflow: hidden;
}

.hero .fsd {
  background: linear-gradient(to right, var(--first), var(--second), var(--third));
  background-clip: text;
  color: transparent;
  font-size: 96px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .atl {
  font-size: 40px;
  text-shadow: 2px 2px 10px #000;
}

@media screen and (max-width: 600px) {
  .hero .fsd {
    font-size: 56px;
  }
}
/* end hero */

/* projects */
.projects-section {
  background-color: rgb(39, 39, 39, 0.9);
  padding: 16px 0;
  text-align: center;
}

.project-container {
  display: flex;
  padding: 32px 24px;
}

@media screen and (max-width: 992px) {
  .project-container {
    flex-direction: column;
  }

  .project-container:nth-child(odd) {
    flex-direction: column-reverse;
  }
}

.project-image {
  flex: 1 2 0px;
  margin: 0px 16px;
}

.project-image img {
  box-shadow: 2px 2px 4px #000;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-info {
  flex: 2 1 0px;
  margin: 0px 24px;
}

.project-info a {
  color: #ffffff;
  text-decoration: none;
}

.project-info a:hover {
  background: linear-gradient(to right, rgb(0, 140, 204, 0.9), rgb(255, 179, 0, 0.9), rgb(255, 117, 0, 0.9));
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 100% 2px;
}
/* end projects */

/* skills */
.skills-section {
  background-image: linear-gradient(45deg, rgb(0, 140, 204, 0.9), rgb(255, 179, 0, 0.9), rgb(255, 117, 0, 0.9));
  font-size: 32px;
  padding: 16px 0;
  text-align: center;
}

.skills-container {
  margin: 40px 16px;
  display: grid;
  grid-column-gap: 50px;
  grid-row-gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.skills-container .icon-wrapper {
  filter: drop-shadow(2px 2px 20px #000);
}

.skills-container .icon-wrapper .icon {
  filter: invert(1);
  height: 64px;
  width: 64px;
}

@media screen and (min-width: 992px) {
  .skills-container {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }
}

@media screen and (min-width: 1280px) {
  .skills-container {
    grid-template-columns: repeat(6, minmax(150px, 1fr));
  }
}
/* end skills */

/* about */
.about-section {
  background-color: rgb(39, 39, 39, 0.9);
  padding: 16px 0;
}

.pic {
  box-shadow: 1px 1px 50px #000;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about-section h2 {
  text-align: center;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
  margin: 32px auto;
  width: 80%;
}

@media screen and (min-width: 992px) {
  .about-container {
    display: grid;
    grid-column-gap: 32px;
    grid-template-columns: 1fr 1fr;
  }

  .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 48px;
  }

  .info p:first-child {
    margin-top: 0px;
  }
}

@media screen and (min-width: 1800px) {
  .info {
    justify-content: start;
  }
}

.social-bottom {
  display: flex;
  font-size: 64px;
  justify-content: space-around;
}

.social-bottom .icon {
  filter: invert(1);
  height: 48px;
  width: 48px;
}
/* end about */
