* {
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}
.home {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 225px;
  padding-top: 100px;
}
.cont {
  width: 50%;
}
.cources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 30px;
}

.cource {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.cource:hover {
  transform: translateY(-10px);
}

.cource img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cource .txt {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cource .title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.cource .ins {
  font-size: 14px;
  color: #666;
}

.cource .rate {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #444;
}

.cource .price {
  font-size: 18px;
  color: #2b8a3e;
  font-weight: bold;
}

.cource button {
  background-color: #3e12a5;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  border: none;
  border-radius: 10px;
}
.btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.btns i:hover {
  color: red;
}
.FavCourcePage {
  background-color: #6326f7;
}
.FavCourcePage h1 {
  font-size: 150px;
  color: white;
}

@media (max-width: 768px) {
  .FavCourcePage {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
  .FavCourcePage h1 {
    font-size: 30px;
  }
  .cont {
    width: 100% !important;
  }
}
