html {
    background: #e6e9e9;
    background-image: linear-gradient(270deg, rgb(230, 233, 233) 0%, rgb(216, 221, 221) 100%);
    -webkit-font-smoothing: antialiased;
}

body {
    background: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
    color: #545454;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 800px;
    padding: 2em 2em 4em;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    margin-top: 1.3em;
}

a {
    color: #0083e8;
}

b, strong {
    font-weight: 600;
}

samp {
    display: none;
}

img {
    /*animation: colorize 2s cubic-bezier(0, 0, .78, .36) 1;*/
    background: transparent;
   /* border: 10px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px; */
    display: block;
    margin:  1.em auto;
    max-width: 95%;
}

nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

nav li {
	margin: 0.5em;
	padding: 0;
	font-size: 1.5rem;
	flex: 1 1 0%;
}

@media (min-width: 45em) {
	nav > ul {
		flex-direction: row;
		height: 3em;
	}
	nav li {
		flex: 1;
		font-size: 1em;
	}
}

nav a {
	display: block;
	padding: 0.2em;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 10px;
	box-shadow: 0 5px 10px transparent inset;
	color: gray;
	background-color: transparent;
	transition: all .25s ease-in;
}

nav li[aria-current] a {
	background-color:whitesmoke; 
	color: darkslategray; 
}

nav a:focus,
nav a:hover,
nav li[aria-current] a:focus,
nav li[aria-current] a:hover {
	color: white; 
	background-color: darkslategray; 
}

figure, figcaption {
  margin: 0;
  padding: 0;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
  gap: 0.5em;
  text-align: center; 
    font-weight: bold;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.12);
}

#gallery figure {
  position: relative;
  background: solid rgba(0, 0, 0, 0.12);
}

figure img {
  width: 100%;
  display: block;
}


#gallery > figure > figcaption {
  position: absolute;
  bottom: 0em;
  width: 100%;
  line-height: 2em;
  color: white;
  background: darkslategray;
  font-size: 12px;
}

#gallery > figcaption {
  grid-column: 1 / -1;
    
}

table, th, td, caption {
  border: 1px solid #a0a0a0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  border-width: thin 0 0 thin;
  margin: 0 0 1em;
  table-layout: auto;
  max-width: 100%;
}
th, td {
    padding: .2em .5em;
  font-weight: normal;
  text-align: left;
}
th, caption {
  background-color: #f1f3f4;
  font-weight: 700;
}

@keyframes colorize {
    0% {
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }
    100% {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
    }
    


}