:root {
    --background-color: #1a1a1a;
    --card-background-color: rgba(128, 128, 128, 0.1);
    --text-white-color: white;
    --text-yellow-color: #ffeb3b;
    --text-red-color: #ff0000;
    --text-green-color: #70ad07;
    --text-blue-color: #009bff;
    --text-brown-color: #724400;
    --item-hover-color: rgba(121, 121, 121, 0.21);
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--background-color);
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 80px;
}

.main-content::-webkit-scrollbar {
    display: none;
}

.main-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/background-pattern.png');
    background-repeat: repeat;
    background-size: 500px 500px;
    background-blend-mode: overlay;
    opacity: 0.05;
    z-index: 1;
}

.content {
    z-index: 2;
    width: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 30px;
    font-size: 12px;
    font-weight: normal;
    background-color: #333;
    color: var(--text-white-color);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.page-heading {
    text-align: center;
    font-family: 'vintage-fair' !important;
    color: var(--text-yellow-color);
    text-transform: uppercase;
    font-weight: lighter;
    font-size: 3.5em;
    margin: 0;
}

.subtitle {
    font-family: 'vintage-fair' !important;
    text-transform: uppercase;
    font-weight: lighter;
    font-size: 2.5em;
    margin: 0;
}

.card {
    background-color: var(--card-background-color);
    border-radius: 10px;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: inherit;
    backdrop-filter: blur(2px);
    z-index: -1;
}

.red-text {
    color: var(--text-red-color);
}

.yellow-text {
    color: var(--text-yellow-color);
}

.white-text {
    color: var(--text-white-color);
}

.card-container {
    width: 60%;
}

.item-hover:hover {
    transition: background-color 0.7s ease;
    background-color: var(--item-hover-color);
}

.main-image {
    width: 60%;
}

.carousel-image-container {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 800px;
}

.prosecco {
    max-width: 90px !important;
}

.sub-heading {
    width: 60%;
}

.main-section {
    position: relative;
    overflow: hidden;
}

.main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(transparent, rgba(189, 0, 0, 0.1)),
    url('/img/amici-bere-e-mangiare.png');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: -1;
}

.text-outline {
    text-shadow: 2px 2px 1px white, -2px 2px 1px white, -2px -2px 0 white, 2px -2px 0 white;
}

.pointer {
    cursor: pointer;
}

.side-menu {
    background-color: var(--background-color);
    min-width: 20%;
    border-right: 2px solid var(--text-yellow-color);
    z-index: 1;
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.side-menu.side-menu-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, visibility 0s 0s;
}

.side-menu.side-menu-closed {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s;
}

.link:hover {
    color: var(--text-yellow-color);
}

.brand-icon-link {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

.brand-icon-link:hover {
    background-color: var(--text-yellow-color);
}

body {
    background-color: #1a1a1a;
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .card-container {
        width: 80%;
    }

    .main-image {
        width: 80%;
    }

    .carousel-image-container {
        height: 500px;
    }

    .side-menu {
        min-width: 50% !important
    }
}

/* Mobile */
@media only screen and (max-width: 768px) {
    .sub-heading {
        width: 100%;
    }

    .card-container {
        width: 100%;
    }

    .carousel-image-container {
        height: 300px;
    }

    .main-image {
        width: 100%;
    }

    .home-hero-description {
        font-size: 0.8rem;
        line-height: 25px !important;
    }

    .prosecco {
        max-width: 45px !important;
    }

    .price-text {
        font-size: 24px;
        margin-top: 5px !important;
    }

    .side-menu {
        min-width: 75% !important;
    }

    .main-section {
        height: 77vh !important;
    }

    .home-card-description {
        font-size: 0.7rem;
        line-height: 25px !important;
    }

    .home-map {
        padding: 1.3rem;
    }

    .address {
        font-size: 0.6rem;
        line-height: 24px;
    }

    .schedule {
        font-size: 1rem;
    }

    .telephone {
        margin-left: -5px !important;
    }

    .card-description {
        font-size: 0.7rem;
        line-height: 25px !important;
    }

    .subtitle {
        font-size: 2rem;
    }

    .tagliere-container {
        width: 100% !important;
    }

    .tagliere-variant-heading {
        font-size: 1.3rem;
    }

    .pasta-type-container > h4 {
        font-size: 0.9rem !important;
    }

    .page-heading {
        font-size: 2.5rem;
    }

    .giraffa-main-image {
        flex: unset !important;
    }

    h2.bellerose {
        font-size: 1.3rem !important;
    }

    .price-text.bellerose {
        font-size: 1rem !important;
    }

    .main-content {
        padding: 0.5rem;
        padding-top: 80px;
    }
}