/*--------------------------------------------------------------
	CSS Reset
--------------------------------------------------------------*/
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: manipulation;
}
/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/*
    2. Remove default margin
  */
* {
  margin: 0;
  padding: 0;
}

/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
body {
  line-height: 0.5;
  -webkit-font-smoothing: antialiased;
}

/*
    5. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
  display: block;
  /* max-width: 100%; */
}

/*
    6. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
  font: inherit;
}

/*
    7. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
    8. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

/*--------------------------------------------------------------
	COMMON
--------------------------------------------------------------*/
/* * { 
    outline: thin solid rgba(142, 194, 145, 0.315);
    outline-offset: -1px;
  } */

html,
body {
  margin: 0;
  padding: 0;
  /* overflow-x: hidden; */
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body {
  /* margin: auto; */
  margin: 0;
  position: relative;
  background: url("../images/background-light.png") no-repeat center top, linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(81, 0, 6, 1) 50%, rgba(81, 0, 6, 1) 88%, rgba(0, 0, 0, 1) 100%);
  overflow-x: hidden;
}

h1,
h2 {
  font-family: "Roboto Flex", sans-serif;
  color: aliceblue;
}

h1.gallery-title {
  font-size: 2.5em;
  font-weight: 200;
  margin-bottom: 0.15em;
  margin-top: 0.75em;
  text-align: center;
  text-shadow: 0px 1px 5px rgba(230, 27, 27, 0.95);
}


a {
  text-decoration: none;
  color: #e43336;
}

i {
  color: white;
}

p {
  font-family: "Roboto Flex", sans-serif;
  color: aliceblue;
  font-kerning: auto;
  font-weight: 100;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphenate-limit-chars: 4 2 2;
}

ul {
  margin: 0;
  padding: 0;
}

.align-left {
  text-align: left;
}
.align-right {
  text-align: right;
}

.clearfloat { /* esta clase debe colocarse en un elemento div o break y debe ser el último elemento antes del cierre de un contenedor que incluya completamente a un elemento flotante */
  clear: both;
  height: 0;
  font-size: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------------------
	HEADER
--------------------------------------------------------------*/

header {
  background-color: none;
  width: 80%;
  margin: auto;
  /* border-bottom: thin solid #901214 ; */
  padding: 2em 0 1em 0;
}

.logo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 0.5em;

}

.logo img {
  height: 5em;
  margin-bottom: 1em;
  margin-right: 1em;
  /* margin: 0.6em 0 0 -2em; */
  filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.5));
  /* border: thin solid rgb(9, 255, 0); */
}

.logo h1 {
  display: inline-flex;
  align-items: flex-end;
  padding-bottom: 0.8em;
  font-family: "Roboto Flex", sans-serif;
  font-weight: 200;
  font-size: 1.2em;
  font-kerning: auto;
  text-align: right;
  color: aliceblue;
  /* line-height:1.1em; */
  filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.5));
  /* border: thin solid rgb(255, 255, 255); */
}

.font500 {
  font-weight: 400;
  padding-right: 0.3em;
  color: white;
}

.menu {
  display: flex;
  justify-content: center;
  flex-direction: row;
  padding: 1em 0.5em;
  /* border: thin solid white; */
}

.menu li {
  display: flex;
  justify-content: center;
  flex-direction: row;
  width: 100px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  text-wrap: nowrap;
  text-decoration: none;
  list-style: none;
  color: aliceblue;
  margin: 0;
  text-shadow: (3px 3px 4px rgba(0, 0, 0, 0.9));
  transition: all 0.3s ease;
}

.menu .borderboth {
  border-color: #ecd8d8;
  border-right: thin solid;
  border-left: thin solid;

}

.menu li a {
  text-decoration: none;
  color: #e43336;
}

.menu li a:hover {
  color: aliceblue;
  font-weight: 500;
}

/* Estilos para el submenú */
.submenu-container {
  border-bottom: 1px solid #444;
  padding: 0;
  margin-bottom: 0;
}

.submenu {
  max-width: 1200px;
  margin: 0;
  padding: 0.6em 1em 0 1em;
  /* border: thin solid #51c91a; */
}

