html {
    font-size: 16px;
    box-sizing: border-box;
}

body {
    --accent-color: blue;
    --accent-color-hover: #f95f1b;
    --orange-red-color: #ff4500;
    --light-green-color: #b2d8b2;
    --extra-light-green-color: #cce5cc;
    --header-max-width: 1000px;
    background: #f3f0e7;
    color: #111111;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

strong {
    font-weight: bolder;
}

.site-page {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.site-page .site-page-content {
    width: 100%;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    grid-gap: 5px;
    grid-auto-rows: auto;
    margin-bottom: 50px;
}

@media (max-width: 550px) {
    .site-page .site-page-content {
        grid-template-columns: 1fr;
        justify-items: stretch; /* Change to stretch to fill the width */
        align-items: start; /* Align items to the start */
    }
}

.site-page .site-page-content .item {
    margin: 16px;
    background: #fff;
    padding: 2em;
    border-radius: 10px;
    line-height: 1.6;
    overflow: hidden;
    position: relative;
    font-size: 0.875rem;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    max-width: 500px;
    min-width: min(calc(100% - 32px), 370px);
}

.site-page .site-page-content .item h1,
.heading {
    font-weight: 500;
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 0.75rem;
}

.site-page .site-page-content .item h2,
.heading2 {
    font-weight: 500;
    font-size: 1.05rem;
    color: #000;
}

.site-page .site-page-content .item p {
    margin: 0.5rem 0 1.5rem;
}

.site-page .site-page-content .item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.site-page .site-page-content .item .action-buttons {
    background: #f1f1f1;
    margin: 2em -2em -2em -2em;
    padding: 1.5em 2em;
}

.site-page .site-page-content .item .action-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
}

.site-page .site-page-content .item .action-buttons * {
    margin-right: 5px;
}

header {
    padding: 10px 16px;
    height: 80px;
}

header .wrapper {
    max-width: var(--header-max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

header .brand {
    height: 50px;
    display: flex;
    align-items: center;
}

header .brand h1 {
    font-size: 1.5rem;
    margin-left: 5px;
}

header .brand img {
    height: 50px;
    display: block;
}

.navigationBar {
    position: fixed;
    top: 0;
    left: 100%;
    margin: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 20px;
    transition: left 0.3s;
    z-index: 100;
}

.navigationBar.show-navigation-on-mobile {
    left: 0 !important;
}

.navigationBar nav {
    padding-top: 50px;
}

.hide-scroll {
    overflow: hidden;
}

.navigationBar ul {
    all: unset;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.navigationBar ul a {
    all: unset;
    color: #444444;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    font-size: 28px;
}

.navigationBar ul a:hover {
    color: #111111;
    text-decoration: underline overline;
    text-decoration-thickness: 3px;
}

#close-navigation-menu {
    position: absolute;
    right: 16px;
}

.menu-bar button {
    height: 50px;
    width: 50px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.menu-bar i {
    display: block;
    border-top: 3px solid #444444;
    border-bottom: 3px solid #444444;
}

.menu-bar i::after {
    display: block;
    content: "";
    border-top: 3px solid #444444;
    margin: 6px 0;
}

.menu-bar button:hover {
    background: white;
}

.menu-bar button:hover i {
    border-color: #222222;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}

@media (min-width: 550px) {
    .navigationBar {
        all: unset;
        display: block;
    }

    .navigationBar ul {
        flex-direction: row;
        gap: 20px;
    }

    .navigationBar ul a {
        font-size: inherit;
    }

    #close-navigation-menu,
    .menu-bar {
        display: none;
    }
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    display: none !important;
    transform: scale(1.1);
    transition:
        visibility 0s linear 0.25s,
        opacity 0.25s 0s,
        transform 0.25s;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-content {
    background-color: #fff;
    padding: 16px;
    border-radius: 0.75rem;
    margin: 16px;
}

.modal-content .header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-content .header h1 {
    font-size: 1.2rem;
    text-align: center;
    margin: 0px !important;
}

.modal-content p {
    margin: 0px !important;
}

.modal-content .buttons {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
}

.close-modal-button {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    line-height: 1.7rem;
    padding: 2px;
    text-align: center;
    cursor: pointer;
    border-radius: 100%;
    background-color: #eeeeee;
    margin-left: 10px;
}

.close-button:hover {
    background-color: #adadad;
}

.close-modal-button:after {
    content: "\00D7";
}

.show-modal {
    display: inherit !important;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition:
        visibility 0s linear 0s,
        opacity 0.25s 0s,
        transform 0.25s;
    overflow: auto;
}

.hidden {
    display: none;
    visibility: hidden;
    opacity: 0;
    width: 0px;
    height: 0px;
}

.unhide {
    display: unset;
    visibility: visible;
    opacity: 1;
    width: auto;
    height: auto;
}

.list ul {
    counter-reset: index;
    padding: 0;
    padding-left: 0 !important;
    margin-bottom: 0.5em;
    white-space: normal;
}

.list li {
    counter-increment: index;
    display: flex;
    align-items: center;
    padding-top: 15px;
    box-sizing: border-box;
}

.list li::before {
    content: counters(index, ".", decimal-leading-zero);
    background-attachment: fixed;
    font-size: 1.2rem;
    text-align: right;
    font-weight: bold;
    padding-right: 12px;
    font-variant-numeric: tabular-nums;
    align-self: flex-start;
    font-feature-settings: "tnum";
    background-image: linear-gradient(to bottom, aquamarine, orangered);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-top {
    position: fixed;
    z-index: 50;
    padding: 0;
    right: 20px;
    bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.5s ease;
    border: none;
    box-shadow: inset 0 0 0 2px #ccc;
    color: rgb(154, 152, 152);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: transparent;
}

.scroll-top.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top .icon-tabler-arrow-up {
    position: absolute;
    stroke-width: 2px;
    stroke: rgb(58, 49, 135);
}

.scroll-top svg path {
    fill: none;
}

.scroll-top svg.progress-circle path {
    stroke: rgb(58, 49, 135);
    stroke-width: 4;
    transition: all 0.4s ease;
}

.scroll-top:hover {
    color: rgb(58, 49, 135);
}

.scroll-top:hover .progress-circle path,
.scroll-top:hover .icon-tabler-arrow-up {
    stroke: rgb(58, 49, 135);
}

footer {
    width: 100%;
    background-color: rgb(58, 49, 135);
    color: white;
    padding: 16px;
}

footer .footer-content {
    width: 100%;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(calc(100vw-32px), 30%));
    grid-gap: 5px;
    grid-auto-rows: auto;
}

footer .footer-content .item * {
    padding: 2px;
}

@media (min-width: 550px) {
    footer .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(350px, 30%));
    }

    footer .footer-content .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-items: center;
    }
}

footer .footer-content .footer-card-h2 {
    font-size: 2rem;
}

footer .footer-content .footer-card-container {
    display: flex;
    align-items: center;
}

footer .footer-content .footer-card-container p {
    padding-left: 5px;
}

.error {
    color: red;
}
