/* HEADER */
header.container-fluid {
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
header.container-fluid a {
  text-decoration: none !important;
}

header.container-fluid .riga {
  display: flex;
  justify-content: space-between;
  height: 100px;
  background-color: #ecfafb;
  font-family: "Italianno", cursive;
  font-size: 42px;
}

header.container-fluid #langSelect {
  width: 85px;
  height: 46px;
  border: none;
  border-radius: 13px;
  background-color: #ecfafb;
}

header.container-fluid .contact {
  display: flex;
  margin-top: 1rem;
  align-items: center;
}

header.container-fluid .logo-container {
  display: flex;
  align-items: center;
}
header.container-fluid .logo-container img {
  width: 300px;
}

@media (min-width: 768px) {
  header.container-fluid .menu-list {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    border-bottom: 2px solid #dc3545;
  }
  .small-menu {
    display: none;
  }
}

@media (max-width: 767.98px) and (orientation: portrait) {
  .menu-list {
    display: none;
  }
  .small-menu {
    display: block;
  }

  .list-item {
    width: 100%;
    background-color: white;
  }
}

@media (min-width: 768px) {
  .small-menu {
    display: none !important;
  }
}

header.container-fluid .list-item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 1.5s;
}

header.container-fluid .hotel-description {
  font-size: 2rem;
}

header.container-fluid a {
  color: black;
}

header.container-fluid a:hover,
header.container-fluid a:focus {
  color: black;
  text-decoration: none;
}

header.container-fluid .list-item a {
  padding: 0 5px;
  position: relative;
}

@media (max-width: 768px) {
  header.container-fluid .list-item a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    border-bottom: 2px solid #dc3545;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  header.container-fluid .list-item a:hover::after {
    opacity: 1;
  }
}

header.container-fluid .list-item:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

header.container-fluid .small-menu {
  display: none;
}

header.container-fluid #restaurant {
  background-color: #ecfafb;
}

header.container-fluid #languages-choice {
  display: flex;
  align-items: center;
  width: 6rem;
  justify-content: space-between;
  border-bottom: 2px solid red;
}

header.container-fluid #languages-choice a {
  display: flex;
  align-items: flex-start;
  margin-top: 5px;
}

header.container-fluid #languages-choice img {
  width: 20px;
  margin: 0 5px 0;
}

a {
  text-decoration: none !important;
}
header .riga {
  display: flex;
  justify-content: space-between;
  height: 100px;
  background-color: #ecfafb;
  font-family: "Italianno", cursive;
  font-size: 42px;
}
#langSelect {
  width: 85px;
  height: 46px;
  border: none;
  border-radius: 13px;
  background-color: #ecfafb;
}
.contact {
  display: flex;
  margin-top: 1rem;
  align-items: center;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-container img {
  width: 300px;
}
@media (min-width: 769px) {
  .menu-list {
    width: 100%;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .menu-list {
    display: block;
  }
}
.list-item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 1.5s;
}
.hotel-description {
  font-size: 2rem;
}
a {
  color: black;
}
a:hover,
a:focus {
  color: black;
  text-decoration: none;
}
.list-item a {
  padding: 0 5px;
}
.list-item:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.small-menu {
  display: none;
}
#restaurant {
  background-color: #ecfafb;
}
#languages-choice {
  display: flex;
  align-items: center;
  width: 6rem;
  justify-content: space-between;
}
#languages-choice a {
  display: flex;
  align-items: flex-start;
  margin-top: 5px;
}
#languages-choice img {
  width: 20px;
  margin: 0 5px 0;
}

main .hotel-container {
  position: relative;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 100vh;
}
.hotel-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
}
main video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translate(-50%, -50%);
  background: no-repeat;
  background-size: cover;
}

.hotel-container #overlay {
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* height: 51%; */
  height: 70vh;
  justify-content: center;
}
.hotel-container #overlay h1 {
  margin: 0;
  font-size: 120px;
  font-family: "Italianno", cursive;
  color: white;
}

/* BLOCCO OFFERTE SPECIALI */
.special-offers {
  background-color: #ecfafb;
  padding-bottom: 50px;
}
.special-services {
  background-color: white;
  padding-bottom: 50px;
}
.special-services h2,
.special-offers h2 {
  margin-top: 0;
  padding-top: 50px;
  font-family: "Italianno", cursive;
  font-size: 62px;
}
.services-header {
  margin-top: 100px;
}
.special-offers img {
  margin-bottom: 20px;
  padding: 0 20px;
  transition: transform 0.7s;
  width: 100%;
}
.special-offers img:hover {
  transform: scale(1.1);
}

/* BLOCCO FORM E CONTATTI */
.form-contacts {
  background-color: white;
}
.form-cnt,
.contacts-cnt {
  padding: 50px 2%;
}
.form-cnt h4,
.contacts-cnt h4 {
  margin-top: 0;
  font-family: "Italianno", cursive;
  font-size: 40px;
}

