* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background-color: gray;
}

.main {
  min-height: 100vh;
}
.container {
  min-height: inherit;
  padding: 0;
}
.parent_title_lesson {
  background-color: #d7d6d6;
  text-align: center;
  padding: 2% 0;
  display: flex;
  justify-content: space-around;
}
a {
  color: #000 !important;
}
.parent_title_lesson h1 {
  margin-bottom: 0;
  color: #fff;
}
.selected {
  border: 3px solid #000;
  transition: 0.7s;
  margin: 0 auto;
  text-align: center;
}
.red {
  background-color: red !important;
}
.blue {
  background-color: blue !important;
}
.green {
  background-color: green !important;
}
.colors {
  color: #fff;
  width: fit-content;
  margin: 0 auto;
}
.color {
  padding: 0.5em 2em;
  margin: 1em 0;
  border-radius: 0.7em;
  font-weight: bold;
  cursor: pointer;
}

.setting_btn {
  background: none !important;
  border: none !important;
  outline: none !important;
}
.setting_btn img {
  width: 3em;
}
.btns {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4% 0px;
}
.parent_fig {
  padding: 0.1em 0 0.5em;
}
.carousel-control-next,
.carousel-control-prev {
  position: relative;
}
.carousel-indicators {
  position: relative;
}

.carousel-indicators {
  margin: 0;
  margin-right: 15%;
  margin-left: 15%;
}
.controls_btns {
  padding: 1em 0px;
  width: 6em;
  outline: none;
  border: none;
  border-radius: 10px;
  color: #000;
  /* background: #484848; */
}
.carousel-item .py-3 .subTilteH3 {
  background: #b0aeae;
  color: #fff;
  padding: 0.5em;
}
.carousel-indicators li {
  width: 5em;
  height: 3em;
  color: #000;
  text-indent: unset;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  padding: 0 1em;
}
.lessons_btns {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 50%;
  text-decoration: underline;
}
.body_lesson_btns {
  padding: 1% 2%;
  background-color: #fefefe;
  margin-bottom: 2em;
}
.lessons_btns .subTilteH3 {
  padding: 0.5em 0.2em;
}
.lessons_btns .subTilteH3:hover {
  background-color: gray;
  opacity: 0.7;
}
.lessons_btns .subTilteH3:hover a {
  color: #fff !important;
  text-decoration: none;
}

.body_lesson {
  padding: 1% 2%;
  background-color: #fefefe;
  min-height: 100vh;
}

footer {
  text-align: center;
  padding: 1.5em 0px;
  background: grey;
}
footer h4 {
  margin: 0;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
  bottom: 25px;
}

/* Text Content Of Body */

.modal p {
  padding: 0.2em 1em;
}

.textContent {
}

.video {
  display: flex;
  justify-content: center;
}
hr {
  background: #a1a1a1;
}

/* Media Queries */
.sectionContainer {
  margin: 0 auto;
  max-width: 65%;
}

@media screen and (max-width: 1180px) {
  .sectionContainer {
    margin: 0 auto;
    max-width: 90%;
  }
}
@media screen and (max-width: 1160px) {
  .sectionContainer {
    margin: 0 auto;
    max-width: 90%;
  }
}
@media screen and (max-width: 980px) {
  .sectionContainer {
    margin: 0 auto;
    max-width: 90%;
  }
  .subTilteH3 {
    font-size: 4.8rem;
  }
  .subTilteH4 {
    font-size: 3.5rem;
  }
  .textContent {
    font-size: 2.5em;
  }
  .figure + b {
    font-size: 2.5em;
  }
  .parent_fig {
    padding: 0.4em 0 0.5em;
  }
  .carousel-indicators li {
    font-size: 1.5em;
  }
  .modal-header h5 {
    font-size: 2.5em !important;
  }
  .color {
    font-size: 2.5em;
  }
  .lessons_btns .subTilteH3 {
    font-size: 2.5rem;
  }

  .lessons_btns {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 70%;
  }
  .parent_img_alone_center button {
    width: 100%;
  }
  .parent_img_alone_center button img {
    width: 100%;
  }
  .modal-footer button {
    font-size: 2.5em !important;
  }
  .close {
    font-size: 2.5em;
  }
  .body_lesson {
    padding: 1% 4%;
  }
  #myBtn {
    font-size: 2.5em;
  }
  .video,
  video {
    width: 100%;
  }
}
