@import "fonts.css";

:root {
	--header-height: 60px;
	--footer-height: 60px;
	--blog-width: 900px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	overflow: hidden;
}

header {
	position:fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30px;
	background: red;
}

footer {
	position:fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: var(--footer-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30px;
	background: green;
}

main {
	position: absolute;
	top: var(--header-height);
	bottom: var(--footer-height);
	left: 0;
	width: 100%;
	overflow-y: auto;
	padding: 40px 20px;
	background: blue;
}

.blog-container {
	max-width: var(--blog-width);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.post-block {
	background: pink;
	padding: 25px;
	position: relative;
}

.post-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.post-header h2 {
	margin-bottom: 0;
}

.post-info {
	display: flex;
	flex-direction: column;
	text-align: right;
}

.post-info-date {
	
}

.post-info-author {
	
}

.post-block p {
	
}

.post-block img,
.post-block iframe {
	width: 100%;
}
