/* Variables de colores */
:root {
  --primary-color: #6fb5ff;
  --secondary-color: #031133b0;
  --highlight-color: #f7f7f7;
  --accent-color: #7fafe2;
  --text-shadow-color: rgba(0, 0, 0, 0.41);
  --white-shadow-color: rgba(255, 255, 255, 0.3);
  --background-blur-color: #0209104d;
  /* --dark-background-color: #000000; */
  --light-background-color: #efede9ba;
}


@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v160/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format('woff2');
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;600&display=swap');

/* Estilos generales */
* {
  font-family: 'Inter', sans-serif !important;
}


/* Aplicar Playfair Display a tÃƒÂ­tulos */
h1, h2, h3, h4, h5, h6, .title {

  font-weight: 700;
}

/* Ajustar peso para mejorar la jerarquÃƒÂ­a */
p, span, a, li {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400;
}

/* Clases de iconos */
.material-symbols-outlined {
  display: inline-block;
  direction: ltr;
  font-family: 'Material Symbols Outlined';
  font-feature-settings: 'liga';
  font-size: 24px;
  font-smoothing: antialiased;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
}

/* Estilos de tipografÃƒÂ­a */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Kanit', sans-serif !important;
}

.btn-default {
  font-family: 'Kanit', sans-serif !important;
}

.navbar-logo-text {
  border: 1px solid transparent;
  display: block;
  font-family: 'Kanit', sans-serif !important;
  font-size: 40px;
  font-style: italic;
  font-variant: small-caps;
  font-weight: bold;
  line-height: 1.2em;
  margin-left: -0.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  text-shadow: 2px 7px 5px var(--text-shadow-color), 0px -4px 10px var(--white-shadow-color);
  width: 100%;
  white-space: normal;
}

.subTitle {
  font-family: 'Kanit', sans-serif !important;
  font-size: 20px;
  font-style: italic;
  font-variant: small-caps;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 2px 7px 5px var(--text-shadow-color), 0px -4px 10px var(--white-shadow-color);
}

/* Estilos de cabecera */
.main-header {
  background: linear-gradient(to bottom, #5d333f45, transparent), url(img/back_header.jpg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: solid var(--primary-color) 3px;

 
}

.main-header *:not(input), .main-header a:active {
  color: white;
}

.main-logo img {
  margin-left: -30px;
  max-height: 125px !important;
}

.dropdown-toggle, .sr-only, .main-header a {
  color: var(--highlight-color) !important;
}

.article-details-block .dropdown-toggle, .main-header a:hover, .navbar-logo-text:hover {
  color: var(--accent-color) !important;
}

header a:hover {
  text-decoration: unset;
}

.container .page-header{

  padding:50px
}

  
/* Estilos de navegaciÃƒÂ³n */

.collapse.navbar-collapse.justify-content-md-center{
  background:#0e17368f;
   backdrop-filter: blur(5px);
   box-shadow: rgb(6 6 28 / 63%) 0px 6px 12px -2px, rgb(0 0 0) 0px 3px 7px -3px;
border:solid 1px var(--primary-color);
border-bottom:none;

}

#primaryNav .nav-link {
  backdrop-filter: blur(5px);
  background: var(--secondary-color);
  font-size: 0.8em;
  font-weight: bold;
  padding: 10px 20px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

#primaryNav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
  z-index: -1;
}

#primaryNav a[aria-expanded=true],
#primaryNav a:hover {
  backdrop-filter: blur(5px);
  background: var(--background-blur-color) !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  font-weight: bold;
  color: var(--primary-color) !Important;
  transform: translateY(-2px);
  letter-spacing: 0.5px;
}

#primaryNav a:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

#primaryNav a:active {
  transform: translateY(1px);
  transition: transform 0.1s;
}

/* Efecto de destello al pasar el cursor */
#primaryNav .nav-link::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 70%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(25deg);
  transition: all 0.6s;
  opacity: 0;
}

#primaryNav a:hover::after {
  left: 150%;
  opacity: 1;
  transition: all 0.6s;
}
.navbar-toggler-icon {
  filter: invert(100);
}

#languageToggleMenulanguageLargeNav {
  background: var(--secondary-color);
  padding: 5px 6px;
}

#languageLargeNav *:hover, #userNav a:hover {
  color: #cbe7e5 !important;
  background: var(--background-blur-color);
  transition: all 0.3s ease-in-out;
  transform: translateY(-2px); /* Eleva ligeramente el elemento */
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2); /* Agrega un sutil brillo */
}


#userNav .dropdown-menu {
  border: solid 1px #ffffff63;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
  background:var(--background-blur-color);
  backdrop-filter:blur(5px);
}


#primaryNav .dropdown-menu.show {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
backdrop-filter:blur(4px);
    padding: .1rem;
    background-color: #006d9dd1;
    border-radius: 0;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2); /* Agrega un sutil brillo */

}

  #primaryNav .dropdown-menu a{
   font-size:.8em;   
  }
  
/* Estilos de bÃƒÂºsqueda */
.searchForm .form-group {
  margin-bottom: 0 !important;
}

