.courses {
    background: white;
    color: #000;
    max-width: 800px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.courses li:hover {
    text-decoration: underline;
    cursor: pointer;
}

#courseModal {
    background-color: #00000040;
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-items: center;
    align-content: center;
    /* padding-block-start: 4.5em; */
}

#courseModal > .courseContent > #modal-pangalan {
    background: #003366;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 1.5em;
    font-size: clamp(.8em, 3vw, 1.5em);
}

#courseModal > .courseContent > #modal-paliwanag {
    text-align: justify;
    font-size: clamp(.6em, 3vw, 1em);
}

#courseModal > .courseContent > #modal-dur {
    font-size: clamp(.75em, 3vw, 1em);
}

#courseModal > .courseContent > #kuntak {
    justify-self: center;
}

#courseModal > .courseContent > #kuntak > a {
    background: #003366;
    color: white;
    text-align: center;
    font-size: clamp(.75em, 3vw, 1em);
    padding: .5em;
    padding-inline: 1em;
    justify-self: center;
    border-radius: 1.5em;
    text-align: center;
}

#courseModal > .courseContent {
    width: 90%;
    max-width: 710px;
    background-color: white;
    border-radius: 0.5em;
    position: relative;
    padding-inline: clamp(.7em, 3vw, 3em);
    padding-block: 1em;
}

.courseContent > .close-btn {
    position: absolute;
    top: 0.3em;
    right: 0.2em;
    font-size: clamp(1em, 5vw, 2.5em);
    width: 40px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* .bg-moving {
    width: 100%;
    height: 33em;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 1s linear;
} */

.white-move-box.fade-in {
    opacity: 1;
    animation: fadeIn 0.3s linear forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

th, td {
    padding: 12px 18px;
    border: 1px solid #ddd;
}

.courses > table {
    margin: auto;
    margin-block: 1em;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    width: 95%;
}

.courses > table > thead > tr > th{
    font-size: clamp(.8rem, 3.5vw, 1.2rem);
    background-color: #f4f4f4;
    text-align: left;
}

.courses > table > tbody {
    font-size: clamp(.5rem, 3.5vw, 1rem);
}

.courses > table > tbody > tr > td {
    cursor: pointer;
}

.courses > table > tbody > tr > td > a {
    color: #000;
}

.courses > table > tbody > tr:hover {
    background-color: #efefef;
}