/*
1 colore bottone
2 bordo/hover
3 testo
*/
/*
1 colore bottone
2 bordo/hover
3 testo
*/
.header {
  height: 64px;
  display: flex;
  align-items: center;
}
.header > div {
  display: flex;
  align-items: center;
  height: 100%;
}
.header__right {
  gap: 0.25rem;
}
.header__left {
  width: 100%;
  gap: 0.5rem;
}
.header__search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem;
  height: calc(100% - 1rem);
  border-radius: 0.5rem;
}
.header__search span {
  color: var(--fg-light);
  font-size: 0.95rem;
}
.header__btn {
  padding: 0.5rem;
  width: 40px;
  aspect-ratio: 1/1;
  font-size: 1.2rem;
  border-radius: 50%;
}
.header__btn:hover {
  background-color: var(--bg-dark);
}
.header__btn:hover i {
  font-weight: bold;
}

.mainLayout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-inline: 0.5rem;
}
.mainLayout:has(.detailContainer.open) {
  grid-template-columns: 1fr 1fr;
}
.mainLayout--full:has(.detailContainer.open) {
  grid-template-columns: 1px 1fr;
}

.mainContainer {
  width: 100%;
  height: calc(100svh - 64px - 0.5rem);
  overflow-y: auto;
}

.detailContainer {
  display: none;
  height: calc(100svh - 64px - 0.5rem);
  overflow-y: auto;
}
.detailContainer.open {
  display: block;
}
.detailContainer__title {
  display: flex;
}

.backgroundContainer {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 0;
  left: 0;
  z-index: 10020;
  background-color: transparent;
  opacity: 0;
  transition: background-color 0.5s ease;
}
.backgroundContainer.active {
  background-color: black;
  width: 100%;
  opacity: 0.2;
}

.footer {
  height: 50px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-inline: 0.5rem;
}
.footer > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 1024px) {
  .footer__left {
    visibility: hidden;
  }
}
.footer__link {
  font-weight: 600;
}
.footer__link:hover {
  color: var(--primary);
}

/*# sourceMappingURL=mainLayout.css.map */
