@font-face {
    font-family: "LowresPixel";
    src: url("./LowresPixel-Regular.woff2");
    font-display: swap;
}

* {
    margin: 0;
}

body {
    font-family: "LowresPixel";
    text-align: center;
    margin-top: 30px;
    background-image: url(/images/bkg.webp);
    background-position: center;
    background-size: 500px;
}

h1 {
    font-size: 80px;
    color: #fbeacb;
    text-shadow: 2px 2px 3px black;
}

h2 {
    font-size: 30px;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #de8633;

}

.sauce {
    z-index: 5 !important;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    height: 90vh;
}

#pizza {
    position: relative;
}

.pizza {
    display: block;
    height: 500px;
}

.ingredients {
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0.82);
    width: 100%;
    z-index: 10;
}

input {
    display: none;
}

input:checked + label {
    background-image: url(/images/ingbtncheck.webp);
    color: rgb(159, 140, 115);
}

.ingredientsList {
    width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}

label {
    display: grid;
    place-items: center;
    background-image: url(/images/ingbtn.webp);
    background-position: center;
    background-size: cover;
    text-align: center;
    width: 100%;
    aspect-ratio: 1;
    cursor: pointer;
}

.mute {
    background-color: transparent;
    background-image: url(/images/pizza_base.webp);
    background-size: cover ;
    padding: 20px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 40px;
    aspect-ratio: 1;
    position: fixed;
    margin: auto;
    bottom: 30px;
    right: 50px;
    z-index: 2;
}

.mute span {
    font-size: 40px;
    cursor: pointer;
}

.startPage {
    background-image: url(/images/heroimg.webp);
    background-color: #fbeacb;
    background-position: center;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    transition: 1s opacity cubic-bezier(0.19, 1, 0.22, 1);
}

.noStartPage {
    opacity: 0;
    pointer-events: none;
}

#makePizza {
    padding-block: 10px;
    padding-inline: 15px;
    border-radius: 30px;
    border: none;
    font-size: 25px;
    font-family: "LowresPixel";
    cursor: pointer;
}

@media (width <= 1110px) {
   .container {
    flex-direction: column;
    height: auto;
    margin-bottom: 50px;
}

.ingredientsList {
    grid-template-columns: 1fr 1fr;
    width: auto;
}

.pizza {
    height: 350px;
}

}