/* color scheme */
:root {
    --background: #fff;
    --background2: #f7f7f8;
    --font: #111111;
    --font2: #4b5563;
    --links: #10a37f;
    --primary: #2563eb;
    --primary_light: #E3F2FD;
    --primary_dark: #111827;
    --border: #e5e5e5;
    --border2: #d4d4d4;
    --black: #121212;
    --black1: #424242;
    --black2: #747474;
    --white: #fff;
    --white1: #f2f2f2;
    --white2: #e2e2e2;
    --neutral-accent: #475569;
    /* slate */
    --neutral-soft: #e2e8f0;
    /* light border */
    --neutral-bg: #f1f5f9;
    /* tag bg */
}

/* global settings */
html {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--font);
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 1.875rem;
    line-height: 1.25;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

a {
    text-decoration: none !important;
}

input:focus {
    outline: none;
}

.center {
    text-align: center;
}

/* Navigation and Links */
.navbar {
    overflow: hidden;
    background-color: var(--white);
}

.sticky {
    position: sticky;
    top: 0;
    border-bottom: 1px solid #E5E7EB;
}

.scroll {
    scroll-target-group: auto;
}

a:target-current {
    background-color: var(--white);
    color: var(--font) !important;
}

.navbar a {
    margin: 4px;
    border-radius: 8px;
    float: left;
    font-size: 0.95rem;
    color: var(--font2);
    text-align: center;
    padding: 12px 6px;
    text-decoration: none;
}

.navbar a:hover {
    color: #0F766E;
}

.navbar a img {
    height: 16px;
}

.navbar a:hover {
    background-color: var(--white);
    color: var(--primary_dark);
}

.acs-logo {
    width: 100%;
    margin-bottom: 64px;
}

.acs-logo-big {
    height: 64px;
    width: auto;
}

.acs-search {
    padding: 0px;

    input {
        background-color: var(--white1);
        border: none;
        border-radius: 4px;
        padding: 8px 4px;
    }

    input:focus {
        outline: none;
    }
}

.acs-searchfield {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    margin: 4px;
}

.acs-searchfield:focus {
    outline: none;
}

/* Main Content */
.content {
    background-color: var(--white);
}

.acs-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px;
    min-height: 50vh;
}

.acs-content2 {
    max-width: 1280px;
    margin: 0 auto;
}

.acs-title {
    font-style: italic;
    font-weight: bolder;
}

.acs-desc {
    color: var(--font2);
}

.acs-desc a {
    color: var(--links);
    font-weight: 500;
    transition: color 0.2s ease;
}

.acs-desc a:hover {
    color: #0d8a6a;
}

.acs-section {
    font-weight: bolder;
}

/* Groups */
.acs-group {
    padding: 0px;
    border: 0px solid var(--border);
    border-radius: 8px;
}

.acs-group:not(:first-child) {
    margin-top: 32px;
}

.acs-group-title {
    font-size: 20px;
    text-decoration: underline;
}

/* Sidenav */
.sidenav {
    border-right: 1px solid var(--border);
    height: 100%;
    width: 64px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: var(--background);
    overflow-x: hidden;
    padding: 32px 16px;
}

.main {
    margin-left: 64px;
    /* Same as the width of the sidenav */
    padding: 0px 10px;
}

.sidenav p {
    padding: 8px;
}

.acs-link {
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    color: var(--black1);
    background-color: var(--white);
    display: inline;
}

.acs-link:hover {
    border: 1px solid var(--border2);
    color: var(--black);
    background-color: var(--white);
}

/* Cards */
.acs-card {
    border-radius: 12px;
    padding: 20px;
    margin: 0 12px 12px 0;
    background-color: var(--white);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.acs-card:hover {
    border-color: var(--border2);
}

.acs-card-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--primary_dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acs-card-desc {
    font-size: 14px;
    color: #71717a !important;
    margin: 0 0 12px 0;

    /* maximal 2 Zeilen */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

/* Tags */
.acs-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 28px;
    margin-bottom: 10px;
}

.acs-card-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
    background: var(--background2);
    color: #52525b;
    border: 1px solid #e4e4e7;
}

.acs-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
    background: var(--background2);
    color: #52525b;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.acs-tag2 {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 999px;
    padding: 4px 8px;
    background-color: #ffffff;
    color: var(--links);
}

.acs-tag:hover {
    background: #f4f4f5;
    border-color: var(--border2);
}

.acs-tag.active {
    border-color: var(--border2);
    color: var(--font);
    background: #d4d4d8;
}

/* Buttons and Hovers */
.acs-button {
    font-size: 12px;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    padding: 8px 16px;
    color: var(--white);
    background-color: var(--font2);
    border: none;
}

.acs-button:hover {
    background-color: var(--font);
}

/* Forms */
.acs-form-container {
    padding: 64px;
    display: flex;
    justify-content: center;
}

.acs-form {
    max-width: 420px;
    border-radius: 16px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.04);
    background-color: var(--white);
    color: var(--black1);
    text-align: center;
    padding: 32px;
}

.acs-form input {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px 16px;
}

.acs-form label {
    display: none;
}

/* Footer */
.acs-footer {
    border-top: 1px solid #E5E7EB;
    color: var(--black);
    background-color: var(--white);
    text-align: left;
    padding: 0;
}

/* Rows and Cols */
.acs-row {
    width: 100%;
}

.acs-row:after {
    content: "";
    display: table;
    clear: both;
}

.acs-col {
    float: left;
}

.s {
    width: 25%;
}

.s2 {
    width: 33%;
}

.m {
    width: 50%;
}

.l {
    width: 100%;
}

/* tablet settings: */
@media screen and (max-width: 1500px) {

    /* tablet settings: */
    .navbar {
        padding: 0 32px;
    }

    .acs-content {
        padding: 16px 32px;
    }

    .s {
        width: 50%;
    }
}

/* mobile settings: */
@media screen and (max-width: 800px) {
    .s {
        width: 100% !important;
    }

    .s2 {
        width: 100% !important;
    }

    .m {
        width: 100% !important;
    }
}