﻿@import url('css/fonts.css');

body {
    font-family: "Metrisch", sans-serif !important;
}

.drawer-ancho-personalizado {
    width: 600px;
    max-width: 100vw;
}


/* Custom MudStack size */

.custom-size {
    width: 100%;
    height: 100%;
}

.custom-category-size {
    max-width: 150px;
    min-width: 150px;
    max-height: 100px;
    min-height: 100px;
}

.custom-border {
    border-color: #00000010;
}

.custom-catalogo {
    overflow: auto;
    height: calc(100svh - 225px);
}

.mud-input-number-control input {
    font-size: 1.5rem !important;
    text-align: center;
}

.conming-soon {
    position: absolute;
    right: -30px;
    top: 26px;
    padding: 0.2rem 0;
    transform: rotate(45deg);
}

/*@media only screen and (min-width: 960px) {
    .main_body {
        height: calc(100svh - 48px);
    }
}*/

/* P*#%#! los que no usan Tailwind */
.text-center {
    text-align: center;
}

.blur {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

#qr-reader {
    border-radius: 4px !important;
    overflow: hidden;
}

    #qr-reader > canvas,
    #qr-reader > video,
    #qr-reader > div {
        border-radius: 8px !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        z-index: -1;
    }

    to {
        opacity: 1;
        z-index: 2;
    }
}

.fade-in {
    opacity: 1;
    z-index: 2;
    animation: fadeIn 1s ease-in-out !important;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        z-index: 2;
    }

    to {
        opacity: 0;
        z-index: -1;
    }
}

.fade-out {
    opacity: 0;
    z-index: -1;
    animation: fadeOut 1s ease-in-out !important;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        color: white;
    }

    10% {
        color: white;
    }

    30% {
        color: var(--mud-palette-primary-lighten);
    }

    50% {
        color: white;
    }

    60% {
        color: white;
    }

    80% {
        color: var(--mud-palette-primary-lighten);
    }

    100% {
        color: white;
    }
}

.fade-in .mud-chat-bubble,
.fade-out .mud-chat-bubble {
    content: "";
    animation: pulse 5s;
}
