.webdoor {
  width: 100vw;
  position: relative;
}
.webdoor .banner {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
}
.webdoor .banner01 {
  background-size: cover;
  background-position: center center;
}
.webdoor .banner02 {
  background-size: cover;
  background-position: center center;
}
.webdoor .banner03 {
  background-size: cover;
  background-position: center center;
}

@media screen and (min-width:1281px) {
  .webdoor .banner01 {background-image: url("../image/banner-alunos-lego-1920.webp");}
  .webdoor .banner02 {background-image: url("../image/banner-aluno-livro-1920.webp");}
  .webdoor .banner03 {background-image: url("../image/banner-aluna-livro-1920.webp");}
}

@media screen and (min-width:601px) and (max-width:1280px) {
  .webdoor .banner01 {background-image: url("../image/banner-alunos-lego-1280.webp");}
  .webdoor .banner02 {background-image: url("../image/banner-aluno-livro-1280.webp");}
  .webdoor .banner03 {background-image: url("../image/banner-aluna-livro-1280.webp");}
}

@media screen and (max-width:600px) {
  .webdoor .banner01 {background-image: url("../image/banner-alunos-lego-600.webp");}
  .webdoor .banner02 {background-image: url("../image/banner-aluno-livro-600.webp");}
  .webdoor .banner03 {background-image: url("../image/banner-aluna-livro-600.webp");}
}

.webdoor .banner .txt {
  height: max-content;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.webdoor .banner .txt .title {
  background-color: var(--theblue);
  color: #ffffff;
  text-align: left;
  padding: 0.75rem 2rem;
  font-weight: 600;
}
.webdoor .banner .txt .content {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-bottom: 1rem solid var(--theorange);
}
.webdoor .banner .txt .content p {
  font-weight: 300;
  text-align: left;
  font-size: 1.4rem;
}
.webdoor .banner .txt .content a.button {
  display: flex;
  gap: 0.7rem;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  border-radius: 10rem;
  padding: 1rem 1.6rem;
  box-shadow: 2px 2px 6px #aaa;
  max-width: fit-content;
  width: 100%;
  margin: 1.5rem 0 0;
  font-size: 1.4rem;
}
.webdoor .banner .txt .content a.button img {
  zoom: 1.2;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.4rem;
  border-radius: 10rem;
}
.webdoor .banner .txt .content a.button.blue {
  background: var(--theblue);
  border: 1px solid var(--theblue);
  color: #fff;
  transition: 200ms;
}
.webdoor .banner .txt .content a.button.blue:hover,
.webdoor .banner .txt .content a.button.blue:active,
.webdoor .banner .txt .content a.button.blue:focus {
  background: #ffffff;
  color: var(--theblue);
}
.webdoor .banner .txt .content a.button.blue:hover img,
.webdoor .banner .txt .content a.button.blue:active img,
.webdoor .banner .txt .content a.button.blue:focus img {
  filter: var(--thebluefilter);
}

.webdoor .banner.be {
  justify-content: flex-start;
  align-items: center;
}
.webdoor .banner.bd {
  justify-content: flex-end;
  align-items: center;
}

.webdoor #slider-control {
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  z-index: 10;
  display: none;
  justify-content: flex-end;
  gap: 0.3rem;
}
.webdoor #slider-control button {
  background: var(--theorange);
  border: none;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  padding: 1rem 1.2rem;
  justify-content: center;
  transition: 250ms;
}
.webdoor #slider-control button img {
  filter: invert(1);
}
.webdoor #slider-control button:hover {
  cursor: pointer;
  background: var(--theblue);
}
.webdoor .banner.active {
  display: flex;
}

