.curved {
    position: relative;
    background-image: linear-gradient(gold, rgb(80, 2, 80));
    width: 100%;
    height: 370px;
    padding: 20px;
  }

  .curved .about {
    background-color: gold;
    margin: 50px 0px 0px 400px;
    color: rgb(80, 2, 80);
    height: 200px;
    width: 500px;
    border-radius: 50%;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3), 0 10px 30px 0 rgba(0, 0, 0, 0.25);
  }

  .curved .kid {
    position: absolute;
    top: 70px;
    left: 100px;
    width: 200px;
    height: 200px;
  }
  .curved .kid:hover {
    animation: shake 0.5s;
    animation-iteration-count: infinite;
  }

  .curved .kids {
    position: absolute;
    float: right;
    top: 70px;
    right: 100px;
    width: 200px;
    height: 200px;
  }

  .curved .kids:hover {
    animation: rotate 4s;
    animation-iteration-count: infinite;
  }

  .curved .about h2 {
    padding: 60px 100px 100px 100px;
    text-align: center;
    font-size: 60px;
  }

  .curved .about h2:hover {
    position: relative;
    animation-name: fontani;
    animation-duration: 4s;
  }

.aboutbg {
  position: relative;
  background-image: url("../../images/aboutbg.png");
  background-color: white;
  padding: 60px 0px 30px 150px;
}

.aboutbg .curved-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.aboutbg .curved-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 125px;
}

.aboutbg .curved-divider-top .shape-fill {
  fill: rgb(80, 2, 80);
}

.aboutbg img {
  width: 1000px;
  height: 800px;
  padding: 0px 0px 50px 0px;
}

.aboutbg .acontent {
  position: absolute;
  color: rgb(80, 2, 80);
  top: 280px;
  left: 250px;
  width: 800px;
  font-size: 15px;
  text-align: center;
  padding: 30px 50px 20px 50px;
  }

.aboutbg .acontent h4 {
  top: 0px;
  font-size: 20px;
  padding: 0;
  margin: 0;
  }

.aboutbg .acontent ul {
  list-style-position: inside; /* Remove default bullets */
  padding: 0;
  margin: 0;
  text-align: left; /* Ensure text is left-aligned */
  }
  
.aboutbg .acontent ul li {
  padding-left: 300px; /* Space for the bullet */
  }

.aboutbg .curved-bottom-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.aboutbg .curved-bottom-divider svg {
  position: relative;
  display: block;
  width: calc(134% + 1.3px);
  height: 184px;
}

.aboutbg .curved-bottom-divider .shape-fill {
  fill: rgb(80, 2, 80);
}

