* {
  box-sizing: border-box;
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
}
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
}

a {
  color: #ffcc00;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: white;
}

/*******idiomas**********/

.langPages {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.langPages a {
  font-size: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.langPages img {
  width: 25px;
  margin-right: 5px;
}





/**********video******/
.video-container {
  position: fixed; /* Cambiado de absolute a fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Asegura que cubra toda la altura de la ventana */
  overflow: hidden;
  z-index: -1; /* Mantenerlo detrás del contenido principal */
}

.video-container video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/**************logo**************************/
/********************************************/

.logo-content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 10%;
}

.logosushi {
  font-size: 30px;
  margin-top: 10px;
  font-weight: bolder;
}

/* Estilo para pantallas pequeñas */
@media (max-width: 768px) {

  .logo-content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 40%;
}

 
  .logosushi {
    font-size: 30px;
    margin-top: 15px;
  }
}

/******presentacion******/
.presentacion {
  margin-top: 55vh;
  background: black;
  border-radius: 15px; /* Ajusta el radio del borde */
  padding: 20px; /* Ajusta el padding según tus necesidades */
}

#present {
  position: relative;
  z-index: 1;
}

.background-image {
  position: relative;
  overflow: hidden;
}

.background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/Logoblanco.svg"); /* Make sure the image path and format are correct */
  background-size: 0%;
  background-position: center;
  background-repeat: no-repeat;
  animation: expand-and-hide 5s ease-in-out infinite; /* Removed animation-delay */
  z-index: 1; /* Set z-index to a positive value */
}

@keyframes expand-and-hide {
  0% {
    opacity: 0;
    background-size: 20%; /* Reduced background size to 20% */
  }
  50% {
    opacity: 1;
    background-size: 50%; /* Reduced background size to 50% */
  }
  100% {
    opacity: 0;
    background-size: 20%; /* Reduced background size to 20% */
  }
}
/****pantallas pequeñas***/
@media (max-width: 768px) {
  .presentacion {
    margin-top: 55vh;
  }
}







/*********cradrestaurant***/

.cardRestaurant {
   background-color: black;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 10px;
  cursor: pointer;
}

.restaurant-title {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .mb-4 {
    margin-bottom: 2rem;
  }

  .col-md-3 {
    margin-bottom: 1.5rem;
  }
}





/************mapa*****/
#map {
  height: 400px;
  width: 100%;
  touch-action: none; /* Desactiva gestos de desplazamiento */
}
.custom-tooltip {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  max-width: 200px;
  font-size: 14px;
}
.custom-tooltip a {
  color: #007bff;
  text-decoration: none;
}
.custom-tooltip a:hover {
  text-decoration: underline;
}

/********************************/
/********************************/
/********************************/
/***reservas cards**************/
/********************************/
/********************************/

.cardReservas {
  height: 530px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.card-body {
  position: relative;
  padding: 20px;
  color: black;
  text-align: center;
}

.card-body h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 18px;
  margin-bottom: 20px;
}

.close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 30px;
  cursor: pointer;
  color: black;
  border: 2px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 36px;
  background-color: #007bff;
}

.btnReserve {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  position: relative;
}

.btnReserve:hover {
  background-color: green;
  color: white;
}

.mataroCard {
  background-image: url("../img/botones/mataro.jpg");
}

.sabadellCard {
  background-image: url("../img/botones/sabadell.jpg");
}

.hospitaletCard {
  background-image: url("../img/botones/hospitalet.jpg");
}


/*********************************/
/*********************************/
/*********************************/
/***************popup**********/
/*********************************/

.popup {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: green;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transform: translateY(-100%);
  left: 70%;
  transform: translateX(-50%) translateY(-100%);
}

.popup img {
  max-width: 50vw;
  height: auto;
  max-height: 80vh;
}

.popup {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: green;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transform: translateY(-100%);
  left: 70%;
  transform: translateX(-50%) translateY(-100%);
}

/* Estilos generales para el popup en pantallas pequeñas */
@media (max-width: 768px) {
  .popup {
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 100vw;
    padding: 10px;
    position: relative;
    overflow: hidden;
    -webkit-transform: translateX(-50%) translateY(-100%);
    -moz-transform: translateX(-50%) translateY(-100%);
    -ms-transform: translateX(-50%) translateY(-100%);
    -o-transform: translateX(-50%) translateY(-100%);
  }

  .popup img {
    max-width: 100%;
    max-height: 100vh;
    transition: transform 0.5s ease;
  }

  .popup img:hover {
    transform: scale(1.8); /* Ajusta el valor de la escala a 1.8 */
  }

  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1100;
  }
}

