html {
  background-color: #000000;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

body {
  margin: 0;
  padding-top: 60px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('background.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Roboto', sans-serif;
  background-attachment: fixed;
}

.card {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 8px;
  width: 350px;
  height: 200px;
  grid-gap: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h1 {
  margin: 0;
}

.card p {
  margin: 0;
  text-align: justify;
}

.card ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-end;
}

.card li {
  margin-bottom: 0;
}

.card-links {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  height: 100%;
}

.contact-info {
  position: absolute;
  left: 0;
  bottom: 0;
  color: white;
}

.contact-info span {
  display: inline-block;
}

.card a {
  color: white;
  text-decoration: none;
  margin-bottom: 5px;
}

.card a:last-child {
  margin-bottom: 0;
}

.card a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .card {
    width: 70%;
    font-size: 0.9em;
  }
}

@media screen and (max-width: 480px) {
  .card {
    width: 90%;
    font-size: 0.8em;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 2%;
  padding-right: 2%;
}

.navbar .brand {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-image {
  width: auto;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.card-logo-image {
    width: 250px; /* Adjust the width as needed */
    height: auto; /* Adjust the height as needed */
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar li {
  margin-right: 15px;
}

.navbar li:last-child {
  margin-right: 0;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.navbar a:hover {
  text-decoration: underline;
}

.author-photo {
  width: 150px;
  height: auto;
  float: center;
  margin-right: 20px;
}

.bio-card {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 8px;
    width: 700px;
    grid-gap: 10px;
    overflow-y: auto;
    padding-top: 70px;
}

.bio-text {
  @media (orientation: landscape) {
    body {
      height: auto;
      min-height: 100vh;
      padding-top: 70px;
      padding-bottom: 60px;
    }
  }
}

@media screen and (max-width: 480px) {
  .navbar ul {
    flex-wrap: wrap;
  }

  .navbar li {
    margin-right: 5px;
  }

  .navbar .brand {
    font-size: 0.8em;
  }

  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar ul {
    margin-top: 5px;
  }

  @media (orientation: landscape) {
    body {
      height: auto;
      min-height: 100vh;
      padding-top: 70px;
      padding-bottom: 60px;
    }
  }
}