/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
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, 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-family: Arial, sans-serif;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    background-color: rgb(238, 238, 238);
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/********************************
*********************************
*********************************/

.container {
    border-radius: 10px;
    margin: 4em 7em;
    @media (width < 600px) {
        margin: 4em 2em;
    }
    background-color: white;
    padding: 1em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__container {
    max-width: 80%;
    margin: 0 auto;
}

.heading {
    font: bold 1.5em sans-serif;
    text-align: center;
}

.form-group {
    margin-top: 20px;
    display: grid;
    row-gap: 5px;
}

#input {
    padding: 12px;
    border: 2px solid #cfcfcf;
    border-radius: 5px;
    background-color: #e2e2e2;
}

#input:focus {
    outline: none;
    border-color: #4CAF50;
    background-color: #f6f6f6;
}

.buttons {
    margin-top: 20px;
    display: grid;
    row-gap: 10px;
}

button {
    background-color: rgb(48, 182, 48);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 1em;
}

.clear-btn {
    background-color: rgb(230, 66, 66);
}

button:hover {
    background-color: #45a049;
}

.clear-btn:hover {
    background-color: #c82333;
}

.alert {
    background-color: #fff3cd;
    margin: 10px 5px;
    padding: 12px;
    border-radius: 5px;
    display: none;
}

#summary {
    background-color: rgb(234,236,239);
    border-radius: 5px;
    border: none;
    padding: 15px;
}

.new-item {
    padding: 12px;
    margin: 8px 5px;
    border-left: 4px solid #0095f8;
    border-radius: 5px;
    background-color: #d4edda;
    text-transform: capitalize;
}