
:root {
    --primary:  rgb(129, 41, 1);
    --bordi:  2px solid rgb(129, 41, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
body {
    font-family: 'Dancing Script', sans-serif;
}

.content {
    width: 1160px;
    margin: 0 auto;
}

body {
    background-color: hsla(15, 99%, 25%, 0.1);
}

.spacer {
    padding: 70px 0;
}

.spacer-big {
    padding: 140px 0;
}

.block50 {
    padding: 50px;
}

.block20 {
    padding: 20px;
}

.center {
    text-align: center;
}

/* Grid System */

.col-1 {
    width: 8.33333%;
}

.col-2 {
    width: 16.66666%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33333%;
}

.col-6 {
    width: 50%;
}

.col-8 {
    width: 66.66666%;
}

.col-10 {
    width: 83.33333%;
}

/** Tipografia **/

h1 {
    color: var(--primary);
    font-size: 43px;
    font-weight: 700;
    margin-bottom: 50px;
}

h2 {
    color: rgb(129, 41, 1);
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 50px;
}

h3 {
    color: rgb(129, 41, 1);
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 30px;
}

p {
    font-size: 30px;
    font-weight: 500;
    color: rgb(129, 41, 1);
}

p a {
    text-decoration: none;
    color: rgb(129, 41, 1);
}

/** Global Style **/

/** HEADER  **/

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    padding: 30px 0;
    transition: all 0.3s ease-out;
    background-color: #fff;
    border: var(--bordi);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    margin-right: 20px;
}

.menu ul {
    list-style-type: none;
}

.menu ul li {
    display: inline-block;
}

.menu ul li a {
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgb(129, 41, 1);
    text-decoration: none;
    text-transform: uppercase;
    transition: .3s;
}

.menu ul li a:hover {
    background-color: hsla(15, 99%, 25%, 0.4);
}

.slogan {
    color: rgb(129, 41, 1);
    text-shadow: 1px 1px rgb(129, 41, 1);
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    animation: fadeIn 4s ease-in-out;
}

/* Burger Button */
.burger-menu {
    width: 23px;
    height: 14px;
    margin-right: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger-line {
    width: 100%;
    height: 1px;
    background-color: rgb(129, 41, 1);
    transition: transform 0.3s ease;
}

/* Section 1 */

.line {
    width: 100%;
    height: 1px;
    background-color: rgb(129, 41, 1);
}

.flex-section-1 {
    display: flex;
    flex-wrap: wrap;
}

.flex-section-1 .col-4 {
    margin: 0 auto;
}

.flex-section-1 .col-4 img {
    border: solid;
    border-color: rgb(129, 41, 1);
}

.col-8 p {
    padding-left: 20px;
}

.flex-section-1 .col-8 {
    margin: auto 0;
}

/* Section 2*/

.flex-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-menu .col-3 {
    margin: auto 0;
}

.flex-menu img {
    display: block;
    border: 1px solid rgb(129, 41, 1);
}

.flex-menu .img {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section 3 */

.flex-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-gallery img {
    padding: 20px;
}

.flex-gallery .img {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tabella orari */
table {
    width: 50%;
    border-collapse: collapse;
    /* Elimina gli spazi tra le celle */
    margin-top: 20px;
    /* Aggiunge uno spazio sopra la tabella per distanziarla dal contenuto precedente */
    background-color: white;
    /* Colore di sfondo della tabella */
    margin: 10px auto;

}

th,
td {
    border: 1.5px solid rgb(129, 41, 1);
    /* Aggiunge un bordo alle celle */
    padding: 8px;
    /* Aggiunge spazio interno alle celle */
    text-align: center;
    /* Allinea il testo al centro */
    font-size: 20px;
}

th {
    background-color: #f2f2f2;
    /* Colore di sfondo per le intestazioni */
}

/* Ultima Sezione */
.end ul {
    list-style-type: none;
}

.end li {
    font-size: 30px;
    font-weight: 500;
    color: rgb(129, 41, 1);
}

.end li a {
    text-decoration: none;
    color: rgb(129, 41, 1);
}

.icone a {
    text-decoration: none;
    color:  rgb(129, 41, 1);
    font-size: 20px;
    transition: .3s;
}

.icone a:hover {
    color: rgb(129, 41, 1);
    opacity: 0.7;
}

/* FOOTER */

footer {
    background-color: white;
    color: rgb(129, 41, 1);
    text-align: center;
    padding: 10px 0;
    bottom: 0;
    border-top: 1px solid rgb(129, 41, 1);
    font-size: 15px;
    font-weight: 300;
}


/** Break Points **/

/* Desktop */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .content {
        margin: 0 2%;
        width: 96%;
    }
}

/* Tablet */
@media only screen and (max-width: 1115px) {
    .content {
        margin: 0 2%;
        width: 96%;
    }

    .burger-menu {
        display: flex;
    }

    .menu ul {
        position: fixed;
        left: -270px;
        width: 260px;
        height: 100%;
        top: 0;
        z-index: 99999;
        overflow-y: hidden;
        background-color: #222;
        transition: transform .5s ease-in-out;
        margin-right: 0;
        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4);
    }


    .menu ul li {
        display: block;
        margin: 20px;
    }

    .menu ul li a {
        padding: 0;
        font-size: 13px;
        font-weight: 400;
        color: #fff;
        transition: .3s;
    }

    .menu ul li a:hover {
        color: rgb(129, 41, 1);
    }

    .wide {
        transform: translate(270px, 0);
    }
}

/* Smartphone */
@media only screen and (max-width: 768px) {

    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-6,
    .col-8,
    .col-10 {
        width: 100%;
    }

    .col-8 p {
        padding: 20px 0;
    }

    .flex-menu img {
        margin: 20px 0;
    }

}

@media only screen and (max-width: 600px) {
    .slogan {
        font-size: 22px;
    }
}

@media only screen and (max-width: 320px) {}