/* || Panel */

.info-panel {
  max-width: 900px;
  width: 100%;
  height: 87%;
  max-height: 91.5%;
  position: absolute;
  display: flex;
  flex-direction: column;
  z-index: 600;
  transform: translateY(150%);
  transition: transform 400ms ease-out;
  background-color: var(--clr-support-300);
  border-bottom: 5px solid var(--clr-primary-500);
  top: 0;
}

@media (max-width:600px) {
  .info-panel {
    height: 91%;
  }
}

@media (min-width:1400px) {
  .info-panel {
    height: 91%;
    max-width: 1200px;
  }
}

.info-panel[data-visible="true"] {
  transform: translateY(0%);
}

/* Panel Header */


.info-body {
  display: flex;
  flex-direction: column;
  height: inherit;
  width: inherit;
}

.name-project {
  margin-top: 1rem;
}

.project-text {
  margin: 0rem 0.8rem;
  /* height: 80%; */
  max-width: 800px;
  overflow: auto;
  text-align: center;
}

/* || Desenhos */

.container-desenhos {
  overflow: hidden;
  border-top: 5px solid var(--clr-primary-500);
  display: flex;
  justify-content: center;
}

.mySlides {
  width: auto;
  height: 100%;
  float: left;
}

.fade {
  animation-name: fade;
  animation-duration: 3s; /* Adjust the duration as needed */
}

@keyframes fade {
  from {
    opacity: 0;
  }
  25% {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

/* || Icons and buttons */

/* Mobile First */
@media (max-width: 37.5rem) {
  .project-info {
    background-color: var(--clr-primary-500);
    width: 16px;
    height: 16px;
    padding: 16px;
    border-radius: 3rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .project-info-icon {
    background: url(../assets/chevron-up-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .project-info-icon[aria-expanded="true"] {
    background: url(../assets/chevron-down-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
  }

  .info-text {
    display: none;
  }
}

@media (min-width: 38rem) {
  /* Medium and large */
  .project-info {
    background-color: var(--clr-primary-500);
    cursor: pointer;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    padding: .4rem;
  }

  .project-info-large {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 8px;
    /* padding: 0.3rem; */
  }

  .info-text {
    display: block;
  }

  .project-info-icon {
    background: url(../assets/chevron-up-solid.svg);
    background-repeat: no-repeat;
    background-position: right;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .project-info-icon[aria-expanded="true"] {
    background: url(../assets/chevron-down-solid.svg);
    background-repeat: no-repeat;
    background-position: center;
  }
}
