﻿html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.animate-shape {
    color: #C6A80E;
    transform-origin: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.light-stripe {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

    .light-stripe::before {
        content: "";
        position: absolute;
        top: 0;
        left: -150%;
        width: 300%;
        height: 100%;
        background: linear-gradient( 120deg, transparent 45%, rgba(255, 255, 255, 0.6) 50%, transparent 55% );
        transform: skewX(-20deg);
        z-index: 1;
        animation: stripe-move 3.5s ease-in-out infinite;
    }

@keyframes stripe-move {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.input-field-required {
    color: black;
    background-color: white;
    text-align: center;
    align-self: stretch;
    font-size: 2.2rem;
    width: 100%;
    border: none;
    outline: none
}

    .input-field-required::placeholder {
        color: var(--icon_color_selected);
        font-style: italic;
    }

.input-panel {
    background-color: var(--panel-background);
    border-radius: 10px;
    border-style: solid;
    border-color: var(--panel_stroke);
    border-width: thin;
    padding: 10px 5px 10px 5px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 3px;
}

.input-frame {
    color: var(--input_title);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0px 15px;
    gap: 10px;
}

/* Beispiel: Schriftgröße für Menüelemente */
.navbar-brand {
    font-size: 2.5rem; /* oder z. B. 1.2em, 120%, etc. */
}

.navbar a, .menu a, .nav-link {
    font-size: 1.5rem; /* oder z. B. 1.2em, 120%, etc. */
}

.dropdown-item:hover {
    background-color: black;
    color: orange !important;
}

.nav_button {
    background: var(--button);
    color: var(--button_text);
    border-color: var(--button-stroke);
    border-radius: 25px;
    padding: 7.5px 15px 7.5px 15px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

    .nav_button:disabled {
        color: rgba(40, 40, 40, 1)
    }

    .nav_button svg {
        color: var(--icon_color_selected);
        height: 20px;
        width: 20px;
    }

@media (pointer: fine) {
    .nav_button:hover {
        background-color: var(--button_hover);
        color: var(--button_text_hover);
    }
}

.page-bg {
    min-height: 800px;
    position: relative;
    overflow: hidden;
    width: 100%;
    color: var(--text-normal);
    background-color: var(--background);
    padding: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

.cta {
    background: linear-gradient(0turn,rgba(255,148,21,1) 0%,rgba(255,199,9,1) 100%);
    color: rgba(10,10,10,1);
    border-radius: 20px;
    padding: 22px 11px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 350px;
    min-width: 33%;
    height: 59px;
    box-shadow: 0px 5px 4px 0px rgba(0, 0, 0, 0.25);
    z-index: 2;
    cursor: pointer;
    align-self: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

    .cta:hover {
        transform: scale(1.1); /* Vergrößert den Button um 20% */
    }

    .cta:disabled {
        background: linear-gradient(0turn,rgba(100,100,100,1) 0%,rgba(200,200,200,1) 100%);
    }

    .cta.upper {
        text-transform: uppercase;
    }

.page-user {
    color: var(--text-normal);
    background: black;
    height: 100%;
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.71) url(/res/Images/background_tile.webp) center;
    background-size: auto;
    background-repeat: repeat;
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    align-self: center;
}

.bottom-bar {
    background: var(--bar_bg);
    border-radius: 25px 25px 0px 0px;
    border-style: solid;
    border-color: var(--bar-stroke);
    border-width: 1px 1px 0px 1px;
    margin: 0px 4px 0px 4px;
    min-height: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.bar_button_large {
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border: none;
}

    .bar_button_large img {
        width: 45px;
        height: 45px;
    }

    .bar_button_large svg {
        width: 45px;
        height: 45px;
    }

.dlg-button {
    padding: 10px 20px;
    color: var(--button_text);
    background-color: var(--button);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    .dlg-button:hover {
        background-color: var(--button_hover);
        color: var(--button_text_hover);
    }

.choose-button {
    background: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: none;
    outline: none;
    transition: transform 0.2s;
}

@media (pointer: fine) {
    .choose-button:hover {
        transform: scale(1.2);
    }
}

.choose-button > img {
    object-fit: cover;
    width: 60px;
    height: 60px;
    opacity: 0.9;
}

.choose-button-small {
    background: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    border: none;
    outline: none;
    transition: transform 0.2s;
}

@media (pointer: fine) {
    .choose-button-small:hover {
        transform: scale(1.2);
    }
}

.choose-button-small > img {
    object-fit: cover;
    width: 50px;
    height: 50px;
}

.choose-button-smallest {
    background: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    transition: transform 0.2s;
}

@media (pointer: fine) {
    .choose-button-smallest:hover {
        transform: scale(1.2);
    }
}

.choose-button-smallest > img {
    object-fit: cover;
    width: 35px;
    height: 35px;
}

.choose-button-smallest > svg {
    width: 35px;
    height: 35px;
}

.panel {
    color: var(--text-normal);
    background: var(--panel-background);
    border: 2px solid var(--panel-stroke);
    border-radius: 25px;
    padding: 15px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.panel-horizontal {
    background: var(--panel-background);
    border: 2px solid var(--panel-stroke);
    border-radius: 25px;
    padding: 15px 15px 15px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.text-panel {
    color: var(--panel-text);
    background: var(--panel-background);
    border: 2px solid var(--panel-stroke);
    border-radius: 25px;
    padding: 15px 25px 15px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: center;
    min-height: 150px;
    max-width: 600px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: var(--background);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.glitter-text {
    background: linear-gradient(90deg, black, yellow, black);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* Klasse für den Wartecursor */
.wartecursor {
    cursor: wait;
    pointer-events: none; /* Verhindert Interaktionen während des Ladevorgangs */
}

.load_spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin1 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* Warteanimation */
.spinner {
    width: 100px;
    height: 100px;
    border: 8px solid #cccccc;
    border-top: 8px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin1 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
