.mooc-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 100px 20px;
    /* background: linear-gradient(#ffffff, #ffe4c4a2); */
    gap: 8vh;
}

.side-image {
    width: 20%;
    border-radius: 15px;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 35%;
}

.column a {
    text-decoration: none;
    color: #000000;
    font-size: 1.6rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

.column a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000000;
    transition: width 0.3s ease;
}

.column a:hover::after {
    width: 100%;
}



.decoration-line {
    width: 65%;
    border: #d8d8d8 solid 1px;
}

.left {
    display: flex;
    justify-items: left;
    width: 80%;
}

.right {
    display: flex;
    justify-content: right;
    width: 100%;
}


video {
    width: 50%;
    border-radius: 15px;
    border: 3px solid rgb(181, 159, 131);
}

.video {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}




.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5vw;
}


.card {
    text-decoration: none;
    width: 25vw;
    height: 39vh;
    background: white;
    border-radius: 15px;
        box-shadow: 15px 15px 30px #bebebe,
                -15px -15px 30px #ffffff;
    transition: 0.2s ease-in-out;
  }
  
.img {
    width: 100%;
    height: 70%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: linear-gradient(#2eb497, #1bad55);
    display: flex;
    flex-direction: column;
    align-items: end;
}

#img-1 {
    background-image: url('../img/lesson_1.png');
    background-size: cover;
    background-position: center;
}

#img-2 {
    background-image: url('../img/lesson_2.png');

    background-size: cover;
    background-position: center;
}

#img-3 {
    background-image: url('../img/lesson_3.png');
    background-size: cover;
    background-position: center;
}

#img-4 {
    background-image: url('../img/lesson_4.png');
    background-size: cover;
    background-position: center;
}

#img-5 {
    background-image: url('../img/lesson_5.png');
    background-size: cover;
    background-position: center;
}

#img-6 {
    background-image: url('../img/lesson_6.png');
    background-size: cover;
    background-position: center;
}

#img-7 {
    background-image: url('../img/lesson_7.png');
    background-size: cover;
    background-position: center;
}

.video-duration {
    margin: 20px;
    position: relative;
    bottom: -55px;
    background-color: #ffffff;
    color: #000000;
    padding: 5px 10px;
    border-radius: 5px;
}
  
.save {
    transition: 0.2s ease-in-out;
    border-radius: 0.5vw;
    margin: 20px;
    width: 1.4vw;
    height: 1.4vw;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.text {
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: space-around;
}
  
.save .svg {
    transition: 0.2s ease-in-out;
    width: 0.8vw;
}
  
.text .h3 {
    font-size: 1vw;
    font-weight: 600;
    color: black;
}
  
.text .p {
    color: #999999;
    font-size: 13px;
}
  
.card:hover {
    cursor: pointer;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.1);
}
  
  .save:hover {
    transform: scale(1.1) rotate(10deg);
  }
  
  .save:hover .svg {
    fill: #ced8de;
  }

#empty-card {
    visibility: hidden;
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .card {
        width: 80vw;
        height: 30vh;
    }

    #empty-card {
        display: none;
    }

}