/* style2.css */

@font-face {
    font-family: 'MSWin98';
    src: url('../fonts/msw98.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AspaceBlack';
    src: url('../fonts/aspaceblack.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Guru';
    src: url('../fonts/guru.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'MSWin98', sans-serif;
    background-color: #8BB69C; /* Cambridge Blue */
    background-image: url('../images/background2.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;      /* Ensures the image fills the screen */
    background-attachment: fixed;
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport height */
    margin: 0;
    padding: 0;
}

#header {
    background-color: #000000;
    padding: 15px 0;
    position: relative;
    border-bottom: 5px solid #ea3f2e;
}

#menubar {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    background: transparent;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
}

#header-left {
    color: #ffffff;
    font-family: 'AspaceBlack', sans-serif;
    font-size: 18px;
    font-weight: bold;
}

/* Menu list (horizontal) */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

/* Button styling with vertical spacing */
.button {
    background-color: #d9d6c5;
    color: #000000;
    padding: 6px 14px; /* smaller top/bottom and side padding */
    font-family: 'MSWin98', sans-serif;
    font-weight: bold;
    font-size: 15px; /* slightly smaller font */
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #a19784;
    color: #ffffff;
}

#image-strip {
    margin-top: 2px;
    padding: 2px 0;
    background-color: transparent;
    white-space: nowrap; /* keep images on one line */
    text-align: center;  /* center images horizontally */
    overflow: hidden;    /* hide overflowing images */
}

#image-strip img {
    display: inline-block;
    margin-right: 1px;  /* small gap */
    width: 110px;       /* your chosen size */
    height: auto;
    vertical-align: top;
}

/* Main container */
#container {
    flex: 1; /* take up all available space */
    width: 90%;
    max-width: 960px;
    background: #ffffff;
    padding: 20px;
    margin: 20px auto 30px auto; /* <- Add extra bottom space */
    position: relative;
    border: 5px solid #474136;
    border-top: 20px solid #474136;
}

.container-label {
    position: absolute;
    top: -18px; /* Adjust based on border thickness */
    left: 20px; /* Padding from left edge of container */
    padding: 0 10px;
    font-family: 'MSWin98', sans-serif;
    font-size: 14px;
    color: #ffffff; 
}
.container-label-middle {
    position: absolute;
    top: -18px; /* Adjust based on border thickness */
    left: 260px; /* Padding from left edge of container */
    padding: 0 10px;
    font-family: 'MSWin98', sans-serif;
    font-size: 14px;
    color: #ffffff; 
}

/* Main content */
#content h1 {
    font-size: 26px;
    color: #474136; /* taupe */
    margin-bottom: 15px;
}

#content p {
    font-size: 16px;
    color: #000000;
    line-height: 1.5;
}

.content-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.image-wrapper {
  height: auto;
  overflow: hidden;
  transition: height 2s ease-in-out;
  transition-delay: 1.5s;
  width: auto;
  margin: 0 auto;
}

.image-wrapper img {
  width: 100%;
  display: block;
  height: auto;
}


#sidebar {
    width: 200px;
    background-color: #dddbcc;
    padding: 15px;
    border: 2px solid #443f31;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#sidebar h2 {
    font-size: 16px;
    color: #443f31;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.sidebar-button {
    display: block;
    background-color: #afca93;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    font-family: 'MSWin98', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    padding: 8px;
    cursor: pointer;
    border: 2px solid #443f31;
    text-decoration: none;
}

.sidebar-button:hover {
    background-color: #85a76e;
    color: #000000;
}


#main-text {
    flex: 1;
}

/* Footer */

#footer {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  width: 100%;
  z-index: 999;
  border-top: 5px solid white; 
}