body {
  font-family: 'Lato', sans-serif;
  color: #f9f6e0;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #080808;
  margin: auto;
  line-height: 24px;
}


@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/Florsn39.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MyCustomFont2';
  src: url('fonts/Florsn35.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

nav {
  background-color: #333;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  font-size: 1rem;
  color: #bababa;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: white;
}

nav a:active {
  color: #aaa;
}

.navbar {
  position: sticky;
  background-color: rgba(
    255,
    255,
    255,
    0.1
  ); /* Adjust transparency as needed */
  backdrop-filter: blur(10px); /* Apply backdrop blur for the glass effect */
  -webkit-backdrop-filter: blur(10px);
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000; /* Ensure the navbar stays on top of other content */
  transition: background-color 0.3s ease; /* Add smooth transition for background color change */
}

.logo img{
    width: 30px;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  margin-left: auto; /* Move the navbar-nav items to the right */
}

.nav-item {
  margin-left: 20px;
}

.about{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  /* justify-content: space-evenly; */
  flex-wrap: wrap;
}

.about {
  padding: 20px;
}

.flex-container {
  display: flex;
  align-items: center;
}

.profile-photo {
  /*border-radius: 50%;*/
  margin-right: 20px;
  height: 450px;
  margin-right: 30px;
  width: auto;
}

.about-text {
  max-width: 600px;
  text-align: left;
  color: #bababa;
}

.day-in-life , .endless-topics, .books-read, .me{
  .main_heading{
    margin-bottom: 1em;
    margin-top: 2em;
    font-size: 44px;
    color:#f9f6e0;
  }
}

.me{
  display: flex;
  flex-direction: column;

.main_heading{
  text-align: left;
  margin-top: 1em;
}
}


.day-in-life h3, .endless-topics h3, .books-read h3{
  font-family: 'MyCustomFont', sans-serif;
}

.day-in-life {
  padding: 20px;
  text-align: center;
}

.day-in-life video {
  width: 100%;
  max-width: 600px;
}

.whoami {
  font-family: 'MyCustomFont2', sans-serif;
}

.books-read{
  max-width: 1000px;
  margin: 0 auto;

  img{
    width: 240px;
    height: 300px; /* Fixed height */
  }

  p{
    margin-top: 3em;
    margin-bottom: 1.5em;

  }
}

.whoami{
  text-align: left;
}

.flex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-grid a {
  text-decoration: none;
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.flex-grid img {
  width: 240px;
  height: 300px; /* Fixed height */
  object-fit: cover;
  display: block; /* takes up whole width of the content and prevents any spacing inbetween*/
}

.endless-topics {
  padding: 20px;
  text-align: center;
}

.endless-topics p {
  display: inline-block;
  margin: 0;
  padding: 0;
}


.second-part{
  color: #bababa;
}

.first-part{
  font-size: 22px;
}

.footer{
  padding-bottom: 20px;
}

.contact-section a {
  padding-right: 10px;
}

.contact-section a img{
  width: 30px;
  height: 30px;
}


.contact-section {
  text-align: center;
  margin-top: 50px;
}

.contact-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 16px;
  margin: 30px;
}

.last{
  margin-bottom: 0px !important;
  color: #bababa;
}