.submenu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.submenu li {
  margin: 0 1em;
}

.submenu a {
  color: aliceblue;
  text-decoration: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1em;
  /* padding: 0.5em 1em; */
  transition: all 0.3s ease;
}

.submenu a:hover {
  color: #ffffff;
  font-weight: 500;
  border-bottom: 1px solid #ffffff;
}

.submenu li.active {
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.submenu li.active a {
  display: none;
  padding: 0;
  margin: 0;
  border: 0;
  width: 0;
  height: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .submenu ul {
    flex-wrap: wrap;
  }
  
  /* .submenu li {
    margin: 0.5em;
  } */
}

/*--------------------------------------------------------------
	MAIN CONTENT
--------------------------------------------------------------*/

.main-content {
  width: 80%;
  margin: auto;
  background-color: #510006;
  border-radius: 15px 15px 0;
  border-top: thin solid #901214;
  border-left: thin solid #901214;
  padding: 0 1.25em 6em 1.25em;
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.5);
  flex: 1;
  min-height: calc(100vh - 14rem);
  position: relative;
}

.main-content > * {
  position: relative;
  z-index: 1;
}

.main-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  pointer-events: none;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 0;
}

/*--------------------------------------------------------------
	ARTICLE
--------------------------------------------------------------*/

.article {
  position: relative;
  height: 310px;
  overflow: hidden;
  z-index: 1;
  margin-top: 0.5em;
  padding-right: 0.1em;
  transition: height 0.3s ease;
  /* border: thin solid #32ce13; */
}

.article:focus {
  outline: none;
}
.article-short {
 height: auto;
}
.article h1{
  padding: 0.5em 0;
  font-size:2.3em;
  font-weight: 100;
  line-height: 1em;
}

.article h2 {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: second baseline;
  border-bottom: thin solid;
  border-color: #901214;
  line-height: 1em;
  padding-bottom: 0.25em;
  margin-bottom: 0.5em;
  margin-top: 0.6em;
}

.article .date {
  display: flex;
  align-items: flex-end;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: large;
  text-wrap: nowrap;
}

.article p {
  text-align: justify;
  text-indent: 1em;
  margin-bottom: 0.5em;
  font-weight: 100;
  line-height: 1.25em;
  /* border: thin solid red; */
}

.article p:first-of-type {
  text-indent: 0em;
}

.article p.first-paragraph {
  text-indent: 0em;
}

.article p.indent0 {
  text-indent: 0em;
}

.article i {
  font-weight: 400;
}

.article b {
  font-weight: 400;
}

.article a {
  text-decoration: none;
  font-weight: 600;
  color: #e43336;
}

.article a:hover {
  color: #ecd8d8;
}

.article a i {
  text-decoration: none;
  font-weight: 600;
  color: #e43336;
}

.article a i:hover {
  color: #ecd8d8;
}


.articleimg {
  float: left;
  position: relative;
  width: 320px;
  height: 220px;
  margin-right: 1em;
  margin-bottom: 1em;
  border: thin solid #901214;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  /* Añadido para centrar la imagen */
  justify-content: center;
  /* Añadido para centrar la imagen horizontalmente */
  align-items: center;
  /* Añadido para centrar la imagen verticalmente */
  
}

.articleimg img {
  position: absolute;
  width: 360px;
  height: 360px;
  object-fit: cover;  /* Ajuste para que la imagen cubra completamente el contenedor */
  opacity: 0;
  transform: scale(1); /* Asegura que el estado inicial del transform sea el correcto */
  transition: transform 0.2s ease-in-out, opacity 1s ease-in-out; /* Combina ambas transiciones */
}
.articleimg img.active {
  opacity: 1;
}

.articleimg img:hover {
  transform: scale(1.2); /* Aplica un pequeño cambio de escala para el efecto de hover */
}

.article a[href^="http"]::before {
  content: url('../images/externalLink.png');
  padding-right: 4px;
}

/*--------------------------- 
EXPAND 
------------------------------*/
.article::after{
  position: absolute;
  bottom: 0;
  content: '';
  width: 100%;
  display: block; 
  height: 40px;
  background: linear-gradient(0deg, rgba(81, 0, 6, 1) 0%, rgba(81, 0, 6, 0) 100%);
}

