@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@media screen and (min-width: 768px) {
  
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  text-decoration: none;
}
.bd-grid {
  width: 1024px;
  display: grid;
  grid-template-columns: 100%;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 6px;
  background-color: transparent;
  z-index: var(--z-fixed);
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.header-logo {
  color: var(--dark-color);
}
.header-toggle {
  font-size: 1.7rem;
  cursor: pointer;
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Adjust transparency as needed */
  z-index: 998;
  display: none;
}
.nav.navs.show ~ .menu-backdrop {
  display: block;
}

@media (min-width:320px) and (max-width:991.98px) {
  .navs {
    position: fixed;
    top: 0;
    left: -100%;
    background: #F6EEE1;
    background-size: cover;
    background-position: center;
    width: 80%;
    height: auto;
    padding: 10px 0;
    z-index: 12;
    transition: 0.5s;
    overflow-y: auto;
    z-index: 9999;
  }

  .show {
    left: 0;
  }
}

.nav-content {
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin-top: 22px;
}
.nav-perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}
.nav-img {
  display: flex;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}
.nav-img img {
  width: 70px;
}
.nav-name {
  display: block;
  font-size: var(--nav-name-font-size);
  color: var(--white-color);
}
#nav-menu .nav-item {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1;
  background: #E8DBD3;
  font-family: 'CormorantUpright-Regular';
}
.nav-link {
  color: var(--first-color-light);
}
.nav-link:hover {
  color: var(--white-color);
}
.active {
  color: var(--white-color);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown-icon {
  font-size: 1.3rem;
  transition: 0.5s;
}
.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}
.dropdown-menu {
  margin: 1rem 0 0 1rem;
  display: none;
}
.dropdown:hover > .dropdown-menu {
  display: block;
}
.dropdown-item {
  margin: 1rem 0;
}

@media screen and (min-width: 576px) {
  .navs {
    width: 288px;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .header {
    height: calc(var(--header-height) + 1rem);
  }
  .header-logo img{width: 130px;}
  .header-logo,
  .header-toggle {
    display: block;
  }
  .header-toggle img{width: 40px;}
  .navs {
    width: 50%;
  }
  .nav-content {
    display: grid;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .nav-perfil {
    flex-direction: row;
    text-align: initial;
    margin-bottom: 0;
  }
  .nav-img {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    margin-bottom: 0;
  }
  .nav-img img {
    width: 46px;
  }
  .nav-name {
    color: var(--dark-color);
  }
  #nav-menu .nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #nav-menu .nav-item {
    margin: 0 1.5rem 10px;
        padding: 12px;
        width: 100%;
  }
  #nav-menu .nav-link {
    color: var(--dark-color);
  }
  #nav-menu .nav-link:hover {
    color: var(--first-color);
  }
  #nav-menu .active {
    color: var(--first-color);
  }

  .dropdown {
    position: relative;
  }
  .dropdown-menu {
    position: fixed;
    margin: 0;
    top: calc(var(--header-height) + 1rem);
    padding: 0.5rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
}
