

.uls {
    display: flex;
    min-height: 24vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style-type: none;
  }
  
  .lis {
    flex: 1;
    display: flex;
    align-items: stretch;
    padding: 20px;
    background: #f8f7f7;
    cursor: pointer;
    transition: all 0.5s ease;
  }
  .lis:hover {
    background: #f8f5f5;
  }
  .lis.active {
    flex: 5;
    background: #fff;
    cursor: default;
  }
  .lis .active h2 {
    color: #f8f4f4;
  }
  .lis.active .section-content {
    flex: 4;
    opacity: 1;
    transform: scaleX(1);
    color: #f8f2f1;
    height: 400px;
  }
  .lis .section-title {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 1   0;
    padding: 0;
    text-align: center;
    color: white;
  }
  .lis .section-title h2 {
    margin: 0;
    transform: rotate(0deg);
    white-space: nowrap;
  }
  .lis .section-content {
    flex: 1;
    display: flex;
    align-items: center;
    margin-right: 25rem;
    padding: 0;
    opacity: 1;
    transition: all 0.25s 0.1s ease-out;
  }
  .lis .section-content p{
    font-size: 60px;
    color: white;
    font-weight: bold;
  }
  .adjust-text{
    margin-left: 3rem;
  }

  .list-menu-item-after{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .list-menu-item-after a{
    font-size: 16px;
    font-weight: 500;
    padding: 10px 10px;
    color: var(--primary-color);
    /*background: rgba(48, 86, 211, 0.06);*/
    border-style: solid;
    border-width: 1px;
    border-color: #014D68;
    border-radius: 50px;
    margin: 10px 280px;
  }
  .list-menu-item-after a:hover {
    background:#014D68;
    color: var(--white);
  }
  .button-section-active-kinder{
    background-color: #36AF18F5;
    color: white !important;
  }
  .button-section-active-elementary{
    background-color: #DE9137;
    color: white !important;
    border-color: #DE9137;
  }
  .button-section-active-jrhigh{
    background-color: #A620D5;
    mix-blend-mode: multiply;
    border-color: #A620D5;
    color: white !important;
  }
  .button-section-active-highschool{
    background: rgba(0, 0, 0, 0.61);
    mix-blend-mode: multiply;
    border-color: rgba(0, 0, 0, 0.61);
    color: white !important;
  }
 .link-oferts{
    border-radius: 50%;
    border-color: #014D68;
    color: white;
    background: rgb(252, 250, 250);
 }

 /*After School Menu*/

 .wrapper-after {
  width: 100%;
  height: 160px;
  display: flex;
  justify-content: space-around;
}

.card-after {
  width: 100%;
  height: 400%;
  border-radius: 0px;
  padding: 1.5rem;
  background: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0s ease-out;
  box-shadow: 0px 7px 10px rgba(5, 82, 80, 0.5);
}

.card-after:hover:before {
  opacity: 1;
}
.card-after:hover .info {
  opacity: 1;
}
.card-after:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0px;
  background: rgba(7, 132, 130, 0.983);
  mix-blend-mode: multiply;
  z-index: 2;
  opacity: 0;
  
}
.card-after img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0px;
}
.card-after .info {
  position: relative;
  z-index: 3;
  color: white;
  opacity: 0;
  transform: translateY(0px);
  transition: 0.0s;
  font-family:"Montserrat", sans-serif;
}
.card-after .info h1 {
  margin: 0px;
  font-family:"Montserrat", sans-serif;
  color: white;
  text-align: center;
}
.card-after .title-dep h1 {
  margin: 0px;
  font-family:"Montserrat", sans-serif;
  color: white;
  text-align: center;
  position: absolute;
  margin-top: -20rem;
  margin-left: 16rem;
}
.card-after .title-art h1 {
  margin: 0px;
  font-family:"Montserrat", sans-serif;
  color: white;
  text-align: center;
  position: absolute;
  margin-top: -20rem;
  margin-left: 16rem;
}
.card-after:hover .title-art h1 {
  opacity: 1 !important;
  color: white !important;
  z-index: 99999 !important;
}
.card-after:hover .title-dep h1 {
  opacity: 1 !important;
  color: white !important;
  z-index: 99999 !important;
}
.card-after .info a {
  letter-spacing: 1px;
  font-size: 60px;
  margin-bottom: 17rem;
  margin-left: 15rem;
  font-weight: bold;
  color: white;
  text-align: justify;
  line-height: 42px;

}
.card-after .title-art h1 {
  margin: 0px;
  font-family:"Montserrat", sans-serif;
  color: white;
  text-align: center;
  position: absolute;
  margin-top: -20rem;
  margin-left: 16rem;
}
.card-after .title-dep h1 {
  margin: 0px;
  font-family:"Montserrat", sans-serif;
  color: white;
  text-align: center;
  position: absolute;
  margin-top: -20rem;
  margin-left: 16rem;
}

