html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.home-backg {
  background: url("/static/img/website/homepage/mobile-home.1a11fd30fc91.webp") no-repeat
    center center/cover;
  height: 100%;
}

.home-cover {
  background: radial-gradient(#000, #000000c3) center / cover;
  height: 100%;
}

header {
  width: 100%;
  position: fixed;
  z-index: 1000;
  top: 0;
}

a {
  text-decoration: none !important;
  color: #ffffff;
}

.logo {
  font-family: "Italiana", serif;
  font-size: 2.7rem;
  font-style: normal;
  padding-left: 10px;
  color: #fff;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Urbanist", sans-serif;
  letter-spacing: 2px;
  font-weight: 600;
  font-style: italic;
}

.intro {
  background: url("../img/website/homepage/restaurant.3152a5b36dd6.webp") no-repeat center
    center/cover;
  color: #ffffff;
  margin-top: 0;
}

.intro-cover-text {
  background: linear-gradient(20deg, black, #0000090a);
}

.intro h1 {
  padding: 10px;
  font-style: italic;
  font-size: 2.5rem;
  text-align: left;
}

.menu-booking-buttons {
  display: flex;
}

.menu-booking-buttons button {
  background: transparent;
  border:solid 1px #ffffff3e;
  border-radius: 10px;
  color: #fafafa;
  font-size: 1.2rem;
  margin: 5px;
  font-style: italic;
  transition: all 0.3s ease-in-out;
}

.menu-booking-buttons a {
  color: #fff;
}

.bg-light {
  --bs-bg-opacity: 1;
  background-color: rgb(3 29 53) !important;
}

nav {
  box-shadow: 0 2px 2px;
}

hr {
  margin: 0 auto;
  color: #b97309;
  opacity: initial;
  width: 90%;
}

main {
  background-color: #050822;
  color: #ffffff;
}

body {
  font-family: "Raleway", serif;
  font-style: normal;
}

/*Navbar styles with dropdown toggle*/
#menu {
  position: absolute;
  width: 100%;
  left: 0;
  padding: 0 1rem 10px 1rem;
  display: none;
  top: 100%;
  list-style-type: none;
  text-align: center;
  font-size: 1.2rem;
  text-decoration: none;
  color: #ffffff;
  z-index: 100;
}

#menu hr {
  width: 70%;
}

.nav-toggle-label {
  margin-right: 15px;
}

#nav-toggle:checked ~ #menu {
  display: block;
  background-color: rgb(3 29 53) !important;
}

#nav-toggle {
  display: none;
}

.nav-toggle-label {
  font-size: 2rem;
}

.nav-toggle-label i {
  color: #ffffff;
}

img {
  max-width: 100%;
}

.intro1 {
  padding: 20px 0 10px 0;
}

.intro img {
  padding: 10px;
}

.introimg2,
.introimg3 {
  display: none;
}

.intro2 img {
  padding: 10px;
}

#auth {
  font-size: 0.9rem;
  color: #ffffff;
  text-align: end;
  margin: 0 10px 0 0;
  padding-top: 40px;
}

.intro2 h2 {
  padding: 50px 10px 5px 10px;
  font-size: 2.3rem;
}

p.introp1 {
  margin: 0;
  padding: 10px;
}

p.introp2 {
  margin: 0;
  padding: 10px;
}

.introp2 a {
  text-decoration: underline !important;
}

.map iframe {
  width: 100%;
  height: 400px;
  padding: 10px;
}

.address {
  padding: 15px 0 15px 0;
}

.address p {
  margin-bottom: 0;
  text-align: center;
}

.address hr,
.contacts hr {
  padding: 10px auto !important;
}

.open-map-contacts h2 {
  padding: 5px;
}

.open-map-contacts h5 {
  padding: 5px;
  margin-bottom: 0;
}

.open-map-contacts p {
  margin-bottom: 0;
  padding: 5px;
}

.open,
.contacts {
  padding: 10px;
  text-align: center;
}

footer {
  color: #ffffff;
  text-align: center;
  background-color: rgb(3 29 53) !important;
}

footer p {
  font-size: 1.2rem;
  padding: 15px 8px 15px 8px;
  margin-bottom: 0;
}

.copyright a {
  color: #ffffff;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.socials {
  font-size: 1.5rem;
  padding: 10px;
}

.socials i {
  font-size: 1.5rem;
  padding: 10px;
  text-align: center;
}