.article-short::after {
  content: none; /* Desactiva el contenido del pseudo-elemento */
}

.expand-toggle {
  display: none;
}

.expand-toggle:checked + .article {
  height: auto;
}

.expand-toggle:checked + .article::after {
  visibility: hidden;
}

.expand-label {
  display: block;
  height: 20px; /* Aumentamos la altura para mejorar la interactividad en móviles */
  z-index: 100;
  text-align: center;
  font-size: larger;
  color: #ecd8d8;
  cursor: pointer;
  margin-top: 5px;
  /* margin-bottom: 1.2em; */
  user-select: none;
  border-top: thin solid #901214;
  line-height: 40px; /* Alineamos el texto verticalmente */
  position: relative;
  /* border: thin solid white; */
}

.expand-label::after {
  content: '';
  display: inline-block;
  transition: transform 0.3s ease;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 8px solid #901214;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  left: 50%;
  margin-left: -10px; /* Centrar la flecha */
}

.expand-toggle:checked + .article + .expand-label::after {
  transform: translateY(-50%) rotate(180deg);
  border-top: 8px solid #ffffff;
}

.expand-label:hover::after {
  border-top: 8px solid #ffffff;
}

/*--------------------------- 
TOOLTIPS
------------------------------*/

.tooltiptext {
  /* display: inline-block; */
  position: relative;
  font-weight: 800;
  cursor: pointer;
  color: #e43336;
}

.tooltiptext i {
  font-weight: 800;
  color: #e43336;
}

.tooltiptext:hover {
  color: #ecd8d8;
}

.tooltiptext i:hover{
  color: #ecd8d8;
}

  /* Estilos para el tooltip */
  .tooltip {
    position: fixed;
    z-index: 100;
    border: #ecd8d8 solid 1px;
    background-color: #901214;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    -webkit-box-shadow: 0px 3px 10px -1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 3px 10px -1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 3px 10px -1px rgba(0, 0, 0, 0.75);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    transform: translate(-50%, -108%);
  }

  .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
  }

  /* Estilos para la imagen dentro del tooltip */
  .tooltip img {
    /* width: 200px; */
    border-radius: 10px;
  }

/*--------------------------------------------------------------
 GALLERY STYLES
========================================================================== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 1.25em 0;
  /* border: thin solid red; */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-item {
  flex: 1 1 calc(50% - 10px);
  /* flex: 0 0 calc(33.333% - 0.67rem); */ /* Para mantener 3 columnas */
  position: relative;
  cursor: pointer;
  border: thin solid #901214;
	border-radius: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.gallery-item.large {
	grid-row: span 2;
	grid-column: 1;
	aspect-ratio: unset;
	height: 100%;
}

.gallery-item:hover {
  border: thin solid #ecd8d8;
  transform: scale(1.02);
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-item img, .gallery-item iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease, opacity 0.5s ease;
}

.gallery-item iframe {
  aspect-ratio: 4/3;
}


.gallery-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding-bottom: 0.5rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	background: linear-gradient(transparent, rgba(81, 0, 6, 0.8));
	color: white;
}

.gallery-caption h2 {
	margin: 0;
  margin-bottom: 0.1em;
	font-family: 'Roboto Flex', sans-serif;
	font-size: 1em;
	font-weight: 300;
	letter-spacing: 0.05em;
  line-height: 1em;
	text-shadow: 0px 1px 4px rgba(0,0,0,0.95);
}

.caption {
  display: none;
}

/* Gallery Controls */
.gallery-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  padding: 1em 1em 0 1em;
  border-radius: 4px;
  font-family: "Roboto Flex", sans-serif;
  font-size: 0.8em;
}

.gallery-controls label {
  color: white;
  margin-right: 1em;
}

.gallery-controls select {
  padding: 0.5em;
  border: 1px solid #e43336;
  border-radius: 4px;
  background: #510006;
  color: white;
  cursor: pointer;
}

.gallery-controls select:hover {
  background-color: rgba(228, 51, 54, 0.2);
}

