* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

/* container */

.container {
    width: 80%;
    margin: auto;
    height: 100vh;
}

/* head */

.head {
    text-align: center;
    text-transform: uppercase;
    margin: 10px 0;
    position: relative;
}

#toggle {
    position: absolute;
    display: block;
    width: 30px;
    height: 15px;
    border-radius: 15px;
    background-color: #222;
    left: 10px;
    top: 10px;
    transition: .5s;
    cursor: pointer;
}


#toggle.active {
    background-color: white;
}

body {
    transition: .6s;
}

body.active {
    background-color: #333;
    color: white;
}


#modelContent.active-toggle,
#modelContent2.active-toggle {
    color: white;
    background-color: #333;
}

.indacetor {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background-image: linear-gradient(to bottom, #fff, #222);
    border-radius: 50%;
    transform: scale(.9);
    transition: .3s;
}

#toggle.active .indacetor {
    left: 15px;
}

.plastine {
    width: 250px;
    height: 150px;
    background-color: #333;
    position: fixed;
    top: calc(50% - 100px);
    left: -245px;
    cursor: pointer;
    opacity: .3;
    transition: 1s;

}

.plastine:hover {
    opacity: 1;
    left: 0;
}

.up {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: #590264;
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: white;
    text-align: center;
    cursor: pointer;
    display: none;
    transition: .3s;
}

.up i {
    position: absolute;
    top: 35%;
    right: 39%;
    transition: .3s;
}

.up:hover {
    background-color: #8a049c;
    margin-bottom: 5px;
}


/* all inputs */

input {
    width: 100%;
    height: 30px;
    outline: none;
    border: none;
    background-color: #eee;
    margin: 4px 0;
    padding: 4px;
    border-radius: 4px;
    transition: .6s;
}

input.active {
    background-color: #111;
    color: white;
}

input:focus {
    background-color: #ccc;
}

/* price */
.price input {
    width: 20%;
}


#total {
    background-color: red;
    padding: 5px 2px;
    border-radius: 4px;
}

#total::before {
    content: "total: ";
}

/* all buttons */

button {
    width: 100%;
    height: 30px;
    border: none;
    cursor: pointer;
    background-color: #590264;
    color: white;
    border-radius: 20px;
    transition: .5s;
}

#deleteall button {
    margin: 10px 0;
}

button:hover {
    background-color: #8a049c;
    letter-spacing: .3px;
}

/* search */
.btnsearch {
    display: flex;
    justify-content: space-between;
}

.btnsearch button {
    width: 45%;
}

table {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

table th {
    text-transform: uppercase;
}

th,
td {
    padding: 5px;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    overflow-x: hidden;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    position: relative;
    /* height: 100%; */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal h4 {
    text-align: center;
}

.modal .eventForSlider {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal .eventForSlider button {
    width: 20%;
}

.modal-content2 {
    display: none;
    background-color: #fefefe;
    margin: 10% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    transition: ease-in-out 2s;
}

.next {
    position: absolute;
    right: 10px;
}

.eventForSlider {
    margin: 20px 0;
}

hr {
    margin: 10px;
}

#tableForReciept {
    display: none;
}

footer {
    background-color: #8a049c;
    color: white;
    margin-top: 30px;
    padding: 10px;
    text-align: center;
    width: 100%;
    /* position: fixed; */
    bottom: 0;
    margin-left: 0;
    margin-right: 0;

}

footer a {
    text-decoration: none;
    color: #888;
}

.background {
    background: darkgreen;
    height: 150px;
    width: 250px;
}

.top {
    background: black;
    width: 100%;
    height: 50px;
    z-index: 1;
}

.middle {
    background: white;
    width: 100%;
    height: 50px;
    z-index: 1;
}

.triangle {
    background: auto;
    border-top: 75px solid transparent;
    border-bottom: 75px solid transparent;
    border-left: 75px solid red;
    z-index: 2;
    position: relative;
    top: -100px;
    left: 0;
}
@media screen and (max-width: 575px) {
  
    .container {
        margin: auto;
    }

    table  {
        font-size: 5px;
        
    }
}