.socials img {
  width: 8%;
  margin: 10px;
}

.phone-num i {
  padding-right: 2px;
}

/*Authentication Pages Styles*/

.cover {
  background: radial-gradient(#000, #000000b8) center / cover;
  min-height: 100vh;
}

.container-lgt {
  min-height: 100vh;
  background: url("/static/img/website/authentication/logout.6fb3ff0ca7ad.webp") no-repeat
    center center/cover;
  padding: 0;
  text-align: center;
}

.logout {
  overflow-x: hidden;
}

#sign-out {
  padding-top: 150px;
}

.container-lgn {
  background: url("/static/img/website/authentication/login.514cbb3ee4e7.webp") no-repeat
    center center/cover;
  text-align: center;
  font-size: 1.3rem;
  overflow-x: hidden;
  height: auto;
}

#login-cover {
  padding-top: 100px;
}

#login-cover p {
  padding: 0 5px;
}

.container-snp {
  text-align: center;
  font-size: 0.8rem;
  overflow-x: hidden;
  background: url("/static/img/website/authentication/register.44b79f56a9b4.webp") no-repeat
    center center/cover;
  height: auto;
}

.container-snp p {
  padding: 0 15px;
}

.container-snp ul {
  list-style-type: none;
}

/*Signup Form*/

.signup {
  width: 70%;
  display: inline-flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
}

.signup div {
  display: flex;
  align-items: center;
}

.signup input {
  height: 35px;
  width: 200px;
  margin-left: 20px;
}

#signup-block {
  padding-top: 80px;
  min-height: 100vh;
}

.btn-signup {
  background: #050822;
  color: #ffffff;
  margin-bottom: 10px;
  width: 100px;
}

#hint_id_password1 {
  display: none;
}

/*Menu List Page*/

#wine-cover-text {
  background: linear-gradient(15deg, black, #0000004d);
  height: 30vh;
}

#carte-cover-text {
  background: linear-gradient(15deg, black, #0000004d);
  height: 30vh;
}

#dessert-cover-text {
  background: linear-gradient(15deg, black, #0000004d);
  height: 30vh;
}

.menu-list h2 {
  margin-bottom: 0;
}

#wine-list {
  background: url("/static/img/website/menu/winelist.ef64d7729e1b.webp") no-repeat center
    center/cover;
  height: 30vh;
}

#carte-list {
  background: url("/static/img/website/menu/cartelist.a82276e533a3.webp") no-repeat center
    center/cover;
  height: 30vh;
}

#carte-list h2 {
  margin-top: 40px;
}

#dessert-list {
  background: url("/static/img/website/menu/dessertlist.5fcf387f9239.webp") no-repeat center
    center/cover;
  height: 30vh;
}

.menu-description {
  padding: 30px 5px 5px 0;
  text-align: center;
}

.menu-list p {
  padding: 5px;
}

.menu-ex {
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* Menu Page Styles*/

.menu {
  color: #b97309;
  padding: 10px;
}

.cover-menu {
  height: 100%;
  background: radial-gradient(black, #000000a6);
}

.wine-menu {
  background: url("/static/img/website/menu/winemenu.23ea002a9b0a.webp") no-repeat center
    center/cover;
  height: 100%;
}

.carte-menu {
  background: url("/static/img/website/menu/cartemenu.06d2a21479d6.webp") no-repeat center
    center/cover;
  height: 100%;
}

.dessert-menu {
  background: url("/static/img/website/menu/dessertmenu.518812c069c8.webp") no-repeat center
    center/cover;
  height: 100vh;
}

.back-arrow {
  font-size: 1.5rem;
}

.back-arrow i:hover {
  text-decoration: underline;
}

.menu span {
  color: #b97309;
}

.menu div {
  margin-bottom: 0;
  color: #b97309 !important;
  font-family: "Raleway", serif !important;
  text-align: center;
}

.menu i {
  color: #b97309;
}

.menu-page-title {
  text-align: center;
}

.menu hr {
  margin-top: 10px;
  margin-bottom: 10px;
}

.menu p {
  margin-bottom: 0;
  color: #b97309 !important;
  font-family: "Raleway", serif !important;
  text-align: center;
}

/*Booking Page Styles*/

#bkn-img {
  background: url("/static/img/website/booking/table.63d92605fd98.webp") no-repeat center
    center/cover;
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.res-logged-out {
  margin-top: 300px;
  font-size: 1.4rem;
  text-align: center;
}

.res-logged-out a {
  text-decoration: underline !important;
}

.no-reserve {
  font-size: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 150px;
}

.reserve-btn {
  color: #ffffff;
  background: #050822;
  margin: 10px 0 0 15px;
}

.book-cover-text {
  background: radial-gradient(#000, #000000b8);
  height: 100vh;
  overflow: hidden;
}

#booked {
  margin-top: auto;
}

#bkn-form {
  margin-top: 150px;
  padding: 0 10px;
}

.card {
  margin: 0 5px 0 5px;
  background: #050822ab;
  color: #ffffff;
  border: #ffffff;
  border-style: groove;
  text-align: center;
}

.col h1 {
  text-align: center;
}

#active-r {
  margin-top: 100px;
}

