/*Tavolozza colore*/
:root {
    --primary: #1f2739;
    --secondary: #9897B3;
    --light: #ffe66d;
    --accent: #d16215;
    --dark: #0d1321;
}

/*reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--dark);
    cursor: pointer;
}

a:hover {
    color: var(--accent);
}

/*Utility*/
html {
    scroll-behavior: smooth;
}

.res {
    width: 100%;
    max-width: 200px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/*tipografia*/
body {
    font-family: "Inter", sans-serif;
}

p {
    font-size: 1em;
    line-height: 1.5em;
}

p.small {
    font-size: 0.8em;
}

p.parentesi {
    font-size: 0.9em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Syne", sans-serif;
}

/*Header*/
header.header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    height: 75px;
}

.fixed {
    position: fixed;
    width: 100%;
    background-color: var(--light);
    z-index: 2;
    height: 80px;
}

header.header container {
    height: 80px;
}

.header__logo,
.header__icon,
.header__cta {
    width: 130px;
}

.header__cta:hover {
    transform: scale(1.1);
    font-weight: 500;
    transition: transform 0.2s;
}

.header__logo {
    height: fit-content;
    grid-column: 1;
    justify-self: left;
}

.header__icon {
    display: none;
}

.header__menu {
    grid-column: 2;
    justify-self: center;
    text-align: center;
    font-size: 0.8em;
    max-width: fit-content;
}


header.header a {
    color: var(--primary);
}

.header__cta {
    grid-column: 3;
    justify-self: right;
    width: fit-content;
}

.site-nav a:hover {
    transform: scale(1.1);
    font-weight: 500;
    transition: transform 0.2s;
}

.button:hover {
    transform: scale(1.1);
}

section {
    scroll-margin-top: 80px;
    /* margin-bottom: 25px; */
    padding: 20px;
}

.content__prezzi {
    padding: 80px;
}

.content__prezzi h1 {
    margin-top: 10px;
    color: var(--primary);
}


.tariffe-ordinarie,
.tariffe-speciali {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding: 20px;
}

.tariffe-ordinarie>div,
.tariffe-speciali>div {
    width: 25%;
}

.tariffa-tessere {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding: 20px;
}

.tariffa-tessere>div {
    width: 50%;
}

.listino-prezzi {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding: 20px;
}

.listino-prezzi>div {
    width: 50%;
}

/* -------------------------------------------------------------------------------- */
/* ! Media query */
/* -------------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .header__logo {
        width: fit-content;
    }

    .header__logo img {
        width: 100px;

    }

    .header__cta {
        width: fit-content;
        justify-self: right;
    }

    .header__menu {
        visibility: hidden;
    }

    .fixed {
        display: flex;
        justify-content: space-around;
    }

    .tariffe-ordinarie,
    .tariffe-speciali {

        display: flex;
        flex-direction: column;

    }

    .tariffe-ordinarie>div,
    .tariffe-speciali>div {
        width: 100%;
    }

    .tariffa-tessere {

        display: flex;
        flex-direction: column;

    }

    .tariffa-tessere>div {
        width: 100%;
    }

    .listino-prezzi {

        display: flex;
        flex-direction: column;

    }

    .listino-prezzi>div {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header__logo img {
        width: 100px;
    }

}