﻿*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;

}
html, body {
  width: 100%;
  height:100%;
}

body {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
h1 {
    text-align: center;
    margin: 20px 0;
    color: #fff;
}
form {
    display: flex;
    justify-content: center; 
    align-items: center;
    margin-bottom: 20px;
}
form input, form button {
    padding: 10px;
    margin: 0 5px;
    border: none;
    border-radius: 5px;
}
form button {
    background-color: #28a745;
    color: white;
    cursor: pointer;
}
form button:hover {
    background-color: #218838;
}
#list-Items {
    list-style-type: none;
    max-width: 400px;
    margin: 0 auto 20px auto;
    padding: 0;
}
#list-Items li {
    background-color: rgba(255, 255, 255, 0.8);
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}
#total-bill {
    text-align: center;
    font-size: 1em;
    color: #fff;
    margin-bottom: 20px;
}
#print-btn, #clear-btn {
    display: block;
    margin: 0 auto 20px auto;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}
#print-btn:hover, #clear-btn:hover {
    background-color: #0069d9;
}
h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}
button:focus, input:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}
button:active {
    transform: scale(0.98);
}
@media (max-width: 600px) {
    form {
        flex-direction: column;
        align-items: center;
    }
    form input, form button {
        margin: 5px 0;
        width: 80%;
    }
    #list-Items {
        width: 90%;
    }
}
ul li button{
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 5px 10px;
}
ul li button:hover{
    background-color: #c82333;
}
ul li button:focus{
    outline: none;
}
ul li button:active{
    transform: scale(0.95);
}
button{
    font-size: 1em;
}
input{
    font-size: 1em;
}
