@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    background-image: url('restaurantImage.jpg');
    /* background-color: #F3F4F6; */
    color: black;
    background-repeat: no-repeat;
    background-size: cover;
}

body::after {
    content: "";
    background: inherit;
    position: fixed; 
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    filter: grayscale(0.3) blur(9px); 
    z-index: -1;
}

h1 {
    margin-top: 50px;
    font-size: 2.5em;
}

#count-el {
    font-size: 4em;
    color: black;
    transition: color 1s ease;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    color: white;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

button:before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.7), transparent);
    transform: translateX(-100%);
    transition: transform .6s ease;
    z-index: 0;
}

button:hover:before {
    transform: translateX(100%);
}

#increment-el {
    background-color: #1D4ED8;
    transition: background-color 0.3s ease;
}

#increment-el:hover {
    background-color: #2563EB;
}

#save-el {
    background-color: #DC2626;
    transition: background-color 0.3s ease;
}

#save-el:hover {
    background-color: #EF4444;
}

#refresh-el {
    background-color: #3487f5;
    transition: background-color 0.3s ease;
}

#refresh-el:hover {
    background-color: #2321c0;
}

table {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    width: 70%;
    text-align: center;
    border-radius: 15px;
    max-width: 800px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: #6366F1;
    color: white;
    padding: 10px;
}

td {
    background-color: #E5E7EB;
    padding: 10px;
}

input[type="text"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border: 2px solid #E5E7EB;
    border-radius: 4px;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    #count-el {
        font-size: 3em;
    }

    button {
        font-size: 1em;
        padding: 5px 10px;  /* padding reduced */
    }

    table {
        width: 100%;  /* width increased */
    }
}


