html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Great vibes', serif;  
  color: #282828;
  margin: 0;
}

li {
  font-family: "Cormorant Garamond";
  font-size: 18pt;
  margin-left: 1em;
  list-style-type: none;
}

li a {
  text-decoration: none;
  color: #282828;
}

.center {
  margin: auto;
  width: 50%;
  text-align: center;
}

.section {
  margin: auto;
  width: 100%;
  text-align: center;
  font-size:calc(10px + 1.2vw);
}

#CLheader {
  font-size:calc(20px + 1.5vw);
  margin-top:0.5em;
}

#when {
  font-size:4vw;   
}
#ora {
  font-size:3vw;
}

#carlaELuca {
  font-size:calc(20px + 6vw);   
  background-image: url("../img/leaves.jpg");
  background-repeat: no-repeat;
  padding-top: 14vh;
  padding-bottom: 14vh;
  background-position: center;
  background-size: auto 100%;
}

#carlaELucaInner {
  padding-top: 16vh;
  padding-bottom: 16vh;
  transition: font-size 1s;
}

#carlaELucaInner:hover {
  font-size:calc(20px + 7vw);   
}

#timer {
  font-size:calc(10px + 1.2vw);
}

#viaggio {
  background-image: url("../img/giappone.jpeg");

  background-attachment: fixed;
  color: white;
}

#viaggioInner {
  background-color: rgba(0,0,0,0.3);
  padding-top: 14vh;
  padding-bottom: 14vh;
}

.otherFont {
  font-family: "Cormorant Garamond";
}

#conferma {
  padding-top: 10vh;

  padding-bottom: 14vh;
}

#conferma input, #conferma textarea  {
  width: 40vw;
  border: 0px solid white; 
  border-bottom: 1px solid #282828; 
  font-family: "Cormorant Garamond";
  font-size:calc(10px + 0.5vw);
  padding: 7px;
  
}

#conferma input {
  height: 30px;
  transition: background-color 0.5s;
}
#conferma textarea  {
  height: 100px;
  resize: none;
  transition: background-color 0.5s;
}
#invia, button[type=submit] {
 height: 5vh;
 font-size:calc(10px + 0.5vw);
 border-radius: 4px;
 border: 2px solid rgb(247,182,234); 
 color: rgb(247,182,234);
 background-color: transparent;
 font-family: sans-serif;
 width: 10vw !important;
 transition: background-color 0.5s;
}
#conferma input:hover, #conferma textarea:hover {
  background-color: rgba(193,226,172,0.4);
}
 
  textarea:focus, input:focus{
   outline: none;
  }

#invia:hover {
  background-color: rgba(193,226,172,0.4)	;
}

#colibri:hover {
  
}

#colibri {
  height: 100px;
  position: relative;
  
  width: 100px;
}
#doveequando:hover #colibri{
  animation: colib 2s ease-in-out;
}

@keyframes colib{
  0%{
    transform:rotate(0deg)
              translate(0px)
              rotate(0deg);
  
  }
  50%{
    transform:rotate(360deg)
              translate(-15px)
              rotate(-360deg);
  }

}

div#formContattaci {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
}

label {
  font-weight: bold;
  margin-top: 20px;
}

input, textarea {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 500px;
  resize: none;
  font-family: Arial;
}

button[type=submit] {
  padding: 10px;
  border-radius: 5px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}

button[type=submit]:hover {
  background-color: #0056b3;
}



