body {
  font-size: var(--bs-body-font-size);
}

#logo a h2::first-letter {
  font-size: 1.5em;
}

#white-box {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: rgb(54, 54, 54);
  width: 35%;
  height: 140px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

#white-box::after {
  content: '';
  position: absolute;
  right: -90px;
  top: 50%;
  border-style: solid;
  border-width: 0px 0 140px 90px;
  border-color: transparent transparent transparent white;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  #white-box::before {
    content: '';
    position: absolute;
    left: -90px;
    top: 50%;
    border-style: solid;
    border-width: 0px 90px 140px 0;
    border-color: transparent white transparent transparent;
    transform: translateY(-50%) translateX(0%);
  }
}

@media (max-width: 768px) {
  #white-box {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
  }
}

@media (max-width: 450px) {
  #white-box {
    height: 120px;
    width: 65%;
  }
}

@media (max-width: 450px) {
  #white-box::before {
    border-width: 0px 50px 120px 0;
    left: -50px;
  }
}

@media (max-width: 450px) {
  #white-box::after {
    border-width: 0px 0px 120px 50px;
    right: -50px;
  }
}

@media (max-width: 450px) {
  #title {
    font-size: 26.4px;
  }
}

@media (max-width: 450px) {
  #title-p {
    font-size: 14px;
  }
}

#hero-div {
  height: 409px;
}

@media (min-width: 992px) {
  #hero-div {
    height: 460px;
  }
}

@media (min-width: 1200px) {
  #hero-div {
    height: 620px;
    width: 95%;
    margin: auto;
  }
}

@media (min-width: 1400px) {
  #hero-div {
    height: 730px;
    width: 96%;
    max-width: 1700px;
    margin: auto;
    box-shadow: 2px 0px 12px 5px rgba(0,0,0,.6);
  }
}

.blue-blob {
  color: white;
  border-radius: 6px;
  background: #122273;
  padding: 0px;
}

.btn1 {
  background: white;
  color: black;
  border-style: solid;
  border-color: black;
  margin-top: 24px;
  margin-bottom: 13px;
  font-size: 24px;
}

.btn1:hover {
  background: #253861;
  color: white;
  transition: ease;
  transition-duration: .4s;
  border-color: black;
}

.btn2:hover {
  background-color: white;
  color: black;
  text-align: center;
  border: 1px solid black ;
}

.btn2 {
  background-color: #253861;
  border-color: #253861;
  color: white;
}

#content-container {
  gap: 20px;
  width: 100%!important;
  margin: auto;
  padding: 0px;
}

@media (min-width: 576px) {
  .class-row {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .class-row {
    max-width: 724px;
  }
}

@media (min-width: 992px) {
  .class-row {
    max-width: 964px;
  }
}

@media (min-width: 1200px) {
  .class-row {
    max-width: 1141px;
  }
}

@media (min-width: 1400px) {
  .class-row {
    max-width: 1328px;
  }
}

@media (min-width: 992px) {
  #Meet-Instructor .card {
    padding-left: 15px;
  }
}

#Hero {
  margin-top: 96px;
}

@media (min-width: 1200px) {
  #Hero {
    margin-top: 108px;
  }
}

@media (min-width: 992px) {
  #Hero {
    margin-top: 107px;
  }
}

