:root {
    --background-nacrisferi: #506580;
    --gia-nacrisferi: #9ca0ab;
    --gia-teqsti: #e0dfe6;
    --muqi-lurji: #111827;
    --gia-lurji: #2563eb;
    --plastic: rgba(80, 101, 128, 0.84);
}       

body {
  background-color: #091a2c;
}

/* course-s */
.course-s {
    width: 100%;
    max-width: 1550px;
    margin: 0 auto;
    height: auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 2em;
}

.course-s .main-title {
    color: var(--gia-teqsti);
    text-align: start;
    font-size: 2em;
    font-weight: bold;
    margin-top: 2em;
}

.course-s .course-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

.course-s .course-wrapper .card {
    width: 490px;
    height: auto;
    background-color: var(--muqi-lurji);
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.045);
}

.course-s .course-wrapper .card h3 {
    color: var(--gia-teqsti);
    font-size: 1.2em;
    font-weight: bold;
    height: auto;
}

.course-s .course-wrapper .card p {
    color: var(--gia-nacrisferi);
    font-weight: 500;
    font-size: .9em;
    padding: .5em 0 1.5em 0;
}

.course-s .course-wrapper .card img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    margin: 2.5em 0 0 0;
    border-radius: 8px;
}

.course-s .course-wrapper .card a {
    font-size: 16px;
    padding: .5em 1em;
    color: white;
    font-weight: 500;
    background-color: var(--plastic);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 1s ease;
}
.course-s .course-wrapper .card a:hover {
    background-color: #7a8da5;
}

/* responsive */

/* responsive */
@media(max-width: 1800px) {
    .course-s {
        padding: 0 10em;
    }
    .course-s .course-wrapper .card {
        width: 380px;
    }
    .course-s .course-wrapper .card img {
        height: 300px;
    }
}

@media(max-width: 1550px) {
    .course-s .course-wrapper .card {
        width: 320px;
    }
}

@media(max-width: 1380px) {
    .course-s, .video-intro, .reviews-section {
        padding: 0 3em;
    }
    .course-s .course-wrapper .card {
        width: 370px;
    }
}

@media(max-width: 900px) {
    /* course */
    .course-s .course-wrapper .card {
        width: 100%;
    }
    .course-s .course-wrapper .card img {
        height: auto;
    }
    .course-s{
        padding: 0 2em;
    }
}

@media(max-width: 600px) {
    .course-s{
        font-size: 1em;
    }
}