.page-index .banner {
    margin: 5%;
}

.page-index .headline {
    font-size: xx-large;
    user-select: none;
    color: #444444;
    font-weight: normal;
}

.page-index .subline {
    font-size: larger;
}

.page-index .description {
    color: #444444;
    padding: 40px 10px 40px 10px;
}

.page-index .keyword_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.page-index .key_word_box {
    display: flex;
    flex-direction: column;
    border: solid 1px #cccccc;
    border-radius: 8px;
    width: 270px;
    padding: 15px;
    margin: 10px;
    user-select: none;
    color: #444444;
    text-decoration: none;
}

.page-index .key_word_box:hover {
    cursor: pointer;
    background-color: #888888;
    color: #eeeeee;
}

.page-index .keyword_headline {
    text-transform: capitalize;
    font-size: larger;
    font-weight: bold;
}

.page-index .key_word_description {
    margin: 8px;
}

.page-index .key_word_filler {
    flex-grow: 1;
}

.page-index .key_word_hint {
    display: flex;
    flex-direction: row;
}

.page-index .arrow {
    margin: 0px 10px 0px 10px;
}

.page-index .highlight {
    font-weight: 500;
}

/* Slider */
.page-index .slider {
    position: relative;
    width: 95%;
    aspect-ratio: 20 / 7;
    overflow: hidden;
}

.page-index .slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.page-index .slider img.active {
    opacity: 1;
}

.page-index .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    font-size: 28px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-index .slider:hover .slider-arrow,
.page-index .slider-arrow:focus-visible {
    opacity: 1;
}

.page-index .slider-prev { left: 0; }
.page-index .slider-next { right: 0; }

.page-index .slider-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.page-index .slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 3px black;
    cursor: pointer;
}

.page-index .slider-dot.active {
    background: white;
}
