#module {
    margin-top: 80px;
}


/* SECTION */


.section {
    display: none;
    margin-top: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: darkgray;
    border-radius: 0.25rem;
    padding: 0.5rem;
    width: calc(100% - 1rem);
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
}


.section-buttons {
    display: flex;
    align-items: center;
    float: right;

}

.section-button {
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
    padding: 0.5rem;
    width: 30px;
    text-align: center;
    margin-left: 0.5rem;
}

.section-button:hover {
    background-color: #0056b3;
}

/* MODULE */

.module-units {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.module-unit {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    margin: 1rem;
    padding: 1rem;
    width: 250px;
    text-align: center;
    cursor: pointer;
    border: 1px solid white;
}

.module-unit-stacks {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.module-unit-stack {
    background-color: lightgray;
    color: white;
    padding: 0.25rem;
    margin: 0.25rem;
    border-radius: 0.25rem;
    width: 30%;
    height: 100px;
    display: flex;
    flex-direction: column-reverse;
}

.module-unit-stack-bar {
    background-color: cyan;
    width: 100%;
}


/* UNIT */

.unit-body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: top;
    margin-top: 1rem;
}

.unit-body-stack {
    width: 29%;
    min-width: 300px;
    margin: 1rem;
    padding: 0.5rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    text-align: center; 
}

.unit-body-stack-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.unit-body-stack-cards {
    display: flex;
    flex-direction: column; 
    align-items: center;
    width: 100%;
    border: 1px solid lightgray;
    
}

.unit-card {
    background-color: lightgray;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
    margin-bottom: 10px;
    padding: 1rem;
    width: calc(100% - 2rem);
    min-width: 250px;
    text-align: center;
    cursor: pointer;
    border: 1px solid lightgray;
}

.unit-card:hover {
    border: 1px solid gray;
}

.unit-card-text {
    font-size: 0.9rem;
    font-weight: bold;
    color: blue;
}


.unit-card-icon {
    font-size: 1.5rem;
}


/* STUDY */

#study-video-container {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

#study-video-iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}

#study-news-container {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

#study-news-img {
    width: 100%;
}


