body {
	font-family: 'Quattrocento';
	font-size: 14px;
	line-height: 1.2rem;
	background: #553639;
	color: #2C1E1F;
}

h1, h2, h3, h4 {
  font-family: 'Quattrocento';
	font-size: 16px;
	letter-spacing: 1px;
  color: #F5E6E8; 
}

a {
  font-family: 'Quattrocento';
  color: #2C1E1F;
  }
  
p {
  font-family: 'Lato';
  color: #2C1E1F;
  }
  
br {
  display: block;
  margin-top: 5px;
  }

hr {
	border: none;
	height: 1px;
	background: #c2c89a;
	margin: 24px 0;
	display: block;
}

.text-center {
	text-align: center;
}

.m-auto {
	margin: auto;
}

.border {
	border: 1.3px #36393d;
}
.w-50 {
	width: 50%;
}

.w-25 {
	width: 25%;
}

.post img {
	width:  400px;
	height: auto;
}

.wrapper {
  position: relative;
	width: 889px;
	margin: auto;
}

.title-box {
  position: absolute;
  top: 8px;
  left: 16px;  
  background: rgb(204, 204, 204); /* Fallback for older browsers without RGBA-support */
  background: rgba(204, 204, 204, 0.7);
  padding: 20px;
}

.header {
	position: relative;
	width: 886px;
	height: 332px;
}

.boy {
	z-index: 10;
	position: absolute;
	right: -14px;
	top: -3px;
	pointer-events: none;
}

.site-title {
	letter-spacing: 2px;
	font-size: 24px;
	opacity: 1;
	font-weight: bold;
}

.site-title a {
  color: #553639;
	text-decoration: none;
	opacity: 1;
}

.site-subtitle {
	font-size: 16px;
	height: 22px;
	margin-top: 6px;
	color: #89393D;
	letter-spacing: 1px;
	font-style: italic;
}

.intro-link {
  text-align: left;
  margin: 10px 0;
  padding: 8px 12px;
  background: rgba(196, 127, 136, 0.6);  /* Changed from 0.3 to 0.6 - more opaque */
  border-left: 3px solid #C47F88;
  border-radius: 3px;
  font-family: 'Lato';
  font-size: 13px;
  line-height: 1.6;
  color: #89393D;
  animation: subtle-pulse 3s ease-in-out infinite;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.intro-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 0;
}

.intro-link:hover::before {
  left: 100%;
  animation: shimmer-hover 0.8s ease-out;
}

.intro-link:hover {
  background: rgba(196, 127, 136, 0.8);  /* Even more opaque on hover (from 0.5 to 0.8) */
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.4);
  transform: translateX(5px);
}

.intro-link a.portfolio-link {
  color: #8B0000;
  font-weight: bold;
  text-decoration: underline;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.intro-link a.portfolio-link:hover {
  color: #8B0000;
  text-shadow: 0 0 12px rgba(139, 0, 0, 0.8), 0 0 20px rgba(139, 0, 0, 0.4);
}

@keyframes subtle-pulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(196, 127, 136, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(196, 127, 136, 0.6);
  }
}

@keyframes shimmer-hover {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }

}

.menu ul {
	margin:  0;
	padding:  0;
}

.menu li {
	display: inline-block;
	margin-right: 4px;
	position: relative;
}

.menu {
	text-transform: lowercase;
	margin-top: -40px;
	margin-left: 6px;
	z-index: 5;
	position: relative;
}

.dropdown::after{
	content: "Ã¢â€“Â¼";
	font-size: 80%;
	color: #BBB;
	display: inline-block;
	margin-left: 2px;
}

.menu a {
	text-decoration: none;
	font-weight: bold;
	color: #59393D;
	width: 128px;
	height: 39px;
	line-height: 45px;
	text-align: center;
	display: inline-block;
	background-image: url('/images/button-inactive.png');
	letter-spacing: 1px;
}

.menu a.active {
	color: white;
	background-image: url('/images/button-active.png');
	z-index: 10;
}

.menu a:hover {
	text-decoration: underline;
}

.dropdown-menu a:hover {
	background: #e2e2e2;
	text-decoration: underline;
	color: #000;
}

.dropdown-menu {
	background: #f2f2f2;
	position: absolute;
	z-index: 5;
	border: 1.8px solid #36393d;
	border-radius: 3px;
}