@media (min-width: 992px) {
  .class-title {
    padding-top: 17px;
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .class-day {
    margin-right: 11px;
    font-size: 24px;
  }
}

@media (min-width: 1400px) {
  .class-day {
    margin-bottom: 19px;
    font-size: 25px!important;
  }
}

.class-p {
  padding-left: 11px;
  padding-right: 11px;
}

@media (min-width: 576px) {
  .class-p {
    padding-left: 30px;
  }
}

@media (min-width: 768px) {
  .class-p {
    padding-left: 132px;
  }
}

@media (min-width: 992px) {
  .class-p {
    margin-right: 11px;
    font-size: 19px;
    padding-left: 70px;
  }
}

@media (min-width: 1400px) {
  .class-p {
    font-size: 21px;
    max-width: 95%;
    padding-left: 94px;
  }
}

@media (min-width: 576px) {
  .class-title {
    padding-top: 18px;
    margin-bottom: 13px;
  }
}

@media (min-width: 300px) {
  .class-title {
    padding-top: 14px;
    padding-bottom: 15px;
  }
}

.location-container {
  padding-left: 5px;
  padding-right: 5px;
}

@media (max-width: 576px) {
  .location-container {
    padding-right: 0px;
    padding-left: 0px;
    max-width: 600px;
  }
}

#Hero-Header {
  width: 100%;
  margin-top: 96px;
}

.hero-small-edu {
  height: 118.8125px;
  position: relative;
  color: white;
  z-index: 0;
  background: url("../pic/stock-book.7234b8c937a5.jpg") center!important;
}

.hero-small {
  height: 118.8125px;
  position: relative;
  color: white;
  z-index: 0;
  background: url("../pic/stock-blackbelt.7eab3c07d565.jpeg") center;
}

.hero-small:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

#Hero-Header h1 {
  position: relative;
  z-index: 2;
  margin-left: 50px;
}

@media (min-width: 768px) {
  #Hero-Header {
    margin-top: 103px;
  }
}

@media (min-width: 1200px) {
  #Hero-Header {
    margin-top: 110px;
  }
}

.inquire-form {
  background: #253861;
  border-radius: 6px;
}

.form-container {
  max-width: 358px;
}

@media (min-width: 768px) {
  .form-container {
    max-width: 1200px;
  }
}

.contact-icons {
  background: #253861;
}

#calendar {
  margin: 20px 5px;
  width: 100%;
}

@media (min-width: 768px) {
  #calendar {
    width: 80%;
  }
}

.announcement-container {
  max-height: 541px;
  overflow-y: scroll;
  margin: 0px 5px 20px 5px;
  width: 100%;
}

@media (min-width: 768px) {
  .announcement-container {
    width: 80%;
    overflow-x: hidden;
  }
}

.logo-card.mma {
  background: url("../pic/Picture3.f3b7040de5f0.webp");
}

.services {
  max-width: 600px;
}

.services-img {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
}

.about-me-panel {
  background: linear-gradient(135deg, #f9f5ee 0%, #ffffff 55%, #eef3fb 100%);
  border: 1px solid rgba(37, 56, 97, 0.12);
  box-shadow: 0 18px 40px rgba(37, 56, 97, 0.08);
}

.about-me-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #253861;
  font-family: 'Spectral SC', serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-me-title {
  color: #1e2d4d;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-me-copy {
  color: #3c434f;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .location-container.about-me {
    max-width: 600px;
  }
}

@media (min-width: 1200px) {
  .location-container.about-me {
    max-width: 1140px;
  }
}

.btn1.podcast-btn:hover {
  background: rgb(0,0,0);
}

.podcast-img {
  max-width: 274px;
  border-radius: 6px;
}

@media (min-width: 576px) {
  .podcast-img {
    max-width: 400px;
    border-radius: 6px;
  }
}

.top-block {
  display: flex;
  justify-content: center;
  width: 100%;
  background-image: url("../pic/bk.6f99017de756.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  margin-top: 83px;
}

.top-flex {
  width: 100%;
  max-width: 750px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.top-flex img {
  margin: 25px 0 25px 0;
  border-radius: 10px;
}

.scrollingcont {
  margin: 0 25px 0 25px;
}

#textContainer {
  line-height: 35px;
}

#textContainer2 {
  font-size: 15px;
  font-weight: 100;
}

.fade-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s, transform 2s;
  font-size: 28px;
  text-align: center;
  min-height: 30px;
}

.fade-line {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s, transform 2s;
  background-color: white;
}

