/* 
Theme Name: SuMaTeL
Theme URI: 
Author:José Manuel
Description:theme Sumatel
Version:1.0
Tags:Servicio y Tramites
Text Domain: SuMaTeL
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;700;900&amp;display=swap");

:root {
  /* Fuentes*/
  --font-primary: "Public Sans", normal;
  --text-secondary: "Raleway", sans-serif;
  /* colors */
  --primary: #1142d4;
  --secondary: #dc2626;
  --light: #f6f6f8;
  --dark: #101522;
  --azul-sumatel: #1a3683;
  --rojo-sumatel: #d31219;
  --gris-sumatel: #8a8d8f;
  --blanco: #ffffff;
}
.color-primary {
  color: var(--primary);
}
.text-gris-suma {
  color: var(--gris-sumatel);
}
.text-azul-suma {
  color: var(--azul-sumatel);
}
.text-red-suma {
  color: var(--rojo-sumatel);
}
html {
  box-sizing: border-box;
  background-color: var(--light);
  font-family: var(--text-secondary);
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
/* utlidades */

/* Globales */

a {
  text-decoration: none;
  padding: 1rem;
  color: var(--dark);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* img */
.img-bolsa {
  filter: drop-shadow(5px 5px 5px #686565);
}

/* Navbar */
.menu_principal {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  align-items: center;
  margin: 1rem;
}

@media (min-width: 768px) {
  .barra_navegador {
    flex-direction: row;
    justify-content: space-between;
  }
  .menu_principal .menu {
    display: flex;
    text-transform: uppercase;
    align-items: center;
    margin: 1rem;
  }

}

/* Efecto de hover */
@media (min-width: 768px) {
  .menu_principal .current_page_item {
    border-bottom: 3px solid var(--primary);
    margin: 1rem;
  }

  /* Desactivar efectos hover para el ACTIVO */
  .menu_principal .current_page_item > a::before,
  .menu_principal .current_page_item > a::after {
    content: none !important;
  }

  .menu_principal a {
    position: relative;
    z-index: 1;
    display: inline-block;
  }

  .menu_principal a::after,
  .menu_principal a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
  }

  .menu_principal a::before {
    top: -5px;
    transform-origin: left;
  }

  .menu_principal a:hover::after,
  .menu_principal a:hover::before {
    transform: scaleX(1);
    border-bottom: none;
  }
}
/* contenido */

.contenido-real {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contenido-real.mostrar {
  opacity: 1;
}

.loader {
  margin-top: 16rem;
  width: 55px;
  aspect-ratio: 1;
  display: grid;
  animation: l14 4s infinite;
}
.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  border: 8px solid;
  border-radius: 50%;
  border-color: red red #69676700 #4e4d4dce;
  mix-blend-mode: darken;
  animation: l14 1s infinite linear;
}
.loader::after {
  border-color: #4e4e4e00 #6e6b6b69 blue blue;
  animation-direction: reverse;
}
.loader::-webkit-scrollbar {
  display: none;
  overflow: hidden;
}
@keyframes l14 {
  100% {
    transform: rotate(1turn);
  }
}