/* FORM */
.form-cnt label,
.contacts-cnt label {
  padding: 10px 0;
}
.form-cnt input,
select,
textarea {
  width: 100%;
  height: 30px;
}
.form-cnt #note {
  vertical-align: text-top;
  height: 100px;
}
.form-cnt button {
  font-size: 18px;
  border-radius: 5px;
  border: 1px solid white;
  outline: none;
  background-color: transparent;
  padding: 10px 20px;
  margin: 15px 0;
  transition: background-color 1s;
}
.form-cnt button:hover {
  background-color: white;
}
/* CONTATTI */
.contacts-cnt .contactfield {
  height: 30px;
  font-size: 14px;
}
.contacts-cnt .fa-facebook-square {
  color: #4267b2;
  font-size: 32px;
  line-height: 30px;
}
.contacts-cnt .social-network {
  margin-bottom: 15px;
}
/* BANNER */
.banner {
  border: 1px solid black;
  background-color: #81cbc8;
}
.banner .ad {
  display: flex;
  justify-content: center;
  padding: 15px 15px;
}
.banner img {
  width: 728px;
  height: 90px;
}

/* FOOTER */
footer {
  background-color: #ecfafb;
}
footer .copyrights {
  padding: 15px 0;
  font-size: 16px;
  font-style: italic;
}

/* PAGINA GALLERY */
body#gallery-page {
  background-color: white;
}
.hotel-gallery {
  background-color: #d6c481;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hotel-gallery .subgallery-title {
  margin: 5px 0;
  font-size: 50px;
  font-family: "Italianno", cursive;
  border-top: 3px solid black;
  border-bottom: 3px solid black;
}
.photo-cnt img {
  padding: 20px;
  width: 100%;
  max-height: 250px;
  transition: transform 1s;
}
.photo-cnt img:hover {
  transform: scale(1.1);
}

/* PAGINA PREZZI */
body#price-page {
  background: linear-gradient(to right top, #81cbc8, #ecfafb);
}
.table-price {
  max-width: 1000px;
  margin: 100px auto;
}

.table-price * {
  font-family: "Italianno", cursive;
  border-bottom: 1px solid black;
}
.table-price .table-title {
  font-size: 55px;
}
.table-price .seasons {
  font-size: 40px;
}
.seasons span {
  font-size: 15px;
  font-family: serif;
  border: none;
}
.table-price .room-descr.first {
  border-top: 1px solid black;
}
.table-price .room-descr {
  transition: background-color 1s;
}
.table-price .room-descr.darker {
  background-color: rgba(0, 0, 0, 0.2);
}
.table-price .room-descr,
.room-price {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  border-top: none;
  display: flex;
  justify-content: space-between;
}
.table-price .room-price {
  width: 80px;
  border: none;
  display: inline-block;
  text-align: right;
}

/* PAGINA LAST-MINUTE */
body#last-minute {
  background-color: #4aa6b5;
}
.last-minute-pic {
  margin: 50px auto 20px;
  max-width: 800px;
}
.last-minute-pic img {
  max-width: 100%;
}
.last-minute-pic h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 50px;
}
.last-minute-pic p {
  text-align: justify;
}

/* PAGINA RISTORANTE */

.restaurant-pic img {
  width: 50%;
  max-height: 550px;
  margin: 15px 0;
}
.restaurant-descr {
  display: flex;
  font-size: 1.3rem;
}
main .container-pic-menu {
  margin: 50px 0;
}
.central-menu {
  margin: 15px 0;
}
.central-menu .menu-title {
  font-family: "Italianno", cursive;
  font-size: 60px;
}
.central-menu .title-plates {
  font-family: "Italianno", cursive;
  font-size: 40px;
  margin-bottom: 20px;
}
.container-pic-menu .plate-preview img {
  margin: 15px 0;
  max-height: 350px;
  width: 100%;
}
#menu-btn {
  display: none;
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
  header.container-fluid .riga {
    font-size: 30px;
  }

  /* BLOCCO FORM */
  .form-cnt,
  .contacts-cnt {
    padding: 20px 2%;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  header.container-fluid .riga {
    height: 120px;
  }
  header.container-fluid .menu-list {
    flex-direction: column;
    flex-wrap: wrap;
  }
  header.container-fluid .list-item {
    width: calc(100% / 3);
    height: 50px;
    margin: auto;
  }
  header.container-fluid .list-item.last {
    height: 100px;
  }
  header.container-fluid #languages-choice {
    flex-direction: column;
  }
  .hotel-container #overlay h1 {
    font-size: 100px;
    padding: 10%;
  }
}

.close-menu {
  display: none;
  margin-left: 15px;
}
@media (max-width: 576px) {
  header.container-fluid .riga {
    background-color: #ecfafb;
  }
  #menu-btn {
    display: block !important;
    transition: 0.2s linear;
  }
  @media (max-width: 768px) {
    #menu-list {
      display: none;
    }
    .small-menu {
      display: block !important;
    }
  }

  .small-menu {
    display: flex;
    align-self: center;
    font-size: 50px;
  }
  .small-menu .fa-caret-down {
    display: flex;
    align-self: center;
    margin-left: 10px;
    font-size: 40px;
  }
  .hotel-container #overlay h1 {
    text-align: center;
    font-size: 60px;
    padding: 10%;
  }
  .table-price .room-descr,
  .room-price {
    font-size: 13px;
  }
  .table-price .room-price {
    width: 60px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  max-width: 95%;
  margin: auto;
  margin-left: 1%;
  position: absolute;
}

.close-btn {
  position: absolute;
  top: 2px;
  right: 20px;
  color: #dc3545;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #fff;
}
