

@font-face {
    font-family: "OpenSans"; /* Nombre que le asignas a tu fuente */
    src: url(OpenSans.ttf); /* Ruta a tu archivo .otf */
  }
  
*{
    font-family: "OpenSans", sans-serif;
}


body {
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    width: 100%;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 75px;
  background-color: white;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: 0px auto;
  align-items: center;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}
.btn-menu{
  position: absolute;
  left: 0;
  margin-left: 30px;
}
.btn-menu label{
  color: #125798;
  font-size: 25px;
  cursor: pointer;
}
.logofranche{
  display: flex;
  align-items: center; /* Centra verticalmente */
  text-align: center;
  justify-content: center; /* Centra horizontalmente */
  margin: 0px auto;
}
.logofranche img{
  height: 70px;
  width: 70px;
}
.logo{
  display: flex;
  text-align: center;
}
.logo h1{
  color: #ffffff;
  font-weight: 400;
  font-size: 21px;
}
.logo h1:hover{
  color: #54AFE6;
  transition: 4s;
}
#btn-menu{
  display: none;
}
.directorio-menu {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;left: 0;
  transition: all 500ms ease;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}

#btn-menu:checked ~ .directorio-menu{
  opacity: 1;
  visibility: visible;
}
.dire-menu {
  position: fixed; /* Cambiado de 'absolute' a 'fixed' */
  width: 100%;
  max-width: 485px;
  background: white;
  height: 100vh;
  top: 75px; /* Ajustar según el alto del header */
  left: 0;
  transition: all 500ms ease;
}
.dire-menu.fade-out {
  opacity: 0;
}
nav {
  display: flex;
  justify-content: center;
}

.column {
  position: absolute;
  flex: 1;
  text-align: center;
  margin-top: 0px;
  right: 235px;
  padding: 20px;
}
.column1{
  position: absolute;
  flex: 1;
  text-align: center;
  margin-top: 0px;
  left: 235px;
  padding: 20px;
}

#btn-menu:checked ~ .container-menu .dire-menu{
  transform: translateX(0%);
}
.dire-menu nav{
  transform: translateY(15%);
}
.dire-menu a{
  display: block;
  text-decoration: none;
  padding: 18px 25px 18px 25px;
  color: #111;
  border-left: 5px solid transparent;
  transition: all 400ms ease;
  font-weight: 500;
  width: 142px;
}
.dire-menu nav a:hover{
  background-color: #125798;
  border-left: 5px solid #F32517;
  color: white;
  transition: 0.1s;
}
.dire-menu label{
  position: absolute;
  right: 12px;
  top: 12px;
  color: white;
  cursor: pointer;
  font-size: 18px;
  margin-bottom: 0px;
}
.apd{
  padding: 5px;
  margin-top: 410px;
}
.apd a{
  font-size: 9px;
  margin: 0;
}
.navweb {
  align-items: center;
}
.navweb a {
  margin: 0 20px;
  text-decoration: none;
  color: white;
  font-size: 15px;
  background-color: transparent;
  transition: 0.5s;
  font-weight: 500;
}
.navweb a:hover {
  color: #54AFE6;
  transition: 2s;
  border-bottom: 1px solid #007bff;
}
.platos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 800px;
  margin: 20px auto;
  padding: 20px;
  margin-top: 50px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.platos h2{
  font-size: 29px;
  margin-left: 12px;
}
.especialidades{
  display: flex;
  flex-direction: row;
  background-color: #eaeaea;
  padding: 12px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 0px;
  margin: 12px;
}
.especialidades h3{
  margin-bottom: 0px;
}
.especialidades button{
  width: 140px;
  text-align: center;
  text-decoration: none;
  background: #be0000;
  color: white;
  border-color: #be0000;
  border-radius: 5px;
}
.cadaplato{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.precio{
  height: 100%;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 margin-left: auto;
}
.precio h5{
  color: black;
  font-size: 24px;
  background-color: white;
  padding: 11px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 5px;
}
.guardar-precio{
  margin-top: 12px;
  margin-right: 12px;
}
.modificarprecio button{
  background-color: #125798;
  border-color: #125798;
}
.modificarprecio{
  display: flex;
  flex-direction: row;
}
/* Estilos para cada artículo de menú */
.plato-item {
    width: calc(50% - 10px); /* Para mostrar dos elementos por fila */
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
footer {
  width: 100%;
  padding: 12px;
}

footer p{
  text-align: center;
  color: #125798;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white; /* Fondo blanco semi-transparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loader img {
  max-width: 200px; /* Establece el tamaño adecuado para tu logo */
}
@media (max-width: 625px){

  .platos {
      width: 380px;
      margin: 0px auto;
      padding: 10px;
      margin: 10px auto;
  }
  .precio{
    padding: 11px;
   left: auto;
   right: 1px;
  }
  .precio h5{
    font-size: 23px;
    padding: 10px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .especialidades{
    padding: 8px;
    margin: 10px;
  }
  .plato-item {
    width: calc(50% - 10px); /* Para mostrar dos elementos por fila */
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .texto p{
    width: 200px;
    font-size: 14px;
  }
  .column{
    right: 175px;
  }
  .column1{
    left: 175px;
  }
}




