body{
    background-image: url("../img/fondo.jpg");
    background-position: center;
    background-size: cover;
    #fondo{
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: #00000098;
        z-index: -1;
    }
}
header{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: rgba(33,37,41, 0.85);
    a, h1{
        font-weight: 900;
        font-size: 35px;
        color: #fff;
        text-shadow: #000 6px 2px 2px;
        transition: transform 0.3s;
    }
    a:hover{
        transform: scale(1.1);
        color: goldenrod;
    }
}
main{
    padding: 25px;
    min-height: calc(100dvh - 60px);
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    .izquierda, .derecha{
        display: flex;
        flex-direction: column;
        border: 1px solid #ffffff;
        border-radius: 3px;
        padding: 15px;
        background-color: #00000018;
        width: 50%;
    }
    .izquierda{
        overflow-y:auto;
        max-height: calc(100dvh - 60px - 50px);
        height: fit-content;
        gap: 20px;
        .producto{
            display: flex;
            background-color: #c9c9c92c;
            border-radius: 5px;
            padding: 9px;
            gap: 25px;
            height: 140px;
            justify-content: space-between;
            img{
                width: 95px;
            }
            .info{
                font-weight: 700;
                width: 100%;
                color: #fff;
                text-align: left;
                input{
                    width: 40px;
                    text-align: center;
                    border: 1px solid gray;
                    border-radius: 4px;
                    color: inherit;
                    font-weight: 600;
                }
            }
            i{
                width: 70px;
                border-radius: 5px;
                height: 100%;
                background-color: rgb(145, 49, 49);
                color: #fff;
                font-size: 35px;
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                transition: 0.3s;
            }
            i:hover{
                color: goldenrod;
            }
        }
        #mensaje{
            padding: 10px 0;
            color: #fff;
            font-weight: 800;
            font-size: 16px;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 25px;
            a{
                padding: 6px;
                border-radius: 5px;
                background-color: goldenrod;
            }
        }
    }
    .derecha{
        height: fit-content;
        color: #fff;
        font-weight: 700;
        display: flex;
        flex-direction: column;
        gap: 15px;
        button{
            background-color: #6464649c;
            margin: auto;
            width: 70%;
            border: 1px solid #000;
            border-radius: 5px;
            height: 45px;
            cursor: pointer;
            box-shadow: 2px 2px 8px #000;
            color: #fff;
            font-weight: 800;
            font-size: 18px;
            transition: 0.3s;
        }
        button:hover{
            color: goldenrod;
            transform: scale(1.05);
            box-shadow: inset #000 0px 0px 7px;
        }
    }
}
.animacionEliminar{
    animation: eliminar 500ms forwards;
    transform: scaleY(0);
    height: 0;
    padding: 0 9px;
}
.invisible {
    display: none !important;
}
@keyframes eliminar {
    from {
        transform: scaleY(1);
        height: 140px;
        padding:9px 9px;
    }
    to {
        transform: scaleY(0);
        height: 0;
        padding: 0 9px;
    }
}