/* Base styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #e2cfa5;
}

/* Headings */
h1 {
  color: #2b3d3d;
  text-decoration: underline;
  text-align: center;
  margin: 0.5em 0;
}

h2 {
  color: #3b4b5d;
  text-align: center;
  margin-top: 0;
}

p {
  margin: 1px 0;
}

/* Links */
a:link,
a:visited {
  background-color: #b7775f;
  color: white;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

/* Top navigation bar */
.topnav {
  display: flex;
  justify-content: center;
  gap: 16px; /* reduced from 30px */
  background-color: #e2cfa5;
  padding: 8px 0; /* reduced from 14px */
}

.topnav a {
  color: black;
  background-color: #b7775f;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 16px; /* reduced from 15px 25px */
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 0.9rem; /* optional: slightly smaller text */
}

.topnav a:hover {
  background-color: #a05345;
  color: white;
}

/* Full-width header with background image */
.header {
  position: relative;
  background-color: #e2cfa5;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 30px;
  overflow: hidden;
}



/* Add overlay using ::before pseudo-element */
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://i.pinimg.com/736x/e3/c2/a7/e3c2a7f120011882f4ffb46dd55c098a.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.5; /* Adjust this to control transparency */
  z-index: 0;
}

/* Ensure content stays above overlay */
.header > * {
  position: relative;
  z-index: 1;
}

/* Header image */
.main-header-img {
  display: block;
  margin: 0 auto; /* remove bottom margin */
  max-width: 100%;
  height: auto;
}

/* Layout columns */
.column {
  float: left;
  text-align: center;
  padding: 10px;
}

.column.side {
  width: 25%;
}

.column.middle {
  position: relative;
  width: 50%;
  padding: 20px;
  color: white;
  border: 2px solid #5d7086;
  border-radius: 10px;
  background-image: url('https://i.pinimg.com/736x/65/b3/d6/65b3d63405029372dc826a07301e5d1d.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 600px;
  overflow: hidden;
  z-index: 0;
}

.column.middle::before {
  content: "";
  position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(227, 183, 160, 0.5);
  z-index: -1;
}

/* Clearfix for rows */
.row::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive columns */
@media screen and (max-width: 600px) {
  .column.side,
  .column.middle {
    width: 100%;
  }
}

/* Main content container */
#main {
  border: 1px solid darkgrey;
  color: #333333;
  padding: 0 20px 20px;
  width: 60%;
  margin: 0 auto;
}

/* Floated right image */
.float-right-img {
  float: right;
  width: 180px;
  margin: 0 0 10px 10px;
}

.float-right-img img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Gallery */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.gallery {
  width: 180px;
  border: 1px solid #ccc;
  transition: border 0.5s ease;
  text-align: center;
}

.gallery:hover {
  border: 1px solid #777;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.desc {
  padding: 10px;
}

/* Highlight box */
.middle .highlight-box {
  background-color: #aa4a4a;
  color: white;
  padding: 15px 20px;
  margin: 20px 190px 40px;
  border-radius: 10px;
  text-align: left;
  font-weight: bold;
  display: block;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
}

.highlight-box a:link,
.highlight-box a:visited {
  all: unset; /* reset all styles to default */
  font-family: inherit;
  font-size: 0.95em;
  color: #f8d3d3; /* soft blush pink for contrast */
  text-decoration: underline;
  cursor: pointer;
}

.highlight-box a:hover,
.highlight-box a:active {
  color: #ffecec; /* lighter shade on hover */
}

/* Themed text blocks */
.mechthild {
  font-family: 'Georgia', serif;
  color: #6b4226;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 30px;
}

.genesis22 {
  font-family: 'Palatino Linotype', serif;
  color: #004080;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 30px;
}

.reelaround {
  font-family: 'Garamond', monospace;
  color: #a83232;
  line-height: 1.4;
  margin-bottom: 30px;
}

.casabianca {
  font-family: 'Lora', serif;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 30px;
}


                
            