/* Image Gallery */
* {
    box-sizing: border-box;
}

body {
    background-color: #F5F0E1;
    /* Cream background */
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

main {
    padding-top: 40px;
}


.gallery-container {
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    justify-content: center;
    gap: 15px;
    padding: 40px;
    background-color: rgba(4, 12, 60, 0.6);
    box-shadow: 0px 0px 8px 8px #F5F0E1 inset;

}

.image-card {
    position: relative;
    width: 213px;
    height: 218px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.4);
    background-color: #000;
    filter: contrast(120%) brightness(80%) grayscale(60%) sepia(10%);
    border: 2px solid #444;
    transition: 150ms step-end;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(140%) brightness(75%) grayscale(0%) sepia(20%) opacity(95%);
}

.image-card:hover,
img:hover {
    filter: contrast(140%) brightness(75%) grayscale(0%) sepia(20%) opacity(100%) saturate(133%);
}

.caption {
    position: absolute;
    bottom: 12px;
    left: 15px;
    background: rgba(10, 10, 10, 0.508);
    padding: 8px 12px;
    font-size: 12px;
    color: #e0e0e0;
    text-transform: uppercase;
    text-align: left;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 2px;
    line-height: 1;
}

.random-text {
    position: absolute;
    top: 10px;
    right: -10px;
    font-size: 14px;
    color: #d8d8d8;
    background: rgba(20, 20, 20, 0.472);
    padding: 6px;
    border-radius: 2px;
    transform: rotate(-2deg);
    font-family: 'Courier New', Courier, monospace;
    font-style: italic;
}

.film-frame {
    border: 5px solid #222;
    padding: 5px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.3);
}
/* Blog Directory Styling */
.blogDirectory {
    padding: 0 20px;
    width: 100%;
    margin: 0 auto;
    border: 0px solid turquoise;
    background: linear-gradient(to bottom, #F5F0E1, rgba(4, 12, 60, 0.6)), url(./images/toileDeJouyBanner.png);
    background-size: cover;
    font-family: 'Courier New', Courier, monospace;
}


#blogList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0 50px;
    border: px solid red;
}

.blog-card {
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    background-color: #fff;
}

.blog-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 12px 12px 0 0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.3);
}

.blog-content {
    padding: 15px;
    text-align: center;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: bold;
}

.blog-content p {
    font-size: 14px;
    color: #666;
}

/* Footer */
footer {
    background-color: #d4c7ae;
    padding: 10px;
    text-align: center;
    border-top: 5px solid #3b2c2c;
    margin-top: auto;
}

.blog-content-container {
    border: 0px solid red;
    padding: px;
    margin: 50px;

}

.blog-section h2 {
    font-style: italic;
}

.blog-post h2 {
    font-size: 2rem;
    text-align: center;
    color: #3b2c2c;
}

.blog-date {
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    font-size: 0.9rem;
    color: #6b6b6b;
}

.blog-image {
    width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px auto;
}

.blog-post p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    max-width: 750px;
    margin: 20px auto;
}

embed {
    margin: 0 auto;
    min-height: 85vh;
    min-width: 90vw;

}

/* PDF viewer styles */
.pdf-wrap {
  margin: 1.5rem auto;
  /* allow the PDF to be wider than paragraph text */
  max-width: 100%;
}

.pdf-object {
  width: 100%;
  height: min(85vh, 1200px);
  border: none;
  display: block;
}

/* Fallback box styling for when inline PDF isn't supported */
.pdf-fallback {
  font: inherit;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
  color: inherit;
}

/* Visually hidden but accessible text */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Make sure object/iframe don't inherit odd inline spacing */
object.pdf-object,
iframe.pdf-object {
  display: block;
}









