/* ------------------------------------------------------------------ */
/*  FONT                                                            */
/* ------------------------------------------------------------------ */
@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* ------------------------------------------------------------------ */
/*  NAVBAR                                                           */
/* ------------------------------------------------------------------ */
.icon-margin-right {
    margin-left: 20px;
    margin-top: 3px;
}

.navbar-text {
    font-size: 13px;
    color: #d02d00;
    text-align: left;
    margin-left: 20px;
}

.nav-link {
    margin-left: 1rem;
}

.navbar-nav a {
    color: #d02e02;
    font-family: 'Inter', sans-serif;
}

.navbar-nav a.nav-link.active {
    color: #d02e02;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}


/* ------------------------------------------------------------------ */
/*  NAV PILLS (Sidebar Menu)                                         */
/* ------------------------------------------------------------------ */
.nav-container {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.nav-pills {
    margin-top: 90px;
    align-items: flex-end;
}

.nav-pills .nav-link {
    font-size: 1rem !important;
    color: #d02d00 !important;
    font-weight: normal !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1.3px !important;
    text-align: right !important;
    padding: 10px 15px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: none !important;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus,
.nav-pills .nav-link:active {
    font-size: 1rem !important;
    font-weight: normal !important;
    text-decoration: none !important; /* rimuove la sottolineatura */
    color: #d02d00 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.nav-pills .nav-link.active {
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important; /* rimuove la sottolineatura */
    color: #d02d00 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}



/* ------------------------------------------------------------------ */
/*  CONTENT AREA                                                     */
/* ------------------------------------------------------------------ */
.info-section {
    flex: 0 0 670px;
    padding-top: 3rem;
    padding-left: 80px;
    margin-right: 80px;
}

.info-section h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1.3rem;
    color: #d02d00;
}

.info-section h2 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 2.5rem;   /* prima era assente */
    margin-bottom: 1.5rem; /* da 1rem a 1.5rem */
    color: #d02d00;
    text-align: justify;
}

.info-section p, .info-section ul {
    font-size: 1.05rem;
    line-height: 1.6;           /* da 1.4 a 1.6 */
    margin-bottom: 1.2rem;      /* da 0.5rem a 1.2rem */
    text-align: justify;
    color: #d02d00;
}

.info-section ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}


.info-section a {
    text-decoration: underline;
    font-weight: bold;
    color: #d02d00;
}

.transparent {
    opacity: 0;
}


/* ------------------------------------------------------------------ */
/*  FOOTER                                                           */
/* ------------------------------------------------------------------ */
.site-footer {
    background-color: white;
    color: #d02d00;
    text-align: center;
    padding: 1rem 0;
    border-top: 2px solid #d02d00;
    font-size: 14px;
    margin-top: 40px;
}

.site-footer a {
    color: #333;
    margin-top: 0.2rem;
    display: inline-block;
}

.site-footer i {
    font-size: 1.4rem;
}


/* ------------------------------------------------------------------ */
/*  CAROUSEL                                                         */
/* ------------------------------------------------------------------ */
.carousel {
    max-height: 250px;
    overflow: hidden;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 5px;
}

.carousel-inner img {
    max-height: 200px;
    object-fit: cover;
}


/* ------------------------------------------------------------------ */
/*  MISCELLANEOUS                                                    */
/* ------------------------------------------------------------------ */
.narrow-carousel {
    max-width: 100px;
    max-height: 100px;
    margin: auto;
}

.narrow-carousel img {
    height: 100px;
    object-fit: cover;
}

.title-link {
    text-decoration: none !important;
}

.title-link:hover {
    text-decoration: underline;
}

.tab-pane {
    padding-bottom: 3rem;
}
