* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button {
    cursor: pointer;
}

#backgroundImg {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.form div span ul {
    position: absolute;
    border-radius: 5px 5px 20px 20px;
    border-bottom: 1px solid black;
    border-right: 1px solid black;
    border-left: 1px solid black;
    top: 29px;
    background-color: whitesmoke;
    width: 100%;
    list-style: none;
    z-index: 1;
    padding: 10px 10px;
    height: 100px;
    overflow-y: scroll;
}

#resultado li {
    border-bottom: 1px solid black;
    text-align: center;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: Arial, Helvetica, sans-serif;
}

header,
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #28ac0b;
    height: 60px;
    color: white;
}

.pesquisa {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -53%);
    width: 35%;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.918);
    border-radius: 28px;
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.searchButtons {
    margin: 10px 0;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.searchButtons button {
    width: 80px;
    margin: 0 20px 0 0;
    border: none;
    padding: 5px;
    border-radius: 8px;
}

.searchButtons select {
    width: 80%;
    padding: 5px;
    font-size: 1.2rem;
}

.menuKim {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -53%);
    width: 95%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.918);
    border-radius: 28px;
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.menuKim .allButtons {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 50px;
}

.allButtons button {
    font-size: 1.2rem;
    padding:40px 10px;
    border-radius: 12px;
    border: none;
    margin: 0 10px 0 0;
}

.allButtons select {
    padding: 5px;
    font-size: 1.3rem;
    height: 80px;
    border-radius: 12px;
}

#selectCardapio {
    text-align: center;
}

.cR {
    background-color: red;
    color: white;
}

.cG {
    background-color: rgb(0, 255, 0);
    color: white;
}

.cY {
    background-color: yellow;
    color: rgb(255, 0, 0);
}

.cRGB {
    background-color: #3fbbc0;
    color: white;
    font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.logo img {
    width: 60px;
    height: 100%;
}

header button {
    margin-right: 20px;
    padding: 5px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
}

.form {
    height: 90%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rotulos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    font-size: 1.5rem;
}

.rotulos span {
    width: 20%;
    background-color: white;
    border-radius: 28px;
    text-align: center;
    margin: 5px 0;
}

.form div {
    width: 32%;
    height: 95%;
    padding: 5px;
    margin: 1%;
    background-color: rgba(0, 0, 0, 0.541);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 28px;
}

.form div span {
    position: relative;
    background-color: whitesmoke;
    width: 90%;
    margin: 3px 0;
    border: 1px solid black;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.form div span input {
    background-color: transparent;
    border: none;
    width: 80%;
    height: 100%;
    padding: 5px;
    text-align: center;
    font-size: 1rem;
}

.chkIn {
    border: 2px solid #1d888b;
    display: flex;
    width: 30px;
}

.form div span input:focus {
    box-shadow: 0 0 0 0;
    outline: 0;
}

.form div span select {
    width: 50px;
    padding: 3px;
    border-radius: 10px;
}

.form div .setOpts {
    display: flex;
    flex-direction: row;
    margin: 50px 0 0 0;
    width: 95%;
    height: 50px;
    align-items: center;
    justify-content: space-around;
    background-color: transparent;
}

.setOpts button {
    background-color: #28ac0b;
    padding: 5px;
    color: white;
    border: none;
    border-radius: 12px;
    width: 45%;
    font-size: 1.2rem;
}

.form div .setOpts2 {
    display: flex;
    margin: 0 0 50px 0;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.form div .setOpts2 select {
    padding: 5px;
    font-size: 1.3rem;
    width: 80%;
    border-radius: 12px;
    margin: 10px 0;
}

footer {
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Efeito Load */
#backLoad {
    position: absolute;
    top: 25%;
    left: 49%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.loader {
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    perspective: 800px;
}

.inner {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.inner.one {
    left: 0%;
    top: 0%;
    animation: rotate-one 1s linear infinite;
    border-bottom: 8px solid #1d888b;
}

.inner.two {
    right: 0%;
    top: 0%;
    animation: rotate-two 1s linear infinite;
    border-right: 8px solid #1d888b;
}

.inner.three {
    right: 0%;
    bottom: 0%;
    animation: rotate-three 1s linear infinite;
    border-top: 8px solid #1d888b;
}

@keyframes rotate-one {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate-two {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate-three {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

@media (min-width:360px) and (max-width:428px) {
    header h1 {
        font-size: 1.1rem;
        word-wrap: break-word;
        width: 60%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .form {
        flex-direction: column;
        overflow-y: scroll;
    }

    .form div {
        width: 90%;
    }

    .menuKim .allButtons {
        flex-direction: column;
    }

    .allButtons button {
        margin: 10px 0;
        font-size: 1.2rem;
        width: 200px;
        display: flex;
        word-wrap: break-word;
        align-items: center;
        justify-content: center;
    }
}

.displayOff {
    display: none;
}