* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #e2e8f0;
}
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

body {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0f172a;
  height: 100dvh;
  width: 100dvw;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}
header {
  position: absolute;
  bottom: 25px;
  height: fit-content;
  display: flex;
  z-index: 55;
}
.page-navigation {
  color: #94a3b8;
  display: flex;
  gap: 5px;
  border: solid #2c5eadab 1px;
  padding: 15px 10px;
  border-radius: 30px;
  background-color: #3b83f636;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(5px);
}
.page-navigation li {
  list-style: none;
  font-size: 1rem;
  font-weight: bold;
}
.page-navigation li a {
  text-decoration: none;
  padding: 10px 20px;
}
.page-navigation li a:hover {
  color: white;
}
.page-navigation li a:focus {
  color: white;
}
.inView {
  border: solid #3155a8 2px;
  padding: 10px 20px;
  border-radius: 20px;
  background-color: #283e74;
  color: whitesmoke;
}
main {
  height: fit-content;
  overflow-y: auto;
  height: 100%;
}
.container {
  background-color: #1e293b;
  width: 100%;
  padding-bottom: 100px;
  max-width: 800px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.6s ease;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

figure {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px;
  align-items: center;
  background-color: #334155;
  height: 200px;
}

figure img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 3px solid #3b82f6;
}

figure p {
  color: #94a3b8;
  font-size: 0.9rem;
}

figcaption {
  text-align: center;
}

.name {
  font-size: 1.5rem;
  font-weight: bold;
  cursor: default;
  color: #f8fafc;
}

.main {
  padding: 10px 10px 30px;
  height: 100%;
}

.time {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: -5px;
  width: fit-content;
  display: flex;
  gap: 5px;
  border: solid #3b83f6ab 1px;
  padding: 0px 5px;
  border-radius: 5px;
  background-color: #3b83f656;
  margin-top: 2px;
}

.bio p {
  font-size: 1rem;
  padding: 10px 0;
  cursor: pointer;
  color: #cbd5e1;
}

.bio span {
  font-weight: bold;
  color: #60a5fa;
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-size: 17px;
  display: inline;
}

.details {
  margin-top: 10px;
}

.details ul {
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: 5px;
}

.details ul li {
  background-color: #3b82f6;
  border-radius: 5px;
  text-align: center;
  padding: 5px 10px;
  color: #f1f5f9;
}

.navigation {
  margin-top: 20px;
}

.navigation ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 10px;
  justify-content: center;
}

.navigation ul svg {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, fill 0.3s ease;
  fill: #60a5fa;
}

.navigation ul a:hover svg {
  transform: scale(1.1);
  fill: #93c5fd;
  outline: 2px solid #60a5fa;
  border-radius: 50%;
}

@media (min-width: 768px) {
  main {
    display: flex;
    align-items: center;
  }
  .container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    overflow: hidden;
    height: fit-content;
    border-radius: 50px;
    padding-bottom: 10px;
  }

  figure {
    flex: 1;
    max-width: 250px;
    border-bottom-right-radius: 50px;
  }

  .main {
    flex: 2;
    padding: 20px;
  }
  .details ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
  }
  header {
    position: absolute;
    top: 25px;
  }
}
