#course {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 50px 0;
    width: 100%;
    background-color: rgb(245, 245, 245);
}

#course h2 {
    font-family: "Fredoka", sans-serif;
    font-size: clamp(26px, 3vw, 28px);
    font-weight: 600;
    color: rgb(68, 58, 44);
}

#course span {
    font-family: "Assistant", sans-serif;
    font-size: clamp(20px, 3vw, 22px);
    font-weight: 500;
    color: black;
    padding: 0 25px;
}

#courseWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
    width: 100%;
}

#courseWrapper span {
    font-family: "Assistant", sans-serif;
    font-weight: 600;
    color: white;
}

.course-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 500px;
    height: 250px;
    padding: 30px 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* background-color: rgba(0, 0, 0, 0.2); */
    background-image: linear-gradient(to top, #333, black);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.course-card.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1300px) {
      .course-card {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        border-radius: 0;
     }
}

.number {
    font-family: "Rubik Marker Hatch", sans-serif;
    color: white;
    font-size: clamp(26px, 3vw, 28px);
}

.course-card h3 {
    font-family: "Rubik Marker Hatch", sans-serif;
    font-size: clamp(26px, 3vw, 28px);
    font-weight: 400;
    color: rgb(255, 221, 177);
}

.course-card p {
    font-family: "Assistant", sans-serif;
    font-size: clamp(18px, 3vw, 20px);
    color: white;
}

#ctaC {
    display: block;
    text-align: center;
    border: none;
    border-radius: 50px;
    padding: 20px 80px;
    font-family: "Fredoka", sans-serif;
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
    cursor: pointer;
    color: white;
    margin-top: 30px;
    width: 30%;
    background-image: linear-gradient(to right, rgb(253, 201, 133), rgb(255, 58, 58));
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

#ctaC:hover {
    background-image: linear-gradient(to right, rgb(255, 58, 58), rgb(253, 201, 133));
    transform: scale(1.07) translateY(-2px);
}

@media (max-width: 768px) {
      #ctaC {
        padding: 20px 20px;
        width: 70%;
     }
}