/******************************/
/*****************************/
@font-face {
  font-family: "Elza";
  src: url(fonnts.com-Elza_Bold.otf);
  font-weight: bold;
  font-style: bold;
}
* {
  box-sizing: border-box;
  font-family: "Elza";
}

body {
  margin: 0;
  padding: 0%;
}

header {
  width: 100%;
  height: auto;
  padding: 0;
  text-align: center;
  overflow: hidden;
}

nav {
  background-color: black;
  color: black;
  width: 100%;
}

aside {
  width: 100%;
  height: 600px;
  background-color: #b0a89f;
  padding: 0px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

section {
  display: flex;
  flex-direction: column;
  width: 80%;
  padding: 0px;
  margin: 0px;
  gap: 20px;
}

article {
  padding: 15px;
}

footer {
  background-color: #9a997c;
  color: #000000;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}

main {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #9a997c;
  gap: 50px;
  flex-wrap: nowrap;
  max-width: 100%;
  max-height: 100%;
}
/******************************/
/*****************************/

/***** barra de navegacion *******/
/***** barra de navegacion *******/
nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
  justify-content: center;
  gap: 80px;
}

nav ul li a {
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  color: white;
}

nav ul li a:hover {
  background-color: #ccc;
  color: #000000;
  border-radius: 3px;
}
/***** barra de navegacion *******/
/***** barra de navegacion *******/

/***************CLASES PARA LOS ASIDES****************/
/***************CLASES PARA LOS ASIDES****************/
.aside-izqui-derecho {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 20%;
}

.div-aside-indi {
  width: 100%;
  height: 100%;
}
/***************CLASES PARA LOS ASIDES****************/
/***************CLASES PARA LOS ASIDES****************/

/***************CLASES PARA EL BANNER****************/
/***************CLASES PARA EL BANNER****************/
.banner-track {
  display: flex;
  height: auto;
  animation: scrollBanner 30s linear infinite;
}

.banner-track img {
  width: 1280px;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border-radius: 0%;
}
.banner-track img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
.banner-container:hover .banner-track {
  animation-play-state: paused;
}
/***************CLASES PARA EL BANNER****************/
/***************CLASES PARA EL BANNER****************/


p {
  text-align: justify;
}


/*****PARA EL OVERLAY QUE CUBRIRA LAS IMAGENES*******/
/*****PARA EL OVERLAY QUE CUBRIRA LAS IMAGENES*******/
.elemento-galeria {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.elemento-galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.overlay-cubrir {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.25s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.elemento-galeria:hover .overlay-cubrir {
  height: 40%;
}

.texto {
  color: white;
  font-size: 18px;
  position: absolute;
  top: 50%;
  /* Centra el texto verticalmente */
  left: 50%;
  /* Centra el texto horizontalmente */
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0px;
  box-sizing: border-box;
  margin: auto;
}
/*****PARA EL OVERLAY QUE CUBRIRA LAS IMAGENES*******/
/*****PARA EL OVERLAY QUE CUBRIRA LAS IMAGENES******/

/****************************CONTENEDORES*******************************/
/****************************CONTENEDORES*******************************/
.contenedor-articulo-2 {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.contenedor-intro {
  gap: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
/****************************CONTENEDORES*******************************/
/****************************CONTENEDORES******************************/

/****************************CONTENEDORES DE IMAGENES*******************************/
/****************************CONTENEDORES DE IMAGENES******************************/
.alex-grande {
  border-radius: 10px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.inicio-img {
  text-align: center;
  width: 100%;
  background-size: cover;
  background-position: center;
  height: 600px;
  background-repeat: no-repeat;
  border-radius: 6px;
}

.contenedor-img {
  display: flex;
  flex-direction: row;
  flex: 1;
}

/****************************CONTENEDORES DE IMAGENES*******************************/
/****************************CONTENEDORES DE IMAGENES******************************/

/****************************MEDIA QUERYS*******************************/
/****************************MEDIA QUERYS******************************/
@media (max-width: 700px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    padding: 10px;
    border-top: 1px solid #333;
    width: 100%;
  }
}
/****************************MEDIA QUERYS*********************************/
/****************************MEDIA QUERYS********************************/

/****************************MEDIA QUERYS1*******************************/
/****************************MEDIA QUERYS1******************************/
@media screen and (max-width: 768px) {
  aside {
    display: none;
    width: 0;
    height: 0;
  }

  main {
    background-color: #9a997c;
  }

  .alex-grande {
    display: none;
  }

  .contenedor-img {
    display: none;
  }

  footer {
    background-color: #9a997c;
    color: #000000;
  }
  section
  {
    width: 100%;
  }
  article
  {
    width: 100%;
  }

   main {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 0px;
  }

  nav ul li a
  {
    padding: 10px 0px;
  }
}
/****************************MEDIA QUERYS1*******************************/
/****************************MEDIA QUERYS1******************************/

/****************************MEDIA QUERYS-X***********************************/
/****************************MEDIA QUERYS-X**********************************/

@media screen and (max-width: 1500px) {
  .contenedor-img {
    display: none;
  }
}
/****************************MEDIA QUERYS-X***********************************/
/****************************MEDIA QUERYS-X**********************************/


/****************************MEDIA QUERYS PARA EL BANNER***********************************/
/****************************MEDIA QUERYS PARA EL BANNER**********************************/
@keyframes scrollBanner {
  0% {
    transform: translate(0);
  }

  100% {
    transform: translateX(calc(-10 * 800px));
  }
}

@media screen and (max-width: 768px) {
  .banner-container {
    height: 150px;
    width: 95%;
  }

  .banner-track img {
    width: 100%;
    height: 150px;
  }

  .banner-track {
    width: calc(9 * 400px);
  }

  @keyframes scrollBanner {
    100% {
      transform: translateX(calc(-10 * 400px));
    }
  }
}

@media (max-width: 480px) {
  .banner-container {
    height: 120px;
  }

  .banner-track img {
    width: 300px;
  }

  .banner-track {
    width: calc(-10 * 300px);
  }

  @keyframes scrollBanner {
    100% {
      transform: translateX(calc(-10 * 300px));
    }
  }
}
/****************************MEDIA QUERYS PARA EL BANNER***********************************/

/****************************MEDIA QUERYS PARA EL BANNER**********************************/