/*********popup hospitalet***/

.popup.hospitaletPopup {
  position: absolute;
  left: -50%;
}

/* Estilos específicos para el popup de Hospitalet en dispositivos móviles */
@media (max-width: 768px) {
  .popup.hospitaletPopup {
    left: 50% !important; /* Asegura que este estilo se aplique */
    transform: translateX(-50%) translateY(-100%) !important;
    width: 90vw;
    padding: 10px;
  }

  .popup.hospitaletPopup img {
    max-width: 100%;
    max-height: 100vh;
  }
}

/********************************/
/********************************/
/*****footer****/
/* Footer Section */
/* Footer Section */
/********************************/
/********************************/

.img-eventos {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto;
}

.custom-margin {
  padding-left: 200px;
}

@media (max-width: 767.98px) {
}

.footer {
  background-color: #333;
  color: white;
}

.footer h4 {
  color: green;
  margin-top: 0;
  font-size: 20px;
  font-weight: bolder;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: white;
  text-decoration: none;
}



#contactForm {
  margin-top: 20px;
}

#contactForm .form-group {
  margin-bottom: 15px;
}

#contactForm label {
  display: block;
  margin-bottom: 5px;
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="file"] {
  width: 100%;
}

#contactForm button {
  background-color: green;
  border: none;
  color: #333;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
}

#contactForm button:hover {
  background-color: #007bff;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Media Queries */
@media (max-width: 767.98px) {
 
  .footer .col-md-4 {
    margin-bottom: 20px;
  }

  #contactForm {
    margin-top: 10px;
  }

  #contactForm .form-group {
    margin-bottom: 10px;
  }

  #contactForm .form-control {
    width: 100%;
  }

  #contactForm button {
    margin-top: 10px;
  }

  .text-md-right {
    text-align: center !important;
  }

  .custom-margin {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .footer .col-md-4 {
    text-align: center;
  }

  .footer .text-left,
  .footer .text-right {
    text-align: center;
  }
}

/* Font Awesome Icons */
.fab {
  margin-right: 8px;
}

/******************************************/
/************iconos redes sociales*************/


.list-unstyled {
  display: flex;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.list-unstyled li {
  margin-right: 20px;
}

.social-link {
  color: inherit;
  text-decoration: none;
}

.social-link i {
  font-size: 45px;
  margin-right: 8px;
}

.social-link .fa-facebook-f {
  color: #3b5998 !important;
}

.social-link .fa-instagram {
  color: #e4405f !important;
}

.social-link .fa-twitter {
  color: #1da1f2 !important;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
  .list-unstyled {
    display: flex;
    justify-content: center; /* Centra horizontalmente los ítems de la lista */
    padding-left: 0;
    margin: 0;
    list-style: none;
  }

  .list-unstyled li {
    margin-right: 10px; /* Ajusta el margen entre los ítems si es necesario */
  }

  .social-link i {
    font-size: 45px; /* Ajusta el tamaño de los íconos si es necesario */
    margin-right: 8px;
  }
}


/********************************/
/********************************/
/*******boton arriba*/
/********************************/
/********************************/
.btn-primary.back-to-top {
  position: fixed;
  bottom: 120px;
  left: 20px;
  background-color: green;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary.back-to-top:hover {
  background-color: #007bff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary.back-to-top i {
  color: black;
  font-size: 20px;
}


.legal a {
    color: green; /* Color azul por defecto para los enlaces */
    font-size: 0.9rem; /* Tamaño de fuente más pequeño */
    text-decoration: none; /* Sin subrayado en los enlaces */
    padding: 0 5px; /* Espacio alrededor de los enlaces */
    transition: color 0.3s ease; /* Suaviza el cambio de color en hover */
}

.legal a:hover {
    color: white; /* Color más oscuro al pasar el mouse */
    text-decoration: underline; /* Subrayado al pasar el mouse */
}


/****************/

/*****mensaje alerta form***********/

#responseMessage {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    display: none;
    border: 1px solid;
    text-align: center;
}

#responseMessage.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

#responseMessage.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}