.searchForm .form-group button {
  border: none !important;
}

.searchForm .form-group input{
  background:transparent;
  backdrop-filter:blur(10px);
  border: solid 1px #ffffff5c;
}


.searchForm .form-group img {
  margin-top: -3px;
  max-height: 20px;
  padding:0;
}

.searchForm button {
  background-color: var(--dark-background-color);
  color: white;
  margin-top:1px;
  height:38px !important;


}

.container.page-search em {
  font-weight: bold;
}

/* Estilos de la pÃƒÂ¡gina de inicio */
.homepage-background {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}

.homepage-image {
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgb(0 0 0 / 20%) 0px 30px 50px -10px;

}


.homepage-image-behind-issue:after {
  background: linear-gradient(to bottom, #000000d9, transparent);
  backdrop-filter: contrast(2.15) saturate(1.3) sepia(0.15) hue-rotate(-10deg);
  -webkit-backdrop-filter: contrast(1.15) saturate(1.3) sepia(0.15) hue-rotate(-10deg);
  bottom: 0;
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.homepage-issue-description-wrapper {
  border-top: solid white 1px;
  background-color: #ffffffd6;
  text-shadow: 0px 1px 1px #ffffff57;
  backdrop-filter: blur(10px);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.homepage-announcements {
  background: var(--highlight-color);
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  padding: 5px 10px;
}

/* Estilos de issues */
.row.issue-wrapper {
  box-shadow: linear-gradient(to bottom, #0a3151b0, transparent), url(img/back_header.jpg);
  background-position: bottom;
  background-repeat: no-repeat;
  margin-top: 100px;
}

.see-all {
  margin-top: 20px;
}


.issue-summary-cover {
    max-width: 200px;
    height: auto;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* .page-issue-cover img:hover,
.article-details-cover:hover,
.issue-summary-cover:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 

} */


.issn {
  color: var(--accent-color) !important;

  backdrop-filter: blur(5px);
  box-shadow: rgb(6 6 28 / 63%) 0px 6px 12px -2px, rgb(0 0 0) 0px 3px 7px -3px;
  /* border:solid 1px var(--primary-color); */
  border-bottom:none;
  backdrop-filter: blur(10px);

  top: 73px;
  font-size: 0.9em;
  font-weight: bold;
  position: absolute;
  right: 15px;
  
}

.onlineIssn {
top:100px
}





.badge-light {
  color: var(--secondary-color) !important;
}

/* Estilos para la pÃƒÂ¡gina de envÃƒÂ­os */
.page-submissions li, .page-submissions p {
  text-align: justify;
}

/* Estilos de logos */
.logo_row {
  margin-bottom: 20px;
  margin-top: 30px;
}

.logo_row img {
  max-height: 150px;
  padding: 30px;
}

/* Estilos de botones */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    color: var(--highlight-color);
    border-color: #006d9d;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(0, 109, 157, 0.6); /* Brillo azul suave */
    transform: scale(1.05); /* Efecto de crecimiento */
}

.btn.see-all{

  color: var(--primary-color);
  
}


.pdf-return-article :hover{

  background-color: #0000009c;
  padding-left:0px;
}

/* Efecto de onda */
.btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(0, 109, 157, 0.2);
    transition: all 0.5s ease-out;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}

.btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
}


/* Media queries */
@media (min-width: 993px) {
  .homepage-issue-published span, .homepage-issue-current span {
 
    padding: 10px;

      background:#0e17368f;
   backdrop-filter: blur(5px);
   box-shadow: rgb(6 6 28 / 63%) 0px 6px 12px -2px, rgb(0 0 0) 0px 3px 7px -3px;
border:solid 1px #807cda36;

  }

  .searchForm button {
   background:#0c2069ed;
   height: 40px;
   position: absolute;
   right: -40px;
   top: 19px;
   outline: solid 1px #6fb5ffd1 !important;
   border-end-end-radius:20px;
  }
}

@media (min-width: 992px) {
  #userNav .nav-link, .language-toggle .dropdown-toggle {
    background: var(--secondary-color);
    padding: 10px 20px;
  }

  #userNav .nav-link:hover, .language-toggle .dropdown-toggle:hover {
    /* Estilos para hover - vacÃƒÂ­o en el original */
  }
}

@media (max-width: 1192px) {
  .homepage-image-behind-issue:after {
    display: none;
  }
}

@media (max-width: 992px) {
  .main-header {
    margin-top: -40px;
  }

  .logo_row {
    transform: scale(0.8);
  }

  .searchForm {
    border-top: solid white 1px;
    padding-top: 30px;
  }

  .searchForm input {
    margin-left: 10px;
    width: 200px;
  }

  .searchForm button {
    height: 40px;
    position: relative;
    right: -200px;
    top: -40px;
  }



  

.printIssn{
margin-bottom:20px
}

  
  .logo_row img {
    margin: 0;
    margin-left: -80px;
    max-height: 140px;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .logo_row {
    transform: scale(0.7) translateX(20px);
  }

  .issn {
    /* transform: translate(-108px, 73px); */
  }
}