body {
font-family: Arial, sans-serif;
background: #eef1f5;
margin: 0;
padding: 40px;
}
h1 {
text-align: center;
color: #222;
font-size: 34px;
margin-bottom: 40px;
}
.container {
max-width: 1100px;
margin: auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 25px;
}
.card {
background: #ffffff;
padding: 25px;
border-radius: 16px;
text-align: center;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: 0.3s;
}
.card:hover {
transform: scale(1.03);
}
.card h2 {
margin-bottom: 20px;
color: #2d3436;
}
/* ONE COLOR FOR ALL BUTTONS */
.btn {
display: block;
padding: 12px;
border-radius: 10px;
text-decoration: none;
color: #fff;
background: #3498db; /* Main button color */
font-size: 16px;
margin-bottom: 12px;
transition: 0.3s;
}
.btn:hover {
background: #2c80b4; /* Slightly darker hover */
}
Explore Categories
Interview Prep
Data Structures
Web Development
body {
font-family: Arial, sans-serif;
background: #eef1f5;
margin: 0;
padding: 40px;
}
h1 {
text-align: center;
color: #222;
font-size: 34px;
margin-bottom: 40px;
}
.container {
max-width: 1100px;
margin: auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 25px;
}
.card {
background: #ffffff;
padding: 25px;
border-radius: 16px;
text-align: center;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: 0.3s;
}
.card:hover {
transform: scale(1.03);
}
.card h2 {
margin-bottom: 20px;
color: #2d3436;
}
/* ONE COLOR FOR ALL BUTTONS */
.btn {
display: block;
padding: 12px;
border-radius: 10px;
text-decoration: none;
color: #fff;
background: #3498db; /* Main button color */
font-size: 16px;
margin-bottom: 12px;
transition: 0.3s;
}
.btn:hover {
background: #2c80b4; /* Slightly darker hover */
}