
@import url('https://fonts.googleapis.com/css2?family=Almendra:ital,wght@0,400;0,700;1,400;1,700&family=Bebas+Neue&family=Cherry+Swash:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Faster+One&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Limelight&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    padding: 0;
    margin: 0;
     font-family:sans-serif;
}



body{
background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url(download/inizio.png);
background-repeat: no-repeat,no-repeat;
background-position: center center,center center;
background-size:cover, contain;
  background-color: #3f0703;
   background-attachment: fixed; /* opzionale: sfondo fisso durante lo scroll */
}



.container{
    text-align: center;
    position: absolute;
    top:63%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.container span{
 text-transform: uppercase;
    display:block ;
}

.text1{
    color: rgb(101, 4, 4);
    font-family:sans-serif;
    font-size:70px ;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 100px;

    background: rgb(18, 18, 18);
    position: relative;
    animation: text 3s 1;
}
.text4{
    color: rgb(251, 246, 246);
    font-family:sans-serif;
    font-size:50px ;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 600px;
    /*background: #f1eaeade;*/
    position: relative;
    animation: text 3s 1;
}
.text2{
    font-size: 30px;
    color: #f0ebeb;
}

.text3{
    font-size: 30px;
    color: #ded9d9;
    position: relative;
    animation:text 4s 1;
}
/*img.w3-center{
   width: 50px;
   right: 50px;
   text-align:center;
      min-width:250px ;
     margin:0px 20px 20px 50px;
      margin-bottom: 100px;
      
      
}*/

@keyframes text {
    0%{
       color: black;
       margin-bottom: -40px;

    }
    30%{
        letter-spacing: 25px;
        margin-bottom: -40px;

    }
    85%{
      letter-spacing: 8px;  
      margin-bottom: -50px;

    }
}
@media screen and (max-width:600px){

  .container{
    top: 80%;
  }
  .text1,.text2,.text3{
   
   margin: 0px auto 0px;
   }
   /*img.logo,img.foto-citta{
  width: 100%;
  float: none;
  margin: 2px 0px;
}*/
div#testata{
  display: none;
}
.container,.text1,.text2,.text3
{
  margin-top: 20px;
}}
img.w3-center {
  width: 700px;
  right: 700;
 min-width: 500px;
  margin: 0px 20px 50px 50px;
  text-align: center;
  opacity: 0;

  animation: slideDown 2s ease-out forwards;
  animation-delay: 2.5s;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }

}

 @keyframes entrataDalBasso{
  0% {
    transform: translateY(100px);
   
  }
  100% {
    transform: translateY(0);
 
  }
}


.elemento-animato{
     position: relative;
  animation-name: entrataDalBasso;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
   display:block;
   position: relative;

  /*padding: 12px 24px;
  /*background-color: #0b0b0b; colore blu */
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 50px;
  transition: background-color 0.3s ease;
 margin-bottom: 10PX;

 
}
.elemento-animato:hover {
  background-color: #3f0703; /* colore al passaggio del mouse */
}
