html {
  font-size: 16px;
}

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

body {
  font-family: Helvetica, sans-serif;
  max-width: 100vw;
  min-height: 100vh;
  margin: auto;
  padding: 0rem 2rem 0rem;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

ul {
  list-style-type: none;
}

a {
  color: black;
  text-decoration: none;
}

img {
  opacity: 90%;
}

.learning-path section {
  padding-bottom: 1.6rem;
}

h1,
h2 {
  font-size: 2rem;
  line-height: 2rem;
}

.learning-path h3,
.learning-path h2,
.learning-path li,
.learning-path p {
  padding-bottom: 0.6rem;
}

header {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #ffffff;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  padding: 1rem 2rem;
  background-color: rgb(0, 0, 0);
  position: fixed;
  transition: 0.3s ease transform;
  z-index: 999;
  font-size: 0.8rem;
}

.hidden {
  transform: translateY(-100%);
}

nav ul {
  display: flex;
  gap: 1rem;
}

nav a {
  color: rgb(255, 255, 255);
}

.year {
  margin-bottom: 1rem;
}

.highlight {
  padding: 0.4rem 1rem;
  transition: background-color 0.3s ease;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.highlight:hover {
  background-color: rgb(0, 0, 0);
  color: white;
}

.highlight:hover a {
  color: rgb(255, 255, 255);
}

.blog-container {
  padding-top: 8rem;
  max-width: 80vw;
  margin: auto auto;
}

.blog-container ul {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
}

.blog-container li {
  border-top: 1px solid rgba(0, 0, 0, 0.828);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.blog-container p {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: right;
  text-wrap: nowrap;
  font-size: 1rem;
}

.blog-post {
  margin-top: 6rem;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-post {
  line-height: 1.6;
}

.blog-post p {
  line-height: 1.4;
}

#me {
  margin-bottom: 1rem;
}

.back-arrow {
  padding-top: 1rem;
  font-size: 1.3rem;
  font-weight: bolder;
  color: #000000;
}

.collage {
  display: flex;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.collage img {
  max-width: 70%;
  max-height: 400px;
  margin-left: auto;
  margin-right: auto;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact a {
  font-size: 2rem;
}

footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgb(0, 0, 0);
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}

footer p {
  font-size: 0.8rem;
  color: white;
}

.social-container {
  display: flex;
  gap: 1rem;
}

.social {
  color: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th,
td {
  border: 1px solid #000000;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #ffffff;
}
tr:nth-child(even) {
  background-color: #ffffff;
}
tr:hover {
  background-color: #f1f1f1;
}

.question {
  opacity: 80%;
}

@media only screen and (max-width: 450px) {
  .blog-container ul {
    font-size: 1.2rem;
  }
  .blog-container p {
    font-size: 0.8rem;
  }
  .highlight {
    padding: 0.4rem 1rem;
    transition: background-color 0.3s ease;
  }
  header {
    font-size: small;
    align-self: center;
    justify-content: space-between;
    width: 100%;
  }
  footer {
    width: 100%;
  }
}
