body {
    background-color: #1a1720;
    max-width: 100%;
    overflow-x: hidden;
    cursor: none!important;
}

#invertedcursor {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    top: var(--y, 0);
    left: var(--x, 0);
    transform: translate(-50%, -50%);
    z-index: 99;
    mix-blend-mode: difference;
    transition: transform .2s;
    pointer-events: none;
}

html {
    background-color: #1a1720;
    max-width: 100%;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    position: fixed;
    width: 100%;
    height: 50px;
    padding: 0 3%;
    background-color: #2e2b3b00;
    z-index: 6;
    margin-top: 40px;
}

.navbar-brand {
    color: #D5C398;
    border-radius: 0.75em;
    padding: 0.5em 1em;
}

.nav-link {
    color: #D5C398;
    margin: 0 1em;
    border-radius: 0.75em;
}

.nav-link:hover {
    color:#413313 !important;
    background-color:#D5C398;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
}

.nav-link:focus {
    color:#85661c !important;
}

.navbar-brand:hover {
    color:#413313 !important;
    background-color:#D5C398;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
}

.sezione-corrente {
    color:#413313 !important;
    background-color:#D5C398;
}

.navbar-brand:focus {
    color:#85661c !important;
}

.dropdown-menu {     
    background-color: #2e2b3b;  
}

.dropdown-menu a {   
    background-color: #2e2b3b;  
    color: #D5C398;
}

.container-fluid {
    background-color: #1a1720bb;
    border-radius: 15px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    color: #D5C398;
    border-radius: 5px;
    background-image: var(--bs-navbar-toggler-icon-bg); --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.animazione-finale {
    position: absolute;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items:center;
    height: 100vh;
    width: 100%;
}

#sfondo-animazione {
    z-index: 1;
    height: 100vh;
    position: absolute;
    animation: loading 1s forwards;
    animation-delay: 1s;
    pointer-events: none;
    animation-timing-function: ease;
    z-index: 4;
}

#video-caricamento {
    z-index: 5;
    animation: loading 1s forwards;
    animation-delay: 1s;
    pointer-events: none;
    animation-timing-function: ease;
}

.testo-animazione {
    z-index: 5;
    margin-top: 5%;
    animation: loading 1s forwards;
    animation-delay: 1s;
    pointer-events: none;
    animation-timing-function: ease;
}


@keyframes loading {
    0% {opacity: 100%;}
    100% {opacity: 0%;}
}

#Home {
    height: 100%;
}

.Container-home {
    display: flex;
    align-items: center;
}

.titolo-home {
    position: absolute;
    width: 50%;
    animation: comparsa-titolo 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 2s;
    animation-timing-function: ease-out;
    left: -60em;
    margin-left: 2%;
}

@keyframes comparsa-titolo {
    0% {left: -60em;}
    100% {left: 0em;}
}

.carousel-inner {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.Container-progetti {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Animazioni-galassie {
    display: flex;
    position: absolute;
    flex-direction: row-reverse;
}

.galassia-singola {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#percorso {
    position: absolute;
    pointer-events: none;
}

#Progetti {
    pointer-events: none;
    z-index: 5;
}

.Anno {
    opacity: 50%;
}

.Anno:hover {
    opacity: 100%;
    transform: scale(1.1);
}

h1, h2, h3, h5, p {
    color: #D5C398;
    z-index: 2;
}

h1, h2, p {
    display: flex;
}

@font-face {
    font-family: 'good_timesregular';
    src: url(font/good_times_rg-webfont.woff2) format('woff2'),
         url(font/good_times_rg-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

h1, h2 {
    font-family: good_timesregular;
    font-weight: normal;
}

h1 {
    font-size: 95px;
}

h2 {
    font-size: 30px;
    margin-bottom: 0px;
}

h3 {
    font-family: good_timesregular;
    font-size:larger;
    margin-top: 5px;
}

p {
    margin-top: 15%;
}

a {
    text-decoration: none;
}

hr:not([size]) {
    color: #D5C398;
    height: 2px;
    opacity: 100%;
}

.container-progetto {
    display: flex;
    position: absolute;
    justify-content: space-around;
    margin-top: 200px;
    flex-wrap: wrap;
    width: 100%;
}

.testo-progetto {
    width: 35%;
    margin-bottom: 30px;
}

#img-progetto-verticali {
    width: 500px;
    height: fit-content;
    border-radius: 20px;
    border: #D5C398;
    border-width: 4px;
    border-style: outset;
    margin-right: 30px;
    margin-left: 30px;
}

#img-progetto-orizzontali {
    width: 700px;
    height: fit-content;
    border-radius: 20px;
    border: #D5C398;
    border-width: 4px;
    border-style: outset;
    margin-right: 30px;
    margin-left: 30px;
}

.container-disegno {
    justify-content: center;
    display: flex;
    align-items: center;
}

#img-disegno-orizzontali {
    width: 800px;
    height: fit-content;
    border-radius: 20px;
    border: #D5C398;
    border-width: 4px;
    border-style: outset;
    margin-right: 30px;
    margin-left: 30px;
}

