* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
}
html {
    background-color: black;
}
body {
    color: #343a40 !important;
    height: 100%;
    background-color: #f9f9f9;
}

ul {
    list-style-type: none;
}
.boxes {
    .content {
        ul {
            padding-left: 20px;
            list-style-type: disc;
        }
    }
}
ol {
    list-style-type: decimal;
}

/* Links */
a {
    text-decoration: none;
    font-weight: 700;
    color: inherit;
    font-weight: normal;
    cursor: pointer;
}

/* Tabellen */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
* {
    transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease, max-height 0.5s, height 0.5s ease,
        width 0.5s ease, flex 0.5s ease, opacity 0.5s ease, top 0.5s ease, bottom 0.5s ease, left 0.5s ease,
        right 0.5s ease, transform 0.5s ease;
}

th,
td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

th {
    background-color: #f4f4f4;
}
button {
    background-color: inherit;
    border: none;
    cursor: pointer;
    font-size: inherit;
    color: #343a40;
}
input,
select {
    color: #343a40;
    width: 100%;
}
.underline {
    display: inline;
    position: relative;
    overflow: hidden;
}
.underline:after {
    content: "";
    position: absolute;
    z-index: 10000;
    right: 0;
    width: 0;
    bottom: -2px;
    background: #ffffff;
    height: 4px;
    transition: width 0.5s ease-in;
}
.underline:hover:after,
.underline:focus:after,
.underline:active:after {
    left: 0;
    right: auto;
    width: 100%;
}

.fill {
    display: inline;
    position: relative;
    overflow: hidden;
}

.fill:hover {
    color: white !important;
    div {
        position: relative;
        z-index: 2;
    }
}
.fill:after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0px;
    bottom: 0px;
    width: 0px;
    background: #343a40;
    transition: width 0.5s ease-in;
}
.fill:hover:after,
.fill:focus:after,
.fill:active:after {
    right: auto;
    width: 100%;
    left: 0px;
}

@keyframes underlineEffect {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

swiper-slide {
    &:hover {
        h1.active .underline {
            animation-play-state: paused;
        }
    }
}

.titles {
    h1 {
        .underline {
            position: absolute;
            z-index: 10000;
            left: 0px;
            bottom: -10px;
            background: @signal-color;
            height: 5px;
            width: 0;
            animation: underlineEffect 15s linear forwards;
            @media @tablet {
                height: 10px;
            }
        }

        &:not(.active) .underline {
            animation: none;
        }
    }
}

*::-webkit-scrollbar {
    width: 10px; /* width of the entire scrollbar */
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: rgb(0, 0, 0); /* color of the tracking area */
}

*::-webkit-scrollbar-thumb {
    background-color: rgb(255, 255, 255); /* color of the scroll thumb */
    border-radius: 20px; /* roundness of the scroll thumb */
    //border: 3px solid black; /* creates padding around scroll thumb */
}

* {
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: rgb(255, 255, 255) rgb(0, 0, 0); /* scroll thumb and track */
}

a {
    color: black;
    text-decoration: underline;
}
