.wrapper-courses {
  position: relative;
  width: calc(100% - 80px);
  margin-left: 80px;
  min-height: 100vh;
  padding-top: 25px;
  background: linear-gradient(
    0deg,
    rgba(245, 246, 248, 1) 0%,
    rgba(250, 250, 250, 1) 100%
  );
}

.bg-courses {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  height: 100vh;
  opacity: 0.4;
}

.wrapper-courses .other-pages-tittle {
  position: relative;
  font-size: 85px;
  z-index: 2;
}

.catalog-courses {
  box-sizing: border-box;
  padding: 50px 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 80px;
  column-gap: 25px;
  align-items: center;
}

.card-course {
  display: block;
  width: 750px;
  height: 500px;
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 0;
  flex-grow: 1;
  text-decoration: none;
  border-radius: 5px;
}

.card-course::after {
  position: absolute;
  z-index: 1;
  content: " ";
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  transition: 0.3s;
  border-radius: 5px;
}

.min-info {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  padding: 0px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  row-gap: 25px;
  bottom: 50px;
}

.card-course h1 {
  color: rgba(163, 163, 163, 0.8);
  transition: 0.3s;
}

.min-info hr {
  width: 0;
  color: #fff;
  opacity: 0;
  height: 3px;
  transition: 1s;
  background-color: #fff;
}

.card-course .min-info p {
  display: none;
  opacity: 0;
  color: #fff;
  text-shadow: 1px 1px 5px #000;
  transition: 0.3s;
  font-size: 22px;
  font-weight: 500;
}

.card-course:hover .min-info h1 {
  color: #fff;
  text-shadow: 1px 1px 5px #000;
}

.card-course:hover .min-info hr {
  width: 100%;
  opacity: 1;
}

.card-course:hover .min-info p {
  opacity: 1;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-course:hover::after {
  background-color: rgba(0, 0, 0, 0.4);
}

.bottom-info {
  position: absolute;
  height: 50px;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  column-gap: 25px;
  align-items: center;
}

.bottom-info p {
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 30px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  column-gap: 10px;
  border-radius: 5px;
}

.bottom-info p:last-child {
  color: #000;
  text-transform: none;
  font-size: 20px;
}

.wrapper-courses .other-pages-tittle {
  margin-left: 75px;
}
