:root {
    --azzurro: #04D3DE;
    --azzurrino: #E5F9FA;
    --magenta: #F93A78;
    --magentino: rgba(249, 58, 120, 0.07);
}

@font-face {
    font-family: "WotfardRegular";
    src: url("fonts/Wotfard-Regular.otf") format("opentype");
}

@font-face {
    font-family: "WotfardBold";
    src: url("fonts/Wotfard-SemiBold.otf") format("opentype");
}

* {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    box-sizing: border-box;
    font-size: inherit;
    color: inherit;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}
select {
    -webkit-appearance: none;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    line-height: 1.5rem;
}

h1, h2, h3, h4, b, strong {
    font-weight: normal;
    font-family: "WotfardBold", sans-serif;
}

html {
    height: 100%;
}

body {
    font-family: "WotfardRegular", sans-serif;
    color: #444;
    background-color: #F1FCFC;
    min-height: 100%;
}

.container {
    width: 85%;
    max-width: 1000px;
    margin: auto;
    display: block;
}

.container-ristretto {
    width: 85%;
    max-width: 500px;
    margin: auto;
}

.bottone-cafone {
    font-family: "WotfardBold", sans-serif;
    display: inline-block;
    padding: 13px;
    padding-bottom: 11px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 15px;
    background-color: var(--magenta);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(249, 58, 120, 0.2);
}

header {
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
    width: 100%;
    margin-bottom: 30px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hoverizzato {
    transition: opacity .2s ease-in-out;
    cursor: pointer;
    opacity: 1;
}
.hoverizzato:hover {
    opacity: .7;
}

.logotipo {
    height: 100px;
}

.affianca {
    display: flex;
    align-items: center;
}

header .bottone-cafone {
    margin-left: 20px;
}

header .social {
    margin-right: 6px;
}

header .social img {
    height: 36px;
    margin-top: 5px;
    display: inline-block;
}

footer {
    background-color: var(--azzurro);
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: 100px;
}

footer > .container {
    display: flex;
}

.colonna-footer {
    flex: 1;
}

.colonna-footer .social img {
    max-height: 20px;
    max-width: 20px;
    margin-right: 10px;
    margin-top: 10px;
}

main {
    min-height: calc(100vh - 420px);
}

h1.home {
    font-size: 1.8rem;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 50px;
}

.griglia-luoghi {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.box-luogo {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    min-height: 180px;
    aspect-ratio: 1;
    margin-bottom: 30px;
    border-radius: 15px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.box-luogo .etichetta-nome {
    font-family: "WotfardBold", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -20px;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
}

.breadcrumbs {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 1.2rem;
    overflow-x: scroll;
    font-family: "WotfardBold", sans-serif;
    -webkit-mask-image: linear-gradient(to right, #000 80%, transparent);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.breadcrumbs::-webkit-scrollbar {
    display: none;
}

.breadcrumbs a {
    color: var(--azzurro);
    text-decoration: none;
    padding: 5px;
    padding-left: 0;
    flex-shrink: 0;
}

.breadcrumbs span {
    opacity: .4;
    padding: 5px;
    padding-left: 0;
    padding-right: 50px;
    flex-shrink: 0;
}

.breadcrumbs .chevron {
    height: 20px;
    margin-left: 15px;
    margin-right: 15px;
}

.griglia-tipologie {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.box-tipologia {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    border: solid 2px var(--azzurro);
    background-color: white;
    font-family: "WotfardBold", sans-serif;
    border-radius: 15px;
    margin-right: 20px;
    margin-bottom: 20px;
    color: var(--azzurro);
    padding-left: 20px;
    padding-right: 20px;
}

.box-tipologia img {
    height: 22px;
    margin-right: 15px;
}

.contenuto-editoriale {
    margin-bottom: 60px;
}

.contenuto-editoriale a {
    color: var(--azzurro);
    text-decoration: underline;
}

.contenuto-editoriale p {
    line-height: 1.5rem;
    margin-bottom: 15px;
}

.contenuto-editoriale img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 15px;
}

.contenuto-editoriale iframe {
    border-radius: 15px;
}



















/* SEZIONE MOBILE */
@media screen and (max-width: 900px) {

    header {
        padding: 0;
        padding-top: 10px;
        padding-bottom: 20px;
    }

    header .logotipo {
        margin-left: -15px;
    }

    header .container {
        display: block;
    }

    header .bottone-cafone {
        font-size: .8rem;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
    }

    .container {
        width: 88%;
    }

    header .affianca {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    header .social {
        margin-right: 0;
        margin-left: 4px;
    }

    header .social img {
        height: 30px;
    }

    footer .container {
        display: block;
    }

    .colonna-footer {
        margin-bottom: 20px;
    }

    .griglia-luoghi {
        display: block;
    }

    .box-luogo {
        margin-bottom: 50px;
    }

    .griglia-tipologie {
        margin-top: 20px;
    }

    .box-tipologia {
        height: 50px;
        margin-right: 10px;
        margin-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

}