@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Nunito&family=Roboto+Slab:wght@900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:Arial, Helvetica, sans-serif;
}
p{
    font-family:Arial, Helvetica, sans-serif;
    font-size: 20px;
}
a{
    text-decoration: none;
    color: var(--primary);
}

h2{
  color: var(--resturant);
  font-family: 'DM Serif Display', serif;
  font-size: 50px;
  border-bottom: var(--resturant) 1px solid;
}
h1 {
  font-family: 'DM Serif Display', serif;
  color: var(--primary);
}

ul {
  list-style: none;
}
body {
  height: 100vh;
  display: grid;
  place-items: center;
  font-family: 'DM Serif Display', serif;

  --primary: #131313;
  --resturant: #095f02;
}

/* width */
::-webkit-scrollbar {
  width: 1px;
}
/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: transparent;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: transparent;
}
/********************************************* cookie *********************************************/
.cky-audit-table .cky-cookie-des-table >li {
  font-size: 12px !important;
  line-height: 24px;
  font-weight: normal;
  padding: 15px 10px;
  border-bottom: 1px solid;
  border-bottom-color: inherit;
  margin: 0;
}
/********************************************* preloader area *********************************************/
.loader_bg {
  position: fixed;
  z-index: 9999999;
  background: #fdfdfd;
  width: 100%;
  height: 100vh;
  top:0;
}
.loader {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader img {
  width: 300px;
  height: 300px;
}
/********************************************* fine preloader area *********************************************/
/************************************************* header area *************************************************/
/* Style the navigation menu */
.topnav {
  overflow: hidden;
  position: fixed;
  width: 100vw;
  top:0;
  z-index:30;
  background-color: #ffffff;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
  background-color: beige;
  height: 100vh;
}

/* Style navigation menu links */
.topnav a {
  color: var(--resturant);
  padding: 14px 16px;
  text-decoration: none;
  font-size: 40px;
  display: block;
  z-index:30;
}

.topnav:hover {
  background-color: beige;
  transition-property: background-color;
  transition-duration: 2s;
}
.topnav:active {
  background-color: beige;
}
/* Style the hamburger menu */
.topnav a.icon {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  color: var(--primary);
}

/* Style the active link (or home/logo) */
.active {
  color: white;
}
li {
  list-style-type: none;
  font-size: 100px;
  font-family: 'DM Serif Display', serif;
  padding-left: 50px;
}
/************************************************** CAROSELLO MENU **************************************************************/

/* Slideshow container */
.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
  float: right;
  padding: 30px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 5s;
}
.sopra{
  z-index: 999;
}

@keyframes fade {
  from {opacity: .8} 
  to {opacity: 1}
}
.mySlides img,
.mySlidescontatti img{
  border-radius: 20px;
  margin-top: 70px;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
/***************************************************** FINE MENU ****************************************************************/
/*------------------------------------------------------- Home -----------------------------------------------------------------*/

#videoBkg {
  position: fixed;
  z-index: -1;
  background-color: rgb(176, 240, 190);
  opacity: 0.7;
}
#imgBkg {
  position: fixed;
  z-index: -1;
  background-color: rgb(176, 240, 190);
  opacity: 0.7;
}
 
.hero-section {
  position: absolute;
  top: 30%;
  left: 12%;
  transform: translateY(-30%);
  z-index: 10;
  height: 90vh;
}
.hero-section > * {
  transform: translateY(80px);
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
}
.hero-section h1 {
  font-size: 5rem;
  margin-top: 20px;
}
.hero-section p {
  font-size: 3rem;
  margin: 2em 0 2em 0;
  line-height: 50px;
  font-family: 'DM Serif Display', ital;
  font-style: italic;
}
.hero-section p strong {
  color: var(--resturant);
}
.hero-section button {
  border: 2px solid var(--primary);
  padding: 1em 1.2em;
  outline: none;
  background-color: transparent;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s;
  color:#2c2c2c;
}
.hero-section button:hover {
  background-color: var(--resturant);
  color: #ffffff;
  border: 2px solid var(--resturant);
}
.hero-section a{
  color:#2c2c2c;
}
.hero-section a:hover{
  color:#ffffff;
}
.hero-section h1:nth-child(2) {
  animation-delay: 0.2s;
}
.hero-section h1:nth-child(3) {
  animation-delay: 0.5s;
}
.hero-section h1:nth-child(4) {
  animation-delay: 0.8s;
}
.hero-section p {
  animation-delay: 1.2s;
}
.hero-section button {
  animation-delay: 1.4s;
}
.menu-section {
  position: fixed;
  width: 34%;
  top: 5%;
  right: 0%;
  transform: translateY(-30%);
  z-index: 20;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary);
}
.menu-section a{
  font-size: 3rem;
}
.menu-section span > a {
  color: var(--resturant);
  font-size: 3rem;
}
.section-contatti { 
  z-index: 20;
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary);
  }
  /***nel responsive cambiare position fixed con absolut e nel body inserire overflow sroll***/
.section-contatti h2{
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--resturant);
  padding-left: 20px;
  font-style: italic;
  border-bottom: solid 1px var(--resturant);
}
.section-contatti p,
.section-contatti a,
.section-contatti address {
  font-weight: lighter;
  font-style:inherit;
  color: var(--primary);
  font-size: 20px;
}
p a:hover {
  color: var(--primary);
}

/****************************************************galleria contatti****************************************************/
.galleria{
  display: flex;
}
.slids{
  border-radius: 20px;
  margin: 20% 0;
}
.owl-carousel {
  overflow: auto;
  border-radius: 20px;
  margin: 0px;
  width: 100%;
}
.owl-item img {
  display: block;
  width: 100%;
  border-radius: 20px;
  margin: 0px; 
}
.owl-nav{
  margin-left: 23%;
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
  font-size: 40px;
  font-weight: bolder;
  margin-right: 10px;
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
  color: white;
}

.contatti h1{
  filter: invert(1);
}
.footer p,
.footer a {
font-size: 12px;
}
.footer{
  border-top: var(--resturant) 1px solid;
  padding:5px;
}
.footer a:hover {
color: var(--resturant);
}
/********************************************************pagina ristorante*********************************************************/

/********************************************************fine galleria*********************************************************/
/* MEDIA QUERIES for video background
----------------------------------------- */
@media (min-aspect-ratio: 16/9) {
  #videoBkg {
    width: 100%;
    height: auto;
  }
}
@media (max-aspect-ratio: 16/9) {
  #videoBkg {
    width: auto;
    height: 100%;
  }
}
@keyframes fadeUp {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@media only screen and (max-width:632px){
 #videoBkg {
  display: none;
 }
 .mobile{
  background-image: url(../img/cover-mobile.gif);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
 }   
  .hero-section h1 {
    font-size: 3rem!important;
    margin-top: 10px;
  }
  .hero-section p {
    font-size: 2rem;
    margin: 1em 0 2em 0;
    line-height: 40px;
  }
  .menu-section a{
    font-size: 2rem;
  }
  .menu-section span > a {
    color: var(--resturant);
    font-size: 2rem;
    height: 10px;
  }
}
@media only screen and (min-width:633px){
  
  .mobile{
  background-image: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.9;
  }
  .hero-section {
    margin-top: 5%;
  }
}