@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background: #f8fafc;
}

.logo{
    color: white;
    font-size: 25px;
    font-weight: bold;
}
nav{
    background-color:#2563eb;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    align-items: center;
    width: 100vw;
    height: auto;
    border-bottom: 1px solid #ccc;
    top: 0px;
    position: sticky;
    z-index: 1;
}

.search{
    padding: 5px;
    height:40px;
    width: 400px;
    border-radius: 30px;
    border: 2px solid #2563eb;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0px 10px 0px;
  font-size: 0.98rem;
  color: #555;
  gap: 10px;
}
.card-source {
  background: #e0e7ff;
  color: #3730a3;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 8px;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}
.card-date {
  color: #64748b;
  font-size: 0.97rem;
  font-weight: 500;
  background: #f1f5fb;
  border-radius: 8px;
  padding: 3px 10px;
}
.cart{
    width: 390px;
    height: max(460px);
    border: 1px solid #ccc;
    margin: 10px;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 32px rgba(37, 99, 235, 0.10), 0 1.5px 6px rgba(0,0,0,0.06);
}
#news-container{

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.viewmore{
    color: white;
    background-color: #2563eb;
    padding: 5px;
    border-radius: 30px;
    width: 100px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease-in;
}
.viewmore:hover{
    background:  #244ac5;
    box-shadow: 0 4px 16px rgba(37,99,235,0.16);
    transform: scale(1.04);
}
