.navbar{
    position: fixed;        /* Fissa in alto */
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* Sfondo nero trasparente */
    z-index: 1000;         /* Assicura che stia sopra gli altri elementi */
}

.scrittinalogo {
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal; 
    color: rgb(255, 254, 248);
    font-size: 18px;
    text-decoration: none;
}

.nav-text {
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal; 
    color: rgb(255, 254, 248);
    font-size: 18px;
    text-decoration: none;
}

.btn-text {
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal; 
    color: rgb(0, 0, 0);
    font-size: 14px;
    text-decoration: none;
}

.info{
    color: rgb(255, 254, 248);
    font-size: 14px;
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-style: normal; 
    font-weight: 400;
}

.title{
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    padding-top: 5px;
    font-size: 60px;
    color: rgb(255, 254, 248);
}

.subtitle{
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    padding-bottom: 20px;
    font-size: 30px;
    color: rgb(255, 254, 248);
}

.counter {
    font-family: "Xanh Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    text-align: left;
    margin-top: 10px;
    font-size: 40px;
    color: rgb(255, 254, 248);
}

body{
    background: rgb(255, 254, 248);
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

}

.textdid{
    color: rgb(255, 254, 248);
    font-size: 14px;
    font-family: "Xanh Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    padding-bottom: 20px;
}

.btn-primary{
    padding: 10px 15px;
    border: none;
    border-radius: 9999px;
    outline: none;
    background-color: rgb(255, 254, 248);
    color: black; /* testo visibile sullo sfondo chiaro */
    cursor: pointer;
}

.custom-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: #35393D; /* colore base */
    color: #BFBEBD;
    font-family: "Anybody", sans-serif;
    font-size: 14px;
    font-weight: 400;
}


.main{
    background-color: rgb(26, 26, 26); 
    padding-top: 50px;
    min-height: 650px;
    padding-bottom: 10px;
}

.carousel {
  width: 100%;            /* Occupa tutta la larghezza disponibile */
  max-width: 800px;       /* Massima larghezza desiderata */
  aspect-ratio: 16 / 9;   /* Mantiene sempre il rapporto 16:9 */
  overflow: hidden;       /* Nasconde parti eccedenti delle immagini */
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* L’immagine riempie il contenitore senza deformarsi */
  display: block; 
}

.foot{
    background-color: rgb(26, 26, 26);  
    padding-top: 50px;
    padding-bottom: 50px;

}

.foottitle{   
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal; 
    color: rgb(255, 254, 248);
    padding-bottom: 20px;
    padding-top: 20px;
    font-size: 18px;

}

.links{
    color: rgb(255, 254, 248);
    text-decoration:underline;
}

.jw-album-image img, .jw-element-image img { 
    pointer-events: none; -webkit-touch-callout: none;
}

.pswp__share-tooltip .pswp__share--download {
    display: none;
}

/* Classe per invertire colori */
.invert-colors {
    background-color: rgb(255, 254, 248) !important; /* Corpo chiaro */
    color: rgb(26, 26, 26) !important;              /* Testi scuri */
}


.invert-colors .foot,
.invert-colors .main {
    background-color: rgb(255, 254, 248) !important; /* Inverti anche nav, footer, main */
}

.invert-colors .scrittinalogo,
.invert-colors .info,
.invert-colors .title,
.invert-colors .subtitle,
.invert-colors .counter,
.invert-colors .textdid,
.invert-colors .links,
.invert-colors .nav-link,
.invert-colors .foottitle {
    color: rgb(26, 26, 26) !important; /* Testi scuri */
}


/* X-Small devices (portrait phones, less than 576px)*/
/* No media query for `xs` since this is the default in Bootstrap*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {    
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {   
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}