@keyframes fontani {
  0%   {left:0px; top:0px;}
  25%  {left:30px; top:0px;}
  50%  {left:30px; top:30px;}
  75%  {left:0px; top:30px;}
  100% {left:0px; top:0px;}
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

@keyframes rotate {
  0% { transform: rotateZ(360deg);}
  50% { transform: rotateZ(-360deg);}
}
@media only screen and (max-width: 1024px) {
  .curved {
    height: 250px;
  }

  .curved .about {
    margin: -20px 0px 0px 300px;
    height: 150px;
    width: 400px;
  }

  .curved .about h2 {
    padding: 40px 50px 100px 40px;
    font-size: 45px;
  }

  .curved .kid {
    top: 30px;
    left: 80px;
    width: 150px;
    height: 150px;
  }

  .curved .kids {
    top: 30px;
    right: 80px;
    width: 150px;
    height: 150px;
  }

  .aboutbg {
    height: 880px;
    padding: 70px 10px 5px 10px;
  }

  .aboutbg .curved-divider-top svg {
    width: calc(134% + 1.3px);
    height: 100px;
  }

  .aboutbg img {
    width: 100%;
    height: 770px;
    padding: 0;
    margin-bottom: 20px;
  }

  .aboutbg .acontent {
    top: 310px;
    left: 125px;
    width: 800px;
    font-size: 16px;
    text-align: center;
    padding: 20px 0px 5px 0px;
    }

  .aboutbg .acontent h4 {
    font-size: 18px;
    }
    
  .aboutbg .acontent ul li {
    padding-left: 350px; /* Space for the bullet */
    }

  .aboutbg .curved-bottom-divider svg {
    width: calc(134% + 1.3px);
    height: 100px;
  }
}
@media only screen and (max-width: 620px) {
  .curved {
    height: 220px;
  }

  .curved .about {
    margin: 0px 0px 0px 135px;
    height: 100px;
    width: 300px;
  }

  .curved .about h2 {
    padding: 20px 50px 100px 40px;
    font-size: 40px;
  }

  .curved .kid {
    top: 30px;
    left: 20px;
    width: 120px;
    height: 120px;
  }

  .curved .kids {
    top: 30px;
    right: 20px;
    width: 120px;
    height: 120px;
  }

  .aboutbg {
    padding: 30px 5px 5px 5px;
  }

  .aboutbg .curved-divider-top svg {
    width: calc(100% + 1px);
    height: 50px;
  }

  .aboutbg img {
    width: 100%;
    height: 600px;
    padding: 0;
    margin-bottom: 20px;
  }

  .aboutbg .acontent {
    top: 200px;
    left: 130px;
    width: 350px;
    font-size: 11px;
    text-align: center;
    padding: 30px 50px 20px 45px;
    }

  .aboutbg .acontent h4 {
    font-size: 12px;
    }

  .aboutbg .acontent ul {
    list-style-position: inside; /* Remove default bullets */
    padding: 0;
    margin: 0;
    text-align: left; /* Ensure text is left-aligned */
    }
    
  .aboutbg .acontent ul li {
    padding-left: 100px; /* Space for the bullet */
    }

  .aboutbg .curved-bottom-divider svg {
    width: calc(100% + 1px);
    height: 50px;
  }
}
@media only screen and (max-width: 412px) {
  .curved {
    height: 310px;
  }

  .curved .about {
    margin: 130px 0px 0px 40px;
    height: 100px;
    width: 300px;
  }

  .curved .about h2 {
    padding: 20px 50px 100px 40px;
    font-size: 40px;
  }

  .curved .kid {
    top: 20px;
    left: 40px;
    width: 120px;
    height: 120px;
  }

  .curved .kids {
    top: 20px;
    right: 40px;
    width: 120px;
    height: 120px;
  }

  .aboutbg {
    height: auto;
    padding: 30px 5px 0px 5px;
  }

  .aboutbg .curved-divider-top svg {
    width: calc(100% + 1px);
    height: 50px;
  }

  .aboutbg img {
    width: 100%;
    height: 500px;
    padding: 0;
    margin-bottom: 20px;
  }

  .aboutbg .acontent {

    top: 150px;
    left: 40px;
    width: 330px;
    height: auto;
    font-size: 9px;
    text-align: center;
    padding: 30px 55px 40px 40px;
    }

  .aboutbg .acontent h4 {
    font-size: 10px;
    }

  .aboutbg .acontent ul {
    list-style-position: inside; /* Remove default bullets */
    padding: 0;
    margin: 0;
    text-align: left; /* Ensure text is left-aligned */
    }
    
  .aboutbg .acontent ul li {
    padding-left: 100px; /* Space for the bullet */
    }

  .aboutbg .curved-bottom-divider svg {
    width: calc(100% + 1px);
    height: 50px;
  }
}
@media only screen and (max-width: 360px) {
  .curved {
    height: 300px;
  }

  .curved .about {
    margin: 130px 0px 0px 10px;
    height: 100px;
    width: 300px;
  }

  .curved .about h2 {
    padding: 20px 50px 100px 40px;
    font-size: 40px;
  }

  .curved .kid {
    top: 20px;
    left: 40px;
    width: 100px;
    height: 100px;
  }

  .curved .kids {
    top: 20px;
    right: 40px;
    width: 100px;
    height: 100px;
  }

  .aboutbg {
    position: relative;
    padding: 30px 5px 0px 5px;
  }

  .aboutbg .curved-divider-top svg {
    width: calc(100% + 1px);
    height: 35px;
  }

  .aboutbg img {
    width: 100%;
    height: 500px;
    padding: 0;
    margin-bottom: 20px;
  }

  .aboutbg .acontent {

    top: 150px;
    left: 18px;
    width: 330px;
    height: auto;
    font-size: 8.4px;
    text-align: center;
    padding: 30px 60px 40px 40px;
    }

  .aboutbg .acontent h4 {
    font-size: 10px;
    }

  .aboutbg .acontent ul {
    list-style-position: inside; /* Remove default bullets */
    padding: 0;
    margin: 0;
    text-align: left; /* Ensure text is left-aligned */
    }
    
  .aboutbg .acontent ul li {
    padding-left: 90px; /* Space for the bullet */
    }

  .aboutbg .curved-bottom-divider svg {
    width: calc(100% + 1px);
    height: 50px;
  }
}