* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url(img/background-ladrillos.jpg);
    background-size: cover;
    font-family: 'Poppins', sans-serif;
}

header {
    width: 100%;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8em 0;
    justify-content: space-between;
    padding: 10px 50px;
}

header > p {
    font-size: 1.2em;
    font-weight: bold;
}

header > img {
    width: 150px;
}

header > button {
    padding: 10px 12px;
    background-color: #515151;
    color: #fff;
    border: none;
    border-radius: 3px;
    outline: #000 2px solid;
}

header > button:hover {
    cursor: pointer;
}

header + nav {
    width: 95%;
    background-color: rgba(240, 240, 240, 0.9);
    padding: 1em 2em;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: 10px;
    margin: auto;
    margin-top: 15px;
}

header + nav > a {
    text-decoration: none;
    color: #000;
    margin: 0px 10px;
    text-wrap: nowrap;
}

header + nav > a:last-child {
    text-decoration: underline;
}


header + nav + h2 {
    margin: 0;
    font-size: clamp(1rem, 7vw, 3rem);
    text-align: center;
    
}

h2 + section {
    width: 95%;
    margin: auto;
    padding: 20px 50px;
    display: flex;
    background-color: rgba(240, 240, 240, 0.9);
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
}

h2 + section > select {
    margin-right: 20px;
    height: 2.5em;
}

h2 + section > p {
    font-size: 1.5em;
}

h2 + section > p #total_dinero{
    font-weight: bold;
}

h2 + section + section{
    width: 95%;
    margin: auto;
    padding: 20px;
    background-color: rgba(240, 240, 240, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 0 0 10px 10px;
}

h2 + section + section > table {
    margin: auto;
    width: 80%;
}

h2 + section + section > table tr > th {
    text-align: start;
    padding-bottom: 20px;
    background-color: #EDB232;
    padding: 10px;

}

h2 + section + section > table tr > td {
    padding: 10px;
}

tbody tr:nth-child(odd) {
    background-color: white;
}

tbody tr:nth-child(even) {
    background-color: lightgray;
}

h2 + section + section > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

h2 + section + section > div > div {
    width: fit-content;
}

h2 + section + section > div input{
    padding: 7px 10px;
}

h2 + section + section > div > input {
    margin: 5px;
    width: 190px;
    background-color: #EDB232;
    border: none;
    border-radius: 3px;
}

h2 + section + section > div > input:hover {
    cursor: pointer;
}

h2 + section + section > div input[type=number] {
    text-align: center;
    width: 38px;
    -moz-appearance: textfield;
}

h2 + section + section > div input[type=number]:focus {
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#total_pedidos, #total_paginas {
    font-weight: bold;
}

.no-mostrar {
    display: none;
}

@media screen and (min-width: 900px) {
    h2 + section {
        padding: 20px 200px;
    }
}