/*@import "pico.lime.css";*/

/*
 * Copyright (c) 2024 by Christoph Willi Regensburger
 *
 * Alle Inhalte dieses Quelltextes sind urheberrechtlich geschützt.
 * Das Urheberrecht liegt, soweit nicht ausdrücklich anders gekennzeichnet,
 * bei Christoph Regensburger.
 * Dieses Projekt wird unter der Lizenz Apache License 2.0 veröffentlicht.
 */

:root {
    --animate-delay: 0;
}

html {
    scroll-behavior: smooth;
}

.skewedTop {
    background: rgba(40, 40, 40, 0.7);
    text-align: center;
    transform: skewY(-1deg);
    width: 100%;
    height: 100%;
    margin: 40px 0 30px;
    padding: 5px;
}

.skewedTop h1, h3 {
    margin: 0;
}

h1 {
    text-shadow: 2px 2px 0 black;
}

.resArticle {
    padding: 35px 20px 20px;
    margin: auto;
    max-width: 60%;
}

.headline {
    text-align: center;
    margin-bottom: 5vh;
}

.headline h1 {
    margin: 0 0 5px 0;
}
.headline h3 {
    margin: 3px 0 3vh 0;
}
.headline p {
    text-align: center;
    position: relative;
    padding: 20px;
    background: var(--pico-progress-background-color);
    margin: auto;
    width: 80%;
    border-radius: 0.5rem;
}

.basicArticle {
    margin: 30px auto 30px auto;
    max-width: 90%;
    text-align: center;
    align-items: center;
    padding: 40px;
}

.bigTop {
    background: rgba(50, 50, 50, 0.5);
    text-align: center;
    border-bottom: 3px solid var(--pico-progress-color);
    width: 80%;
    min-height: 100px;
    margin: 50px auto 20px auto;
}

.bigTop h1, h3 {
    margin: 0;
}

.formula-btn {
    margin: 0 10px;
    cursor: help;
    display: flex;
    justify-content: center;
}

.formula-btn-reg {
    margin: auto;
    width: 30rem;
    max-width: 90%;
}


@media (max-width: 900px) {
    .bigTop {
        width: 95%;
    }
    .skewedTop {
        margin: 10px 0 15px;
    }
    .resArticle {
        max-width: 85%;
    }
    .headline p {
        width: 95%;
    }
    .basicArticle {
        max-width: 97%;
    }
    .formula-btn {
        margin: 10px 5px 0 5px;
    }
}

.bigView {
    display: flex;
    justify-content: center;
    margin: 10px;
}
.bigView img {
    padding: 15px 30px;
    width: 700px;
    max-width: 95%;
    border-radius: 0.5rem;
}

.complexResArtBg {
    background: var(--pico-form-element-valid-focus-color); /*rgba(16, 149, 193, 0.4)*/
    border-radius: 0.5rem;
}

.single-label-container {
    max-width: 25%;
    margin: auto;
    display: flex;
    justify-content: center;
}

@media (max-width: 900px) {
    .single-label-container {
        max-width: 60%;
    }
}

.label-warning {
    border-radius: 5rem;
    padding: 15px 20px;
    text-align: center;
    margin: 5px;
    color: black;
    font-weight: bold;
    background: rgb(255, 255, 0);
}

form {
    margin: auto;
    width: 95%;
}
article button {
    width: 100%;
}
article {
    margin: 20px;
}


.cmplxSelect select option[value="alpha"] {
    background-image: url("../media/img/right_triangle.png");
}


/* Slideshow container */
.slideshow-container {
    max-width: 85%;
    position: relative;
    border: solid 1px var(--pico-progress-color);
    border-radius: 0.5rem;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides img {
    border-radius: 0.5rem;
}

/* Next & previous buttons */
.prev, .next {
    background-color: rgba(0,0,0,0.2);
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    color: white;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
}

/* Number text (1/3 etc) */
.numbertext {
    color: darkslategray;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation: zoomIn;
    animation-duration: .5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


a {
    text-decoration: none;
}

footer a img {
    background: white;
    transition: 250ms all ease;
    border-radius: 0.5rem;
    padding: 5px;
}

footer a img:hover {
    background: rgba(255, 255, 255, 0.4);
}

.wipFeatureLine {
    width: 100%;
    padding: 5px;
    background: darkslategray;
    text-align: center;
}

.picdesc {
    font-size: 0.8vh;
}

ul li {
    list-style-type: disc;
}

.article-content ul li img {
    max-width: 50%;
    width: 400px;
    border-radius: 0.3rem;
}