@font-face {
    font-family: "MinionPro";
    src: url('/01_font/MinionPro-Regular.woff') format('woff');
}



html,
body {
    padding: 0;
    -webkit-font-smoothing: antialiased;
    cursor: -webkit-grabbing; cursor: grabbing;
}


* {
    box-sizing: border-box;
    font-family: 'MinionPro', serif;
}

::-webkit-scrollbar {
    display: none;
    /* for Chrome, Safari, and Opera */
}

/*BODY*/
p {
    font-family: 'MinionPro', serif;
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0;
    color: #dadada;
    -webkit-text-stroke-width: .6px;
}

a {
    font-family: 'MinionPro', serif;
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0;
    text-decoration: none;
    color: #dadada;
    -webkit-text-stroke-width: .6px;
}

#difference {
    z-index: 1;
    mix-blend-mode: difference;
    will-change: mix-blend-mode;
    background: rgba(0, 0, 0, 0);
}

#myBtn{
    position: absolute;
    z-index: 1;
    mix-blend-mode: difference;
    will-change: mix-blend-mode;
    background: rgba(0, 0, 0, 0);
    right: 8px;
    top: 8px;
}

header > a:hover {
    color: transparent;
    text-shadow: 0 0 3px rgba(218, 218, 218, 0.7);
}

header > p:hover {
    color: transparent;
    text-shadow: 0 0 3px rgba(218, 218, 218, 0.7);
}

.footer {
    position: fixed;
    bottom: 8px;
    z-index: 35;
    mix-blend-mode: difference;
}

#prevButton {
    position: absolute;
    top: 50%;
    left: 8px;
    cursor: pointer;
}

#prevButton:hover{
    color: transparent;
    text-shadow: 0 0 3px rgba(218, 218, 218, 0.7);
}

#index {
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    cursor: pointer;
    z-index: 20;
    transform: translate(-50%);
}

#index:hover{
    color: transparent;
    text-shadow: 0 0 3px rgba(218, 218, 218, 0.7);
    }

#nextButton {
    position: absolute;
    top: 50%;
    right: 8px;
    cursor: pointer;
}

#nextButton:hover{
    color: transparent;
    text-shadow: 0 0 3px rgba(218, 218, 218, 0.7);
    }

.slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    z-index: -1;
}

.slide {
    position: absolute;
    height: 100vh;
    height: 100svh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
    -webkit-transform: translateX(0);
    transform: translate(0);

}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*MODAL WINDOW*/

.modal {
    display: none;
    position: fixed;
    z-index: -2;
    left: 0;
    bottom: 24px;
    width: 100%;
    height: auto;
}

/* Modal Content */
.modal {
    display: none;
    position: fixed;
    z-index: 30;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background-color: white;
}

/* Modal Content */
.modal-content {
    z-index: 20;
    margin: auto;
    padding: 8px;
    width: 100%;
    height: auto;
    overflow: auto;
}

.modal-content>a:hover {
    color: transparent;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

  /* The Close Button */  
  .close {
    width: fit-content;
}

.modal-content > p {
    color: black;
}

.modal-content > a {
    color: black;
}

.modal-content > a:hover {
    color: transparent;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
    cursor: pointer;
}


.close:hover,
.close:focus {
    color: transparent;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

/* Medium (tablet, 768px and down) */
@media only screen and (max-width: 900px) {
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 400px) {

}

/* Effetto hover per i dispositivi che supportano hover */
@media (hover: hover) and (pointer: fine) {
}
