
@import url('https://fonts.googleapis.com/css2?family=Fragment+Mono&family=Press+Start+2P&display=swap');

body {
    margin: 0px;
    font-family: 'Fragment Mono', monospace !important;
}
.gran{
    
}
.contenitore {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    margin-top: 4.5rem;
    background-color: black;
}

.cont_foto {
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.cont_foto:hover {
    box-shadow: 0px 0px 30px 0px #7C7C7C;
}
.ts{
    padding: 2rem;
}

.barra-sopra {
    height: fit-content;
   
}
.square {
    width: 50px;
    height: 50px;
    background-color: black;
}
.rectangle {
    width: 50px;
    height: 20px;
    background-color: black;
}
.text-block {
    height: calc( (100vh - 180px) /2.4);
}
.story {
    max-width: 240px;
    margin-right: 52px;
}
.img_container {
    width: 80%;
    position: relative;
    display: flex;
    text-align: center;
    height: 800px;
    justify-content: center;
}
.img_container img {
   position: absolute;
   top: 0px;
   display: none;
   height: 800px;
   z-index: 1;
   /* transform: translate(-100%); */
}
.img_container img.show {    
    display:inline;
}
.img_container img.left {        
    transform: translate(-100%);
}
.img_container img.toRight {
    transition: 0.4s cubic-bezier(.6,-0.28,.74,.05);    
    transform: translate(100%);
}
.img_container img.toCenter {
    transition: 0.4s cubic-bezier(.6,-0.28,.74,.05);
    display: none;
    transform: translate(0%);
}

.img_container img.animate {
    transform: translate(0%) !important;
    transition: 0.4s cubic-bezier(.6,-0.28,.74,.05);
}
.img_container img.right {
    transform: translate(100%);
    
}
.img_container img.left {
    transform: translate(-100%);
}


.slideL2C {
    animation-duration: 1s;
    animation-name: slideL2C;
    animation-iteration-count: 1;
}
.slideR2C {
    animation-duration: 1s;
    animation-name: slideR2C;
    animation-iteration-count: 1;
}
.slideC2T {
    animation-duration: 1s, 1s;
    animation-name: slideC2T, dissolve;
    animation-iteration-count: 1,1;
}
.slideC2B {
    animation-duration: 1s, 1s;
    animation-name: slideC2B, dissolve;
    animation-iteration-count: 1, 1;
}

.fadeIn {
    animation-duration: 1s;
    animation-name: fadeIn;
    animation-iteration-count: 1;
}
.fadeOut {
    animation-duration: 0.8s;
    animation-name: dissolve;
    animation-iteration-count: 1;
}

@keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
}

@keyframes dissolve {
    from {
      opacity: 1;
    }
  
    to {
      opacity: 0;
    }
}

@keyframes slideL2C {
    from {
      transform: translate3d(-100%,0,0);
    }
  
    to {
      transform: translate3d(0,0,0);
    }
}

@keyframes slideR2C {
    from {
      transform: translate3d(60%,0,0);
    }
  
    to {
      transform: translate3d(0,0%,0);
    }
}

@keyframes slideC2T {
    from {
      transform: translateY(0%);
    }
  
    to {
      transform: translateY(-100%);
    }
}

@keyframes slideC2B {
    from {
      transform: translateY(0%);
    }
  
    to {
      transform: translateY(100%);
    }
}
  

.shrink {
    width: 0px !important;
    transition: 0.1s cubic-bezier(.6,-0.28,.74,.05);
}


.img_info {
    width: 20%;
    background-color: black;
    color: white
}

.footer {
    height: fit-content;
    padding: 2rem;
}
.img_nav {
    font-family: 'Press Start 2P', cursive;
    position: absolute;
    bottom: 50%;    
    background-color: white;
    width: 30px;
    height: 35px;
    text-align: center;
    font-size: 25px;
    cursor: pointer;
    z-index: 2;
    display: none;
}
.img_nav.block {
    display: block;
}
.next{
    position: absolute;
    right: 20px;
}
.prev{
    position: absolute;
    left: 20px;
}



/* @media screen and (max-width: 607px) { 
    .img_container {
        width: 100%;
    }
    .img_container img {
        width: 150%;
        height: unset;
    }
    .img_info {
        width: 100%;
    }
} */
.loader_container {
  width: 100%;
  height: 100%;
}
.loadingLR {
    animation-duration: 1s;
    animation-name: loadingLR;
    animation-iteration-count:infinite;
    animation-direction: alternate;
    animation-timing-function: cubic-bezier(.16,.46,.91,.52);
}
.ball_container {
    height: 100%;
    width: 80%;
}
.ball {
    width: 30px;
    height: 30px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 10%;
    border-radius: 50%;
}
.l_wall {
  width: 10px;
  height: 50px;
  background: #fff;
  position: absolute;
  top: 49%;
  left: 8%;
}
.r_wall {
    width: 10px;
    height: 50px;
    background: #fff;
    position: absolute;
    top: 49%;
    right: 6%;
  }
@keyframes loadingLR {
    from {
      transform: translateX(0%);
    }
  
    to {
      transform: translateX(100%);
    }
}

@media screen and (max-width: 1756px) { 
    .img_container {
        width: 100%;
        height: 600px;
    }
    .img_container img {        
        height: 600px;
    }
    .img_info {
        width: 100%;
    }
}

@media screen and (max-width: 1064px) {   
    .img_container img {        
        /* width: 100vw; */
        height: 400px;
    }
    .img_container {
        /* width: 100vw; */
        height: 400px;
    }
    .story {
        max-width: unset;
        margin-right: 0px;
    }
}

@media screen and (max-width: 435px) {   
    .img_container img {        
        /* width: 100vw; */
        height: 200px;
    }
    .img_container {
        /* width: 100vw; */
        height: 200px;
    }
    .text-block {
        height: fit-content;
    }
    /* Da cellulare R2C fa scrollare in su, quindi la rimpiazzo con L2C */
    .slideR2C {
        animation-duration: 1s;
        animation-name: slideL2C;
        animation-iteration-count: 1;
    }
}

#imageGallery {
    background-color: black;
}
.foto_home {
    width: 330px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.foto_home img {
    width: 100%;
    transform: scale(0);
    transition: 0.5s;
}

  
.foto_home img.animate{
    transform: scale(1);
}

.modal-fullscreen .modal-body {
    display: flex;
    justify-content: center;
}
.modal-title {
    color: white;
}
.modal-fullscreen .modal-content {
    background-color: black;
}
.full-screen-img {
    height: 100%;
}
.footer-text {
    color: white;
}
