/* ========== BASE STYLES ========== */
html, body {
  height: 100%;
  margin: 0;
}

body {
  background-image: url('../bg.png');
  color: black;
  font-family: 'Playfair Display', serif;
  image-rendering: pixelated;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; /* fill entire screen */
}

a {
  color: #59190a;
  text-decoration: none;
}

a:hover {
  font-style: italic;
  color: #996b47;
}


/* ========== LAYOUT CONTAINER ========== */
.main {
  width: 1356px;
  height: 768px;
  margin: auto;
  position: relative;
  background: url('book.png') no-repeat center center;
  background-size: cover;
  text-align: left;
}


/* ========== HEADER ========== */
.header {
	display: block;
	position: absolute;
	left: 220px;
	width: 27rem;
	top: 16px;
	max-width: 100%;
	text-align: left;
	
}

.header h2 {
  font-size: 4em;
  margin: 0 0 0.1em 0;
}

.header a {
  display: block;
  font-size: 0.7em;
  text-align: left;
  margin: 0;
  text-indent: 30px;
}


/* ========== BLOG SECTION ========== */
section {
  position: absolute;
  top: 150px;
  left: 220px;
  width: 450px;
}


/* ========== BLOG ENTRY LINKS ========== */
main a {
  display: block;
  padding: 1rem;
  margin: 1.5rem 1rem;
  max-width: 100%;
  font-size: 1.5rem;
  text-align: left;
}

main a::after {
  display: block;
  text-align: right;
  font-size: 0.6em;
  margin-top: 0.5rem;
}

.personal::after {
  content: 'personal';
}


/* ========== BLOG POST HEADER ========== */
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.post-title {
  font-size: 1em;
  margin: 0;
}

.post-date {
  font-size: 0.7em;
}


/* ========== BLOG POST CAPTION ========== */
.post-caption {
  margin-top: 8px;
  font-size: 0.7em;
  text-align: left;
  font-style: italic;
}


/* ========== MISC ========== */
a p {
  font-size: 1rem;
  margin: 0.25rem 1rem;
}

time {
  display: block;
  text-align: right;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-style: solid;
  border-width: 0 0 7px 0;
}


/* ========== OPTIONAL TABS (DISABLED) ========== */
.tabs {
  position: relative;
  display: inline-block;
}

.tab {
  width: 182px;
  height: 58px;
  position: absolute;
  text-align: center;
  padding-left: 10px;
  line-height: 58px;
  color: black;
  background-size: cover;
  transition: width 0.3s ease, transform 0.3s ease;
  font-family: 'Fasthand', cursive;
  font-size: 20px;
  border-radius: 5px;
  opacity: 0.9;
}

.tab:hover {
  width: 210px;
  transform: translateX(-28px);
}

.tab.personal {
  top: 20px;
  left: -677px;
  background-image: linear-gradient(to right, #f2d060, #f4e26b);
}

.tab.films {
  top: 100px;
  left: -680px;
  background-image: linear-gradient(to right, #5e6fed, #6d7eff);
}
