@import "../../../styles/_global.module.scss";

.articleDisplay {
  height: 50px;
  margin-left: 25px;
}

.articleDate {
  font-size: 12px;
  line-height: 12px;
}

.articleTitle {
  color: $primaryColor;
}

.articleTitle:hover {
  text-decoration: underline;
}

.cards {
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 6px 5px #00000080;
  border-radius: 24px;
  opacity: 1;
  border-radius: 24px;
  padding: 2px 10px;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  max-width: 100%;
  overflow-y: scroll;
}

.articleTopic {
  font-size: 12px;
  line-height: 12px;
  border-radius: 5px;
  padding: 0.3em 0.8em;
  color: #ffffff;
}

.articleSource {
  font-size: 12px;
  line-height: 12px;
  border-radius: 5px;
  padding: 0.3em 0.8em;
  color: #881818;
}

.pandemicTopic {
  background-color: #165809;
}

.extremeWeatherTopic {
  background-color: #bf372c;
}

.risingTemperaturesTopic {
  background-color: #03185a;
}

.seaLevelRiseTopic {
  background-color: #18a2d4;
}

.coastalEcosystemsTopic {
  background-color: #ca4baf;
}

.energyConsumptionTopic {
  background-color: #6c0d79;
}

.sustainableMaterialsTopic {
  background-color: #b66e02;

}

.recyclingTopic {
  background-color: #be0aff;

}

.greenTechTopic {
  background-color: #e907cb;

}

.citizenScienceTopic {
  background-color: #151616;

}

.CommEngTopic {
  background-color: #01aaff;

}

.noTopic {
  background-color: #000000;
}





.underline {
  border-bottom: 1px solid #a5b5bb;
  text-align: left;
  font: normal normal medium 18px/17px Poppins;
  letter-spacing: 0px;
  line-height: 17px;
  color: #000000;
  opacity: 1;
  padding-bottom: 18px;
  padding-top: 19px;
  padding-left: 10px;
  width: 100%;
  display: block;
  justify-content: space-around;
}

.underline:hover {
  background-color: rgba(194, 191, 191, 0.6);
  transition: 0.4s;
}

.underline:last-of-type {
  border-bottom: none;
  margin-bottom: 30px;
}

.underlineTitle {
  text-align: left;
  font: normal normal bold 20px/24px $fontFamily;
  letter-spacing: .8px;
  color: #bf372c;
  opacity: 1;
  border-bottom: 2px solid #0B3954;
  //width: 100%;
  //font-weight: 500;
  display: block;
}

.noArticles {
  text-align: center;
  font-style: italic;
  font-size: 1.5em;
  opacity: 0.5;
}