/* ===========================
   HEADER
=========================== */

.site-header {

    background: var(--header-background-color);

    box-shadow: var(--shadow-small);

    width: 100%;

    min-height: 10rem;

}

#header {
    display: block;
    min-height: 10rem;
}

.header-container {
    color: var(--text-color-on-sc);

    background: var(--secondary-color);

    /*max-width:var(--max-width);*/

    margin: auto;

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: var(--spacing-md);

    flex-wrap: wrap;

    padding: var(--spacing-md);

}

.header-logo {
    height: 30px;
    width: auto;
    flex: 0 0 auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-left: auto;
}

.header-hero {
    background: var(--header-background-color);
    width: 25%;
    height: auto;
    display: block;
    margin: auto;
}

.header-hero img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===========================
   NAVIGATION
=========================== */

#navigation {

    display: flex;

    flex: 1 1 auto;

    flex-wrap: wrap;

    justify-content: center;

    min-width: 0;

    gap: var(--spacing-sm) var(--spacing-lg);

}

#navigation a {

    color: white;

    font-size: 20px;

    transition: .2s;

    white-space: nowrap;

}

#navigation a:hover {

    opacity: .75;

}

#navigation a.active {

    border-bottom: 2px solid white;

}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: var(--radius);
    background: transparent;
    color: white;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.header-container.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-container.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.header-container.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   BUTTON
=========================== */

.button {

    display: inline-block;

    background: var(--primary-color);

    color: white;

    padding: .8rem 1.5rem;

    border-radius: var(--radius);

}

.button:hover {

    opacity: .9;

}

/* ===========================
   CARD
=========================== */

.card {

    background: var(--secondary-color);

    border-radius: var(--radius);

    padding: var(--spacing-lg);

    box-shadow: var(--shadow-small);

}

/* ===========================
   COURSES
=========================== */

.course-table-wrapper {

    overflow-x: auto;

}

.course-table {

    width: 100%;

    border-collapse: collapse;

    background: var(--header-background-color);

    box-shadow: var(--shadow-small);

}

.course-table th,
.course-table td {

    padding: var(--spacing-md);

    border: 1px solid var(--border-color);

    text-align: left;

}

.course-table thead {

    background: var(--primary-color);

}

.course-pricing {

    padding: var(--spacing-lg);

    border-radius: var(--radius);

    background: var(--primary-color);

}

/* ===========================
   FOOTER
=========================== */

.site-footer {

    background: #222;

    color: white;

    padding: 2rem;

    text-align: center;

}

.language-dropdown {

    position: relative;

}

.language-current {

    background: none;

    color: white;

    border: none;

    cursor: pointer;

    font-size: 1rem;

    white-space: nowrap;

}

.language-menu button {

    width: 100%;

    padding: 0.8rem;

    border: none;

    background: white;

    text-align: left;

    cursor: pointer;

}

.language-menu {

    display: none;

    position: absolute;

    z-index: 10;

    right: 0;

    top: 110%;

    min-width: 180px;

    background: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow-medium);

}

.language-menu.open {

    display: block;

}