@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.transparent-body {
    top: 0;
    left: 0;
    /*background-image: url('../images/logo2.svg'),url('../images/bg.jpg');*/
    background-image: url('../images/logo2.svg');
    background-size: contain,cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.92;
    width: 100%;
    height: 100%;
}


.responsive {
    max-width: 100%;
    height: auto;
}
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
    /* Index styles*/

    .login-button {
        margin-top: 50px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 10%
    }
    /*Login*/
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Adjust the max-width as needed */
}

.login-image {
    width: 100%;
    max-height: 300px; /* Adjust max-height as needed */
    object-fit: cover; /* Maintain aspect ratio if needed */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.login-form {
    max-width: 400px; /* Adjust the width as needed */
    padding: 30px;
    margin: 0 auto; /* Center the form horizontally */
    border: 1px solid #ced4da; /* Optional: Add a subtle border */
    border-radius: 5px;
}

.login-logo {
    max-width: 100%; /* Ensure logo scales down if needed */
    height: 100%;
    display: block; /* Makes the image a block element for better centering */
    margin: 0 auto; /* Center the logo horizontally */
}

.btn-login {
    width: 100%;
}

.alert-container {
    margin-top: 20px;
}

    /*Shop*/

    .shop-image {
    width: 250px; /* Adjust width as needed */
    height: 250px; /* Adjust height as needed */
    object-fit: cover; /* Ensure image covers the area, might crop */
    border-radius: 8px; /* Adds rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Soft, subtle shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Add smooth transitions */
}

    .shop-image:hover {
        transform: translateY(-3px); /* Lift image slightly on hover */
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25); /* More prominent shadow on hover */
    }
    



.blinking-node {
    animation: blink-animation 4s infinite;

}

/* Definition der Blink-Animation */
@keyframes blink-animation {
    0% {
        background-color: rgb(255, 106, 0); /* Rot mit Transparenz */
        color: white;
    }

    50% {
        background-color: rgba(255, 0, 0, 0.3); /* Helleres Rot */
        color: white;
    }

    100% {
        background-color: rgba(255, 0, 0, 0.5); /* Zurück zum ursprünglichen Farbton */
        color: white;
    }
}