:root {

  --fondo: rgb(254, 206, 26);
  --QABlack: #181A1C;

}

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.container-options {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
}


/*

SOCIAL BARR SECTION

*/

.social-bar {
  position: sticky;
  z-index: 1;
  top: 200px;
  height: 170px;
  margin-right: 30px;
  margin-left: 20px;
  margin-top: 40px;
}

.social-bar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.social-bar li {
  margin-bottom: 5px;
}

.social-bar img {
  width: 40px;
  height: 40px;
}

/*Slider main.php*/

.slider {
  position: relative;
  width: 100%;
  height: 600px;
  /* Ajusta la altura según tus necesidades */
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide .caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}




/*------------------------
--------------------------
--------------------------
Start Matriz Post Section
--------------------------
---------------------------
---------------------------*/


/*start target section*/

.post-list {
  background-color: #181A1C;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
}

.content-list {
  padding: 0;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.post-img-1 {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: .2s;
}

.post-img-1 img {
  height: 100%;
  width: 100%;
}

.post {
  box-shadow: 0 2px 7px 2px rgba(0, 0, 0, .2);
  overflow: hidden;
  transition: .2s;
  border-radius: 2%;
}

.post:hover {
  transform: translate(-4px);
  box-shadow: 0 1px 14px 2px rgba(0, 0, 0, .2);
}

.post-header {
  width: 100%;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
}

.post-body {
  background-color: #181A17;
  border-width: 1px;
  border-radius: 20px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  color: rgb(254, 206, 26);
  padding: 15px;
  text-align: center;
}

.post-body span {

  display: inline-block;
  color: #999;
  margin-bottom: 10px;

}

.post-body h2 {

  font-size: 20px;
  line-height: 20px;
  margin-bottom: 15px;
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;

}

.post-body p {

  line-height: 1.5;
  margin-bottom: 20px;
  color: white;
  font-size: 17px;

}

.post-body .post-link {

  display: block;
  text-decoration: none;
  padding: 10px;
  background: #2b6ebb;
  color: #FFFFFF;
  width: 50%;
  margin: auto;
  margin-top: 20px;
  border-radius: 20px;
  box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, .2);
  transition: .2s;

}

.post-body .post-link:hover {

  background: #3378c7;
  box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, .2);
  transform: translateY(-2px);
}

.post-text {

  width: 100%;
  display: flex;
  margin: 0;
  padding: 0;
  max-height: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  text-align: justify;

}


/*start target section*/

/*------------------------
--------------------------
--------------------------
End Matriz Post Section
--------------------------
---------------------------
---------------------------*/



/*Foter********************************************************************/
.footer {
  background: #181A1C;
  text-align: center;
  height: 30px;
  margin-top:-10px ;
}

.footer>p {
  color: #fff;
  margin: 5px;
}

.footer a {
  color: #FECE1A;
}

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
}

.scrollup {
  content: "/imagenes/Iconos Redes/Icono LinkedIn.png";
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  width: 39px;
  height: 39px;
  border-radius: 5px;
  font-size: 20px;
  position: fixed;
  bottom: 30px;
  right: 20px;
  border: 1px solid #fff;
  display: none;
  background: #FECE1A;
}

.scrollup>a {
  position: relative;
  top: 7px;
  color: #fff;
}

.hidden {
  display: none;
}

@media screen and (max-width:500px) {
  .social-bar {
    margin-right: 20px;
    margin-left: 5px;
  }
  .social-bar img {
    width: 35px;
    height: 35px;
  }
  
  .footer{
    display: flex;
    height: 23px;
    margin: 0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .footer>p {
    font-size: 10px;
  }
  .post-body h2 {
    font-size: 18px;
  }
}

@media (max-width: 840px) {

  .content-list{

      grid-template-columns: repeat(2, 1fr);

  }
  
}

@media (max-width: 600px) {

  .content-list{

      grid-template-columns: repeat(1, 1fr);

  }

}