.nav {
  border-bottom: 1px solid var(--muted);
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
}

.nav__open {
  width: 50px;
  margin-left: auto;
}

.nav__open--hide {
  display: none;
}

.nav__close {
  width: 50px;
  display: none;
  margin-left: auto;
}

.nav__close--show {
  display: block;
}

.nav__list {
  /* display: flex; */
  display: none;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  padding-bottom: 8px;
  list-style: none;
}

.nav--open {
  display: flex;
}

.nav__item > a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__item:hover a {
  color: var(--secondary);
}

.home__figure {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  margin-top: 50px;
}

.home__figure figcaption {
  display: none;
}

.profile-picture-container {
  width: 150px;
  height: 150px;
  position: relative;
}

.profile-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.profile-picture-container::after,
.profile-picture-container::before {
  content: "";
  position: absolute;
  background: conic-gradient(
    from var(--angle),
    #ff4545,
    #00ff99,
    #006aff,
    #ff0095,
    #ff4545
  );
  z-index: -1;
  inset: -3px;
  border-radius: 50%;
  animation: 3s spin linear infinite;
}

.profile-picture-container::before {
  filter: blur(1.5rem);
  opacity: 0.5;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

.home__title {
  text-align: center;
  font-weight: 500;
}

.home__address-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.home__address {
  display: inline-flex;
}

.home__address img {
  width: 50px;
}

.home__address--with-span {
  background-color: var(--text);
  color: var(--background);
  height: 35px;
  position: relative;
  top: 8px;
  margin-right: 6px;
  margin-left: 6px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
}

.home__address--with-span a {
  display: flex;
  align-items: center;
}

.home__address--with-span:hover {
  background-color: var(--secondary);
}

.home__address--with-span a {
  text-decoration: none;
}

.home__address--with-span img {
  width: 30px;
  height: auto;
}

.home__address--with-span span {
  color: var(--background);
}

.icon--orange {
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav__list {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    margin-top: 8px;
  }

  .nav__open {
    display: none;
  }

  .nav__close {
    display: none;
  }
}
