body {
	margin: 0px 8px;
	background:#333;
	background-image:url('im/bg.png');
}

.banner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  height: 0;
  overflow: visible;
}

.image-container {
  position: relative;
  top: -150px; /* Start off-screen */
  left: 0px;
}

.image-container.bounce-in {
  x-animation: bounceDown 0.9s ease-out forwards;
  animation: bounceDown 0.9s cubic-bezier(0.28, 0.84, 0.42, 1) forwards;
  top: 0px;
  left: 7px;
}

.image-container img {
  width: 64px;
  height: 64px;
  object-fit: contain; /* Optional: keeps it tidy if future images vary */
}

@keyframes bounceDown {
  0% {
    top: -150px;
    opacity: 0;
  }
  40% {
    top: -6px;
    opacity: 1;
  }
  55% {
    top: -30px;
  }
  70% {
    top: -6px;
  }
  80% {
    top: -14px;
  }
  90% {
    top: -6px;
  }
  100% {
    top: -6px;
  }
}


.custom-footer {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  padding: 0 0 2em 0;
  margin-top: 3em;
}

/*
#kofi-cup {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999;
	display: block;
	width: 60px;
	height: 60px;
	cursor: pointer;
}
*/

#im-kofi-cup {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
}

#im-kofi-cup:hover {
  transform: scale(1.1) rotate(-5deg);
}

.kofi-cup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: block;
  width: 60px;
  height: 60px;
  cursor: pointer;
}

.kofi-message {
  display: none;
  position: absolute;
  bottom: 7px;
  right: 70px;
  background: rgba(255,255,255,0.8);
  border: 1px solid #c6a96e;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-size: 14px;
  width: 200px;
  text-align: center;
  color: #000;
}

/* Wiggle animation */
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-10deg); }
  60% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.kofi-cup.wiggle img {
  animation: wiggle 0.8s ease-in-out;
}





.input-email {
	padding:0.5em; 
	width:60%;
	font-size:24px;
}

#but-subscribe {
	font-size:24px;
}

.subscribe-box {
	margin-top: 2em;
	padding: 1em;
	border: 1px solid #555;
	background: #000;
	color: #fff;
	text-align: center;
}

.div-logo {
	background-color: #fff;
	color: white;
	padding: 1.5em 1.5em;
	text-align: center;
	border-bottom: 5px solid #007acc;
	border: 4px solid black;
	border-radius: 28px;
	box-shadow: 0px 8px 12px 2px black;
}

.im-logo {
	width:400px;
	max-width:100%;'
}

/* Post image and text layout */

.read-more-button {
  cursor: pointer;
  display: inline-block;
  padding: 0.5em 1em;
  margin-top: 0.5em;
  background-color: #333;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  float: right;
}

.read-more-button:hover {
  background-color: #555;
}

.post-entry {
  margin: 2em auto;
  max-width: 800px;
  background: #fff;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.post-entry img {
  float: left;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1em;
  margin-bottom: 0.5em;
}

.post-main-entry {
  display: inline-block;
  gap: 1em;
  margin: 2em auto;
  max-width: 800px;
  background: #fff;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.main-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.post-text h3 {
	margin: 0px;
}

#post-content {
	text-align: center;
}

.post-image {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.hashtags a {
  margin-right: 10px;
  text-decoration: none;
  color: #555;
}

.hashtags a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: right;
  white-space: nowrap;
}

.meta-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 10px;
}

.meta-left,
.meta-right {
  width: 50%;
  box-sizing: border-box;
}

.meta-left {
  text-align: left;
}

.meta-right {
  text-align: right;
}

.meta-right .publish-date,
.meta-right .copyright {
  margin: 0;
  line-height: 1.4;
}



/* Submit and Nav Buttons */
.submit-button {
  display: inline-block;
  margin: 1em 0 0 0;
  padding: 0.6em 1.2em;
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #005fa3;
}

/* Subscribe Button */
#form-subscribe {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.input-email {
  flex: 1;
  min-width: 150px;
  max-width: 600px;
  padding: 0.5em;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#but-subscribe {
  padding: 0.5em 1em;
  font-size: 1em;
  white-space: nowrap;
  border-radius: 5px;
  background-color: #007acc;
  color: #fff;
  border: none;
  cursor: pointer;
}

#but-subscribe:hover {
  background-color: #005fa3;
}



/* Fully styled header with title, tagline, and nav */
header {
	font-size: 12px;
	color: black;
	padding: 2em 1em 0 1em;
	text-align: center;
}

header h1 {
  font-size: 3em;
  margin: 0;
  font-family: Georgia, serif;
}

.tagline {
  margin: 0.8em 0 0 0;
  font-size: 1.2em;
  color: #eee;
}

nav {
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}

nav ul li {
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
}

nav a:hover {
  text-decoration: underline;
}