.dropdown-menu li {
	display: block;
}

.dropdown-menu a {
	display: block;
	padding: 6px 12px;
}

a.disabled {
	cursor: default;
	opacity: 0.3;
}

a.disabled:hover {
	text-decoration: none;
	background: transparent;
	cursor: default;
}

.main {
	display: flex;
	box-sizing: border-box;
	z-index: 2;
	position: relative;
	background-image: url('main-tile.png');
	/*margin-top: 1px;*/
}

.main::before {
	display: block;
	content: " ";
	background-image: url('main-top.png');
	height: 3px;
	width: 100%;
	position: absolute;
	margin-top: -3px;
}
.content {
	padding: 12px;
	flex-grow: 1;
	max-width: 865px;
	margin: 1rem;
	background: #C47F88;
	border-radius: 3px #36393d;
	min-height: 900px;
}

.content img {
	max-width: 100%;
}

code {
/*    max-width: 660px;
    overflow: auto;
    display: block;
    background: #f2f4f5;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;*/
    background: #dbe1b6;
    padding: 2px 4px;
    border-radius: 4px;
}

pre {
	background: #dbe1b6;
	padding: 2px 4px;
	border-radius: 4px;
	white-space: break-spaces;
}

.sidebar {
	padding: 12px;
	font-size: 14px;
	min-width: 150px;
	width: 150px;
	min-height: 640px;
	padding-left: 0;
	color: #d9dadb; 
}

h3,  b, a, li {
  color: inherit; 
}

.is-invalid + .tox-tinymce {
	border: 1px solid #dc3545;
}

.border-0 {
	border: none !important;
}

.item {
	margin-bottom: 12px;
	vertical-align: top;
}

.item, .item a {
	width: 200px;
	display: inline-block;
	margin-right: 12px;
	text-decoration: none;
	color: inherit;
}

.item:hover .item-title {
	text-decoration: underline;
}

.item img {
	width: 200px;
	height: 120px;
	border: 1px solid #59393D;
	background: #6893a4;
}

.gallery img {
	max-height: 80px;
	border: solid 1px #59393D;
}

.post h2 a {
	color:  inherit;
	text-decoration: none;
}

.pagination {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.page {
	background: transparent;
}

.page-item {
	display: inline-block;
}

.page-item.disabled {
	opacity: 0.3;
}

.page-item.active {
	font-weight: bold;
}

.d-block {
	display: block;
}

.d-inline-block {
	display: inline-block !important;
}

label {
	font-weight: bold;
}

.text-muted {
	opacity: 0.5;
}

.thumbnail {
	display: inline-block;
}

ul.checklist {
	padding: 0 1rem;
	margin: 0;
	margin-bottom: 2rem;
}

.sidebar a {
	text-decoration: none;
}

.sidebar a:hover {
	text-decoration: underline;
}

.page img {
	max-width: 100%;
}

.back-to-home {
	margin: 2rem 0;
	display: block;
	text-align: center;
}

.content img + img {
	margin-top: 6px;
}

.window-frame {
	background-image: url('window-frame.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 889px;
	height: 250px;
	position: absolute;
	z-index: 1;
	pointer-events: none;
}
.window-left {
	background-image: url('window-left.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 444px;
	height: 147px;
}
.window-right {
	background-image: url('window-right.png');
	background-size: contain;
	background-repeat: no-repeat;
	width: 444px;
	height: 147px;
	position: absolute;
	top: 0;
	right: 0;
}
.outside {
	background-image: url('window-background.png');
	background-repeat: no-repeat;
	position: absolute;
	z-index: -5;
	top: 10px;
	left: 10px;
	height: 100%;
	width: 100%;

}
.window-draggable-area {
	position: absolute;
	height: 10px;
	top:  10px;
	left: 10px;
	right: 10px;
}

.boxtitle {
  max-width: 128px;
  text-overflow: normal;
  word-break: normal;
  overflow-wrap: normal;
  white-space: pre-wrap;
}

footer {
  width: 98.7%;
  height: 80px;
  background: #C47F88;
  border: 1.9px solid #36393d;
  outline 1.9px solid #36393d;
  padding: 5px;
}



.scrollmenu {
  display: flex;
  height: 100%;
  }



iframe {
	border: none;
	outline: none;
	height: 100%;
	width: 100%;
}


/* MODAL SHIT */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 25px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