.gallery-controls select:focus {
  outline: none;
  border-color: #e43336;
  box-shadow: 0 0 5px rgba(228, 51, 54, 0.5);
}

@media (max-width: 1024px) {
	.gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.gallery-item.large {
		grid-column: 1;
		grid-row: span 2;
		aspect-ratio: unset;
	}

	.gallery-caption h2 {
		font-size: 1.25em;
    line-height: 1em;
	}
}

@media (max-width: 640px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.gallery-item.large {
		grid-column: 1;
		grid-row: span 2;
		aspect-ratio: unset;
	}

	.gallery-caption h2 {
		font-size: 1.1rem;
	}
}

@media (min-width: 1024px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-caption h2 {
    font-size: 1.5rem;
    line-height: 1em;
  }
}

.video-container {
  width: 100%;
  max-width: 800px;
  margin: 1em auto;
  border: thin solid #901214;
  border-radius: 10px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  display: block;
}


/*--------------------------------------------------------------
	LIGHTBOX GALLERY
--------------------------------------------------------------*/

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__content {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding-top: 40px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  overflow: auto;
  height: 100%;
  /* border: thin solid rgb(0, 255, 98); */
}

.lightbox__content.vertical {
  flex-direction: column;
}

@media screen and (min-width: 1024px) {
  .lightbox__content.vertical {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    padding-right: 0px;
    /* border: thin solid rgb(0, 255, 98); */
  }

  .lightbox__content.vertical .lightbox__image-container {
    /* flex: 1; */
    max-width: calc(100% - 340px);
    padding: 0 40px;
    /* border: thin solid rgb(198, 218, 20); */
  }
  .lightbox__content.vertical .lightbox__caption {
    width: 320px;
    padding: 0;
    margin: 0;
    text-align: left;
    /* border: thin solid rgb(0, 255, 98); */
  }
}

.lightbox.active .lightbox__content {
  transform: scale(1);
}

.lightbox__image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
  padding: 10px 30px;
  /* border: thin solid rgb(18, 211, 185); */
}
.lightbox__image-container2 {
  font-family: "Roboto Flex", sans-serif;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}

.lightbox__close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
  z-index: 1000;
  color: white;
  font-size: 40px;
  font-weight: 500;
  line-height: 30px;
  background: none;
  border: none;
  padding: 0;
}

.lightbox__close-btn:hover {
  opacity: 0.5;
}

.lightbox__nav-left,
.lightbox__nav-right {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 100%;
  transform: translateY(-50%);
  font-size: 40px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
  z-index: 5;
  color: white;
  opacity: 1;
  background: none;
  border: none;
  padding: 0;
}

.lightbox__nav-left {
  left: -25px;
}

.lightbox__nav-right {
  right: -25px;
}

.lightbox__nav-left:hover,
.lightbox__nav-right:hover {
  opacity: 0.5;
}

.lightbox__image {
  position: relative;
  display: block;
  max-height: calc(90vh - 40px);
  max-width: calc(100% - 20px);
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid #f80c0c;
}

.lightbox__close {
  display: none;
}

.lightbox__caption {
  color: #fff;
  padding: 0 1.5rem 0 1.5rem ;
  text-align: center;
  font-family: 'Roboto Flex', sans-serif;
  /* border: thin solid rgb(198, 211, 18); */
  height: auto;
}

.lightbox__caption h1 {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 1rem;
  color: #fff;
}

.lightbox__caption p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ecd8d8;
  margin-bottom: 0.5rem;
}

.lightbox__caption p:last-child {
  margin-bottom: 0;
}

.lightbox__caption i {
  font-weight: 500;
}

.lightbox__caption b {
  font-weight: 500;
}

.lightbox__caption a {
  text-decoration: none;
  font-weight: 600;
  color: #e43336;
}

.lightbox__caption a:hover {
  color: #ecd8d8;
}

.lightbox__caption a i {
  text-decoration: none;
  font-weight: 600;
  color: #e43336;
}

.lightbox__caption a i:hover {
  color: #ecd8d8;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
  /* Compensar el ancho de la barra de scroll */
  /* padding-right: 17px;  */
}

