/* 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;
	background-color: #265e26;;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*{box-sizing: border-box; margin: 0 auto; padding: 0 0; text-align: center;}




nav {
    width: 100vw;
    height: 2cm;
    background: linear-gradient(0deg,#4dc24d, #265e26);
    position: fixed;
    z-index: 1;

    display: flex;
    align-items: center; 
    padding-left: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1cm;
	margin-top: 0.5cm;
}

nav ul li a {
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    background-color: #3f943f;

    padding: 5px;
    border-radius: 2px;

    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul li a:hover {
    background-color: #265e26;
}

.table-lefft {
	background-color: #3f943f;
}

img {
	border-radius: 5%;
}

main {
    width: 100vw;
    height: fit-content;
	padding: 2cm 20% 3cm;
    background-color: rgb(231, 231, 231);
	min-height: 100vh;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#center {
	align-items: center;
}

#kolumny {
	display: flex;
}

#kolumnasrodkowa{
	background-color: pink;
	width: 100%;
}

p {
	margin: 0.1cm;
}

footer {
	padding: 1cm;
	width: 100vw;
	color: white;
	background-color: green;
	position: fixed;
	bottom: 0;
}

h1 {
	margin: 1cm;
	font-size: 25pt;
	font-weight: bolder;
}

h2 {
	margin: 0.5cm;
	font-size: 15pt;
	font-weight: bold;
}
h3 {
	margin: 0.25cm;
	font-size: 12.5pt;
	font-weight: bold;
}

table {
    border-collapse: separate;
    border-spacing: 0.2cm;
	margin: 0 auto;
}

th, td {
    padding: 0.5cm;
    color: white;
    border-radius: 5%;
}
td {
	background-color: #4dc24d;
}
th {
	background-color: #265e26;
}
ul, ol {
    width: fit-content;
    margin: 0 auto;
}







#overlay1, #overlay2, #overlay3 {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	pointer-events: none;
}
#overlay1 {
	background-color: #c9ffc9;
}
#overlay2 {
	background-color: #3f943f;
}
#overlay3 {
	background-color: #265e26;
}

#overlay1.expand{
	animation: expand 0.16s forwards;
	pointer-events: all;
}
#overlay2.expand{
	animation: expand 0.32s forwards;
	pointer-events: all;
}
#overlay3.expand {
	animation: expand 0.5s forwards;
	pointer-events: all;
}
@keyframes expand {
	from {height: 0; top: 0;}
	to {height: 100%; top: 0;}
}

#overlay1.retract{
	animation: retract 1s forwards;
	pointer-events: all;
}
#overlay2.retract{
	animation: retract 0.66s forwards;
	pointer-events: all;
}
#overlay3.retract {
	animation: retract 0.33s forwards;
	pointer-events: all;
}

@keyframes retract {
	from {height: 100%; bottom: 0;}
	to {height: 0; bottom: 0;}
}
