/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
   <3 thanks, Eric :-)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
/* Box sizing rules */
*, *::before, *::after {
  box-sizing: border-box;
}
/* blockquote */
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}


/* ........My styles...... */


body {
    font-family: 'Krub', 'Helvetica Neue', Helvetica, Calibri, Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Heading styling */
heading {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Main content styling */
main {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

main h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #34495e;
}
/* List styling as grid */
ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px; /* space between grid items */
    padding: 0;
    margin-top: 20px;
}

ul li a {
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    background-color: #3498db;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

ul li a:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}


/* Responsive adjustments */
@media (max-width: 600px) {
    main {
        padding: 20px;
    }
    
    heading {
        font-size: 2rem;
    }
    
    main h1 {
        font-size: 1.5rem;
    }
    
    ul li a {
        text-align: center;
    }
}
