/*
Theme Name: Vanilla Wafer
Description: A bare-bones WordPress theme for testing.
Version: 1.0.0
Author: Jake Kiley
Author URI: https://jakekiley.com
Requires at least: 5.0
Requires PHP: 7.4
License: GPLv2 or later
*/

/* Reset/Normalize basics */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

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

/* Centered container */
.site-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

/* Header styling */
.site-header {
	text-align: center;
	margin-bottom: 3rem;
}

.site-title {
	margin: 0 0 1rem 0;
	font-size: 3rem;
	font-weight: 700;
	color: #222;
}

.site-logo {
	width: 120px;
	height: auto;
	animation: bob 1.5s ease-in-out infinite;
}

@keyframes bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* Main content */
.site-content {
	margin-bottom: 2rem;
}

.entry-title {
	margin: 0 0 1.5rem 0;
	font-size: 2rem;
	font-weight: 600;
	color: #222;
	text-align: center;
}

/* Block editor compatibility */
.entry-content > * {
	max-width: 100%;
}

.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
	margin-bottom: 1.5rem;
}

.entry-content a {
	color: #0073aa;
}

.entry-content a:hover {
	color: #005177;
}

/* Responsive adjustments */
@media (max-width: 600px) {
	.site-container {
		padding: 1rem;
	}

	.site-title {
		font-size: 1.75rem;
	}

	.site-logo {
		width: 80px;
	}

	.site-title {
		font-size: 2.1rem;
	}
}

/* Dark mode */
body.dark-mode {
	color: #e0e0e0;
	background-color: #1a1a1a;
}

body.dark-mode .site-title,
body.dark-mode .entry-title {
	color: #f0f0f0;
}

body.dark-mode .entry-content a {
	color: #6db3f2;
}

body.dark-mode .entry-content a:hover {
	color: #9dcbf7;
}
