/* * {
  border: 1px solid violet;
} */

.logo {
  width: 200px;
}

img {
  width: 100%;
  height: auto;
}

/* .btn-primary-main {
  background-color: #4A8DC8;
  border-color: #4A8DC8;
  border-radius: 4px;
} */

/* hover effect for the tutorial cards ================*/
.tutorial-card {
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
}

.tutorial-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease-in-out;
}

.tutorial-card:hover {
  transform: scale(1.02, 1.02);
}

.tutorial-card:hover::after {
  opacity: 1;
}

/* end of hover effect for the tutorial cards ================*/

.btn-primary-main:hover {
  background-color: #316592;
  border-color: #316592;
}

.carousel-control-next, .carousel-control-prev {
  width:fit-content;
  opacity: 1;
}

.carousel-control-next {
  right: -1rem;
}

.carousel-control-prev {
  left: -1rem;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

@media screen and (min-width: 768px){
  .ebook-card-img{
    width: 40%;
  }
}

@media screen and (min-width: 992px){
  .ebook-card-img{
    width: 25%;
  }
}


.tag {
  background-color: #4A8DC8;
  border-color: #4A8DC8;
  border-radius: 50px;
  font-size: 10px;
}

.text-primary-color-main {
  color: #316592 !important;
}

.card-author-info {
  font-size: 12px;
}

/* @media screen and (min-width: 992px){
  .card-img{
    width: 50%;
  }
} */

.topic-bg {
  background-color: #4A8DC8;
}

.topic-bg:hover {
  background-color: #316592;
  border-color: #316592;
}
.arrow-icon {
  width: 24px;
}

.bg-dark-main {
  background-color: #16161A;
}

.right-cheveron {
  width: 20px;
  height: 20px;
}

.footer-logo {
  margin-top: 150px;
}

.footer-logo svg {
  fill: #fff;
}

@media screen and (min-width: 992px){
  .footer-logo{
    margin-top: 0;
    width: 40%;
  }
}