:root {
  color-scheme: dark;
}

.banner {
    position: relative;
    width: 100%;
}

@media (max-width: 600px) {
    .header-image {
        max-height: 200px;
        border-radius: 15px;
    }
}


.profile-pic {
    position: absolute;
    bottom: 50px;
    width: clamp(80px, 25%, 175px);
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    background-color: #fff;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px #0000004d;
}

.header-image {
    height: 250px;
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 30px;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
    min-height: 100vh;
    background: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    font-family: 'Roboto', sans-serif;
}

.center {
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

md-divider {
    width: 100%;
    max-width: 100%;
    width: 100%;
}

.page-content p {
    font-size: clamp(14px, 4vw, 18px);
}

.button-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 2.5%;
}

@media (max-width: 500px) {
    .button-row {
        flex-direction: column;
        gap: 8px;
    }
}

.page-content {
    margin-top: 2.5%;
    margin-bottom: 2.5%;
}

.page-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-div {
    overflow-x: auto;
    margin: 0 auto;
}

.icon {
    height: 40px;
    display: block;
    margin: auto;
    width: 50%;
}

table {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 20px;
}

th, td {
    padding: 10px;
    background-color: var(--md-sys-color-secondary-container);
}

tr:first-child td:first-child {
    border-top-left-radius: 20px;
}

tr:first-child td:last-child {
    border-top-right-radius: 20px;
}

tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

header {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%; 
    height: 100%;
    background-color: var(--md-sys-color-surface-container);
    padding: 10px;
    border-radius: 20px;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 10px 5px;
    }

    .header-left, .header-right {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }
}


.header-left {
    margin-right: auto;
    gap: 12px;
}

.header-right {
    margin-left: auto;
}

.centered-list {
    list-style-position: inside;
    text-align: center;
    padding: 0;
    margin: 0;
}

.arrow {
    margin-bottom: 2.5%;
}

.welcome-text {
    font-weight: bold;
    margin-bottom: 0px;
}

.divider {
    margin-bottom: 2.5%;
}

.subpage img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    display: block;
    margin: 10px auto;
}