.banner.visible,
#lgpd-banner.visible {
  bottom: 0;
  opacity: 1;
  z-index: 100;
  max-height: 100%;
  height: unset;
}

.banner.visible {
  height: 10rem;
}

.banner,
#lgpd-banner {
  bottom: -8em;
  opacity: 0;
  transition: all 0.5s;
  height: 0;
}

#lgpd-banner {
  width: calc(100% - 2em);
  position: fixed;
  margin: 1em 1em 2em;
}

#lgpd-banner > div {
  margin: auto;
  padding: 1em;
  border-radius: 7px;
  display: flex;
  flex-wrap: wrap;
  max-width: 1140px;
}

#lgpd-banner p {
  font-weight: inherit;
}

.banner-aosfatos-plus p,
#lgpd-banner p {
  font-family: inherit;
}

.banner-aosfatos-plus p {
  font-size: inherit;
}

#lgpd-banner p,
#lgpd-banner button {
  font-size: 0.75rem;
  line-height: normal;
}

#lgpd-banner p {
  padding-bottom: 1rem;
  margin-bottom: 0;
}

#lgpd-banner p a {
  text-decoration: underline;
}

#lgpd-banner button {
  border-radius: 6px;
  text-transform: uppercase;
  margin: 0 auto;
  padding: 0.5em 1em;
  display: inline-block;
  cursor: pointer;
}

.banner {
  position: sticky;
  width: 100%;
  height: 140px;
  max-height: 0;
  overflow: hidden;
}

.banner .banner-logo {
  width: 50px;
  height: 45px;
  background-image: url("../images/logo-banner-mobile.png");
  background-repeat: no-repeat;
}

.banner .banner-logo--mobile {
  display: inline-block;
  margin: 15px;
}

.banner .banner-logo--desktop {
  display: none;
}

.banner .banner-content {
  display: inline-flex;
  flex-direction: column;
  height: 100%;
  max-width: 884px;
  position: absolute;
  width: calc(100% - 55px);
  left: 0;
  padding-left: 80px;
  margin-right: 55px;
}
.banner .banner-content:hover {
  text-decoration: none;
}

.banner .banner-content div:first-of-type {
  font-size: 16px;
  margin-top: 19px;
}
.banner .banner-content div:first-of-type p:first-of-type {
  font-weight: 700;
}
.banner .banner-content div:nth-of-type(2) {
  margin-top: 4px;
}
.banner .banner-content div:nth-of-type(2) p:first-of-type {
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}
.banner .banner-content div:nth-of-type(2) p:nth-of-type(2) {
  font-weight: 700;
  font-size: 24px;
  font-family: "Neuton";
  display: inline-block;
}

.banner .banner-content div:nth-of-type(3) {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  margin-top: 9px;
}

.banner .banner-content div:nth-of-type(3) span {
  margin-right: 8px;
}
.banner .banner-content div:nth-of-type(3) img {
  height: 25px;
}

.banner .banner-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 20px;
  cursor: pointer;
}

@media (min-width: 680px) {
  .banner {
    height: 160px;
  }

  .banner .banner-logo {
    width: 80px;
    height: 70px;
    background-image: url("../images/logo-banner-desktop.png");
  }

  .banner .banner-logo--desktop {
    display: initial;
  }

  .banner .banner-logo--mobile {
    display: none;
  }

  .banner .banner-content {
    position: initial;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: auto;
    padding: 0;
    margin: 0 auto;
  }
  .banner .banner-content div:first-of-type {
    font-size: 25px;
    margin-top: 0;
  }
  .banner .banner-content div:first-of-type p:first-of-type {
    font-weight: 700;
  }
  .banner .banner-content div:nth-of-type(2) {
    margin-top: 0;
  }
  .banner .banner-content div:nth-of-type(2) p:first-of-type {
    margin-bottom: -10px;
    display: block;
  }
  .banner .banner-content div:nth-of-type(2) p:nth-of-type(2) {
    font-size: 45px;
    display: block;
  }
  .banner .banner-content div:nth-of-type(3) {
    font-size: 25px;
    margin-top: 0;
  }
}

/* Pallete
-------------------------------------------------- */
#lgpd-banner > div {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  background-color: rgba(244, 242, 242, 0.9);
}

#lgpd-banner p a {
  color: inherit;
}

#lgpd-banner button {
  background-color: var(--black);
  color: var(--white);
}

.banner {
  background-color: var(--black);
}

.banner .banner-content {
  color: var(--white);
}

.banner .banner-content:hover {
  color: var(--white);
}

.banner .banner-content div:nth-of-type(3) {
  color: var(--yellow);
}
