/* Importing the required fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;1,300&family=Inter:wght@300;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Judson:ital,wght@0,400;0,700;1,400&family=Noticia+Text:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');


.roboto-serif-headings {
    font-family: "Roboto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-variation-settings:
    "wdth" 100,
    "GRAD" 0;
}

@media screen and (max-width: 900px) {
    #padlink{
            margin-top: 8px;
        }
    .indextitle{
        font-size: xx-large;
        font-weight: 800;
        align-items: center;
    }
    .indexcontainer{
        overflow-x: hidden;
    }
    .aboutcard-container{
        overflow-x: hidden;
    }
    .aboutcard-container{
        padding-top: 50px;
    }
}

/* width */
::-webkit-scrollbar {
    width: 3px !important;
    height: 3px !important;  
}
  
/* Track */
::-webkit-scrollbar-track {
    background: #e3dad0 !important;
    border-radius: 5px !important;   
}
  
/* Handle */
::-webkit-scrollbar-thumb {
    background: #977060 !important;
}
  
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #6f5247 !important;
}

:root {
    --cs-nav-height: 4em;
    --cs-main-height: calc(100vh - var(--cs-nav-height) - var(--cs-foot-height));
    --cs-foot-height: 7em;
    --narr-control-height: 4em;
    --navbar-height: 56px; /* Adjust based on your navbar height */
    --footer-height: 7em; /* Adjust based on your footer height */
    --img-column-w: 25vw;
    --data-column-w: 25vw;
    --info-column-w: calc(100vw - var(--img-column-w) - var(--data-column-w) - 3.5vw);
    --main-height: calc(100vh - var(--navbar-height) - var(--footer-height));
}
/* General body styling */
html, body {
    display: flex;
    flex-direction: column;
    background-color: rgb(227, 218, 208);
    color: rgb(0, 0, 0); /* #000000 */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    text-align: justify;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh; /* Ensures full height */
    margin: 0;
    padding: 0;
    overflow-y: auto !important; /* Enables vertical scrolling */
    overflow-x: hidden; /* Prevents unwanted horizontal scrolling */
    position: relative;
}
html {
    scroll-behavior: smooth;
    overflow-y: scroll !important;
}
body {
    -webkit-overflow-scrolling: touch;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-align: center;
    background-color: rgb(227, 218, 208);
    color: black;
    font-size: 4rem; /* Font size for h1 */
    margin-bottom: 40px; /* Space between title and image */
}

h2 {
    font-size: 1.5rem; 
}

h3 {
    font-size: 1.2rem;
}

a {
    color: #dbd6;
    text-decoration: none;
}

a:hover {
    color: black;
}

.active a:active {
    color: #977060;
}

/* NAVBAR */
nav {
    justify-content: center;
    display: flex;
    padding: 10px 0;
}
.navbar-brand{
    font-family:'Judson';
    font-size: x-large;
    font-weight: 1000;
    color: #977060!important;
}
.nav-link{
    font-family:'Judson';
    text-decoration: none;
    color: #977060!important;
    border-radius: 30px;
    margin-top: 5px;
    font-size: 16px;
}
nav a  {
    font-family:'Judson';
    padding: 0 15px;
    text-decoration: none;
    color: #977060!important;
    border-radius: 30px;
}
.container {
    padding: 20px;
}

main{
    min-height: calc(100vh - 202.87px);
    margin-bottom: 120px;
}

.nav-link:hover,.nav-link.active {
    background-color: antiquewhite;
    padding-left: 10px;
    padding-right: 10px;
    color: #977060 !important;
    font-family:'Judson';
    text-decoration: underline;
    font-weight: bold;
}
.dropdown-item:hover, .dropdown-item.active {
    background-color: antiquewhite;
    color: #977060 !important;
    font-family:'Judson';
    text-decoration: underline;
    font-weight: bold;
}
.dropdown-item{
    text-align: right;
}

.navbar-collapse{
    font-size: 20px;
}

/* HOMEPAGE*/
#hidslide{
    min-height: 100%;
    display: flex;
    flex-direction: column;
    width: auto; /* Adatta la larghezza in base al contenuto */
    max-width: auto; /* Impedisce che sia più piccolo della finestra */
    overflow: clip !important;
}