.visibles {
  opacity: 1;
  transform: translateY(0px);
}

@media (max-width: 650px) {
  .scrollingcont {
    background-color: rgba(33, 33, 33, 0.8);
    position: absolute;
    top: 58%;
    right: 16%;
    border: 1px solid rgb(51, 51, 51);
    padding: 20px 10px 20px 10px;
    border-radius: 10px;
    margin: 0;
  }
}

@media (max-width: 650px) {
  .top-flex img {
    margin-left: 100px;
  }
}

@media (max-width: 650px) {
  .top-flex {
    position: relative;
    justify-content: center;
    max-width: 400px;
  }
}

@media (max-width: 380px) {
  .scrollingcont {
    right: 9%;
  }
}

@media (max-width: 359px) {
  .scrollingcont {
    right: 5%;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
  }
}

@media (max-width: 359px) {
  .top-flex img {
    margin-left: 0px;
  }
}

@media (max-width: 365px) {
  .services-img {
    max-width: 252px;
  }
}

.parent {
  position: absolute;
  display: flex;
  justify-content: center;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.maingrid {
  position: relative;
  width: 100%;
  background-color: rgb(19, 19, 19);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  color: white;
  max-width: 900px;
}

.educon-index {
  position: relative;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 5;
}

.logo {
  background-color: rgba(255, 255, 255, .8);
  text-align-last: center;
  width: fit-content;
  padding: 20px;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  border-radius: 10px;
  cursor: pointer;
}

.logo-main {
  color: #253861;
  background-color: transparent;
  font-family: 'Spectral SC', serif;
  text-align: center;
  letter-spacing: 3px;
  font-size: 3.6rem;
  font-weight: 300;
  margin-bottom: 0px;
}

.logo-divider {
  border: 0;
  height: 2px;
  margin: 0 auto 10px;
  width: 100%;
  background-color: #253861;
}

.logo-tagline {
  font-size: 1.0rem;
  background-color: transparent;
  color: #253861;
  text-align: center;
  font-weight: 200;
  margin: 0;
  font-weight: 400;
}

.mma-index {
  position: relative;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 5;
}

.mma-index img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s ease;
  filter: blur(0px);
}

.educon-index img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s ease;
  filter: blur(0px);
}

.educon-index a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(0, 0, 0, 0);
}

.mma-index a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: rgba(0, 0, 0, 0);
}

.mma-index:hover img {
  filter: blur(9px);
}

.educon-index:hover img {
  filter: blur(9px);
}

.logo-main::first-letter {
  font-size: 4.6rem;
  line-height: 3rem;
}

.fc-event {
  cursor: pointer;
}


@media (max-width: 1010px) {
  .maingrid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    max-width: 650px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .parent {
    position: static;
    min-height: 100vh;
    padding: 24px 16px;
    transform: none;
    align-items: center;
  }

  .maingrid {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
    max-width: 360px;
    margin: 0 auto;
  }

  .educon-index,
  .mma-index {
    grid-column: 1 / 2;
    height: auto;
    width: 100%;
  }

  .educon-index {
    grid-row: 1 / 2;
  }

  .mma-index {
    grid-row: 2 / 3;
  }

  .logo {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
}

@media (max-width: 1010px) {
  .educon-index {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 90%;
  }
}

@media (max-width: 1010px) {
  .educon-index {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 90%;
  }
}

@media (max-width: 1010px) {
  .mma-index {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: 90%;
  }
}

@media (max-width: 1010px) {
  .logo {
    padding: 15px;
  }
}

@media (max-width: 1010px) {
  .logo-main {
    font-size: 1.6rem;
    letter-spacing: .2rem;
  }
}

@media (max-width: 1010px) {
  .logo-main::first-letter {
    font-size: 2.5rem;
    line-height: .2rem;
  }
}

@media (max-width: 1010px) {
  .logo-tagline {
    font-size: .7rem;
  }
}
