/* Reset.css - 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;
}
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;
}

/* 
	My css - https://alexeygornostaev.com
*/

body {
	font-family: system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.8em;
	font-weight: normal;
	font-style: normal;
	color: #000;
	background: #fff;
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

p, ul {
	margin-bottom: 20px;
}

a, a:hover, a:visited {
	color: #000;
}

a {
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(0,0,0);
}

a:hover {
	color: blue;
	border-bottom: 1px solid blue;
}

img {
	max-width: 100%;
	height: auto;
}

h1 {
	font-weight: 700;
	line-height: 1.1;
}

h2, h3, h4 {
	font-weight: normal;
	line-height: 1.1;
}

h1 {
	font-size: 2.6em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
}

blockquote  {
	font-style: italic;
	margin: 20px 0;
	padding-left: 20px;
	max-width: 100%;
	border-left: 6px solid #DBDAD6;
}

ul li {
	list-style-type: disc;
	margin: 0 0 10px 20px;
}

ol li {
	margin: 0 0 10px 20px;
}

hr {
	border: none;
	background: #DBDAD6;
	text-align: center;
	height: 1px;
	width: 100%;
	margin-bottom: 20px;
}

span.date-list {
	font-size: 0.9em;
	color: rgba(0, 0, 0, 0.4);
}

.content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 640px;
	margin: 20px auto;
}

/* Index */

.about h1, .about h2 {
	margin-bottom: 20px;
}

.bio, .trudi, .now, .tools {
	margin-bottom: 60px;
}

.image-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.image-grid img {
	width: 100%;
	height: auto;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.image-grid a:nth-of-type(1) {
	transform: rotate(2deg);
}

.image-grid a:nth-of-type(2) {
	transform: rotate(-5deg);
}

.image-grid a:nth-of-type(3) {
	transform: rotate(-2deg);
}

.image-grid a:hover {
	transform: rotate(0deg);
	transform: scale(1.2);
	transition: 0.2s ease;
	z-index: 9999;
}

.image-grid a {
	border: 0;
}

/* Header */
header {
	display: flex;
	flex-direction: column;
	line-height: 1.4em;
}

.photo img {
	width: 100px;
	border-radius: 10px;
}

/* Articles */
.posts-list li {
	margin: 0 0 10px 0;
	list-style-type: none;
}

.date-published {
	display: inline-block;
	margin: 0 0 20px 0;
	color: rgba(0, 0, 0, 0.4);
}

article img {
	display: block;
	margin: 0 auto;
}


/*Trudi photo grid */
.photo-grid img {
	margin-bottom: 20px;
}

/* Footer */
footer {
	margin-top: 60px;
/*	padding: 20px 0 20px 0; */
	font-size: 12px;
/*	border-top: 1px solid rgba(0, 0, 0, 0.2); */
}

/* Mobile */
@media all and (max-width: 640px) {

iframe {
	width: 100%;
}

.content {
	padding: 0 4% 0 4%;
}

.image-grid {
	grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
}

.image-grid a:nth-of-type(1) {
	transform: rotate(1deg);
}

.image-grid a:nth-of-type(2) {
	transform: rotate(-2deg);
}

.image-grid a:nth-of-type(3) {
	transform: rotate(-1deg);
}

.image-grid a:hover {
	transform: rotate(0deg);
	transition: 0.2s ease;
	z-index: 9999;
}

}

/* Video games list */

table {
	font-size: 12px;
}

caption {
	caption-side: top;
	font-weight: normal;
	text-align: left;
	padding: 0 0 10px 0;
}

caption strong {
	font-size: 14px;
	font-weight: bold;
}

caption span {
	display: block;
}

thead {
	font-weight: bold;
	text-align: left;
}

thead th:last-child {
	text-align: right;
}

td {
	padding: 5px 0 5px 0;
}

td:first-child {
	width: 80px;
}

td:last-child {
	text-align: right;
}

tr {
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

tr:last-child {
	border-bottom: 0;
}