.indexmain{
    width: 100%;
    min-height: 100%;
    position: relative; 
    bottom: 0px;
}
.indexcontainer {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    background-color:rgb(227, 218, 208);
    color: black;
    margin-bottom: 40px; /* Spazio tra il titolo e l'immagine */
    text-align: center;
}

/* homepage Title */
.indextitle-container{
    display: flex;
    justify-content: center;
}
h1{
    font-family:'Inter', sans-serif;
    font-weight: 900;
    text-align: center;
    background-color:rgb(227, 218, 208);
    color: black;
}
.indextitle{
    margin-top: 50px;
    margin-bottom: 20px;
    font-family:'Judson';
    padding-top: 5px;
}
#infamiid{
    margin-top: 50px;
    letter-spacing: 0.5em;
}
#monumid{
    margin-top: 21px;
    padding-bottom: 80px;
    letter-spacing: 0.5em;
}

/* homepage Slider */
.indexslider{
    height: 390px;
    position: relative;
    overflow-x: hidden; 
    padding-top: 20px;
    margin: 0;
    padding: 0;
    display: flex;
    margin-top: 10px;
    width: auto; /* Adatta la larghezza in base al contenuto */
    min-width: 100%; /* Impedisce che sia più piccolo della finestra */
    overflow: clip;
}
.indexslide-track{
    display: flex;
    width: calc(250px * 40);
    animation: scroll 40s linear infinite;
    height: fit-content;
    padding-top: 50px;
}
.indexslide-track:hover{
    animation-play-state: paused;
}
@keyframes scroll{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(calc(-250px * 10));
    }
}
.index-slide{
    height: 280px;
    width: 380px;
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
}
.indexslider img{
    height: 280px !important;
    width: 100% !important;
}
img:hover{
    transform: translateZ(20px);
    transition: transform 1s;
}
.container .text-center{
    margin: -100px;
    position: relative;
    text-align: center;
}

/* homepage Call To Action Section */
.call-to-action {
    padding: 200px 0;
    position: relative;
    clip-path: inset(0);
}
.call-to-action img {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;

}
.call-to-action:before {
    content: "";
    background: color-mix(in srgb, var(--background-color), transparent 50%);
    position: absolute;
    inset: 0;
    z-index: 2;
}
.call-to-action .container {
    text-align: center;
    z-index: 3;
}
.call-to-action h3 {
    color: antiquewhite;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-left: 200px;
}
.call-to-action p {
    color: antiquewhite;
    margin-left: 200px;
}
.call-to-action .cta-btn {
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 4px;
    transition: 0.5s;
    border: 2px solid  #977060;
    color: antiquewhite;
    margin-left: 190px;
}

.call-to-action .cta-btn:hover {
    background:  #977060;
    border: 2px solid var(--accent-color);
}
.dark-background {
    --background-color: #252525;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: gray;
    --contrast-color: black;
}

/* homepage Video Section */
/* Stili per la disposizione in riga */
.videoindexcontainer {
    display: flex;
    justify-content: space-between; /* Distribuisce lo spazio tra i div */
    gap: 10px; /* Spazio tra i div */
}
/* Il box grande occuperà più spazio del box piccolo */
.box-large {
    flex: 2; /* Occupa 2/3 della larghezza */
}
.box-small {
    flex: 1; /* Occupa 1/3 della larghezza */
}
/* Stili comuni ai box */
.box {
    padding: 20px;
    background-color: #977060;
    text-align: center;
}

/* Disposizione in colonna per schermi piccoli */
@media (max-width: 768px) {
    .videoindexcontainer {
      flex-direction: column; /* Cambia da riga a colonna */
    }

    .box-large, .box-small {
      width: 100%; /* I div ora occupano il 100% della larghezza */
    }
} 

video {
    width: 100%; /* Il video si adatta alla larghezza del suo contenitore */
    height: auto; /* Mantiene il rapporto di aspetto */
    max-width: 800px; /* Limita la larghezza massima */
    border: 2px solid #ccc; /* Bordo attorno al video */
    border-radius: 10px !important; /* Angoli arrotondati */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Aggiunge un'ombra */
 }
