        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 18px;
            line-height: 1.42857143;
            color: #A9BCD0;
            background-color: #131E3C;
        }

        /* inizio barra di navigaazione */
        .navbar-inverse {
            background-color: #373F51;
        }

        .navbar-inverse .navbar-brand {
            color: #A9BCD0;
        }

        .navbar-inverse .navbar-nav>li>a {
            color: #D8DBE2;
        }

        .navbar-inverse .navbar-nav>.active>a,
        .navbar-inverse .navbar-nav>.active>a:hover,
        .navbar-inverse .navbar-nav>.active>a:focus {
            color: #fff;
            background-color: #1a2847;
        }

        /* fine barra di navigazione */

        /* inizio carosello */
        .carousel-inner {
            margin-top: -20px;
        }

        .carousel-inner>.item>img {
            width: 100%;
            max-height: 1200px;
            object-fit: cover;

        }

        .carousel {

            max-width: 100%;
            max-height: 100%
        }

        .carousel-inner,
        .carousel-inner .item {
            height: auto;
        }

        .carousel-control .glyphicon {
            color: #D8DBE2;
            font-size: 40px;
            text-shadow:
                -2px -2px 0 rgba(0, 0, 0, 0.8),
                0px -2px 0 rgba(0, 0, 0, 0.8),
                2px -2px 0 rgba(0, 0, 0, 0.8),
                2px 0px 0 rgba(0, 0, 0, 0.8),
                2px 2px 0 rgba(0, 0, 0, 0.8),
                0px 2px 0 rgba(0, 0, 0, 0.8),
                -2px 2px 0 rgba(0, 0, 0, 0.8),
                -2px 0px 0 rgba(0, 0, 0, 0.8);
        }

        /* fine carosello */

        /* inizio galleria */
        .gallery-container {
            padding: 40px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s ease;
            aspect-ratio: 1;
        }

        .gallery-item:hover {
            transform: scale(1.05);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Lightbox Styles */
        #lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }

        #lightbox.active {
            display: flex;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #lightbox-img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
            border-radius: 4px;
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 40px;
            font-size: 50px;
            color: white;
            cursor: pointer;
            z-index: 10000;
            background: none;
            border: none;
            line-height: 1;
        }

        .lightbox-close:hover {
            color: #ccc;
        }

        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
            color: white;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.5);
            padding: 20px;
            border-radius: 4px;
            user-select: none;
            z-index: 10000;
        }

        .lightbox-prev:hover,
        .lightbox-next:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .lightbox-prev {
            left: 20px;
        }

        .lightbox-next {
            right: 20px;
        }

        #lightbox-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 18px;
            background: rgba(0, 0, 0, 0.7);
            padding: 10px 20px;
            border-radius: 20px;
        }

        /* fine galleria */

        /* inizio footer */
        h1 {
            text-align: center;
            color: #A9BCD0;
        }

        footer {
            /* background-color: #373F51; */
            color: #D8DBE2;
            padding: 40px 0 20px 0;
            margin-top: 50px;

        }

        .container-fluid-footer {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .row-footer {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            text-align: center;

        }

        .row-footer>div {
            flex: 1;
            min-width: 250px;
            margin-bottom: 30px;
        }

        .logo-footer {
            border-radius: 50%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            margin-top: 50px;
        }

        footer h1 {
            font-size: 24px;
            margin-bottom: 20px;
            color: #fff;
        }

        footer ul {
            list-style-type: none;
            padding-left: 0;
        }

        footer ul li {
            margin-bottom: 10px;
        }

        footer ul li a {
            color: #bbb;
            text-decoration: none;
            transition: color 0.3s;
        }

        footer ul li a:hover {
            color: #fff;
        }

        footer hr {
            border-color: #444;
            margin-top: 30px;
        }

        .copyright {
            text-align: center;
            padding: 20px 0;
            color: #888;
            font-size: 14px;
        }


        /* fine footer */