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

body {
font-family: Arial, sans-serif;
background: #080d1b;
color: white;
min-height: 100vh;
display: flex;
flex-direction: column;
transition: 0.3s;
}

header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 22px 7%;
}

.brand {
font-size: 25px;
font-weight: bold;
letter-spacing: 2px;
}

.brand span,
.hero h1 span {
color: #36b6ff;
}

#themeBtn {
background: #18243b;
border: none;
padding: 10px;
border-radius: 50%;
cursor: pointer;
}

main {
flex: 1;
}

.hero {
text-align: center;
margin: 95px auto 0;
padding: 20px;
max-width: 750px;
}

.hero h1 {
font-size: clamp(55px, 12vw, 85px);
letter-spacing: 5px;
font-weight: 800;
}

.hero p {
color: #9caac1;
margin: 12px 0 35px;
letter-spacing: 2px;
}

.search-box {
display: flex;
align-items: center;
background: #151f33;
border: 1px solid #34435d;
border-radius: 35px;
padding: 8px 17px;
gap: 12px;
}

.search-box span {
font-size: 25px;
color: #36b6ff;
}

.search-box input {
flex: 1;
min-width: 0;
background: transparent;
border: none;
outline: none;
color: white;
font-size: 15px;
padding: 12px 0;
}

.search-box input::placeholder {
color: #8491a7;
}

#voiceBtn {
border: none;
background: transparent;
font-size: 20px;
cursor: pointer;
}

.search-btn {
margin-top: 25px;
padding: 14px 30px;
border: none;
border-radius: 25px;
background: #168ee5;
color: white;
font-size: 15px;
font-weight: bold;
cursor: pointer;
}

.search-btn:hover {
background: #0874c4;
}

.categories {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
margin-top: 35px;
}

.categories button {
padding: 11px 18px;
background: #151f33;
color: #b7c5da;
border: 1px solid #34435d;
border-radius: 22px;
cursor: pointer;
}

.categories button.active {
background: #168ee5;
color: white;
border-color: #168ee5;
}

.quick-links {
max-width: 650px;
margin: 100px auto 50px;
padding: 20px;
text-align: center;
}

.quick-links h2 {
font-size: 18px;
margin-bottom: 25px;
}

.links {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
}

.links a {
color: #c2d5ec;
background: #151f33;
border: 1px solid #34435d;
padding: 13px 20px;
border-radius: 12px;
text-decoration: none;
}

.links a:hover {
border-color: #36b6ff;
color: #36b6ff;
}

footer {
text-align: center;
padding: 25px 10px;
color: #78869d;
font-size: 12px;
line-height: 2;
border-top: 1px solid #202c41;
}

/* Light mode */

body.light {
background: #f4f7fc;
color: #152238;
}

body.light .search-box,
body.light .categories button,
body.light .links a {
background: white;
color: #152238;
border-color: #d8e1ee;
}

body.light .search-box input {
color: #152238;
}

body.light .quick-links a {
color: #152238;
}

body.light footer {
border-color: #d8e1ee;
}

@media (max-width: 500px) {
.hero {
margin-top: 75px;
}

.hero h1 {
    font-size: 52px;
}

.search-box {
    padding: 6px 12px;
}

.search-box input {
    font-size: 13px;
}

.categories {
    gap: 8px;
}

.categories button {
    padding: 10px 13px;
    font-size: 12px;
}

.quick-links {
    margin-top: 75px;
}

}