.priapobtn{
    background-color:antiquewhite; /* Colore di sfondo (verde) */
    color: #977060;/* Colore del testo */
    border: none; /* Rimuove i bordi standard */
    padding: 15px 30px; /* Spaziatura interna */
    font-size: 16px; /* Dimensione del testo */
    font-weight: bold; /* Testo in grassetto */
    border-radius: 40px; /* Bordi arrotondati */
    cursor: pointer; /* Puntatore per l'interazione */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Aggiunge un'ombra */
    transition: all 0.3s ease; /* Transizione fluida per gli effetti */
    margin-bottom: 10px;
    max-width: 100%;
}
.priapobtn:hover {
    background-color:white; /* Colore di sfondo quando si passa sopra (hover) */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Aumenta l'ombra */
    transform: translateY(-3px); /* Solleva leggermente il bottone */
}
.priapobtn:active {
    transform: translateY(1px); /* Piccolo affossamento quando cliccato */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Riduce l'ombra quando il bottone è premuto */
}
.videotitle{
    margin-top: 30px;
    color: antiquewhite;
    font-size: x-large;
}
.videop{
    text-align: center;
    margin-top: 30px 20px 30px 20px;
    font-size: 15px;
}
#wyl{
    font-weight: bold;
}
.exlink{
    color: #977060;
    background-color: antiquewhite;
}
.exlink:hover{
    color: #252525;
    background-color: white;
}

/* homepage Narratives Preview Cards */
.indexcard-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 15px;
    padding-bottom: 30px;
}
.indexcard{
    width: 325px;
    background-color: floralwhite;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0px, 2px, 4px rgba(0,0,0,0.2);
    margin: 12px !important;
    padding: 9px !important;
    transition: transform 0.6s ease;
    margin-top: 40px;
    padding-top: 0%;
}
.indexcard:hover{
    transform: translateY(-20px);
}
.indeximgcontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Imposta l'altezza corretta */
    width: 100%; /* Larghezza che si adatta alla card */
    overflow: hidden; /* Nasconde l'eventuale eccesso di immagine */
}
.indeximgcontainer img{
    width: 100%;
    height: 90%;
    border-radius: 15px;
    padding-top: 0px;
}
.indexcard-content{
    padding: 2px;
    margin-bottom: 0px;
}
.indexcard-content h3{
    font-size: 28px;
    margin-bottom: 5px;
}  
.indexcard-content p{
    color: #666;
    font-size: 15px;
    line-height: 1.3;
} 
.cdbtn{
    display: inline-block;
    padding: 5px 10px;
    width: 50%;
    text-align: center;
    background-color: #736f4c;
    color:floralwhite;
    text-decoration: none;
    border-radius: 15px;
    margin-top: 10px;
    margin-bottom: 5px;
}
a{
    color:rgb(227, 218, 208);
    text-decoration: none;; 
}
a:hover {
    color:black;
}
.previewphoto {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ritaglia l'immagine in modo che si adatti al contenitore */
}


/*FOOTER*/
footer{
    box-sizing: border-box;
    min-height: fit-content;
    width: 100%;
    position: static !important;
    padding-bottom: 0 !important;
    height: 20px;   
    margin-left:-8px;
    padding-top: 0;
}
.thefooter{
    min-height: 150px;
    margin: 0;
    padding: 0;
}
.footer-container{
    padding: 0px;
    text-align: center;
}
.footer-left,
.footer-center,
.footer-right{
    display:inline-block;
    vertical-align: top;
}
.footer-row {
    height: fit-content;
    box-sizing: border-box;
    background-color: #977060;
    margin-top: auto;
}
.footer-col {
    height: fit-content;
    box-sizing: border-box;
    background-color: #977060;
}
.footer-col-logo {
    justify-content: center;
    align-items: center;
}
.footer-col-info {
    justify-content: center;
    align-items: center;
}
.footer-col-info h3 {
    color: rgb(227, 218, 208);
    font-family: 'Judson';
}
.footer-col-info p {
    font-size: smaller;
}
.copyright-row {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-top: 0.5px solid rgb(227, 218, 208);
    background-color: rgb(151, 112, 96);
}
.copyright-row p {
    color: rgb(227, 218, 208);
    text-align: center;
    margin-top: 1em;
    font-size: smaller;
}
footer img {
    width: 100px;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: black;
    font-weight: bold;
}
.footeractive-link{
    background-color: antiquewhite;
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 80px;
    color: #6f5247;
    font-weight: bold ;
}
/*media queries footer*/
@media(max-width: 480px){
    .thefooter{
        min-height: 275px;
    }
    .footer-col-info{
        width: 100%;
        margin-bottom: 5px;
    }
    .container-fluid-layout{
        padding-bottom: 0px;
        margin-bottom: 0px;
    }
    .discTitle {
        font-size: xx-large !important;
    }
}
@media (min-width: 360px){
    .thefooter{
        min-height: 250px;
    }
    .indexcard-container{
        padding-bottom: 80px !important;
    }
    .aboutcard-container{
        padding-bottom: 100px !important;
    }
    .maindisclaimer{
        padding-bottom: 10px;
    }
    .container-fluid-layout{
        padding-bottom: 50px;
    }
}
@media (max-width: 767px){
    .thefooter{
        min-height: 245px;
    }
    .indexcard-container{
        padding-bottom: 40px !important;
    }
    .aboutcard-container{
        padding-bottom: 40px !important;
    }
    .maindisclaimer{
        padding-bottom: 10px;
    }
    .container-fluid-layout{
        padding-bottom: 50px;
    }
}
@media (min-width: 768px) and (max-width: 991px){
    .thefooter{
        min-height: 145px;
    }
    .indexcard-container{
        padding-bottom: 40px !important;
    }
    .aboutcard-container{
        padding-bottom: 190px !important;
    }
    .maindisclaimer{
        padding-bottom: 10px;
    }

    .container-fluid-layout{
        padding-bottom: 50px;
    }
}
@media (min-width: 992px){
    .thefooter{
        min-height: 155px;
    }
    .indexcard-container{
        padding-bottom: 40px !important;
    }
    .aboutcard-container{
        padding-bottom: 190px !important;

    }
    .maindisclaimer{
        padding-bottom: 10px;
    }
    .container-fluid-layout{
        padding-bottom: 30px;
    }
}

