@import 'https://fonts.googleapis.com/css?family=Open+Sans';

* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.75em;
	font-size: 16px;
	background-color: #222;
	color: #fafafa;
}

.simple-container {
	max-width: 675px;
	margin: 0 auto;
	padding-top: 70px;
	padding-bottom: 20px;
}

.simple-print {
	fill: white;
	stroke: white;
}
.simple-print svg {
	height: 100%;
}

.simple-close {
	color: white;
	border-color: white;
}

.simple-ext-info {
	border-top: 1px solid #aaa;
}

p {
	font-size: 16px;
}

h1 {
	font-size: 30px;
	line-height: 34px;
}

h2 {
	font-size: 20px;
	line-height: 25px;
}

h3 {
	font-size: 16px;
	line-height: 27px;
}

/* Remove border lines for member nicknames */
.member-info h3 {
	padding: 0;
	border: none;
}

hr {
	height: 1px;
	background-color: #d8d8d8;
	border: none;
	width: 100%;
	margin: 0px;
}

a[href] {
	color: #1e8ad6;
}

a[href]:hover {
	color: #3ba0e6;
}

img {
	max-width: 100%;
}

li {
	line-height: 1.5em;
}

aside,
[class *= "sidebar"],
[id *= "sidebar"] {
	max-width: 90%;
	margin: 0 auto;
	border: 1px solid lightgrey;
	padding: 5px 15px;
}

@media (min-width: 1921px) {
	body {
		font-size: 18px;
	}
}

/* Event styles */
.events-container {
	max-width: 800px;
	margin: 20px auto;
	padding: 0 20px;
}

.event-card {
	background-color: #333;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.event-card h2 {
	margin-top: 0;
	color: #1e8ad6;
}

.event-description {
	margin: 15px 0;
	white-space: pre-wrap;
}

.event-date {
	color: #888;
	font-size: 0.9em;
	margin: 0;
}

/* Error message styles */
.error-message {
	background-color: #ff4444;
	color: white;
	padding: 15px;
	margin: 20px auto;
	max-width: 800px;
	border-radius: 8px;
	text-align: center;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Member styles */
.members-container {
	max-width: 800px;
	margin: 20px auto;
	padding: 0 20px;
}

.members-list {
	margin-top: 20px;
}

.member-item {
	background-color: #333;
	border-radius: 8px;
	padding: 15px 20px;
	margin-bottom: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.member-item:hover {
	transform: translateX(5px);
	background-color: #3a3a3a;
}

.member-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.member-info h2 {
	margin: 0;
	color: #1e8ad6;
	font-size: 1.4em;
}

.member-name {
	color: #fafafa;
	margin: 0;
	font-size: 1.1em;
}

/* Form styles */
.form-container {
	max-width: 600px;
	margin: 20px auto;
	padding: 0 20px;
}

.event-form {
	background-color: #333;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #fafafa;
	font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #444;
	border-radius: 4px;
	background-color: #222;
	color: #fafafa;
	font-size: 16px;
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #1e8ad6;
	box-shadow: 0 0 0 2px rgba(30, 138, 214, 0.2);
}

.submit-button {
	background-color: #1e8ad6;
	color: white;
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	transition: background-color 0.2s ease-in-out;
}

.submit-button:hover {
	background-color: #3ba0e6;
}

.success-message {
	background-color: #4CAF50;
	color: white;
	padding: 15px;
	margin: 20px auto;
	max-width: 800px;
	border-radius: 8px;
	text-align: center;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Header styles */
.site-header {
	background-color: #333;
	padding: 20px;
	margin-bottom: 30px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.site-title {
	margin: 0;
	text-align: center;
}

.site-title a {
	color: #fafafa;
	text-decoration: none;
	font-size: 32px;
	transition: color 0.2s ease-in-out;
}

.site-title a:hover {
	color: #1e8ad6;
}

/* Penalties styles */
.penalties-container {
	max-width: 800px;
	margin: 40px auto;
	padding: 0 20px;
}

.penalties-list {
	background-color: #333;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.penalty-item {
	background-color: #3a3a3a;
	border-radius: 6px;
	padding: 15px 20px;
	margin-bottom: 15px;
	transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.penalty-item:hover {
	transform: translateX(5px);
	background-color: #444;
}

.penalty-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.penalty-info h3 {
	margin: 0;
	color: #1e8ad6;
}

.penalty-price {
	margin: 0;
	font-weight: bold;
	color: #fafafa;
}