#res-box {
  margin: auto;
}

#res-box a {
  color: #ffffff;
  width: 60%;
  margin: auto;
}

#res-box ul {
  margin-bottom: 0;
}

#outer-active {
  margin: auto;
}

#outer-active p {
  padding-top: 150px;
  text-align: center;
  font-size: 1.5rem;
}

#outer-active a {
  color: #ffffff;
}

#delete-card {
  margin: 100px 10px;
}

#delete-card a {
  color: #ffffff;
}

.limited p {
  padding-top: 0px !important;
  margin-bottom: 0 !important;
  font-size: 1rem !important;
}

#submitButton {
  background: #050822;
  color: #ffffff;
}

#validation-btn {
  color: #ffffff;
}

/*Messages*/

.text {
  width: 100%;
  font-size: 1.5rem;
}

.btn-close {
  color: #ffffff;
}

.alert-dismissible {
  margin-top: 30px;
  margin-bottom: 0;
  background: radial-gradient(#000, #000000b8);
}

/*Mission Page */

.mission {
  background: url("../img/website/mission/brigata.03a2db0b6317.jpeg") no-repeat center
    center/cover;
}

.mission-txt {
  background: #000000ab;
  color: #fafafa;
  text-align: center;
  padding: 50px 5px 5px;
}

.mission-txt h2 {
  font-size: 2.5rem;
  font-style: italic;
  text-align: left;
}

.mission-txt p {
  font-size: 0.9rem;
  padding: 5px;
}

.missionp1 {
  padding-top: 10px;
}

.missionp1 p {
  padding: 25px 25px 10px 10px;
  text-align: left;
}

.review {
  padding-bottom: 50px;
}

.img-layout {
  display: flex;
}

.img-layout2 {
  display: flex;
  flex-direction: column;
}

.img-layout2 img {
  width: 95%;
  padding: 5px;
}

.review h3 {
  text-align: right;
  padding: 50px 50px 0 50px;
}

.missionp2 h3 {
  font-size: 1.5rem;
  font-style: italic;
  text-align: left;
}

.chef-p-img {
  display: flex;
}

.chef-p {
  padding: 70px 5px 30px 5px;
  text-align: left;
  width: 60%;
}

.chef-images {
  display: block;
  width: 40%;
  padding: 30px 10px 0 0;
}

.mission-img5 img {
  padding-top: 10px;
}

.visit {
  padding: 20px 10px 0 10px;
}

/* Admin Table Map */

.table-map-page {
  font-family: "Raleway", sans-serif;
  font-style: normal;
  /*background: url("../img/admin/tablemap-bkg.68f3e34524bc.jpeg")no-repeat center center/cover;*/
}

/*.cover-txt {
  background: #00000076;
}*/

.map-datepicker {
  display: inline;
}

.table-map {
  font-family: "Raleway", serif;
  font-style: normal;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-content: space-around;
  flex-wrap: wrap;
  aspect-ratio: 4 / 3;
  width: 100%;
  border: 2px solid #ccc;
  background: #f9f9f954;
  margin: 0 auto;
  border-radius: 6px;
}

.table {
  font-family: "Raleway", serif;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 30px;
  margin: 10px;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.table:hover {
  transform: scale(1.1);
}

/* Table is free, no reservations on selected date */
.table.free {
  background-color: #2ecc71; /* verde */
}

/* Table has a reservation on the date */
.table.occupied {
  background-color: #ccc;
}

/* Error Page */

.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-page h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.error-page p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.error-page .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0077cc;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}


/*Media query for large or landscape phones (570px and up)*/
@media screen and (min-width: 570px) {
  .home-cover img {
    padding: 10px 30px 10px 30px;
  }

  .map iframe {
    padding: 20px;
  }

  .img-layout,
  .img-layout2 {
    padding: 30px;
  }

  .chef-p {
    padding-top: 150px;
  }
}

/*Media query for tablet screens (768px and up)*/
@media screen and (min-width: 768px) {
  .intro h1,
  .intro2 h2 {
    padding: 30px 30px 30px 10px;
    font-size: 3.5rem;
  }

  #auth {
    padding-top: 70px;
    font-size: 1.2rem;
  }

  .home-cover p {
    font-size: 1.2rem;
  }

  .intro1 img,
  .intro2 img {
    width: 90%;
    display: block;
    margin: 0 auto;
  }

  .socials img {
    width: 5%;
  }

  footer p {
    padding-top: 25px;
    font-size: 1.5rem;
  }

  .menu-list {
    margin-top: 50px;
  }

  .menu-description {
    padding-top: 50px;
  }

  .menu-list h2 {
    font-size: 2.5rem;
  }

  .menu-list p {
    font-size: 1.5rem;
  }

  .back-arrow {
  font-size: 2rem;
  } 

  .logout h3 {
    font-size: 2.5rem;
  }

  .logout p {
    font-size: 1.5rem;
  }

  .btn-signup {
    width: 150px;
    height: 50px;
    font-size: 1.3rem;
  }

  .container-snp {
    height: 92vh;
    font-size: 1.2rem;
  }

  #signup-block {
    overflow: hidden;
    padding-top: 150px;
  }

  .cover {
    min-height: 100vh;
  }

  .container-lgn {
    font-size: 1.5rem;
    min-height: 100vh;
  }

  .container-lgn h3 {
    font-size: 2.5rem;
  }

  #login-cover {
    padding-top: 200px;
  }

  .reset-cover {
    font-size: 1.5rem;
    padding-top: 200px;
  }

  .res-logged-out {
    margin-top: 300px;
    font-size: 1.8rem;
    text-align: center;
  }

  .mission-txt {
    padding-top: 100px;
  }

  .mission-txt h2 {
    font-size: 3.5rem;
  }

  .mission-txt p {
    font-size: 1.5rem;
  }

  .missionp1 p {
    padding-top: 20px;
  }

  .img-layout {
    width: 90%;
    margin: 0 auto;
  }

  .review {
    padding-top: 50px;
  }

  .missionp2 h3 {
    font-size: 2.5rem;
  }

  .missionp2 p {
    padding-top: 10px;
  }

  .mission-img2 img {
    width: 80%;
  }

  .mission-img3 img {
    width: 80%;
  }

  .mission-img4 img {
    width: 100%;
    padding-top: 50px;
  }

  .mission-img5 {
    display: none;
  }

  .table {
    width: 100px;
    height: 70px;
    margin: 20px;
  }
}