/* ABOUT */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.about-title {
    font-family:'Judson';
    font-weight: 900;
    text-align: center;
    background-color: rgb(227, 218, 208);
    color: black;
    font-size: 3.5em;
    margin-top: 1.5em;
    margin-bottom: 0;
    max-width: 100%;
}

/* about cards */
.aboutcard{
    position: relative;
    width: 300px;
    height: 400px;
    margin: 10px;
    margin-bottom: 80px;
    margin-top: 40px;
    padding-top: 10px;
}
.aboutcard:hover{
    transform: translateY(-30px);
}
.aboutcard-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-right: 20px;
    margin-bottom: 80px;
    padding-top: 20px;
}
.aboutcard div{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    transition: 1.5s;
    border-radius: 20px;
    border-color: #977060;
}
.aboutcard .front{
    background-color: floralwhite;
    transform: perspective(500px)rotateY(0deg);
}
.aboutcard .back{
    background-color: #977060;
    transform: perspective(500px)rotateY(180deg);
}
.aboutcard:hover .front{
    background-color: floralwhite;
    transform: perspective(500px)rotateY(180deg);
}
.aboutcard:hover .back{
    background-color: #977060;
    transform: perspective(500px)rotateY(360deg);
}
.aboutcard div img{
    position: fixed;
    width: 310px;
    height: 320px;
    top: 1px;
}
.aboutcard div h3{
    position: fixed;
    width: 500px;
    height: 80px;
    bottom: -50px;
    text-align: center;
}
div .back p{
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}
.backcardtitle{
    color: floralwhite;
    font-weight: bold;
    text-align: center;
}

/* DISCLAIMER */
.discTitle {
    font-family: 'Judson';
    font-weight: 900;
    text-align: center;
    background-color:rgb(227, 218, 208);
    color: black;
    font-size: 3.5em;
    margin-top: 1.5em;
}
/* .discLine {
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
} */
.discContainer {
    margin-bottom: 4em;
    padding: 0 1rem;
}
.discContainer > .row {
    margin-bottom: 4em;
}
.discContainer p {
    margin-top: 1em;
    margin-bottom: 0 !important;
}
.discLink {
    color: #977060;
}
.discLink:hover {
    color: black;
    font-weight: bold;
}
.maindisclaimer .accordion-body {
    max-height: 10em;
    overflow-y: scroll;
}
.maindisclaimer #accordion-texts, .maindisclaimer #accordion-images {
    padding: 1rem 1rem;
    padding-bottom: 0;
}
.maindisclaimer .accordion-button {
    background-color: rgba(115, 111, 76, 0.9);
    color: rgb(227, 218, 208);
    font-weight: 400;
}
.main-disclaimer #texts-acc-body {
    background-color: rgb(227, 218, 208) !important;
}