.lightbox__caption p a[href^="index.html#"]{
font-weight: 400;
}

.lightbox__caption p a.no-logo-link {
  font-weight: 400;
  padding-right: 10px;
  }

.lightbox__caption p a[href^="index.html#"]::before {
  display: inline-block;
  content: url('../images/articulo.png');
  padding-right: 8px;
  vertical-align: middle;
}

.lightbox__caption p a.no-logo-link::before {
  display: inline-block;
  content: url('../images/imagen-ico.png');
  padding-right: 8px;
  vertical-align: middle;
}

.lightbox__caption p a[href]::after {
  display: inline-block;
  content: url('../images/externalLink.png');
  padding-left: 5px;
  vertical-align: middle;
}

.lightbox__caption p a.no-logo-link::after {
  content: none;
}

.lightbox__caption p a.old-version-link {
  font-weight: 400;
  padding-right: 10px;
}

.lightbox__caption p a.old-version-link::before {
  display: inline-block;
  content: url('../images/imagen-ico.png');
  padding-right: 8px;
  vertical-align: middle;
}

.lightbox__caption p a.old-version-link::after {
  content: none;
}

.lightbox__caption p a.original-version-link {
  font-weight: 400;
  padding-right: 10px;
}

.lightbox__caption p a.original-version-link::before {
  display: inline-block;
  content: url('../images/imagen-ico.png');
  padding-right: 8px;
  vertical-align: middle;
}

.lightbox__caption p a.original-version-link::after {
  content: none;
}

/*--------------------------------------------------------------
	FOOTER
--------------------------------------------------------------*/

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #510006;
  box-shadow: 0px -5px 5px 0px rgba(0, 0, 0, 0.35);
  z-index: 100;
}

footer article {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
  flex-wrap: nowrap;
  padding: 1em 2em;
}

footer .icons {
  display: inline-block;
  text-wrap: nowrap;
}

footer p {
  margin: auto;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 100;
  font-size: 1em;
  padding: 0 3em;
  line-height: 1.2em;

}

footer p a {
  font-weight: 100;
  color: #ecd8d8;
}

footer p a:hover {
  font-weight: 400;
  color: #ffffff;
}

footer img {
  display: inline-flex;
  height: 1.75em;
  opacity: 0.5;
}

footer img:hover {
  opacity: 1;
}

/*--------------------------------------------------------------
	MEDIA
--------------------------------------------------------------*/


@media only screen and (min-width: 1024px) {

  .main-content {
    width: 70%;
  }

  header {
    width: 70%;
    margin: auto;
  }
  .logo h1 {
    font-weight: 100;
    font-size: 1.6em;
  }

}

@media only screen and (max-width: 760px) {

  .article{
    height: 303px;
  }

  .article-short {
    height: auto;
  }

  .article-short::after {
    content: none; /* Desactiva el contenido del pseudo-elemento */
  }

  .articleimg {
    width: 220px;
    height: 220px;
  }

  .articleimg img {
    width: 300px;
    height: auto;
  }
}

@media only screen and (max-width: 600px) {

  body {
    min-width: 408px;
    width: 100%;
    margin: auto;
  }

  header {
    background-color: none;
    width: 100%;
    padding: 2em 0 1em 0;
    /* border: thin solid #e9dddd ; */
  }

  .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: space-between; */
  }

  .logo h1 {
    font-size: 1.1em;
    /* border: thin solid rgb(9, 255, 0); */
  }


  .main-content {
    width: 90%;
  }

  .article {
    height: 500px;
  }

  .article-short {
    height: auto;
  }

  .article-short::after {
    content: none; /* Desactiva el contenido del pseudo-elemento */
  }

  .articleimg {
    width: 100%;
    height: 240px;

  }

  .articleimg img {
    width: 100%;
  }

  footer {
    /* margin-left: -5%; */
    min-width: 408px;
    width: 100%;
    padding: 0 1em;
  }

  footer img {
    height: 1.25em;
  }

  footer p {
    font-size: 0.8em;
    padding: 0 0.5em;
  }

  footer article {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    /* flex-wrap: nowrap; */
    padding: 1em 0em;
  }

  .hide {
    display: none;
  }

}



