@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
:root {
  --primary: #111;
  --secondary: #a6d1e6;
  --bg: #f0f8ff;
  --border: #aaa;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}
/* font-family: 'BioRhyme', serif;
font-family: 'Cormorant', serif;
font-family: 'League Spartan', sans-serif; */
#banner {
  position: relative;
}
.banner > img {
  width: 100%;
  height: 30rem;
  filter: blur(1px);
}
#nav {
  padding: 0 1rem;
  width: 100%;
  height: 3rem;
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translate(-50%, -50%);
  color: azure;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav > h1 {
  font-size: xx-large;
  font-weight: 300;
  font-family: "BioRhyme", serif;
}
.nav {
  background-color: #135085ad;
  border-bottom: 2px solid #ebab3d;
}
section {
  padding: 40px 30px;
}
.news {
  text-align: center;
}
.news .titletext {
  text-align: center;
  font-size: 2em;
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.news .titletext span {
  color: var(--secondary);
}
.news .titletext button {
  margin-left: 1rem;
  font-family: "League Spartan", sans-serif;
  font-size: 1rem;
  color: azure;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 1rem;
  background-image: linear-gradient(
    to right,
    rgba(36, 34, 34, 0.848),
    rgba(28, 49, 165, 0.792)
  );
  cursor: pointer;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-block: 2rem;
  gap: 2rem;
  background: var(--bg);
  border-radius: 20px;
  padding: 50px 0px;
}

img {
  max-width: 100%;
  object-fit: cover;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(20rem, calc(20rem + 2vw), 22rem);
  overflow: hidden;
  box-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 1em;
  background: #fff;
  cursor: pointer;
}

.card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tag {
  align-self: flex-start;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  font-size: 0.75rem;
  background: var(--secondary);
  color: #fff;
}

.tag + .tag {
  margin-left: 0.5em;
}

.card__body h4 {
  font-size: 1.5rem;
  text-transform: capitalize;
}

.footer {
  margin-top: 20px;
  text-align: center;
  padding: 10px;
  background-color: #135085ad;
  color: white;
}
