/*Sezione Generale*/
html{
    font-size:16px;
    font-family: "Nunito", sans-serif;
    scroll-behavior: smooth;
    background: linear-gradient(rgb(12, 12, 12), rgb(10, 10, 10), rgb(5, 5, 5));
    color: white;
}
.container{
    max-width: 90%;
    margin: auto;
}
/*Sezione Navbar*/
.NavBar{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}
.NavBar img{
    width: 85px;
    height: 85px;
    transition: all 0.3s ease-in-out;
}
.NavBar img:hover{
    transform: scale(1.25);
}
.NavBar a{
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.526);
    padding: 3px 10px;
    border-radius: 8px;
    color: rgb(255, 255, 255);
}
.NavBar a:focus{
    text-decoration: none;
}
.NavBar a:hover{
    transform: scale(1.2);
}
/*Sezione ParteSuperiore*/
.ParteSuperiore {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    position: relative;
    width: 100%;
    height: 650px;
    background-image: url(PizzaIntestazione1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ParteSuperiore::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.ParteSuperiore h1 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}
.ParteSuperiore p {
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}
/*Sezione Storia*/
.LaStoria{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.LaStoria h1{
    font-size: 2.6rem;
    font-weight: 600;
}
.LaStoria p{
    font-size: 1.3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.526);
    border-radius: 8px;
    padding: 3px 10px;
    letter-spacing: 1px;
}
/*Il Menu*/
.IlNostroMenu{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.IlNostroMenu h1{
    font-size: 2.2rem;
    font-weight: 600;
}
.menu-table {
    width: 80%;
    border-collapse: collapse;
    margin: 15px auto;
    border: 1px solid #d01c00;
    background-color: #fff7e6;
}
.menu-table th {
    background-color: #d73204;
    color: white;
    font-size: 1.4rem;
    padding: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.menu-table td {
    padding: 12px;
    text-align: left;
    background-color: #eaa503;
    font-size: 1.2rem;
    color: #2a2a2a;
}
.menu-table td:nth-child(even) {
    background-color: #f9c150;
}
.menu-table td:hover {
    background-color: #ffbc2d;
    cursor: pointer;
}
/*Sezione DoveEQuando*/
.DoveEQuando{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
}
.Dove h1{
    font-size: 1.8rem;
    text-align: center;
}
.Dove iframe{
    width: 400px;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.71);
}
.Quando{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.Quando h1{
    font-size: 1.8rem;
    text-align: center;
}
.Quando p{
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
}
/*SezioneForm*/
.Consigliaci{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}
.Consigliaci h1{
    font-size: 2.4rem;
    font-weight: 600;
}
.Consigliaci p{
    font-size: 1.1rem;
}
form{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 70px;
}
input{
    width: 500px;
    height: 50px;
    border: none;
    border-radius: 8px;
    outline: none;
    padding: 8px 20px;
    background-color: rgb(255, 240, 240);
    cursor: pointer;
    font-size: 1.2rem;
}
input:hover{
    background-color: rgb(255, 198, 198);
}
input:focus{
    outline: none;
}
textarea{
    width: 400px;
    height: 150px;
    border: none;
    border-radius: 8px;
    outline: none;
    padding: 10px 20px;
    background-color: rgb(255, 240, 240);
    cursor: pointer;
    font-size: 1.2rem;
    resize: none;
}
button {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    user-select: none;
    touch-action: manipulation;
    width: 100px;
}
.shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / 0.25);
    will-change: transform;
    transform: translateY(2px);
    transition: transform
       600ms
       cubic-bezier(.3, .7, .4, 1);
}
.edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(
       to left,
       hsl(340deg 100% 16%) 0%,
       hsl(340deg 100% 32%) 8%,
       hsl(340deg 100% 32%) 92%,
       hsl(340deg 100% 16%) 100%
     );
}   
.front {
    display: block;
    position: relative;
    padding: 12px 27px;
    border-radius: 12px;
    font-size: 1.1rem;
    color: white;
    background: hsl(345deg 100% 47%);
    will-change: transform;
    transform: translateY(-4px);
    transition: transform
       600ms
       cubic-bezier(.3, .7, .4, 1);
}   
button:hover {
    filter: brightness(110%);
}   
button:hover .front {
    transform: translateY(-6px);
    transition: transform
       250ms
       cubic-bezier(.3, .7, .4, 1.5);
}   
button:active .front {
    transform: translateY(-2px);
    transition: transform 34ms;
}
button:hover .shadow {
    transform: translateY(4px);
    transition: transform
       250ms
       cubic-bezier(.3, .7, .4, 1.5);
} 
button:active .shadow {
    transform: translateY(1px);
    transition: transform 34ms;
}
button:focus:not(:focus-visible) {
    outline: none;
}
.Consigliaci button {
    align-self: center;
}
/*Sezione Footer*/
footer{
    background-color: rgb(7, 7, 7);
}
.Footer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 8px;
}
.Footer h3{
    font-size: 1.2rem;
    font-weight: 600;
}
.LatoSinistro{
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.LatoDestro{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
/*Media Queries*/
@media (max-width: 480px) {
    /*Sezione Generale*/
    html {
        font-size: 14px;
    }
    /*Sezione Navbar*/
    .NavBar {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .NavBar img {
        width: 85px;
        height: 85px;
        margin-bottom: 10px;
        cursor: pointer;
    }
    .NavBar a {
        display: none;
        text-align: center;
        width: 100%;
        font-size: 1.5rem;
    }
    .NavBar a:hover{
        transform: none;
    }
    .NavBar.responsive a {
        display: block;
        padding: 10px;
        border: none;
    }
    .NavBar.responsive {
        position: relative;
    }
    /*Sezione ParteSuperiore*/
    .ParteSuperiore {
        height: 400px;
    }
    .ParteSuperiore h1 {
        font-size: 1.35rem;
        text-align: center;
    }
    .ParteSuperiore p {
        font-size: 0.85rem;
        text-align: center;
    }
    /*Sezione Storia*/
    .LaStoria {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .LaStoria h1 {
        font-size: 2.4rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .LaStoria p {
        font-size: 1.3rem;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.526);
        padding: 10px;
        border-radius: 8px;
    }
    /*Il Menu*/
    .IlNostroMenu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .IlNostroMenu h1 {
        font-size: 2.4rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .menu-table {
        width: 100%;
        margin: 3px;
    }
    .menu-table th {
        font-size: 0.95rem;
        padding: 7px;
    }
    .menu-table td {
        font-size: 0.9rem;
        padding: 7px;
    }
    .menu-table td, .menu-table th {
        text-align: center;
    }
    /*Sezione DoveEQuando*/
    .DoveEQuando {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .Dove h1{
        font-size: 2.2rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .Dove iframe {
        width: 100%;
        max-width: 350px;
        height: 350px;
    }
    .Quando {
        width: 100%;
        text-align: center;
    }
    .Quando h1 {
        font-size: 2.2rem;
        color: rgba(255, 215, 16, 0.93);
    }
    .Quando p {
        font-size: 1.2rem;
    }
    /*SezioneForm*/
    .Consigliaci {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .Consigliaci h1 {
        font-size: 2.1rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .Consigliaci p {
        font-size: 1.2rem;
        text-align: center;
    }
    form {
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin-top: 30px;
    }
    input {
        width: 70%;
        height: 50px;
        font-size: 1.2rem;
    }
    textarea {
        width: 70%;
        height: 150px;
        font-size: 1.2rem;
    }
    button {
        width: fit-content;
        height: 50px;
        font-size: 1.2rem;
    }
    /*Sezione Footer*/
    .Footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .Footer h3 {
        font-size: 1.6rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .LatoSinistro {
        width: 100%;
        text-align: center;
        gap: 20px;
    }
    .LatoDestro {
        width: 100%;
        text-align: center;
        gap: 20px;
    }
}
/* Media Queries per tablet e dispositivi con larghezza compresa tra 481px e 768px */
@media (max-width: 768px) and (min-width: 481px) {
    /*Sezione Generale*/
    html {
        font-size: 14px;
    }
    /*Sezione Navbar*/
    .NavBar{
        justify-content: space-around;
        align-items: center;
        gap: 20px;
    }
    .NavBar a{
        display: block;
        font-size: 1.1rem;
        text-align: center;
    }
    .NavBar img{
        width: 75px;
        height: 75px;
    }
    .NavBar a:hover{
        transform: none;
    }
    /*Sezione ParteSuperiore*/
    .ParteSuperiore {
        height: 500px;
    }
    .ParteSuperiore h1 {
        font-size: 2.6rem;
        text-align: center;
    }
    .ParteSuperiore p {
        font-size: 1.1rem;
        text-align: center;
    }
    /*Sezione Storia*/
    .LaStoria {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .LaStoria h1 {
        font-size: 2.6rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .LaStoria p {
        font-size: 1.4rem;
        text-align: center;
        width: fit-content;
    }
    /*Il Menu*/
    .IlNostroMenu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .IlNostroMenu h1 {
        font-size: 2.6rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .menu-table {
        width: 100%;
        margin: 5px;
    }
    /*Sezione DoveEQuando*/
    .DoveEQuando {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .Dove h1{
        font-size: 2.6rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .Dove iframe {
        width: 600;
        height: 500px;
        margin: auto;
    }
    .Quando {
        width: 100%;
        text-align: center;
    }
    .Quando h1 {
        font-size: 2.6rem;
        color: rgba(255, 215, 16, 0.93);
    }
    .Quando p {
        font-size: 1.4rem;
    }
    /*SezioneForm*/
    .Consigliaci {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .Consigliaci h1 {
        font-size: 2.6rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .Consigliaci p {
        font-size: 1.4rem;
        text-align: center;
    }
    form {
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin-top: 30px;
    }
    input {
        width: 50%;
        height: 50px;
        font-size: 1.2rem;
    }
    textarea {
        width: 50%;
        height: 150px;
        font-size: 1.2rem;
    }
    button {
        width: fit-content;
        height: 50px;
        font-size: 1.2rem;
    }
    /*Sezione Footer*/
    .Footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .Footer h3 {
        font-size: 1.6rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .LatoSinistro {
        width: 100%;
        text-align: center;
        gap: 20px;
    }
    .LatoDestro {
        width: 100%;
        text-align: center;
        gap: 20px;
    }
}
@media (max-width: 1280px) and (min-width: 769px) {
    /*Sezione Generale*/
    html {
        font-size: 16px;
    }
    /*Sezione Navbar*/
    .NavBar{
        justify-content: space-around;
        align-items: center;
        gap: 20px;
    }
    .NavBar a{
        display: block;
        font-size: 1.1rem;
        text-align: center;
    }
    .NavBar img{
        width: 70px;
        height: 70px;
    }
    .NavBar a:hover{
        transform: none;
    }
    /*Sezione ParteSuperiore*/
    .ParteSuperiore {
        height: 600px;
    }
    .ParteSuperiore h1 {
        font-size: 2.8rem;
        text-align: center;
    }
    .ParteSuperiore p {
        font-size: 1.2rem;
        text-align: center;
    }
    /*Sezione Storia*/
    .LaStoria {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .LaStoria h1 {
        font-size: 2.8rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .LaStoria p {
        font-size: 1.4rem;
        text-align: center;
        width: fit-content;
    }
    /*Il Menu*/
    .IlNostroMenu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .IlNostroMenu h1 {
        font-size: 2.8rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .menu-table {
        width: 100%;
        margin: 5px;
    }
    /*Sezione DoveEQuando*/
    .DoveEQuando {
        align-items: flex-start;
        justify-content: center;
        gap: 30px;
    }
    .Dove h1{
        font-size: 2.8rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .Dove iframe {
        width: 500;
        height: 400px;
        margin: auto;
    }
    .Quando {
        width: 100%;
        text-align: center;
    }
    .Quando h1 {
        font-size: 2.8rem;
        color: rgba(255, 215, 16, 0.93);
    }
    .Quando p {
        font-size: 1.2rem;
    }
    /*SezioneForm*/
    .Consigliaci {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .Consigliaci h1 {
        font-size: 2.8rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .Consigliaci p {
        font-size: 1.4rem;
        text-align: center;
    }
    form {
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin-top: 30px;
    }
    input {
        width: 30%;
        height: 50px;
        font-size: 1.2rem;
    }
    textarea {
        width: 30%;
        height: 150px;
        font-size: 1.2rem;
    }
    button {
        width: fit-content;
        height: 50px;
        font-size: 1.2rem;
    }
}
@media all and (min-width: 1281px) {
    /*Sezione Generale*/
    html {
        font-size: 16px;
    }
    /*Sezione Navbar*/
    .NavBar{
        justify-content: space-around;
        align-items: center;
        gap: 20px;
    }
    .NavBar a{
        display: block;
        font-size: 1.3rem;
        text-align: center;
    }
    .NavBar img{
        width: 75px;
        height: 75px;
    }
    /*Sezione ParteSuperiore*/
    .ParteSuperiore {
        height: 650px;
    }
    .ParteSuperiore h1 {
        font-size: 2.8rem;
        text-align: center;
    }
    .ParteSuperiore p {
        font-size: 1.2rem;
        text-align: center;
    }
    /*Sezione Storia*/
    .LaStoria {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .LaStoria h1 {
        font-size: 3rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .LaStoria p {
        font-size: 1.6rem;
        text-align: center;
        width: fit-content;
    }
    /*Il Menu*/
    .IlNostroMenu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .IlNostroMenu h1 {
        font-size: 3rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .menu-table {
        width: 80%;
        width: 100%;
        margin: 5px;
    }
    /*Sezione DoveEQuando*/
    .Dove h1{
        font-size: 2.8rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .Quando h1 {
        font-size: 2.8rem;
        color: rgba(255, 215, 16, 0.93);
    }
    .Quando p {
        font-size: 1.4rem;
    }
    /*SezioneForm*/
    .Consigliaci {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .Consigliaci h1 {
        font-size: 2.8rem;
        text-align: center;
        color: rgba(255, 215, 16, 0.93);
    }
    .Consigliaci p {
        font-size: 1.4rem;
        text-align: center;
    }
    form {
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin-top: 30px;
    }
    input {
        width: 30%;
        height: 50px;
        font-size: 1.2rem;
    }
    textarea {
        width: 30%;
        height: 150px;
        font-size: 1.2rem;
    }
    button {
        width: fit-content;
        height: 50px;
        font-size: 1.2rem;
    }
}