:root {
  --light-bg: #F7F0E8; /* Coffee Cream Background */
  --light-1: #3B2C29; /* Espresso Text */
  --light-2: #78605C; /* Latte Secondary Text */
  --light-3: #A48B82; /* Cappuccino Accents */
  --light-hover: #A48B82; /* Cappuccino Accents (for hover states) */
  --light-link: #B08968; /* Caramel Macchiato Links */
  --dark-bg: #0F1A1C; /* Deep Ocean Background */
  --dark-1: #9AD3BB; /* Mint Foam Text */
  --dark-2: #3A6F7F; /* Coral Reef Accent */
  --dark-3: #2B4F60; /* Seaweed Highlight */
  --dark-hover: #1A333F; /* Lagoon Hover */
  --dark-link: #7FCDCD; /* Aquamarine Links */
}

html {
	background-color: var(--dark-bg);
	color: var(--dark-1);
}

html.dark {
	background-color: var(--light-bg);
	color: var(--light-1);
}

body {
	font-family: Verdana, sans-serif;
}

p {
	font-size: large;
}

/* FOOTER */
.footerbg {
	background-color: var(--dark-bg);
	border-top: 1px solid var(--dark-1);
}

.dark .footerbg {
	background-color: var(--light-bg);
  	border-top: 1px solid var(--light-1);
}

/* INDEX */
.index li {
	list-style: none;
	padding: 10px 0 0 0;
}

.index a { color: var(--dark-link);}

.dark .index a { color: var(--light-link);}

.index a:hover { text-decoration: underline 2px;}

/* BLOG */
.blog p {
	margin: 10px 0 0 0;
}

.blog li {
	list-style: disc inside;
	padding: 10px 0 0 10px;
}

.blog li ul {
	padding-left: 10px;
}

.blog img {
	border-radius: 10px;
	margin-top: 10px;
	width: 100%;
}

.blog h1 {
	display: none;
}

.blog h2 {
	font-size: 24px;
	margin-top: 18px;
	font-weight: 600;
}

.blog h3 {
	font-size: 20px;
	margin-top: 8px;
	font-weight: 600;
}

.blog h4 {
	font-size: 18px;
	margin-top: 8px;
	font-weight: 600;
}

.blog a { color: var(--dark-link);}

.dark .blog a { color: var(--light-link);}

.blog a:hover { text-decoration: underline 2px;}

.blogtime { color: var(--dark-2); }

.dark .blogtime { color: var(--light-2); }

/* LOGS */
.borderbottom {
	border-bottom-width: 2px;
	border-color: var(--dark-3);
}

.dark .borderbottom {
	border-bottom-width: 2px;
	border-color: var(--light-3);
}

/* GALLERY */
.gallery {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.gallery img {
	border: 15px solid white;
	margin-bottom: 100px;
}

.gallery table img {
  width: 95%;
  border: 10px solid white;
  margin-bottom: 10px;
}

@media screen and (max-width: 600px) {
  .gallery table img {
    border-width: 5px;
  }
}

/* CV */
.cv h2 {
	font-size: x-large;
	font-weight: 800;
}

.cv h3 {
	font-size: large;
	font-weight: 700;
}

.cv-date {
	color: var(--dark-2);
	font-size: small;
}

.cv a { 
	color: var(--dark-link);
	font-size: small;
}

.dark .cv a { color: var(--light-link);}

.cv a:hover { text-decoration: underline 2px;;}

.cv li {
	list-style: disc inside;
	padding: 0 0 5px 10px;
}

.cv li ul {
	padding-left: 10px;
}

/* GUESTBOOK */ 
.guestbook a:hover {
  background-color: var(--dark-1);
  color: var(--dark-bg);
}

.dark .guestbook a:hover {
  background-color: var(--light-link);
}
/* RANDOM */
code {
	display: block;
	background-color: #24292E;
	color: #A5A8AD;
	border-radius: 10px;
	padding: 10px;
}

blockquote {
	padding: 0 0 0 10px;
	border-left: 5px solid var(--dark-1);
}

.dark blockquote {
	padding: 0 0 0 10px;
	border-left: 5px solid var(--light-1);
}