.format-after-span-submenu{
  color: #014D68 !important;
  text-align: center !important;
  font-family: "Montserrat" !important;
  font-size: 17px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
  text-transform: uppercase !important;
}

.adjust-after-content-section{
  display: flex !important;
  width: 764px !important;
  height: 122px !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.fotmat-after-content-section{
  color: #FFF !important;
  text-align: center !important;
  font-family: Montserrat !important;
  font-size: 71.947px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: normal !important;
  margin-right: -8rem !important;
}

@media screen and (min-width: 1400px) {
  .uls {
    min-height: 30vh;
  }
  
  .card-after {
    height: 450%;
  }
  
  .card-after .info a {
    font-size: 70px;
    margin-bottom: 20rem;
    margin-left: 18rem;
  }
  
  .fotmat-after-content-section {
    font-size: 80px !important;
  }
  
  .adjust-after-content-section {
    width: 900px !important;
  }
}

@media screen and (max-width: 1200px) {
  .uls {
    min-height: 20vh;
  }
  
  .list-menu-item-after a {
    margin: 10px 150px;
  }
  
  .card-after .info a {
    font-size: 50px;
    margin-bottom: 15rem;
    margin-left: 12rem;
  }
  
  .card-after .title-dep h1,
  .card-after .title-art h1 {
    margin-left: 12rem;
  }
  
  .fotmat-after-content-section {
    font-size: 60px !important;
    margin-right: -6rem !important;
  }
  
  .adjust-after-content-section {
    width: 600px !important;
  }
}

@media screen and (max-width: 992px) {
  .uls {
    flex-direction: column;
    min-height: auto;
  }
  
  .lis {
    flex: 1;
    padding: 15px;
  }
  
  .lis.active {
    flex: 2;
  }
  
  .list-menu-item-after a {
    margin: 10px 100px;
  }
  
  .card-after .info a {
    font-size: 40px;
    margin-bottom: 12rem;
    margin-left: 8rem;
  }
  
  .card-after .title-dep h1,
  .card-after .title-art h1 {
    margin-left: 8rem;
    margin-top: -15rem;
  }
  
  .fotmat-after-content-section {
    font-size: 50px !important;
    margin-right: -4rem !important;
  }
  
  .adjust-after-content-section {
    width: 500px !important;
  }
}

@media screen and (max-width: 768px) {
  .list-menu-item-after a {
    margin: 10px 50px;
    font-size: 14px;
  }
  
  .card-after {
    height: 300%;
  }
  
  .card-after .info a {
    font-size: 30px;
    margin-bottom: 8rem;
    margin-left: 5rem;
  }
  
  .card-after .title-dep h1,
  .card-after .title-art h1 {
    margin-left: 5rem;
    margin-top: -12rem;
    font-size: 24px;
  }
  
  .fotmat-after-content-section {
    font-size: 40px !important;
    margin-right: -2rem !important;
  }
  
  .adjust-after-content-section {
    width: 400px !important;
    height: 100px !important;
  }
}

@media screen and (max-width: 480px) {
  .lis {
    padding: 10px;
  }
  
  .list-menu-item-after a {
    margin: 5px 20px;
    font-size: 12px;
    padding: 8px;
  }
  
  .card-after {
    height: 200%;
    padding: 1rem;
  }
  
  .card-after .info a {
    font-size: 24px;
    margin-bottom: 5rem;
    margin-left: 2rem;
  }
  
  .card-after .title-dep h1,
  .card-after .title-art h1 {
    margin-left: 2rem;
    margin-top: -8rem;
    font-size: 20px;
  }
  
  .fotmat-after-content-section {
    font-size: 30px !important;
    margin-right: -1rem !important;
  }
  
  .adjust-after-content-section {
    width: 300px !important;
    height: 80px !important;
  }
  
  .format-after-span-submenu {
    font-size: 14px !important;
  }
}