/*
  Theme Name: Subgrafica
  Theme URI: https://subgrafica.com/
  Version: 8.0.0
  Template: Divi
  Author: Subgrafica Estudio
  Author URI: https://subgrafica.com/
  Description: Subgrafica WP theme - Made from home office in 2021.
  Text Domain: subgrafica
  License: Attribution-NonCommercial 4.0 International
  License URI: https://creativecommons.org/licenses/by-nc/4.0/
*/

/* Importación de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap');

/* Variables opcionales de tipografía */
:root {
  --font-base: 'Quicksand', sans-serif;
  --font-heading: 'Gojali-Medium', sans-serif;
  --font-alt: 'AktifoA-Medium', sans-serif;
}

html, body {
  font-family: var(--font-base);
  font-weight: 400;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
  transition-duration: 0.2s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

::selection,
::-moz-selection {
  background: #f4dce6;
  color: #333333;
}

a:active,
a:active *,
a:focus,
a:focus * {
  outline: none !important;
  -moz-outline-style: none !important;
}

p {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 1em;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: normal !important;
}

h1 {
  font-family: var(--font-heading);
  font-size: 2.8em;
  color: #152e56 !important;
  padding-bottom: 50px;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.2em;
  color: #152e56 !important;
  padding-bottom: 40px;
}

h3 {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 1.8em;
  padding-bottom: 25px;
}

h4 {
  font-family: 'Gojali-Regular', sans-serif !important;
  font-size: 1.5em;
}

h5 {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 1em;
  text-transform: uppercase;
}

h6 {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 1em;
}

#enlace a {
  text-decoration: underline;
  opacity: 1;
  transition: all 0.1s ease 0s;
}

#enlace a:hover {
  opacity: .9 !important;
}

.vertical {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bottom {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#main-footer {
  height: 0 !important;
  overflow: hidden;
}

.style-svg-small {
  max-width: 150px;
  height: auto;
}

.tarjeta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(237, 226, 142, 1), rgba(198, 214, 229, 1));
  background-color: #333;
  opacity: .4;
  z-index: 1;
}

.tarjeta > * {
  z-index: 100;
  position: inherit;
}

/*** Responsive Styles ***/

@media all and (min-width: 1405px) {
  /* Large Desktop */
}

@media all and (min-width: 1100px) and (max-width: 1405px) {
  /* Standard Desktop */
}

@media all and (max-width: 980px) {
  /* Tablet and Below */
}

@media all and (min-width: 768px) and (max-width: 980px) {
  /* Tablet Only */
}

@media all and (max-width: 767px) {
  /* Smartphone Only */
}

@media all and (max-width: 479px) {
  /* Smartphone Portrait */
}