* {
  margin: 0;
  font-family: Figtree;

  h1,
  h2 {
    font-weight: 900;
  }

  p {
    font-family: Outfit;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #292949;
  padding-top: 40px;
  scrollbar-gutter: stable;
}

/* -- navbar -- */
/* Adjustable spacing variable */
:root {
  --icon-text-gap: 0px; /* change this to control spacing */
}

/* Navbar container */
ul.navbar {
  position: fixed;
  display: flex;
  align-items: center;
  z-index: 1000;
  list-style: none;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0 20px;
  background-color: #25253f;
  width: 100%;
  box-sizing: border-box;
  line-height: normal;
  box-shadow: 0 4px 8px #0a0a0aa0;
  font-family: Outfit;
}

/* Title + icon */
ul.navbar li.uri {
  display: flex;
  align-items: center;
  color: white;
  line-height: normal;

  img {
    height: 28px;
    width: 28px;
    display: inline-block;
    padding: 0;
    transform: translate(0.5em, 0.2em);
  }
}

/* Text next to icon spacing */
ul.navbar li.uri b {
  margin-left: var(--icon-text-gap); /* precise control */
}

/* Push links to the right */
ul.navbar li.uri + li {
  margin-left: auto; /* first link after the title goes to the right */
  line-height: normal;
}

/* Links styling */
ul.navbar li a {
  display: inline-block;
  color: white;
  text-decoration: none;
  line-height: normal;
  transition: background-color 0.3s ease;
  padding: 10px 16px;
  border-radius: 0.3em;
}

/* Text links hover (excluding icons) */
ul.navbar li.link a:hover {
  background-color: #1f1f29;
}

/* Icon sizing */

/* -- banner -- */
#banner {
  width: 100%;
  height: calc(250px + 3vw);
  background: repeating-linear-gradient(
    115deg,
    royalblue 0%,
    royalblue 50px,
    #4d72e0 50px,
    #4d72e0 100px
  );
  color: white;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-container {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 0.4em;
  background: #2724445a;
}

.title-icon {
  width: 50px;
  height: auto;
}

#bannerdiv {
  width: 100%;
  height: 8px;
  background-color: rgb(94, 156, 226);
}

/* -- sections/theme -- */

section {
  padding: 40px;
  color: #d5ebff;

  h1,
  h2 {
    color: #fff;
  }

  p {
    width: 60vw;
    margin-left: 20px;
    border-left: #5968eb 2px solid;
    padding-left: 10px;
    margin-top: 8px;
  }

  b {
    font-weight: 700;
  }
}

section.s1 {
  background: #1e3052;
}

section#footer {
  background: #202036;

  p {
    width: 60vw;
    margin-left: 10px;
    border: none;
    padding-left: 10px;
  }
}

/* stuff */
.stuffcard {
  padding: 20px;
  width: 300px;
  border: #5968eb 2px solid;
  border-radius: 1em;
  display: flex;
  gap: 20px;
  transition: background 0.3s ease, border 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;

  img {
    width: 100px;
    height: 100px;
    padding-right: 0.4em;
  }

  p {
    width: auto;
    margin-left: 0;
    border: none;
    padding-left: 0;
    margin: 0;
  }
}

.stuffcard:hover {
  background: #5478e415;
  border: #588ceb 2px solid;
  transform: scale(1.02) translate(-0.2em, -0.2em);
  box-shadow: 0.8em 0.8em 0 #242338c9;
  cursor: pointer;
}

#stuffs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px;
}

.cardstack {
  margin: auto 0;
}

/* scrollbar */

/* width of the scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

/* track (background) */
::-webkit-scrollbar-track {
  margin: 4px;
  background: #1e1d2e;
}

/* thumb (the draggable bit) */
::-webkit-scrollbar-thumb {
  background: #5968eb;
  border-radius: 0.3em;
}

/* thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background: #6084f0;
}

/* footer */
.f-t {
  display: flex;
  gap: 10px;

  img {
    width: 2em;
    height: 2em;
  }
}

.social-row {
  display: flex;
  gap: 10px;
  margin: 5px;
  margin-left: 30px;
  padding-left: 15px;
  border-left: #6084f0 2px solid;

  img {
    width: 2em;
    height: 2em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.2em;
  }

  img:hover {
    transform: scale(1.05) translateY(-0.2em);
    box-shadow: 0.275em 0.3em 0 #161622;
    cursor: pointer;
  }
}

#about,
#stuff {
  scroll-margin-top: 90px;
}

.aimg {
  box-shadow: 0 0 0 3px black, 0 0 0 5px white;
  border-radius: 8px;
}

#mus-list {
  display: block;
  gap: 10px;
  margin: 20px;
}

iframe {
  overflow: hidden;
  border-radius: 1em;
  border: #1e1d2e;
  margin-left: 20px;
  margin-top: 8px;
}
