:root{
    --cor-principal: #0540f2;
    --cor-secudaria: #fffc00;
    --cor-tercearia: #00ff4c;
    --font-padrao: 'Hepta Slab', Helvetica, Arial;
}

* {
    box-sizing: border-box;
}
body {
    background-color:#EEE;
    font-family: 'Lato',Helvetica,Arial;
    font-size:15px;
    display:flex;
    margin:0;
    min-height:100vh;
}

#loading-screen, .loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #999;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.models {
    display:none;
}

header {
    position: fixed;
    left:0;
    top:0;
    right:0;
    height:60px;
    background-color:var(--cor-principal);
    display:none;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo{
    width: 50px;
}

.logo img{
    width: 100%;
}

.container{
    width: 100%;
    display: flex;
}

.menu-openner {
    margin-right: 15px;
    font-size: 26px;
    background-color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
}
.menu-openner span {
    margin-right:10px;
    border-radius: 100px;
    padding: 0 9px;
}

.menu-openner i {
    color: var(--cor-principal);
}
.menu-closer {
    width:32px;
    height:32px;
    display:none;
    font-size: 30px;
    color: var(--cor-tercearia);
}

aside {
    background-color:#999;
    width:0vw;
    font-family:var(--font-padrao);
    transition:all ease .2s;
    overflow-x:hidden;
    overflow-y: auto;
}
.container aside.show {
    width:30vw;
}
.cart--area {
    margin-top: 40px;
    width: 30vw;
    height: 100vh;
    position: fixed;
    padding: 20px;
}
main {
    margin: auto;
    padding:0 20px;
    width: 70%;
    min-height: 100vh;
}
h1 {
    font-family: var(--font-padrao);
    text-align: center;
    color: var(--cor-principal);
    padding-top: 20px;
}
.pizza-area {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
}

.title-page{
    margin-top: 80px;
}

.area-img{
    background-color: #fff;
    border-radius: 5px 5px 0px 0px;
}

.area-info{
    padding: 0px 20px 20px 20px;
    background-color: #fff;
    border-radius: 0px 0px 5px 5px;
}

.pizza-item {
    text-align: center;
    max-width:250px;
    font-family:var(--font-padrao);
    margin:0 auto 50px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    
}
.pizza-item a {
    display:flex;
    flex-direction: column;
    align-items:center;
    text-decoration: none;
    background-color: #fff;
}
.pizza-item--img {           
    box-shadow:0px 10px 50px rgba(0, 0, 0, 0.2);
    display: flex;
}
.pizza-item--img img {
    width:100%;
    height:auto;
    border-radius:5px 5px 0px 0px;
}
.pizza-item--add {
    width:50px;
    height:50px;
    line-height:50px;
    border-radius:25px;
    background-color:var(--cor-principal);
    text-align:center;
    color:#FFF;
    font-size:22px;
    cursor:pointer;
    margin-top:-25px;
    transition:all ease .2s;
}
.pizza-item a:hover .pizza-item--add {
    background-color:#244c88;
}
.pizza-item--price {
    font-size:18px;
    color:orange;
    margin-top:5px;
    font-weight: bold;
}
.pizza-item--name {
    font-size:20px;
    font-weight: bold;
    color:#000;
    margin-top:5px;
}
.pizza-item--desc {
    font-size:13px;
    color:#555;
    margin-top:10px;
}

.pizzaWindowArea {
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    right:0;
    background-color:rgba(255, 255, 255, 0.5);
    display:none;
    transition: all ease .5s;
    justify-content: center;
    align-items: center;
    overflow-y:auto;
}
.pizzaWindowBody {
    width:900px;
    background-color:#FFF;
    border-radius:10px;
    box-shadow:0px 0px 15px #999;
    display:flex;
    margin:20px 0px;
}
.pizzaBig {
    flex:1;
    display:flex;
    justify-content: center;
    align-items: center;
}
.pizzaBig--back {
    position:absolute;
    width:30px;
    height:30px;
    background-color:#000;
}
.pizzaBig img {
    height:400px;
    width:auto;
}
.pizzaInfo {
    flex:1;
    font-family:var(--font-padrao);
    padding-bottom:50px;
}
.pizzaInfo h1 {
    margin-top:50px;
}
.pizzaInfo .pizzaInfo--desc {
    font-size:15px;
    color:#999;
    margin-top:10px;
    font-family:var(--font-padrao);
}

.pizzaInfo--sizearea{
    flex-direction: column;
}
.pizzaInfo--sector {
    color:#CCC;
    text-transform: uppercase;
    font-size:14px;
    margin-top:30px;
    margin-bottom:10px;
}
.pizzaInfo--sizes {
    display:inline-flex;
    border-radius:10px;
    overflow:hidden;
}

.pizzaInfo--sizes{
    border-radius: 10px;
}

.pizzaInfo--sizes div:last-child{
    border-radius: 0px 10px 10px 0px;
}
.pizzaInfo--size {
    padding:10px 15px;
    color:#000;
    background-color:#EEE;
    font-size:13px;
    font-weight: bold;
    cursor:pointer;
}

.pizzaInfo--size:hover, .ingrediente div:hover {
    background-color:#CCC;
}

.selected {
    background-color:var(--cor-principal);
    color:#FFF;
}


.ingrediente{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ingrediente div{
    min-width: 100px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}


.select-ingrediente{
    background-color:var(--cor-principal);
    color:#FFF;
}

.lista-ingrediente{
    display: flex;
    justify-content: space-around;
}

.lista-ingrediente div{
    text-align: center;
    cursor: pointer;
}

.pizzaInfo--price {
    display:flex;
    align-items:center;
}
.pizzaInfo--actualPrice {
    font-size:28px;
    margin-right:30px;
}
.pizzaInfo--qtarea {
    display:inline-flex;
    background-color:#EEE;
    border-radius:10px;
    height:30px;
}
.pizzaInfo--qtarea button {
    border:0;
    background-color:transparent;
    font-size:17px;
    outline:0;
    cursor:pointer;
    padding:0px 10px;
    color:#333;
}
.pizzaInfo--qt {
    line-height: 30px;
    font-size: 12px;
    font-weight: bold;
    padding: 0px 5px;
    color:#000;
}
.pizzaInfo--addButton {
    margin-top:30px;
    padding:20px 30px;
    border-radius:20px;
    background-color:#48d05f;
    color:#FFF;
    display:inline-block;
    cursor:pointer;
    margin-right:30px;
}
.pizzaInfo--addButton:hover {
    background-color:#32a345;
}
.pizzaInfo--cancelButton {
    display:inline-block;
    cursor:pointer;
}
.pizzaInfo--cancelMobileButton {
    display:none;
    height:40px;
    text-align:center;
    line-height: 40px;
    margin-bottom:30px;
}

.cart {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom:20px;
    min-height: 40vh;
    max-height: 40vh;
    overflow: auto;
}
.cart--item {
    display:flex;
    align-items:center;
    padding: 3px;
    background-color: #ccc;
    border-radius: 5px;
    gap: 5px;
}
.cart--item img {
    width:40px;
    height:40px;
    margin-right:20px;
    border-radius: 25px;
    border: 2px solid #fff;
}
.cart--item--product-info{
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.cart--item-molho, .cart--item-ingrediente, .cart--item-nome, .cart--item-price{
    font-weight: 600;
    color: var(--cor-principal);
    font-size: 12px;
    
}

.cart--item-molho, .cart--item-ingrediente{
    color: #333;
    font-size: 9px;
    margin: 0;
    padding: 0;
}

.cart--item--qtarea {
    display:inline-flex;
    background-color:#eee;
    border-radius:10px;
    height:30px;
}
.cart--item--qtarea button {
    border:0;
    background-color:transparent;
    font-size:17px;
    outline:0;
    cursor:pointer;
    padding:0px 10px;
    color:#333;
}
.cart--item--qt {
    line-height: 30px;
    font-size: 10px;
    font-weight: bold;
    padding: 0px 5px;
    color:#000;
}
.cart--totalitem {
    padding:15px 0;
    border-top:1px solid #333;
    color:#fff;
    display:flex;
    justify-content: space-between;
    font-size:15px;
    
}
.cart--totalitem span:first-child {
    font-weight: bold;
}

.pedido-confirmado {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}
.pedido-confirmado.show {
    opacity: 1;
}


.cart--finalizar {
    padding:20px 30px;
    border-radius:20px;
    background-color:#48d05f;
    color:#FFF;
    cursor:pointer;
    text-align:center;
    margin-top:20px;
    border:2px solid #63f77c;
    transition: all ease .2s;
}
.cart--finalizar:hover {
    background-color:#35af4a;
}

.filtros-area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: fixed;
    background-color: #0009;
    right: 0;
    left: 0;
    padding: 15px;
}

.filtros-area button {
  background: #f4f4f4;
  border: none;
  padding: 12px 18px;
  border-radius: 5px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: right;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.filtros-area button:hover {
  background-color: var(--cor-principal);
  color: #fff;
  transform: translateY(-2px);
}

.filtros-area button{
  font-size: 16px;
  color: var(--cor-principal);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.filtros-area div{
    display: flex;
    gap: 20px;
}

.filtros-area img{
    width: 40px;
    border-radius: 50px;
}



@media (max-width:1114px) {
    body {
        flex-direction: column;
    }

    .logo img{
        border-radius: 100%;
    }
   
    .pizza-area {
        display:block;
    }
    .pizza-item {
        max-width:100%;
    }
    header {
        display:flex;
    }
    main {
        width: 100%;
        margin-top: -20px;
    }

    aside {
        width:auto;
        position:fixed;
        left:100vw;
        right:0;
        top:0;
        bottom:0;
        transition: all ease .2s;
    }

    .container aside.show {
        width:100vw;
    }
    aside.show {
        width:auto;
    }
    .cart--area {
        width:100vw;
        max-height: 100vh;
        margin-top: 0;
    }
    
    .menu-closer {
        display:block;
    }

    .filtros-area {       
        gap: 5px;
        flex-direction: row;
        padding: 15px 3px;   
        position: fixed;
        border-radius: 0;
        bottom: 0;
        flex-wrap: nowrap;
    }

    .filtros-area button{
        font-size: 0;
        padding: 1px;
        width: 50px;
        height: 50px;
    }

    .filtros-area span{
        display: none;
    }

    .filtros-area button i{
        font-size: 25px;
    }
    
    .pizzaWindowArea {
        justify-content:flex-start;
        align-items: flex-start;
        border-radius: 0 0 0 0 ;
    }

    .pizzaWindowBody {
        width:100vw;
        display:block;
        padding:20px;
        border-radius:0;
        box-shadow:none;
        margin:0;
    }

    .pizzaBig img{
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

   
    .pizzaInfo h1 {
        margin-top:20px;
    }

    .pizzaInfo--qtarea {
        height:60px;
    }
    .pizzaInfo--qtarea button {
        font-size:25px;
        padding:0px 25px;
    }
    .pizzaInfo--qt {
        line-height: 60px;
        font-size:20px;
    }
    .pizzaInfo--addButton {
        font-size:20px;
        display:block;
        text-align:center;
        margin:30px auto;
    }

    .pizzaInfo--cancelButton {
        display:none;
    }
    .pizzaInfo--cancelMobileButton {
        display:block;
        text-align: left;
        color: var(--cor-principal);
        font-size: 20px;
    }
}