@media screen and (min-width: 1281px) {
  .webdoor {
    height: 42rem;
  }
  .webdoor .banner {
    padding: 0 5rem;
  }
  .webdoor .banner .txt {
    width: 35rem;
  }
  .webdoor .banner .txt .title {
    font-size: 2.25rem;
  }
  .webdoor .banner .txt .content {
    font-size: 1.85rem;
  }
}
@media screen and (min-width: 601px) and (max-width: 1280px) {
  .webdoor {
    height: 38rem;
  }
  .webdoor .banner {
    padding: 0 4rem;
  }
  .webdoor .banner .txt {
    width: 30rem;
  }
  .webdoor .banner .txt .title {
    font-size: 2rem;
  }
  .webdoor .banner .txt .content {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 600px) {
  .webdoor {
    height: 40rem;
  }
  .webdoor .banner {
    padding: 0 2rem;
  }
  .webdoor .banner .txt {
    width: 54%;
  }
  .webdoor .banner .txt .title {
    font-size: 1.2rem;
  }
  .webdoor .banner .txt .content {
    font-size: 1rem;
  }
  .webdoor .banner .txt .content p {
    font-size: 1.1rem;
  }
  .webdoor .banner .txt .content a.button.blue {
    font-size: 1.1rem;
  }
}
@media screen and (max-width: 400px) {
  .webdoor {
    height: 40rem;
  }
  .webdoor .banner {
    padding: 0 1rem;
  }
  .webdoor .banner .txt {
    width: 80%;
  }
  h2 {
    width: initial !important;
  }
}

.principal {
  padding: 2rem;
}
#cta {
  border: 2px solid blue;
  width: 96%;
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
#cta .box-cta {
  /*! border: 2px solid; */
  max-width: 420px;
  padding: 1rem 1rem 1.25rem 1rem;
  position: relative;
}
#cta .box-cta:after {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 0;
  bottom: 0;
}
#cta .box-cta .subtitle p {
  text-align: left;
  font-size: 1rem;
  line-height: 1rem;
}
#cta .box-cta .title h3 {
  text-align: left;
  font-size: 2rem;
  line-height: 2rem;
  padding: 0 0 1rem 0;
}
#cta .box-cta p.txt {
  text-align: right;
  width: 90%;
  margin: 0 0 0 auto;
  padding: 0 0 1rem 0;
}
#cta .box-cta .bt a {
  display: block;
  border: 1px solid;
  border-bottom: 5px solid;
  width: max-content;
  margin: 0 0 0 auto;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: inherit;
}
#cta .box-cta .bt a span {
  display: inline-block;
  font-size: 1.4em;
  font-weight: 700;
  padding: 0 0 0 0.75rem;
  line-height: 1.1rem;
  position: relative;
  bottom: -0.2rem;
}
#cta .box-cta.box-cta-dg {
  background-color: var(--thedarkgrey);
  color: #ffffff;
}
#cta .box-cta.box-cta-dg .bt a:hover {
  background-color: #ffffff;
  color: var(--thedarkgrey);
  border-color: #ffffff;
  border-bottom: 10px solid rgba(25, 25, 25, 0.5);
}

h2 {
  font-size: 2rem;
  font-weight: 300;
  position: relative;
  width: max-content;
  padding: 0 0.5rem 0.85rem 0.5rem;
  margin: 0 auto 3rem auto;
}
h2:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -2%;
  height: 0.75rem;
  width: 72%;
}
h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -2%;
  height: 0.75rem;
  width: 32%;
}
h2 span {
  font-weight: 500;
  color: var(--theblue);
}

h2.title-br:before {
  background-color: var(--theblue);
}
h2.title-br:after {
  background-color: var(--thered);
}

h2.title-ob:before {
  background-color: var(--theorange);
}
h2.title-ob:after {
  background-color: var(--theblue);
}

h2.title-or:before {
  background-color: var(--theorange);
}
h2.title-or:after {
  background-color: var(--thered);
}

#segmentos {
  padding: 4rem 1rem;
}
#segmentos .cardholder {
  width: 96%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}
#segmentos .cardholder .card {
  width: 263px;
}
#segmentos .cardholder .card a {
  text-decoration: none;
}
#segmentos .cardholder .card .title {
  padding: 0.5rem; /*text-align: left;*/
  color: #ffffff;
  margin: 0 0 0.7rem 0;
}
#segmentos .cardholder .card .title h3 {
  font-size: 1.1rem;
}
#segmentos .cardholder .card .foto img {
  width: 100%;
  height: auto;
  display: block;
}

#segmentos .cardholder .card .title-dg {
  background-color: var(--thedarkgrey);
}
#segmentos .cardholder .card .title-lg {
  background-color: var(--thelightgrey);
}
#segmentos .cardholder .card .title-red {
  background-color: var(--thered);
}
#segmentos .cardholder .card .title-blue {
  background-color: var(--theblue);
}
#segmentos .cardholder .card .title-orange {
  background-color: var(--theorange);
}

#segmentos .cardholder:hover .card {
  opacity: 0.65;
}
#segmentos .cardholder .card:hover {
  opacity: 1;
}

@media screen and (min-width: 1200px) {
  #segmentos .cardholder {
    max-width: 1170px;
  }
}

@media screen and (max-width: 1199px) {
  #segmentos .cardholder {
    max-width: 600px;
  }
}

/*
INTRODUCAO
*/

