html {
  height: 100%;
  width: 100%;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&family=Roboto:wght@300;400;500&display=swap");

* {
  padding: 0px;
  margin: 0 px;
  box-sizing: border-box;
}

:root {
  --primary-text-color: #183b56;
  --secondary-text-color: #696b6d;
  --accent-color: #2294ed;
  --accent-color-dark: #1d69e3;
  --padding-inline-section: 20px;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--primary-text-color);
}

p {
  font-family: "Poppins", sans-serif;
  color: var(--secondary-text-color);
  line-height: 1.4rem;
}

h3,
h5 {
  font-family: "Poppins", sans-serif;
  color: var(--secondary-text-color);
  line-height: 1.4rem;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.flex {
  display: flex;
  align-items: center;
}

.container {
  /* max-width: 1180px; */
  max-width: 95%;
  margin-inline: auto;
  overflow: hidden;
}

.logo {
  width: 180px;
  height: 90px;
}

nav {
  background-color: #edf3f7;
  box-shadow: 0 0 4px #bbd0e2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

.main-nav {
  justify-content: space-between;
  padding: 5px 0px;
}

.nav-link ul {
  gap: 40px;
}

.nav-link-item {
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.nav-link-item:hover {
  color: indianred;
}

.nav-link-item:active {
  color: indianred;
}
main {
  padding-inline: 20px;
  margin-top: 120px;
}
.card-container {
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 20px;
  align-items: start;
}

.card {
  /* width: 400px; */
  width: 370px;
  min-height: 500px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 0 4px #d4ecff;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.5s ease;
}
.card:hover {
  box-shadow: 2px 2px 10px #d1de19;
  background-color: #f5f7da;
  transform: translateY(-4px) translateX(3px);
}
.card-header img {
  height: 150px;
  width: 300px;
  object-fit: cover;

  /* border: #183b56; */
}
.card-content {
  padding: 12px;
}
.news-source {
  margin-block: 12px;
}

.active {
  color: indianred;
}
