
.logo img{
height:130px;
width:auto;
display:block;
}
.light{
background:white;
color:black;
}
body{
background:#0f1117;
color:white;
overflow-x:hidden;
}
*{
max-width:100%;
}
html, body{
width:100%;
overflow-x:hidden;
}
.card-content{
padding:15px;
min-height:120px;
}
.card img{
width:100%;
height:350px;
object-fit:cover;
}
.card-content{
word-wrap:break-word;
overflow-wrap:break-word;
}
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#0f1117;
color:white;
}

/* TOP BAR */

.topbar{
background:#111827;
padding:8px;
text-align:center;
font-size:14px;
border-bottom:1px solid #222;
}

/* HEADER */

header{
background:#0b1220;
padding:20px;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
}

.logo{
font-size:34px;
font-weight:bold;
color:#4ea1ff;
}

.logo span{
color:white;
}

.search-box input{
padding:10px;
width:250px;
border:none;
border-radius:5px;
}

.search-box button{
padding:10px 15px;
background:#4ea1ff;
color:white;
border:none;
cursor:pointer;
border-radius:5px;
}

/* NAVIGATION */

nav{
background:#111827;
display:flex;
justify-content:center;
flex-wrap:wrap;
}

nav a{
color:white;
text-decoration:none;
padding:15px 20px;
font-weight:bold;
}

nav a:hover{
background:#1e293b;
}

/* HERO SECTION */

.hero{
height:420px;
background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
url("https://media.istockphoto.com/id/530741074/photo/red-fort-lal-qila-with-indian-flag-delhi-india.jpg?s=612x612&w=0&k=20&c=7BTI-dgQNPPTq2yARrwIBf2yIqO4PUPX1EJY5ITIyoM=");
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:20px;
}

.hero-content h1{
font-size:55px;
margin-bottom:15px;
}

.hero-content p{
font-size:20px;
margin-bottom:20px;
}

.hero-content button{
padding:14px 25px;
background:#4ea1ff;
border:none;
color:white;
font-size:16px;
cursor:pointer;
border-radius:6px;
}

/* BREAKING NEWS */

.breaking{
background:#d90429;
padding:12px;
font-weight:bold;
text-align:center;
}

/* MAIN */

.container{
width:90%;
max-width:1300px;
margin:auto;
padding:30px 0;
}

/* SECTION TITLE */

.section-title{
font-size:32px;
margin-bottom:25px;
border-left:5px solid #4ea1ff;
padding-left:12px;
}

/* GRID */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

/* CARDS */

.card{
background:#161b22;
border-radius:12px;
overflow:hidden;
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
}

.card img{
width:100%;
height:250px;
object-fit:cover;
}

.card-content{
padding:15px;
}

.card-content h3{
margin-bottom:10px;
}

.card-content p{
color:#c7c7c7;
line-height:1.6;
}

/* CATEGORY */

.categories{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:15px;
margin-top:20px;
}

.category-box{
background:#1d2430;
padding:25px;
text-align:center;
border-radius:10px;
font-size:18px;
font-weight:bold;
cursor:pointer;
}

.category-box:hover{
background:#4ea1ff;
}

/* FOOTER */

footer{
background:#0b1220;
padding:40px 20px;
margin-top:50px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.footer-title{
font-size:22px;
margin-bottom:15px;
color:#4ea1ff;
}

footer p{
line-height:1.8;
color:#d0d0d0;
}

.copyright{
margin-top:30px;
text-align:center;
border-top:1px solid #222;
padding-top:20px;
}

/* MOBILE */
#clock{
font-size:14px;
color:#ccc;
margin-top:5px;
}

@media(max-width:768px){

.logo{
font-size:26px;
}

.hero-content h1{
font-size:35px;
}

.hero{
height:350px;
}

.search-box{
margin-top:15px;
}

.search-box input{
width:180px;
}

}
h1{
  text-align:center;
  padding:20px;
}
.card h2{
  color:#00ffcc;
}