@import "vars.css";
@import "typography.css";
@import "general.css";

.educational-centers .store-hero{
  background-image: url("../images/edu-hero-bg.png");
}

.educational-centers .store-hero .section-body .top{
  padding-right: 70px;
  padding-left: 70px;
}

.educational-centers .store-hero .section-body .top::before{
  content: '';
  bottom: -18px;
  left: -133px;
  width: 244.55px;
  height: 184.024px;
  transform: rotate(-21.221deg);
  background-image: url(../images/ec-hero-img-1.png);
  background-size: 100%;
  top: auto;
  bottom: -62px;
}

.educational-centers .store-hero .section-body .top::after{
  content: '';
  width: 264px;
  height: 249px;
  background-image: url(../images/ec-hero-img-2.png);
  background-size: 100%;
  right: -90px;
  bottom: -55px;
}

.educational-centers .store-hero .section-body .top p.h3{
  max-width: 650px;
}

@media (min-width: 577px){

  .educational-centers .store-hero .section-body .bottom a{
    width: 400px;
  }
}

.educational-centers .section-footer{
  margin-top: 60px;
}

.educational-centers .section-footer__content{
  background-color: var(--blue);
  padding: 50px;
}

.educational-centers .section-footer__content > p{
  display: flex;
  flex-flow: row nowrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.educational-centers .section-footer__content > p > span.blue{
  background-color: var(--white);
  padding: 4px 10px;
}

@media (max-width: 990px){

  .educational-centers .store-hero .section-body .top::before{
    left: -50px;
    width: 160.55px;
    height: 120.024px;
    bottom: 0;
  }

  .educational-centers .store-hero .section-body .top::after{
    width: 176px;
    height: 166px;
    right: -54px;
    bottom: -38px;
  }
}

@media (max-width: 768px){

  .educational-centers .section-footer__content{
    padding: 32px;
  }

  .educational-centers .section-footer__content > p{
    flex-direction: column;
  }
}

@media (max-width: 576px){

  .educational-centers .store-hero .section-body .top{
    padding: 50px 25px 75px;
  }

  .educational-centers .store-hero .section-body .top::before {
    top: -95px;
    left: 50%;
    transform: rotate(-21.221deg) translateX(-50%);
  }

  .educational-centers .store-hero .section-body .top::after{
    width: 264px;
    height: 249px;
    bottom: -350px;
  }

  .educational-centers .section-footer__content > p > span.blue{
    text-align: center;
  }
}
  
