@font-face {
  font-family: "Source Sans Pro";
  src: url("/fonts/SourceSansPro-Regular.otf");
  font-weight: 400;
}
@font-face {
  font-family: "Source Sans Semi Bold";
  src: url("/fonts/SourceSansPro-Semibold.otf");
  font-weight: 800;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
.container {
  width: min(95%, 1100px);
  margin-inline: auto;
}
body {
  background-color: #fbe6c9;
  font-family: "Source Sans Pro";
}
:is(picture, img) {
  display: block;
  max-width: 100%;
}
header {
  background-color: #ffffff;
  padding-block: 20px;
  border-radius: 0 0 50px 50px;
}
.flexItems {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.flexItems a > img {
  width: 180px;
}
.flexItems > nav > a {
  text-decoration: none;
  font-size: 15px;
  line-height: 18px;
  color: #0871cb;
  font-family: "Source Sans Semi Bold";
}
.flexItems nav {
  display: flex;
  gap: 14px;
}
.flexItems > a {
  background-color: #0871cb;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 32px;
  border-radius: 50px;
  display: inline-block;
}
main {
  position: relative;
  padding-block: 30px;
}
main::before {
  content: "";
  background-image: url(./images/path01.png);
  width: 100%;
  display: block;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
  top: -40px;
}
.gridItems {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
h2 {
  font-size: 22px;
  line-height: 25px;
}
h3 {
  font-size: 48px;
  line-height: 52px;
  font-family: "Source Sans Semi Bold";
}
.blue {
  color: #0072cf;
}
.greenOlive {
  color: #655431;
}
.greenLight {
  color: #4b694d;
}
.orange {
  color: #f3bb47;
}
.white {
  color: #ffffff;
}
.mb-30 {
  margin-bottom: 30px;
}
.separatorSection > a:not(.fancybox) {
  background-color: #1c5789;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 32px;
  border-radius: 50px;
  display: inline-block;
}
.separatorSection > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-items: center;
}
.separatorSection > div > h3 {
  grid-area: 2 / 1 / 3 / 3;
}
.separatorSection > div > picture:first-child img {
  width: 80px;
}
.separatorSection > div > picture img.img150 {
  width: 150px;
}
section.beneficiarios {
  position: relative;
  padding-block: 30px;
}
section.beneficiarios::before {
  content: "";
  background-image: url(./images/path02.png);
  width: 100%;
  display: block;
  height: 400px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
  left: 0;
  top: -50px;
}
section.beneficiarios::after {
  content: "";
  background-image: url(./images/path03.png);
  width: 135px;
  display: block;
  height: 340px;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
  bottom: 0px;
  right: 0;
}
.flexSeparator {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.flexSeparator > .alumBenef img {
  width: 180px;
}
.flexSeparator > .alumBenef:nth-child(1) > div {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 15px;
}
.flexSeparator > .alumBenef:nth-child(2) > div {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-start;
  margin-bottom: 15px;
}
.flexSeparator > .alumBenef:nth-child(2) > picture > img {
  float: right;
  clear: both;
}
.parrafo {
  font-size: 16px;
  line-height: 19px;
}
.parrafo2 {
  font-size: 18px;
  line-height: 19px;
  font-family: "Source Sans Semi Bold";
}
.mb-15 {
  margin-bottom: 5px;
}
.programa {
  padding-block: 30px;
}
.programa .gridPrograma {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: repeat(7, auto);
  gap: 20px;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 50px;
}
.gridPrograma > picture > img {
  width: 180px;
  margin-inline: auto;
}
.testimonios {
  position: relative;
  padding-block: 30px;
  background-color: #d0ded1;
  border-radius: 50px;
}
.testImage {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.imageTest {
  width: 90px;
}
.openClass {
  padding-block: 30px;
}
.clasesAbiertas {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  padding: 20px 20px 20px 0;
}
.clasesAbiertas > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.clasesAbiertas > div:nth-child(2) > div {
  text-align: center;
}
.clasesAbiertas > div:nth-child(2) > div > a > img {
  width: 150px;
  margin-inline: auto;
}
.clasesAbiertas > div:nth-child(2) > div:nth-child(1) > span.openClassDetails {
  background-color: #1c5789;
  color: #ffffff;
  padding: 10px 32px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 15px;
}
.clasesAbiertas > div:nth-child(2) > div:nth-child(2) > span.openClassDetails {
  background-color: #4b694d;
  color: #ffffff;
  padding: 10px 32px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 15px;
}
.clasesAbiertas::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: -1;
  border-radius: 0 50px 50px 0;
}
.videoText > img {
  margin-bottom: 12px;
}
footer {
  background-color: #0072cf;
  padding-block: 50px 20px;
  border-radius: 50px 50px 0 0;
  margin-top: 50px;
}
.gridFooter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 30px;
}
.gridFooter > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.gridFooter > div:first-child > picture:first-child img {
  width: 80px;
}
.gridFooter > div:first-child > picture:last-child img {
  width: 130px;
}
.gridFooter > div:not(:first-child) {
  display: flex;
  flex-direction: column;
}
.gridFooter > div:not(:first-child) > a {
  color: #ffffff;
  text-decoration: none;
}
.textCenter {
  text-align: center;
}
footer .container > div:nth-child(2) {
  padding-bottom: 15px;
  border-bottom: 1px solid #ffffff;
}
.iconRRSS {
  width: 20px;
}
footer .container > div:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  gap: 25px;
}
@media (min-width: 768px) {
  main::before {
    height: 180px;
  }
  .separatorSection > div {
    grid-template-columns: repeat(3, 1fr);
  }
  .separatorSection > div > h3 {
    grid-area: auto;
  }
  .gridItems {
    gap: 60px;
  }
  .videoFondo {
    width: 300px;
    margin-inline: auto;
  }
  .flexSeparator > .alumBenef:nth-child(1) {
    display: flex;
    gap: 5px;
    align-items: flex-start;
  }
  .flexSeparator > .alumBenef:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
  }
  .flexSeparator {
    gap: 10px;
  }
  section.beneficiarios::before {
    height: 500px;
    top: -95px;
  }
  section.beneficiarios::after {
    width: 145px;
    height: 430px;
    bottom: -60px;
  }
  .programa .gridPrograma {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
  }
  .programa .gridPrograma > picture {
    grid-area: 4 / 1 / 5 / 3;
    margin-top: 15px;
  }
  .clasesAbiertas > div:nth-child(2) {
    flex-direction: row;
  }
  .gridFooter {
    grid-template-columns: repeat(3, 1fr);
  }
  .gridFooter > div:first-child {
    grid-area: 1 / 1 / 2 / 4;
  }
}
@media (min-width: 1000px) {
  .flexItems {
    flex-direction: row;
    justify-content: space-between;
  }
  .gridItems {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .gridItems .separatorSection > h2 {
    font-size: 35px;
    line-height: 1;
    margin-bottom: 25px;
  }
  main::before {
    height: 300px;
  }
  .separatorSection > div {
    justify-items: flex-start;
    align-items: center;
    grid-template-columns: repeat(3, auto);
    gap: 20px;
  }
  h3 {
    font-size: 64px;
  }
  h2 {
    font-size: 28px;
  }
  section.beneficiarios::before {
    height: 580px;
    top: -105px;
  }
  .flexSeparator > .alumBenef:nth-child(2) {
    margin-top: -60px;
  }
  section.beneficiarios::after {
    width: 185px;
    height: 540px;
    bottom: -120px;
  }
  footer .container > div:last-child {
    justify-content: flex-start;
  }
  .gridFooter > div:first-child {
    flex-direction: row;
    grid-area: auto;
  }
  .gridFooter {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .videoText {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .videoText > img {
    width: 65%;
  }
  .videoText > div {
    flex: 1;
  }
  .testimonios {
    background-color: transparent;
    background-image: url(./images/path04.png);
    background-size: 100% 100%;
    height: auto;
    padding-block: 90px;
  }
}

.seleccionados-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 24px;
}

.seleccionados-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seleccionados-grid ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.seleccionados-grid ul li::before {
  content: "";
  background: transparent url("../images/check.png") no-repeat center;
  background-size: contain;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.seleccionados-container {
  background: white;
  padding: 1rem;
  border-radius: 50px;
}

.seleccionados-title {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.3;
  font-weight: 500;
}

.seleccionados-bg {
  border-radius: 34px;
  overflow: hidden;
  background: #fff8ef;
  padding: 24px;
}

@media (min-width: 768px) {
  .seleccionados-container {
    background: white;
    padding: 2rem;
    border-radius: 50px;
  }

  .seleccionados-bg {
    border-radius: 25px;
    overflow: hidden;
    background: #fff8ef;
    padding: 32px;
  }

  .seleccionados-title {
    font-family: "Fraunces", serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.3;
    font-weight: 500;
  }
}

@media (min-width: 1000px) {
  .seleccionados-grid {
    grid-template-columns: 1fr 1fr;
  }
}
