* {
    font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@media screen {
    *{
        padding: 0%;
    }
}

html,
body {
    
    padding: 15px;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('old/oldNY.webp');
    background-size: cover;
    z-index: -1;
}

/* Media query per iPhone SE */
@media (max-width: 375px) {
    .background-image {
        background-size: cover; /* Continua a coprire l'intera area disponibile */
        background-position: center; /* Centra l'immagine */
    }
}

/* Media query per iPhone Pro Max */
@media (max-width: 414px) {
    .background-image {
        background-size: cover; /* Continua a coprire l'intera area disponibile */
        background-position: center; /* Centra l'immagine */
    }
}

/* Opzionale: Considera altri dispositivi con schermi più grandi */
@media (min-width: 415px) {
    .background-image {
        background-size: cover; /* Continua a coprire l'intera area disponibile */
        background-position: center; /* Centra l'immagine */
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    z-index: 1000;
    background-color: rgba(11, 10, 10, 0.74);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: rgb(253, 3, 3);
}

@media screen and (max-width: 768px) {
    .logo{
        font-size: 14px;
    }
    .navbar{
        font-size: 14px;
        margin-left: 45px;
    }
}

@media screen and (max-width: 390px) {
    .logo{
        font-size: 14px;
    }
    .navbar{
        font-size: 14px;
    }
  
    header{
        padding: 15px 10px;
    }
    .nav-links{
        font-size: 90%;
    }
}

.navbar {
   
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (max-width: 375px) {
    .navbar {
        padding: 5px 10px; /* Reduce horizontal padding */
    }

    .nav-links li {
        margin-right: 5px; /* Reduce margin between menu items */
    }

    .dropdown-menu {
        min-width: 80px; /* Reduce dropdown menu width */
    }
}

@media (max-width: 414px) {
    .navbar {
        padding: 5px 10px; /* Reduce horizontal padding */
    }

    .nav-links li {
        margin-right: 5px; /* Reduce margin between menu items */
    }

    .dropdown-menu {
        min-width: 80px; /* Reduce dropdown menu width */
    }
}






.nav-links {
    list-style-type: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
    position: relative;
}

.nav-links li a {
    color:  rgb(253, 3, 3);
   /* -webkit-text-stroke-width: 0.2px;
    -webkit-text-stroke-color: rgba(250, 247, 247, 0.904);*/
    border-color: #000000;
    
    
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #ffc107;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #343a40;
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #271e00;
}



.line {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
}

@media (max-width: 768px) {
    .nav-links {
       flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }

    .dropdown-menu{
        padding: 0px;
    }

    .nav-links.show {
        display: flex;
    }
}


@media (max-width: 390px) {
    .nav-links {
       flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }

    .dropdown-menu{
        padding: 0px;
    }

    .nav-links.show {
        display: flex;
    }
}



.line {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
}



main {
    padding-top: 100px; /* Ensure content starts below the fixed header */
    color: white;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}



    .nav-active {
        display: flex; /* Display nav links when burger menu is active */
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 999;
    }

    .nav-active li {
        margin: 10px 0;
    }


    .expandable-text {
        font-family: "Bodoni Moda", serif;
       font-optical-sizing: auto;
       font-weight: 400;
       font-style: normal;
       max-width: 350px;
       color: #faf7f7;
       text-align: center;
       cursor: pointer;
       background-color: #1313139f;
       padding: 10px;
       border: 1px solid #080808c9;
       border-radius: 5px;
       cursor: pointer; /* Cambia il cursore quando si passa sopra al testo */
       transition: height 0.3s ease; /* Transizione fluida per l'altezza */
       overflow: hidden; /* Nasconde il contenuto oltre i bordi */
       max-height: 83px; /* Altezza massima iniziale */
       overflow: hidden; /* Nasconde il testo in eccesso */
       transition: 500ms;
     }
     
     .expandable-text.expanded {
        font-family: "Bodoni Moda", serif;
       font-optical-sizing: auto;
       font-weight: 400;
       font-style: normal;
       max-width: 400px;
       max-height: none; /* Rimuove il limite massimo di altezza quando espanso */
     }
     
     
     .expandable-container {
       display: flex;
       justify-content: center;
       margin-top: 25%;
     }
     
     #expandButton {
       font-family: "Bodoni Moda", serif;
       font-optical-sizing: auto;
       font-weight: 600;
       font-style: normal;
       text-align: center;
       max-width: 550px;
       color: #faf7f7;
       padding: 3px 5px 3px 5px;
       background-color: #1313139f;
       border: 1px solid #dddddd5d;
       cursor: pointer; /* Cambia il cursore quando si passa sopra al testo */
       transition: height 0.3s ease; /* Transizione fluida per l'altezza */
       overflow: hidden; /* Nasconde il contenuto oltre i bordi */
       max-height: 83px; /* Altezza massima iniziale */
       overflow: hidden; /* Nasconde il testo in eccesso */
       transition: 500ms;
     }
     
     .expanded-content {
       font-family: "Bodoni Moda", serif;
       font-optical-sizing: auto;
       font-weight: 400;
       font-style: normal;
       text-align: justify;
       display: none;
       max-width: 400px;
       max-height: none;
       padding: 10px;
       color: #faf7f7;
       background-color: #1313139f;
       border: 1px solid #dddddd83;
       border-radius: 5px;
       margin-top: 10px;
     }
     
     #closeButton {
       margin-top: 10px;
       padding: 5px 10px;
       background-color: #ccc;
       border: none;
       border-radius: 3px;
       cursor: pointer;
     }

footer {
    text-align: center;
    color: white;
    padding: 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}


footer{
    font-size: 18px;
    color: rgba(251, 246, 246, 0.805);
    background-color: rgba(13, 13, 13, 0.67);
}

.footer-link{
    color: rgba(251, 246, 246, 0.805);
    text-decoration: underline rgba(251, 246, 246, 0.481);
    
    transition: color 0.3s ease;
}


@media screen and (max-width: 768px) {
    footer{
        font-size: 16px;
    }
    
}

@media screen and (max-width: 400px) {
    footer{
        font-size: 14px;
    }
}

