html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: #FFF;
}

footer {
  background-color: #010109;
}

#home{
  background: #003150;
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  justify-content: flex-end;
}

#trailer{
  background-color: #003150;
}

#credits{
  background-color: #003150;
}

.ed-logotitolo{
  display: flex !important;
  z-index: 2;
}

.ed-copyright {
  color: #444;
}

.ed-copyright a {
  color: #444;
}

.ed-copyright a:hover {
  color: #666;
}

.ed-social {
  background-color: #111;
  width: 40px;
  height: 40px;
  color: #fff;
  text-decoration: none;
}
.ed-social:hover {
  background-color: #000;
}

.ed-sinossi{
  color: #FF00D0;
  text-transform: uppercase;
  font-size: 3rem;
  font-weight: 400;
  font-family: "DM Sans", sans-serif;
}

.container h1 {
  font-size: 3rem;
  font-weight: 400;
  padding-bottom: 50px;
  font-family: "DM Sans", sans-serif;
  color: #FFF;
  text-transform: uppercase;
}

.container h1:after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #FF00D0;
  margin-top: 10px;
}

.background-section {
  background-color: #001a28;
}

.sale-section {
  background-color: #010109;
}

#trailer,
#film,
#cinema,
#anteprime,
#sale {
  padding: 60px 0;
}

.tab-desk{
  display: table;
}
.tab-mob{
  display: none;
}

.ed-table{
  font-family: "DM Sans", sans-serif;
  font-size: 1.1rem;
  background: #023150;
}
.ed-table th{
  background: #01283f;
  padding:15px;
  text-transform: uppercase;
}
.ed-table tr{
  background: #023150;
  border-bottom: 1px solid #bbb;
}
.ed-table tr:hover{
  background: #FD00CC;
}
.ed-table td{
  padding: 15px;
}

.ed-poster {
  box-shadow: #000 0px 5px 20px;
}

.ed-sidebar {
  width: 300px !important;
  background-color: #000;
  z-index: 9999;
}

.ed-menu-link {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}

.ed-menu-link:hover {
  background-color: #111;
}

.ed-offcanvas {
  z-index: 999999;
  box-shadow: 0px 0px 10px #000;
}

.ed-credits h3{
  font-weight:600;
  color: #444;
  font-family: "DM Sans", sans-serif;
  font-size: 1.2rem;
}

.ed-spacer{
  min-height: 80px;
  content: "";
}

/* Stile personalizzato per il video di sfondo */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  box-shadow: 0px 0px 15px #111;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ed-arrow{
  color: #FF00D0;
}

.ed-findticket {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 25px;
  border: 3px solid #FF00D0;
  display: inline-block;
  font-weight: 500;
  cursor: pointer;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  padding: 15px 25px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.ed-findticket:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Stile per l'overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.8);
  /* Sfondo semi-trasparente */
  display: none;
  /* Nascosto di default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.5s ease-in-out;
}

/* Contenitore dell'iframe */
#overlay iframe {
  width: 80%;
  height: 80%;
  border: none;
}

/* Pulsante di chiusura */
#close-overlay {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.head-buttons{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap: 20px;
  z-index: 2;
}

@media screen and (max-width: 867px) {
  #home{
    background-size: 130%;
    justify-content: center !important;
  }
  #credits{
    display: none;
  }
  .ed-spacer{
    min-height: 40px;
  }
  .head-buttons{
    flex-direction:column;
    gap: 0px;
  }
  .ed-findticket {
    font-size: 0.8rem;
  }
  .container h1 {
    font-weight: 600;
    font-size: 2.5rem !important;
  }
  .ed-sinossi{
    font-weight: 600;
    font-size: 2.5rem !important;
  }
  .ed-table{
    font-size: 0.8rem !important;
  }
  .tab-desk{
    display: none !important;
  }
  .tab-mob{
    display: table !important;
  }
}