﻿body {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    margin: 0;
    background-color: #fdfdfd;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.navbar {
    background-color: #fff;
}

.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
}

footer {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    background-color: #f8f8f8;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

footer img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

    footer a {
        font-family: 'Atkinson Hyperlegible', sans-serif;
        color: #bca97f !important;
    }
        footer a:hover {
            font-family: 'Atkinson Hyperlegible', sans-serif;
            color: #9f8c6c !important;
        }


.btn-primary {
    background-color: #333;
    border: none;
}

.btn-primary:hover {
    background-color: #555;
}

.nav-custom-color {
    color: #bca97f !important;
    font-size: 100px;
}

    .nav-custom-color:hover {
        color: #9f8c6c !important;
    }

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.main-content-wrapper {
    transition: margin-left 0.3s ease-in-out;
    padding: 20px;
    margin-left: auto;
    margin-right: 0;
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .main-content-wrapper {
        padding: 0 15px;
        text-align: center;
    }

    .content-section {
        width: 90%;
        padding: 20px;
        text-align: center;
    }

    footer img {
        width: 40px;
        height: 40px;
    }

    .navbar-nav {
        text-align: center;
        width: 100%;
    }

    .hero-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    footer {
        padding: 15px 0;
    }

    .content-section p {
        font-size: 1rem;
    }

    .content-section {
        padding: 15px;
        text-align: center;
    }

    footer img {
        width: 35px;
        height: 35px;
    }

    .btn-primary {
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 1.5rem 0.5rem;
    }

    .main-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .navbar-toggler {
        display: none;
    }
}

.section-text {
    width: 90%;
    max-width: 800px;
    padding: 20px;
    font-size: 1em;
    line-height: 1.6em;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    text-align: left;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .section-text {
        width: 90%;
        padding: 30px;
        font-size: 1.05em;
    }
}

@media (min-width: 1024px) {
    .section-text {
        width: 90%;
        padding: 40px;
        font-size: 1.1em;
    }
}

.btn-primary {
    background-color: #a47c1a !important;
    text-decoration: none;
}

    .btn-primary:hover {
        background-color: #bca97f !important;
        text-decoration: none;
    }

.menu-toggle-icon {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #bca97f !important;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    padding: 0;
}

    .menu-toggle-icon:hover,
    .menu-toggle-icon:focus,
    .menu-toggle-icon:active {
        background-color: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        color: #9f8c6c !important;
    }

.close-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #bca97f !important;
    padding: 0;
}

    .close-icon:hover,
    .close-icon:focus,
    .close-icon:active {
        background-color: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        color: #9f8c6c !important;
    }

.bottone-torna-su {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #bca97f !important;
    border:transparent!important;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

    .bottone-torna-su:hover {
        background-color: #a47c1a;
    }

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

    .fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 767.98px) {
    p {
        font-size: 18px !important;
        word-wrap: break-word;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .form-control {
        width: 100%;
    }

    .px-3 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

.partner-img {
    max-height: 80px;
    width: auto;
}

@media (max-width: 767.98px) {
    .partner-img {
        max-height: 50px;
    }
}

