@font-face {
  font-family: Catalogue;
  src: url('Catalogue.woff2') format('woff2');
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carosello {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  animation: animazione_sfondo 3s infinite ease-in-out;
}

.carosello img {
  position: absolute;
  top: 0;
  height: 100vh;
  width: auto;
  left: 100vw;
  animation: slide 15s linear infinite;
}

.carosello img:nth-child(1) {
  animation-delay: 0s;
}
.carosello img:nth-child(2) {
  animation-delay: 5s;
}
.carosello img:nth-child(3) {
  animation-delay: 10s;
}

@keyframes slide {
  0% {
    left: 150vw;
  }
  100% {
    left: -150vw;
  }
}

.sfondo {
  position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: rgb(180,150,110);
    animation: animazione_sfondo 3s infinite ease-in-out;
}

@keyframes animazione_sfondo {
  0% {background-color: rgb(255,215,0);}
  33% {background-color: rgb(150,190,31);}
  66% {background-color: rgb(180,150,110);}
  100% {background-color: rgb(255,215,0);}
}

.titolo {
    font-family: Catalogue;
    top: 46vh;
    position: fixed;
    width: 100vw;
    text-align: center;
  font-size: 5rem;
    animation: animazione_logo 3s infinite ease-in-out;
}

@keyframes animazione_logo {
  0% {color: rgb(140,85,37);}
  33% {color: rgb(0,0,255);}
  66% {color: rgb(255,0,0);}
  100% {color: rgb(140,85,37)}
}

.sottotitolo {
    font-family: Catalogue;
    z-index: 10;
    top: 1vh;
    position: absolute;
    width: 100vw;
    text-align: center;
  font-size: 5rem;
    color: black;
}

@media screen and (max-width: 1100px) {

.carosello img {
  top: 50vh;
  height: auto;
  width: 100vw;
  transform: translate(0%, -50%);
}

}

