/*main-title*/
h4.main-title {
    border: 1px solid black;
    width: fit-content;
    z-index: 1;
}

h4.main-title::before,
h4.main-title::after {
    content: "";
    background-color: #2196f3;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

h4.main-title::before {
    left: -18%;
}

h4.main-title::after {
    right: -18%;
}

h4.main-title:hover:before {
    animation: left-to-right 0.7s linear forwards;
}

@keyframes left-to-right {
    50% {
        left: 0;
        height: 12px;
        width: 12px;
    }

    100% {
        left: 0;
        height: 100%;
        width: 50%;
        border-radius: 0;
        z-index: -1;
    }
}

h4.main-title:hover {
    color: white;
    border: 1px white solid;
    transition-delay: 0.7s;
}

h4.main-title:hover::after {
    animation: right-to-left 0.7s linear forwards;
}

@keyframes right-to-left {
    50% {
        right: 0;
        height: 12px;
        width: 12px;
    }

    100% {
        right: 0;
        height: 100%;
        width: 50%;
        border-radius: 0;
        z-index: -1;
    }
}

/*main-title*/
nav.navbar ul li a.active-3 {
  color: var(--yallow-color) !important;
}
/* section 1 */
.section-1 {
  margin-top: 8rem;
}
.section-1 .h6-1,
.section-2 .h6-1 {
  color: var(--main-color);
  font-size: 22px;
}
/* Communication */
.Communication .fb-img img {
    position: fixed;
    bottom: 70px;
    left: 35px;
    width: 40px;
    z-index: 100000;
  }
  .Communication .what-img img {
    position: fixed;
    bottom: 20px;
    left: 35px;
    width: 40px;
    z-index: 100000;
  } /* Communication */
.section-1 img.teatcher {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  right: 4px;
}
.section-1 .select-1 {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 400;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  padding-right: 45px;
  height: 2.7rem;
}
.section-1 .select-1:hover {
  border-color: var(--main-color);
}
.section-1 .select-1:focus-visible {
  outline: none !important;
}
.section-1 button.form-control.search {
  width: 8rem;
  margin: auto;
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  height: 2.5rem;
  box-shadow: none;
  border-color: var(--main-color);
}
.section-1 button.form-control.search:hover {
  background-color: var(--second-main-color);
}
/* section 1 */
/* section 2 */
.section-2 .box {
  display: flex;
  align-items: center;
}
.section-2 .a-1 {
  color: black;
  text-decoration: none;
}
.section-2 .library {
  width: 5rem;
  height: 5rem;
}
.section-2 .p-7 {
  font-weight: bold;
  font-size: 18px;
  margin-right: 11px;
}
@media (max-width: 991.98px) {
  .section-2 .p-7 {
    font-size: 15px;
  }
}
@media (max-width: 575.98px) {
  .section-2 .box {
    display: block;
    text-align: center;
  }
  .section-2 .library {
    margin-bottom: 11px;
  }
}

/* section 2 */