#img-disegno-verticali {
    width: 470px;
    height: fit-content;
    border-radius: 20px;
    border: #D5C398;
    border-width: 4px;
    border-style: outset;
    margin-right: 30px;
    margin-left: 30px;
}

#img-disegno-quadrati {
    width: 650px;
    height: fit-content;
    border-radius: 20px;
    border: #D5C398;
    border-width: 4px;
    border-style: outset;
    margin-right: 30px;
    margin-left: 30px;
}

.testo-disegno-orizzontale {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 80px;
    align-items: center;
}

.testo-disegno-verticale {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    align-items: center;
}

.carousel-indicators .active {
    background-color:#2e2b3b;
}

.btn-primary {
    background-color:#D5C39800;
    border-color: #D5C398;
    color: #D5C398;
}

.btn:hover {
    color:#413313 !important;
    border-color: #2e2b3b00;
    background-color:#D5C398;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
}

.btn-galassie {
    margin-top: 150px;
}

.arrow {
    position: fixed !important;
    margin-left: 35px;
    margin-top: 105px;
    width: 100%;
    position: relative !important;
    margin-bottom: 10px;
}

.Container-portfolio {
    position: relative;
    display: flex;
    justify-content: center;
}

/*.Categorie {
    display: flex;
    height: 100%;
    position: relative;
    flex-flow: row;
}*/

.singola-categoria {
    display: flex;
    justify-content: center;
    align-items:flex-end;
    border: 2px solid #D5C398;
    width: 25%;
    height: 100vh;
}

.Descrizione {
    color: #1a1720;
    z-index: 2;
    position: absolute;
    background-color:#D5C398;
    width: 24%;
    height: 5%;
    justify-content: center;
    align-items:center;
    margin-bottom: 0;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;  
}

.img-responsive {
    opacity: 25%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;    
}

.img-responsive:hover {
    opacity: 100%;
    /*transform: scale(1.5);*/
}

.img-responsive-cover {
    opacity: 25%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s;  
}

.img-responsive-cover:hover {
    opacity: 100%;
    /*transform: scale(1.5);*/
}

.cornice-immagine {
    border: 2px solid #D5C398;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    height: 300px;
    width: 300px;
}

.nome-disegno {
    z-index: 2;
    background-color:#D5C398;
    color:#1a1720;
    width: 100%;
    height: 50px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.Container-contatti {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Immagini-contatti {
    display: flex;
    position: absolute;
    flex-direction: column;
    justify-content:center;
}

.Info {
    opacity: 50%;
}

.Info:hover {
    opacity: 100%;
}

.Nomi-categorie {
    display: flex;
    position: absolute;
    flex-direction: column;
    justify-content:center;
}

.Container-map {
    display: flex;
    position: absolute;
    height: 400px;
    width: 25%;
    border: 2px solid #D5C398;
    z-index: 2;
    margin-left: 9%;
    margin-top: 25%;
    border-radius: 10px;
}

iframe {
    border-radius: 7px;
}

.ui-accordion-header {
    margin-top: 5px;
}

@media screen and (max-width: 1330px) {
    .Container-map {
        height: 300px;
    }

    .singola-categoria {
        height: 100vh;
    }
}

@media screen and (max-width: 1030px) {
    h1 {
        font-size: 65px;
    }

    h2 {
        font-size: 20px;
    }

    .Container-map {
        height: 200px;
    }

    .singola-categoria {
        height: 70vh;
    }

    .testo-progetto {
        width: 60%;
    }
}

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

    h2 {
        font-size: 15px;
    }

    h3 {
        font-size: 12px;
    }

    .Container-map {
        height: 165px;
    }

    .singola-categoria {
        height: 55vh;
    }

    .testo-progetto {
        width: 60%;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 10px;
    }

    h3 {
        font-size: 10px;
    }

    .Container-map {
        height: 100px;
    }

    .singola-categoria {
        height: 40vh;
    }

    .testo-progetto {
        width: 60%;
    }
}

@media (hover: none) {
    body {
        cursor: pointer;
    }
    #invertedcursor {
        display: none;
    }
}