

@font-face {
  font-family: 'TSF';
  src: url('../assets/fonts/TrendSlabFour.ttf') format('truetype');
}

body {
  width: 100%;
  margin: 0px;
  background-color: var(--color-primario);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
  padding: 0px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: auto;
}
.text-sm{
  font-size: 2em !important;
  letter-spacing: 1px;
}
.contenedor-fondo-imagen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: -1;
  min-width: 100%;
  min-height: 100vh;
}

.contenedor-fondo-imagen img {
  width: 100%;
  opacity: 0.7;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.logo-principal {
  width: 80%;
  height: auto;
  margin-top: 20px;
  margin: 50px 0px;
}

nav {
  display: flex;
  flex-direction: row;
  gap: 120px;
}

.categorias {
  width: 90%;
  display: flex;
  flex-direction: column;
  margin: 0px auto;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 0px;
  border-radius: 15px;
  gap: 20px;
}



/* EL Loader*/
.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}

.loader {
  color: rgba(0, 0, 0, 0);
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}


.loader:before,
.loader:after {
  position: absolute;
  content: '';
  background-image: url('../assets/pizza-back-b.png');
  background-size: cover;

}

.loader:before {
  width: 5.2em;
  height: 10.2em;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.1em 5.1em;
  transform-origin: 5.1em 5.1em;
  -webkit-animation: load2 3s infinite ease;
  animation: load2 2s infinite ease;
  background-position: left;
}

.loader:after {
  width: 5.2em;
  height: 10.2em;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 4.9em;
  -webkit-transform-origin: 0.1em 5.1em;
  transform-origin: 0.1em 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
  background-position: right;
}

#loader-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: none;
  background-color: rgba(54, 54, 54, 0.623);

}

#loader-container.show {
  display: block;
}


/* EMPIEZA LO DE LAS REDES */
.redes-sociales {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-top: 40px;
}

.redes-sociales h3 {
  color: white;
  cursor: pointer;
  margin: 5px;
  font-size: 1.5em;
}

.redes-section {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}

.redes-section a {
  text-decoration: none;
  color: white;
  font-size: 1.1em;
  transition: 0.5s;
}

.redes-section a:hover {
  color: var(--color-secundario);
  transform: scale(1.1);
}

.social-network-nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-right: 15px;
}

.social-network-img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.social-network-img path {
  fill: white;
  transition: 0.4s;

}

.social-network-img:hover path {
  fill: var(--color-secundario);
}


@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Aqui termina el loader */

@media screen and (min-width: 768px) {
  body {
    margin: 0px auto;
  }

  .logo-principal {
    width: 400px;
    margin-top: 20px;
    margin: 20px 0px;
  }

  .categorias {
    width: 40%;
    margin-top: 20px;
    margin-bottom: 20px;
  }


}