:root{
  --color_1:#fff;
    --color_2:#2b2b2b;
    --color_3:#00107C;
    --color_9:rgba(0, 17, 124, 0.818);
    --color_4:#1877F2;
    --color_5:#ff3131;
    --color_6:#ff6b0f;
    --color_7:#1d296a;
    --color_8:#f0f0f0;
    --fuente_A: 'Fira Sans', sans-serif;
}
html{
    box-sizing: border-box;
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
    scroll-behavior: smooth; 
}
a, p, span, input, select, textarea{
  font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}
*,*:before,*:after{
    box-sizing:inherit;
    margin: 0;
    padding: 0;
}
body{
    margin: 0;
    overflow-x: hidden;
    z-index: 2;
    position: relative;
}
body::-webkit-scrollbar {
  -webkit-appearance: none;
}
body::-webkit-scrollbar:vertical {
  width:10px;
}
body::-webkit-scrollbar-button:increment,.contenedor::-webkit-scrollbar-button {
  display: none;
} 
body::-webkit-scrollbar:horizontal {
  height: 10px;
}
body::-webkit-scrollbar-thumb {
  background-color: var(--color_5);
  border-radius: 20px;
  border: 1px solid var(--color_5);
}
body::-webkit-scrollbar-track {
  border-radius: 10px;  
}

.btnMenu{
  background-color: var(--color_5);
  color: var(--color_1);
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 150%;
  z-index: 999;
  box-shadow: 5px 5px 15px var(--color_2);
}
.cajaHeader{
  width: 80%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--color_1);
  position: fixed;
  z-index: 1000;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: translate(-100%, 0);
  padding-top: em;
  box-shadow: 1px 1px 5px var(--color_2);
}
.fa-arrow-left{
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--color_3);
  color: var(--color_1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 150%;
  border-radius: 50%;
}
.is-active{
  transform: translate(0,0);
  opacity: 1;
  
}
.items{
  width: 90%;
  height: 400px;
  flex-direction: column;
  overflow-y:scroll;
  display: flex;
  align-items: center;
}
.items a{
  width: 90%;
  background-color: var(--color_3);
  color: var(--color_1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .2rem;
  text-decoration: none;
  outline: none;
  border: none;
  font-size: .8rem;
  padding: .2rem;
  border-radius: 6px;
}
.cajaHeader a:hover{
  background-color: var(--color_8);
  color: var(--color_2);
}
.div_logo{
  width: 80%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color_2);
  margin-bottom: 1rem;
}
.logoHeader{
  width: 80%;
}
.principal{
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}
.salir{
  background-color: var(--color_7);
  color: var(--color_1);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100%;
}
.cajaRcw{
  position: fixed;
  bottom: .3rem;
  background-color: var(--color_1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.social_caja{
  display: flex;
  flex-direction: row;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.iconos_redes{
  width: 30px;
  height: 30px;
}
.rcw{
  color: var(--color_3);
  position: relative;
  bottom: .3rem;
  font-size: 80%;
}
.footer {
  width: 100%;
  height: 100vh;
  background-color: var(--color_9);
  flex-direction: column;
  color: white;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-image: url('../img/pagina/footer2.png'); /* Cambia la ruta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  position: relative;
}
.container-titulo{
  width: 90%;
  display: flex;
  justify-content: flex-end;
}
.container-titulo p{
  font-size: 1.4rem;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-variation-settings:"wdth" 100;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
}

.footer-info, .footer-social {
  width: 48%;
}

.footer-info h2, .footer-social h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.footer-info p {
  margin-bottom: 10px;
}

.footer-social .social-icons a {
  color: white;
  margin-right: 15px;
  font-size: 1.5em;
  background-color: var(--color_1);
  padding: 10px;
  border-radius: 50%;
}

.footer-social .social-icons a:hover {
  color: var(--color_5);
}

@media (max-width: 768px) {
  .container-titulo p{
    font-size: 1rem;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-variation-settings:"wdth" 100;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-info, .footer-social {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-social .social-icons {
    display: flex;
    justify-content: center;
  }
}
/*----loader estilos----------*/
.preloader {
  width: 70px;
  height: 70px;
  border: 10px solid #eee;
  border-top: 10px solid var(--cuarto-color);
  border-radius: 50%;
  animation-name: girar;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/*-----------------------------*/
/*----------lista de pedido --------------*/
@media screen and (min-width: 1024px){
  .container-titulo p{
    font-size: 2rem;
    width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-variation-settings:"wdth" 100;
  }
  .btnMenu{
    display: none;
  }
  .cajaHeader{
    width: 15%;
    transform: translate(0, 0);
    background-color: var(--color_1);
  }
  .fa-arrow-left{
    display: none;
  }
}