/*Media query for laptops and larger screens (992px and up)*/
@media screen and (min-width: 992px) {
  .home-cover {
    background: radial-gradient(#000, #000000b8) center / cover;
    height: 100%;
  }

  .home-cover p {
    font-size: 1.5rem;
  }

  #auth {
    padding-top: 70px;
    margin-bottom: 0px;
    font-size: 1.2rem;
  }

  #menu {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    top: 100%;
    list-style-type: none;
    text-align: center;
    font-size: 1.5rem;
    text-decoration: none;
    color: #ffffff;
    z-index: 100;
    position: relative;
    padding-top: 24px;
    margin-bottom: 0;
  }

  #menu hr {
    display: none;
  }

  .nav-toggle-label {
    display: none;
  }

  #nav-toggle:checked ~ #menu {
    display: flex;
  }

  .intro1 {
    display: flex;
    padding: 100px 10px 30px 10px;
  }

  .intro h1 {
    text-align: center;
    padding-top: 50px;
  }

  .introp2 {
    display: flex;
    font-size: 1.5rem;
    padding: 30px 10px 30px 10px;
  }

  .menu-booking-buttons {
    justify-content: center;
  }

  .menu-booking-buttons button {
    width: 200px;
    height: 50px;
    font-size: 1.5rem;
  }

  .intro hr {
    display: none;
  }

  .introp1 {
    width: 50%;
    font-size: 1.5rem;
    margin-top: auto;
    margin-bottom: auto;
    padding: 0 10px 0 10px;
  }

  .intro-img1 {
    width: 50%;
  }

  .intro1 img {
    width: 100%;
  }

  .introp2 h2 {
    padding: 10px 10px 5px 10px;
  }

  .introp2 p {
    width: 50%;
    padding: 10px;
  }

  .intro-img2 {
    width: 50%;
  }

  .intro2 img {
    width: 100%;
  }

  .address {
    font-size: 1.5rem;
    padding-top: 10px;
    width: 100%;
    text-align: center;
  }

  .open-map {
    display: flex;
    padding-top: 50px;
  }

  .map {
    width: 50%;
    height: 500px;
  }

  .map iframe {
    height: 500px;
  }

  .open,
  .contacts {
    text-align: center;
    font-size: 1.5rem;
    padding-top: 50px;
  }

  .open {
    width: 50%;
  }

  .contacts {
    width: 100%;
    padding: 50px;
  }

  .open-map-contacts hr {
    display: none;
  }

  .socials {
    font-size: 1.5rem;
  }

  .socials i {
    font-size: 2rem;
    padding-left: 10px;
    padding-top: 10px;
  }

  .socials img {
    width: 4.5%;
    margin: 0;
    padding: 8px;
  }

  footer p {
    font-size: 1.5rem;
  }

  .no-reserve {
    margin-top: 150px;
  }

  .container-snp {
    height: 92vh;
    font-size: 0.9rem;
  }

  #signup-block {
    overflow: hidden;
  }

  .container-lgn {
    font-size: 1.3rem;
  }

  #login-cover {
    padding-top: 150px;
    overflow: hidden;
  }

  #card-container {
    margin-left: 350px;
  }

  .hidden {
    display: block;
  }

  .mission-txt h2 {
    padding: 20px 30px 10px 30px;
  }

  .mission-txt p {
    font-size: 1.5rem;
  }

  .missionp1 {
    display: block;
  }

  .missionp1 p {
    padding: 0 30px 80px 30px;
  }

  .img-layout {
    width: 70%;
  }

  .missionp1 p {
    padding-top: 0;
  }

  .missionp1 img {
    width: 100%;
  }

  .missionp2 h3 {
    font-size: 1.8rem;
  }

  .chef-p p {
    padding-top: 50px;
  }

  .img-layout2 {
    display: flex;
    flex-direction: row;
  }

  .img-layout2 img {
    width: 70%;
  }

  .mission-img3 img {
    padding-top: 30px;
  }

  .chef-p-img {
    display: flex;
    padding-top: 50px;
  }

  .chef-p {
    width: 50%;
  }

  .mission-img4 {
    padding-top: 50px;
  }

  .mission-img4 img {
    width: 90%;
    padding-left: 50px;
  }

  .alert-dismissible {
    margin-top: 60px;
  }

  .table {
    width: 150px;
    height: 100px;
    margin: 20px;
  }
}
/*Media query for large devices (1200px and up)*/
@media screen and (min-width: 1200px) {
  #menu {
    width: 50%;
  }

  p.introp1 {
    padding: 20px 50px;
    font-size: 1.8rem;
  }

  .intro1 {
    display: block;
  }

  .introp1 {
    width: 100%;
  }

  .intro-img1 {
    width: 100%;
    display: flex;
    flex-direction: row;
  }

  .intro-img1 img {
    width: 35%;
    padding: 0;
  }

  .introimg2,
  .introimg3 {
    display: inline;
  }

  .introimg2 img {
    width: 100% !important; 
    height: 100%;
  }

  .introimg3 img {
    width: 100% !important;
  }

  .intro2 h2 {
    text-align: center;
  }

  .introp2 p {
    padding: 20px 50px;
    font-size: 1.6rem;
  }

  .chef-p {
    padding: 150px 5px 30px 20px;
  }

  .visit {
    padding: 40px 80px 10px 80px;
  }

  .visit h3 {
    font-size: 2.2rem;
  }

  #signup-block {
    overflow: hidden;
    padding-top: 85px;
  }

  #card-container {
    margin-left: 450px;
  }

  .table-map {
    height: 500px;
  }

  .table {
    width: 100px;
    height: 70px;
    margin: 55px;
  }
}
