﻿body {
    /*font-family: 'Playfair Display', serif;*/
    font-family: 'GraublauWeb';
    font-size: 17px;
    overflow: auto;
    overflow-x: hidden;
}

/* Assicura che immagini e media non sbordino mai dallo schermo */
img, video, iframe, canvas {
    max-width: 100%;
    height: auto;
}

.mt-page {
    margin-top: 75px;
}

@font-face {
    font-family: GraublauWeb;
    src: url('/fonts/Muslimah Light.otf') format("opentype");
}


/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: thin;
    /*scrollbar-color: #8f54a0 #ffffff;*/
}

    /* Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 14px;
    }

    *::-webkit-scrollbar-track {
        background: var(--bs-body-bg);
    }

    *::-webkit-scrollbar-thumb {
        background-color: var(--bs-body-color);
        border-radius: 10px;
        border: 2px solid var(--bs-body-bg);
    }

.custom-touch-target::after {
    content: "";
    position: absolute;
    /* Espande l'area di clic di 15px in ogni direzione oltre il bordo del bottone */
    top: -15px;
    bottom: -15px;
    left: -15px;
    right: -15px;
    cursor: pointer;
}


.titolo_articolo {
    color: currentColor !important;
    /*background-color: #00ff870a;*/
}

    .titolo_articolo a {
        color: currentColor !important;
        text-decoration: none !important;
    }

        .titolo_articolo a:hover {
            color: currentColor !important;
            text-decoration: underline !important;
            text-decoration-color: color-mix(in srgb, currentColor 25%, transparent) !important;
        }

.imageTitle {
    font-family: initial !important;
    font-size: initial !important;
    font-size: calc(7px + 0.390625vw) !important;
    font-family: 'Century Gothic' !important;
    line-height: normal !important;
}

.articolo {
    font-family: initial !important;
    font-size: initial !important;
    font-size: calc(10px + 0.390625vw);
    font-family: 'Century Gothic' !important;
    text-align: justify !important;
    text-justify: initial !important;
    hyphens: auto;
    margin-top: 15px !important;
    padding-top: 2px;
    display: flow-root;
    transition: background-color 0.3s ease;
}

    /* Sfondo alternato solo per gli articoli PARI (es. Crema/Avorio) */
    .articolo .bg-pari {
        background-color: #FFFFFF;
    }

    .articolo .bg-dispari {
        background-color: #FDF5E6; /* Il nostro color crema */
    }


    .articolo a {
        color: currentColor !important;
        font-weight: bold !important;
        text-decoration: none !important;
    }

        .articolo a:hover {
            color: currentColor !important;
            text-decoration: underline !important;
            text-decoration-color: color-mix(in srgb, currentColor 45%, transparent) !important;
        }

.tag-chip {
    display: inline-block;
    background-color: #FDF5E6; /* Sfondo crema */
    color: #556B2F; /* Testo verde ulivo */
    border: 1px solid #556B2F;
    padding: 5px 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 20px; /* Rende il tag arrotondato stile Instagram */
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .tag-chip:hover {
        background-color: #556B2F; /* Inverte i colori quando ci passi sopra */
        color: #FDF5E6;
        transform: translateY(-2px); /* Piccolo scatto verso l'alto molto moderno */
    }


.bd-gutter {
    --bs-gutter-x: 3rem;
}


.bd-navbar .navbar-toggler {
    padding: 0;
    margin-right: -.5rem;
    border: 0
}

    .bd-navbar .navbar-toggler:first-child {
        margin-left: -.5rem
    }

    .bd-navbar .navbar-toggler .bi {
        width: 1.5rem;
        height: 1.5rem
    }

    .bd-navbar .navbar-toggler:focus {
        box-shadow: none
    }

.anchor-link {
    padding: 0 .175rem;
    font-weight: 400;
    color: rgba(13,110,253,0.5);
    text-decoration: none;
    opacity: 0;
    transition: color 0.15s ease-in-out,opacity 0.15s ease-in-out
}

@media (prefers-reduced-motion: reduce) {
    .anchor-link {
        transition: none
    }
}

.anchor-link::after {
    content: "#"
}

.anchor-link:focus, .anchor-link:hover, :hover > .anchor-link, :target > .anchor-link {
    color: #0d6efd;
    text-decoration: none;
    opacity: 1
}

.nav-link-hover {
    position: relative;
}

    .nav-link-hover::after {
        content: '';
        opacity: 0;
        transition: all 0.2s;
        height: 3px;
        width: 100%;
        background-color: lightgray;
        position: absolute;
        bottom: 10px;
        left: 0;
    }

    .nav-link-hover:hover::after {
        /*text-decoration: underline;*/
        opacity: 1;
    }

.navbar-nav-svg {
    display: inline-block;
    vertical-align: -.125rem;
}

.container-fluid {
    padding: 0 !important;
}

.text-shadow {
    text-shadow: 4px 4px 6px black;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 380px;
}

#addFoto {
    position: absolute;
    top: 20%;
    right: 10%;
    max-width: 100px;
}

.image-captioned {
    margin: 2px;
}

.Homebar-bg-body-tertiary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity));
}

/* css per la galleria */

.Titoli-tertiary {
    color: rgb(var(--bs-tertiary-bg));
    background-color: rgba(var(--bs-tertiary-color-rgb),.5);
}

@media screen and (orientation:landscape) {
    .Carousel_img {
        height: 100vh !important;
        width: auto !important;
    }
}

@media screen and (orientation:portrait) {
    .Carousel_img {
        height: auto !important;
        width: 100vw !important;
    }

    /* .carousel-item {
        position: absolute !important;
        transform: translateY(-50%) !important;
        top: 50% !important;
    }*/
}

/*.carousel-item:before {
    content: "";
    background-image: linear-gradient( to bottom, transparent, rgba(0,0,0,0.5) );
    display: block;
    position: absolute;
    width: 100vw;
    height: 100vh;
}

*/

