.col.courses{
  display: flex;
  justify-content: center;
  align-items: center;
}

.row.items {
  padding: 10px;
  margin-bottom: 10px;
}
.btn.btn-primary{
  background-color: #0066e6 !important;
  border-radius: 10px;

  bottom: 7px;

}
.col-sm-4{
  margin-bottom: 20px;
}
.card{
  border-top: #002d66 solid 5px;
  position: relative;
  background-color: var(--bs-light);
  border-radius: 15px;
  padding: 10px;
  margin: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  
}
button#lessons-btn:hover  ,button#lessons-btn.active{
  background-color: #5129e0 !important;
  border-color: #101318 !important;
  border-radius: 10px;
  bottom: 7px;
}

button#lessons-btn.completed{
  background-color: #000000 !important;

  border-radius: 10px;
  bottom: 7px;
  
}
button#lessons-btn.completed:hover{
  background-color: #5129e0 !important;

  border-radius: 10px;
  bottom: 7px;
  
}


.outer {
  display: grid;
  place-items: center;
  min-height: inherit;
}

.ratings-box {
  display: flex;
  gap: 20px;
}

.ratings-box__item label {
  position: relative;
  cursor: pointer;
  display: block;
}

.ratings-box__item label input {
  display: none;
  position: absolute;
}

.ratings-box {
  position: relative;
}

.ratings-box__item p {
  display: inline-block;
  position: absolute;
  color: #FFF;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  margin-top: 10px;
  text-transform: uppercase;
}

.ratings-box__item label span.rating-star {
  width: 30px;
  height: 30px;
  display: block;
  background: #FF0;
  position: relative;
  -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
          clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.ratings-box__item label span.rating-star::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #13121a;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
          clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.ratings-box:has(.ratings-box__item label input:checked) .ratings-box__item span.rating-star::after {
  transform: translate(-50%, -50%) scale(0);
}

.ratings-box__item:has(label > input:checked) ~ .ratings-box__item label .star-line-box span.rating-star::after {
  transform: translate(-50%, -50%) scale(1);
}

.ratings-box__item:has(label > input:checked) p {
  opacity: 1;
}

.rating-star-line {
  position: absolute;
  width: 2px;
  height: 10px;
  background: #FF0;
  display: block;
  opacity: 0;
}

.ratings-box__item input:checked ~ .star-line-box {
  -webkit-animation: scaleAnim 0.4s linear;
          animation: scaleAnim 0.4s linear;
  transform-origin: center;
}

@-webkit-keyframes scaleAnim {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0);
  }
}

@keyframes scaleAnim {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0);
  }
}
.rating-star-line:nth-of-type(3),
.rating-star-line:nth-of-type(2) {
  transform: rotate(45deg);
  right: 8px;
  bottom: 22px;
  transform-origin: bottom;
}

.rating-star-line:nth-of-type(3) {
  transform: rotate(-45deg);
  left: 7px;
}

.rating-star-line:nth-of-type(4) {
  transform: rotate(0deg);
  left: calc(50% - 1px);
  bottom: unset;
  top: 24px;
}

.ratings-box__item input:checked ~ .star-line-box .rating-star-line:nth-of-type(2) {
  -webkit-animation: topLinesAnim 0.4s 0.3s linear;
          animation: topLinesAnim 0.4s 0.3s linear;
}

.ratings-box__item input:checked ~ .star-line-box .rating-star-line:nth-of-type(3) {
  -webkit-animation: topLinesAnim2 0.4s 0.3s linear;
          animation: topLinesAnim2 0.4s 0.3s linear;
}

.ratings-box__item input:checked ~ .star-line-box .rating-star-line:nth-of-type(4) {
  -webkit-animation: bottomLineAnim 0.4s 0.3s linear;
          animation: bottomLineAnim 0.4s 0.3s linear;
}

@-webkit-keyframes topLinesAnim {
  from {
    transform: rotate(45deg);
    opacity: 1;
  }
  to {
    transform: rotate(45deg) scaleY(1.2) translateY(-5px);
    opacity: 0;
  }
}

@keyframes topLinesAnim {
  from {
    transform: rotate(45deg);
    opacity: 1;
  }
  to {
    transform: rotate(45deg) scaleY(1.2) translateY(-5px);
    opacity: 0;
  }
}
@-webkit-keyframes topLinesAnim2 {
  from {
    transform: rotate(-45deg);
    opacity: 1;
  }
  to {
    transform: rotate(-45deg) scaleY(1.2) translateY(-5px);
    opacity: 0;
  }
}
@keyframes topLinesAnim2 {
  from {
    transform: rotate(-45deg);
    opacity: 1;
  }
  to {
    transform: rotate(-45deg) scaleY(1.2) translateY(-5px);
    opacity: 0;
  }
}
@-webkit-keyframes bottomLineAnim {
  from {
    transform: rotate(0);
    opacity: 1;
  }
  to {
    transform: rotate(0) scaleY(1.2) translateY(5px);
    opacity: 0;
  }
}
@keyframes bottomLineAnim {
  from {
    transform: rotate(0);
    opacity: 1;
  }
  to {
    transform: rotate(0) scaleY(1.2) translateY(5px);
    opacity: 0;
  }
}/*# sourceMappingURL=course1.css.map */