#introducao {
  padding: 4rem 0rem;
}
#introducao .content {
  background-color: rgba(136, 138, 140, 0.125);
  background-color: var(--theblue);
  display: flex;
  flex-wrap: wrap;
}
#introducao .content .foto {
  background-image: url(../image/front-esa.webp);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
#introducao .content .foto:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 0;
  left: 0;
}
#introducao .content .txt {
  padding: 2rem 1rem;
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  gap: 1.5rem;
}
/*
#introducao .content .txt p:not(:last-of-type) {
  padding: 0 2rem 1rem;
}
*/
#introducao .content .txt p a {
  color: inherit;
  font-weight: 600;
}
#introducao .content .parceiros {
  background-color: #ffffff;
  padding: 2.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  border-top: 1rem solid #253fb6;
  border-bottom: 1rem solid #253fb6;
}
#introducao .content .parceiros img {
  width: 90%;
  height: auto;
}

#introducao .content a.button {
  display: flex;
  gap: 0.7rem;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  border-radius: 10rem;
  padding: 1rem 1.6rem;
  box-shadow: 2px 2px 6px rgba(255, 255, 255, 0.25);
  max-width: fit-content;
  width: 100%;
  margin: 1rem auto 0;
  font-size: 1.4rem;
}
#introducao .content a.button img {
  zoom: 1.2;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.4rem;
  border-radius: 10rem;
}
#introducao .content a.button.orange {
  background: var(--theorange);
  border: none;
  color: var(--thetext);
  transition: 200ms;
  font-weight: 600;
}
#introducao .content a.button.orange:hover,
#introducao .content a.button.orange:active,
#introducao .content a.button.orange:focus {
  background: #ffffff;
  color: var(--theblue);
}
#introducao .content a.button.orange:hover img,
#introducao .content a.button.orange:active img,
#introducao .content a.button.orange:focus img {
  filter: var(--thebluefilter);
}
#introducao .content a.button.white {
  background: #ffffff;
  border: none;
  color: var(--theblue);
  transition: 200ms;
  font-weight: 600;
}
#introducao .content a.button.white:hover,
#introducao .content a.button.white:active,
#introducao .content a.button.white:focus {
  background: var(--thered);
  color: #ffffff;
}
#introducao .content a.button.white img {
  filter: var(--thebluefilter);
}
#introducao .content a.button.white:hover img,
#introducao .content a.button.white:active img,
#introducao .content a.button.white:focus img {
  filter: invert(1);
}

@media screen and (min-width: 851px) {
  #introducao .content {
    padding: 0 1rem 0 0;
  }
  #introducao .content .foto {
    width: 25%;
    border-right: 1rem solid #ffffff;
  }
  #introducao .content .txt {
    width: 50%;
  }
  #introducao .content .parceiros {
    width: 25%;
    flex-direction: column;
  }
  #introducao .content .parceiros img {
    max-width: 12.5rem;
  }
}

@media screen and (min-width: 721px) and (max-width: 850px) {
  #introducao .content .foto {
    width: 100%;
    padding-bottom: 35%;
    order: 3;
  }
  #introducao .content .txt {
    width: 67%;
  }
  #introducao .content .parceiros {
    width: 31%;
    margin: 0 1rem 0 0;
    flex-direction: column;
  }
  #introducao .content .parceiros img {
    max-width: 12.5rem;
  }
}

@media screen and (max-width: 720px) {
  #introducao .content .foto {
    width: 100%;
    padding-bottom: 35%;
    order: 3;
    min-height: 15rem;
  }
  #introducao .content .txt {
    width: 100%;
  }
  #introducao .content .parceiros {
    width: 100%;
    margin: 0 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  #introducao .content .parceiros img {
    max-width: 10.5rem;
  }
}

/*
ACONTECE
*/
#acontece {
  padding: 4rem 1rem;
}
#acontece .cardholder {
  width: 96%;
  margin: 0 auto;
  max-width: 1170px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
#acontece .cardholder .card {
  width: 263px;
  height: 263px;
}

/*#acontece .cardholder .card:after {content: attr(data-data);content:'';color: white;background-color: var(--thered);width: 100%;display: flex;justify-content: flex-end;font-size: 0.8rem;font-weight:600;align-items: center;padding: 0.25rem 0.5rem 0.25rem 0;box-sizing: border-box;margin: 0.35rem 0 0 0;}*/

#acontece .cardholder .card a {
  text-decoration: none;
  overflow: auto;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}
#acontece .cardholder .card img {
  width: 100%;
  height: 263px;
  object-fit: cover;
  vertical-align: middle;
}

#acontece .cardholder:hover .card {
  opacity: 0.65;
}
#acontece .cardholder .card:hover {
  opacity: 1;
}
