@import url("https://fonts.googleapis.com/css2?family=Raleway&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#imagenes {
  display: none;
}
.nContainer {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 20% 80%;
  height: 30vh;
  position: relative;
}
.noticias {
  position: relative;
  display: flex;
  /* min-width: calc(100%/3); */
  overflow-x: auto;
  scrollbar-width: none;
  /* height: 100%; */
}
.noticias::-webkit-scrollbar {
  display: none;
}
.noticia {
  position: relative;
  overflow: hidden;
  min-width: calc(100% / 3);
  height: 100%;
}
.nImg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  object-fit: fill;
  filter: brightness(0.4);
  transition: 0.5s;
}
.noticia:hover .nImg {
  filter: brightness(1) blur(5px);
  opacity: 1;
  /* transform: scale(1.1); */
}
.noticia:hover .nDes {
  bottom: 0%;
}
.noticia:hover .nTitle {
  width: 120%;
  top: -100%;
  left: 300px;
  transition: 0.5s ease-in-out;
}

/*.nPlus {
  position: absolute;
	display: block;
  top: 5%;
  right: 7%;
	width: 32px;
	height: 32px;
	  border-radius: 100px;
	text-align: center;
  cursor: pointer;
  z-index: 5;
	transition: .5s ease-in-out;
	font-size: 6.6rem;
}*/

.nPlus,
.nPlus a {
  position: absolute;
  display: block;
  top: 5%;
  right: 7%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: lighter;
  text-align: center;
  cursor: pointer;
  z-index: 5;
  transition: 0.5s ease-in-out;
  font-size: 6.6rem;
  line-height: 24px;
  text-decoration: none;
  color: #ffc500;
  padding: 3px 0 0 0;
}
.noticia:hover .nPlus {
  position: absolute;
  display: block;
  top: 5%;
  right: 7%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  z-index: 5;

  transition: 0.5s ease-in-out;
}

/*.nPlus > a {
	  position: absolute;
	
	display: block;
	border-radius: 100px;
	width: 32px;
	height: 32px;
	  
  text-decoration: none;
  color: #ffc500;
  
  font-size: 6.6rem;
	
}*/

.noticia:hover .nPlus a {
  display: block;
  border-radius: 100px;
  width: 32px;
  height: 32px;
  text-decoration: none;
  color: #fff;
  background: #ffc501;
}
.nTitle {
  max-height: 50%;
  max-width: 80%;
  position: absolute;
  top: 40%;
  left: 15%;
  text-align: left;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  font-family: "Raleway", sans-serif;
  transition: 0.5s;
  line-height: 16px;
  text-transform: uppercase;
}
.nDate {
  font-weight: bolder;
  line-height: 2rem;
  position: absolute;
  bottom: 30%;
  right: 20%;
  max-width: 80%;
  max-height: 20%;
  text-align: right;
  font-size: 1rem;
  color: #fff;
  font-family: "Raleway", sans-serif;
}
.nRead {
  font-weight: 600;
  position: absolute;
  bottom: 10%;
  right: 5%;
  padding: 0.5rem 1rem;
  background: #ffc500;
  text-decoration: none;
  color: #000;
  font-family: "Raleway", sans-serif;
  z-index: 5;
  transition: 0.5s ease-in-out;
  border-radius: 15px;
}
.noticia:hover .nRead {
  transition: 0.5s ease-in-out;
}
.nRead:hover {
  font-weight: bolder;
  position: absolute;
  bottom: 10%;
  right: 5%;
  padding: 0.5rem 1rem;
  background: #041f3c;
  text-decoration: none;
  color: #fff;
  font-family: "Raleway", sans-serif;
  z-index: 5;
  transition: 0s;

  /* box-shadow: 6px 6px 26px 1px rgba(0,0,0,0.75);*/
}

.nDes {
  position: absolute;
  bottom: -100%;
  z-index: 1;
  background: rgba(223, 173, 0, 0.7);
  height: 100%;
  transition: 0.5s;
}

.nDes > p {
  font-family: "Raleway", sans-serif;
  color: #fff;
  padding: 3rem 1.5rem 1rem 1.5rem;
  text-align: justify;
  font-size: 1.3rem;
  width: 100%;
  height: 80%;
  overflow: hidden;
  margin-top: 0px;
  transition: 1s ease-in-out;
}
.noticia:hover .nDes > p {
  margin-top: -15px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.91);
  transition: 1s ease-in-out;
}
.rArrow,
.lArrow {
  position: absolute;
  font-size: 3rem;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  z-index: 5;
  cursor: pointer;
  top: 40%;
}

.lArrow {
  left: 20%;
}
.rArrow {
  right: 0%;
}
.rArrow > svg,
.lArrow > svg {
  stroke: #ffffff;
  width: 4rem;
  height: 5rem;
}

.preN {
  display: flex;
  flex-direction: column;
}
.moreTn {
  width: 80%;
  margin: 17% auto 0 auto;
  text-align: right;
  width: 80%;
}
.moreTn > h3 {
  font-size: 2.8rem;
  font-family: "Raleway", sans-serif;
  font-weight: bolder;
  text-transform: uppercase;
  line-height: 10px;
}
.moreTn > a {
  text-decoration: none;
  font-style: oblique;
  font-size: 1.5rem;
  font-family: "Raleway", sans-serif;
}
.hexagono {
  margin-top: 10px;
}
.hexagono > svg {
  position: absolute;
  left: 12%;
  width: 4rem;
  height: 4rem;
}
.nYellow {
  position: absolute;
  width: 2%;
  height: 40%;
  background: #ffc500;
  top: 30%;
}
.nShadow {
  position: absolute;
  width: 1%;
  height: 100%;
  background: #e4e4e4;
}

.eYellow {
  position: absolute;
  width: 20%;
  height: 5%;
  background: #ffc500;
  bottom: 0;
  transition: 0.7s;
  left: 0px;
}

.noticias :hover .eYellow {
  position: absolute;
  width: 20%;
  height: 5%;
  background: #ffc500;
  bottom: 0;
  left: -100px;
  transition: 0.7s;
}

@media screen and (max-width: 770px) {
  .nContainer {
    grid-template-columns: 100%;
    padding-bottom: 4rem;
    padding-top: 0.5rem;
    margin-bottom: 3rem;
    height: 40vh;
  }
  .preN {
    position: absolute;
    top: -80px;
    padding-bottom: 1rem;
  }
  .hexagono {
    position: absolute;
    top: 18px;
    right: -20px;
  }
  .noticias {
    min-width: calc(100% / 2);
    margin-top: 1rem;
  }
  .noticia {
    min-width: calc(100% / 2);
  }
  .listado {
    height: 30vh;
    /* grid-template-columns: 30% 70%; */
    grid-template-columns: 100%;
  }
  .lArrow {
    left: 1%;
  }
}
@media screen and (max-width: 550px) {
  .noticias {
    min-width: calc(100% / 1);
  }
  .noticia {
    min-width: calc(100% / 1);
  }
  .listado {
    height: 30vh;
    grid-template-columns: 100%;
  }
  /* .info{
    width: 100%;
  } */
  .lArrow {
    left: 1%;
  }
}
