@font-face {
  font-family: 'Karla';
  src: url('Karla-Regular.ttf');
}

body {
  margin: 0; 
  padding: 0; 
}


/* RESPONSIVE*/ 


.marquesina {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px; 
  background-color: #97D121; 
  width: 100%;

}

.marquesina p {
  text-align: center; 
  font-family: 'Karla', sans-serif;
  font-size: 20px;
  margin: 0; 
}

.marquesina a {
  text-decoration: none; 
  color: inherit; 
}
#logo {
  height: 30px;
  margin-left: 10px;
  display: block;
  float: left;
  padding: 23px;
  color: #000000;
}

/* BARRA DE NAVEGACION */
.navbar {
  display: none;
  background-color: #f3f3f3;
  overflow: hidden;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #fff;
  font-size: 24px;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 3px 0;
}

.menu {
  display: none;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.95);
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
}

.menu li {
  margin: 10px;
}

.menu a {
  font-family: 'Karla';
  text-decoration: none;
  color: #fff;
  font-size: 38px;
}


/*TRADUCTOR */
.goog-te-gadget {
  display: none; 
}


.goog-te-menu2-item {
  display: none;
}


.goog-te-menu2-item:nth-child(2) {
  display: block; 
  padding: 5px;
  font-family: 'Karla';  
}

/* Estilos para el enlace "Mostrar original" (puedes personalizarlos según tus necesidades) */
.goog-te-menu2-item-selected {
  background-color: #97D121;
  color: #fff !important;
  font-weight: bold;
}


/* BARRA DE NAVEGACION */

nav {
  width: 100%;
  overflow: hidden;
  height: auto;
  display: flex;
  justify-content: space-between;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  color: var(--text); 
  background-color: #F3F3F3;
}
#menuNav {
  overflow: hidden;  
  display: flex;
  background-color: #F3F3F3;
  list-style: none;
  justify-content: space-around;
  align-items: center;
}
.nav-item {
  min-width: 2rem;
  text-align: center;
  padding: 1rem;
  list-style-type: none;
  font-family: 'Karla';  
  font-size: 1.25rem;
  text-decoration: none;
}

.nav-item a {
  text-decoration: none; 
  color: inherit; 
}

.navIcon {
  color: var(--text);
}
/**** BODYYY ***/

/* SECTION 1 */
.blog-1 {
    background-color: #F3F3F3;
  overflow: hidden;
  height: 800px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-blog {
  display: flex;
}

.article1 {
  position: relative;
  margin: 10px;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
}

.image-wrapper img {
  width: 675px;
  height: 506px;
  transition: transform 0.3s;
}

.overlay {
  position: absolute;
  top: -100px; /* Posiciona el overlay por encima del contenedor de la imagen */
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s, top 0.3s;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}


.image-wrapper:hover + .overlay {
  top: 0; 
  opacity: 1;
}


.overlay h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 16px;
  margin-bottom: 10px;
}

.overlay button {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
}

.title-article {
  margin-top: 0;
  font-size: 100px;
  font-family: 'Karla';
  padding-left: 30px;
}

/* SECTION2 */
.blog-2 {
  height: auto; 
  background-color: #F3F3F3;
  overflow: hidden;
  width: 100%; 
  }

.article-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  padding-left: 30px;

}

.articles-catalog{
  position: relative;
  height: auto;
  width: calc(25% - 20px);
  margin: 10px 10px 80px 10px; 
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}

.articles-catalog img {
  height: 100%;
  width: 100%;
  transition: filter 0.2s;
}

.articles-catalog img::hover {
  background-color: rgba(151, 209, 33, 0.3); 
}

.nombre-autor{
  margin-top: 10px;
  font-family: 'Karla'; 
   align-self: flex-start;
  font-size: 20px;
  }

  .button-article{
  background-color: transparent;
  font-size: 16px;
  border: none;
  cursor: pointer;
  color: #000000;
  font-family: 'Karla';
  align-self: flex-start;
  text-align: left;
  padding: 0;
  margin: 0;
  margin-top: 10px;
  }

  .button-article:hover{
    color: #97D121;
  }

  .overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 62px);
    background-color: #95BE44; /* Color del filtro */
    mix-blend-mode: color; /* Modo de mezcla para aplicar el color */
    opacity: 0; /* Hacer que la capa sea inicialmente transparente */
    transition: opacity 0.3s ease; /* Transición suave para la opacidad */
  }

  .articles-catalog:hover .overlay {
    opacity: 0.5; /* Hacer que la capa sea visible al hacer hover */
  }


/* FOOTER */
#pie {
  width:100%;
  margin: auto;
  background-color: #000;
  color: var(--text);
   margin-left: 0;
}

.sec-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-right: 20px;
}

.content-right {
  display: flex;
  align-items: center;
}

.logofooter {
  padding: 30px;
  width: 420px;
}

.logofooter_vertical {
  display : none;
}

.parr-foot {
  font-family: 'Karla';
  font-size: 36px;
  margin: 0;
  margin: right 40px;
  color: #fff;
}

input[type='email'] {
  padding: 5px;
  border-radius: 5px;
  margin: 0;
  margin-bottom: 20px;
  margin-left: 40px;
  background-color: transparent;
  font-family: 'Karla';
}

.button-enviar {
  font-family: 'Karla';
  width: 131px;
  height: 35px;
  border-radius: 50px;
  color: #97D121;
  border: 1px solid #97D121;
  gap: 16px;
  margin-left: 20px;
  background: none;
  cursor: pointer;
}

.button-enviar:hover {
  background-color: #97D121;
  color: #fff;
}
.button-contact {
  width: 20%;
  margin-right: 40%;
  height: 50px;
  font-family: 'Karla';
  font-size: 20px;
  border-radius: 50px;
  color: white;
  border: 2px solid white;
  gap: 16px;

  background: none;
  cursor: pointer;
  
}

.button-contact:hover {
  background-color: white;
  color: #97D121;
}
.sec-foot2 {
  width: 100%;
  margin: auto;
  height: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 40px;
}

.sec-foot4 {
  width: 100%;
  margin: auto;
  background-color: #000;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sec-foot5{
  width: 100%;
  height: 200px;
  margin: auto;
  background-color: #97D121;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sec-foot6{
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.parraf-foo {
  font-size: 16px;
  color: #fff;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logos2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo-footer {
  width: 34px;
  height: 34px;
  margin-right: 20px;
}

.logo-footer:hover {
  width: 40px;
  height: 40px;

}
.logo-footer2-madrid {
  width: 220px;
  height: 90px;
  margin-right: 20px;
}
.logo-footer2 {
  width: 220px;
  height: 24px;
  margin-right: 20px;
}
