/* 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, 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;
}
body {
	line-height: 1;
}
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;
}

.flex-container {
    display: flex;
    justify-content: center;      /* Centers all paragraphs as a group */
    align-items: center;          /* Aligns paragraphs vertically in the container */
    height: 25vh;                /* Full viewport height */
    gap: 20px;                    /* Space between the paragraphs */
    background-color: gray;
}

.flex-container p {
    padding: 20px;
    border: 1px solid #ccc;
    text-align: center;
    flex: 0 1 200px;              /* Flex-grow: 0, Flex-shrink: 1, Base width: 200px */
    margin: 0; 
}

p {
    color: white;
}

.navlist {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around; /* Space the links evenly */
    align-items: center;
}

.navbar {
    background-color: #333;  /* Background color of the navbar */
    padding: 10px 20px;      /* Padding inside the navbar */
}

.navlist li a {
    color: white;            /* Text color */
    text-decoration: none;   /* Remove underline */
    padding: 10px 15px;      /* Padding around the link */
    display: block;          /* Ensures the whole area is clickable */
    border-radius: 4px;      /* Rounds the corners */
    transition: background-color 0.3s; /* Smooth background color transition */
    text-align: center;
}

.navlist li a:hover {
    background-color: #555;  /* Change background on hover */
}