/*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;
}

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__logo {
    height: fit-content;
    grid-column: 1;
    justify-self: left;
}

.header__icon {
    display: none;
}

.header__menu {
    grid-column: 2;
    justify-self: center;
    font-size: 0.8em;
    text-align: center;
}

/* .header__menu .site-nav>li {
    display: inline-flex;
    margin: 5px;

} */

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);
}

/*Calendario*/
.content__calendario {
    padding-top: 80px;
}

ul {
    list-style-type: none;
}

body {
    font-family: Verdana, sans-serif;
}

p.small {
    font-size: 0.7em;
}

.header__cta:hover {
    transform: scale(1.1);
    font-weight: 500;
    transition: transform 0.2s;
}

/* Month header */
.calendario__mese {
    padding: 70px 25px;
    width: 100%;
    background: var(--primary);
    text-align: center;
    color: white;
    display: flex;
    justify-content: space-between;
}

.prev,
.next {
    cursor: pointer;
}

.prev:hover,
.next:hover {
    transform: scale(1.1);
    transform-origin: center;
    color: var(--secondary);
}

.calendario__settimana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #e2e2e4;
    font-size: 0.8em;
}

.calendario__settimana>div {
    border: 1px solid white;
    padding: 10px;
    text-align: center;
}

.calendario__giorni {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-size: 0.8em;
}

.calendario__giorni>div {
    padding: 7px;
    text-align: center;
}

.unavailable {
    color: lightslategray;
}


/* -------------------------------------------------------------------------------- */
/* ! Media query */
/* -------------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .header__logo {
        width: fit-content;
    }

    .header__logo img {
        width: 100px;

    }

    .header__cta {
        width: fit-content;
        justify-self: right;
    }

    .fixed {
        display: flex;
        justify-content: space-around;
    }

    .header__menu {
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .header__logo img {
        width: 100px;
    }

}