html {
  height: 100%;
  font-family: "Montserrat", Verdana, Arial, Tahoma;
}

body {
  background-color: #1a1a1a;
  color: #ebebed;
  position: relative;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

main {
  padding: 0 20px 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 125%;
}

/* CSS for navigation bar */

.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 5rem;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;

  background-color: #111315;
  color: #ebebed;
  padding: 0px 0px;

  /* Debug border */
  /* border: solid red; */
}

.nav-list {
  display: flex;
  flex-direction: row;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  justify-content: flex-end;
}

.nav-list li {
  display: flex;
  flex-grow: 1;
}

.navbar a {
  color: #ebebed;
  font-weight: bold;
  margin: 0 0px;
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-list a {
  display: flex;
  padding-inline: 1em;
}

.nav-list a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-list a:hover {
  background-color: #262a2e;
}

.logo {
  padding-left: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-title {
  font-size: 2.5rem;
}

/* CSS for page footer */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #111315;
  color: #ebebed;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
}

input[required] {
  letter-spacing: 1px;
}

.about {
  display: flex;
}

.about img {
  max-width: 30%;
  object-fit: contain;
}

.about-text {
  display: inline-block;
  margin-inline: 2em;
}

.about-text p {
  margin-top: 0;
  line-height: 125%;
}

.music-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.music-category {
  margin-bottom: 0;
  margin-top: 0;
}

.music-description {
  margin-top: 0.5rem;
}

.section {
  margin-bottom: 2em;
}

.music-list {
  display: flex;
  gap: 1rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.entry {
  margin-bottom: 1rem;
}

.entry-title {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.entry-info {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.resume {
  margin-inline: 3.5rem;
}

.resume ul {
  margin-top: 0.5rem;
}

.hobby-list {
  margin-top: 0rem;
}

.hobby-list li h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.contact {
  text-align: center;
  width: 100%;
  line-height: 2rem;
  margin-top: -0.5rem;
}

.contact-icons {
  margin-top: 2rem;
  word-spacing: 0.5rem;
  height: 7rem;
  width: 100%;
  gap: 5rem;
}

.contact-icons img {
  height: 100%;
  object-fit: cover;
}

.project {
  display: flex;
  max-width: 100%;
  height: 75%;
  gap: 2rem;
  border: solid;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.project-name {
  margin-block: 0;
  font-size: 160%;
}

.project-image {
  display: block;
  width: 50%;
  height: auto;
  object-fit: contain;
}

.portfolio-github-icon {
  width: 6rem;
}

.project a {
  display: contents;
}
