:root {
  --red: #dc3545;
}

/*! -------------- 1- NAVBAR ---------------- */
.navbar-nav {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-link {
  transition: color 0.7s;
}

/* .nav-link.active:hover {
    color: green !important;
  } */

.navbar .nav-link.active:hover {
  color: var(--red) !important;
}

.navbar .nav-link:hover {
  color: var(--red);
}

/*! ------------- 2- CAROUSEL --------------- */
.carousel-item {
  max-height: calc(100vh - 93px);
}

.carousel-caption .btn {
  width: 7rem;
  /* margin-bottom: 1rem; */
}

.carousel-caption h5 {
  color: var(--red);
  font-size: 2.4rem;
  text-shadow: 3px 3px 3px black;
}

.carousel-caption p {
  text-shadow: 3px 3px 3px black;
  font-weight: 600;
}

.carousel-caption {
  bottom: 5rem;

  /*! yatay ve dikey ortalama için transform kullanılabilir. */
  /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

.carousel-indicators {
  gap: 0.7rem;
}

.carousel-indicators button {
  background-color: var(--red) !important ;
  padding: 0.1rem !important;
  width: 3rem !important;
  /* margin-right: 1rem !important; */
}

/*! ------------ 3- ABOUT SECTION ----------- */

/*! ------------- 4- INSTRUCTORS -------------*/
section#instructors .card {
  transition: transform 0.3s;
}

section#instructors .card:hover {
  transform: scale(1.03);
}

section#instructors i {
  transition: opacity 0.6s;
}

section#instructors i:hover {
  opacity: 0.5;
  cursor: pointer;
}

/*! ----------- 4- STUDENTS SECTION ----------*/

/*! ----------- 5- COURSES SECTION ----------- */
section#courses .nav-link.active {
  background-color: var(--red);
  color: white;
}

section#courses .nav-link {
  color: white;
}

section#courses .nav-pills button {
  font-size: 0.8rem;
}

/*! ----------- 6- CONTACT SECTION ------------ */

/*! --------------- 7- FOOTER ----------------- */

footer i {
  font-size: 2rem;
  color: white;
  margin-right: 0.8rem;
  transition: color 1s;
}

footer i:hover {
  color: var(--red);
}

/** -------------- UP-BUTTON ------------------ */
.btn-up {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  color: white;
  background-color: var(--red);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
}

.btn-up:hover {
  color: black;
}

.btn-up:hover i {
  transform: scale(1.2);
  font-size: 1.4rem;
}
