
body {
    font-family: Arial, sans-serif;
    background-image: url('images/desert_bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

header {
    text-align: center;
    padding: 1em;
}

nav {
    display: flex;
    justify-content: space-between;
    background-color: #f47c20;
    padding: 0.5em;
    color: white;
}

nav a {
    color: white;
    text-decoration: none;
}

#main-content {
    background-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2em;
    text-align: center;
	display: flex;
    justify-content: space-between;
}

footer {
    background-color: #ffffff;
    text-align: center;
    padding: 1em;
    position: relative;
    bottom: 0;
    width: 100%;
}

.column {
    flex: 1;
    padding: 2em;
    text-align: center;
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 85%;
    margin: 0 auto;
    background-color: transparent;
}

.box {
    width: calc(90% - 4%);
    margin: 2% auto;
    padding: 2em;
    background-color: rgba(244, 240, 236, 0.8);
    box-sizing: border-box;
    overflow: hidden;
	max-width: 800px;
}

.box img {
    max-width: 100%;
    height: auto;
}

/* Clearfix for the .box-container to handle floated children */
.box-container::after {
    content: "";
    clear: both;
    display: table;
}

@media (max-width: 768px) {
    .box {
        width: 100%;
        margin: 2% 0;
    }
}

#main-title {
    text-align: center;
}

.sub-nav {
max-width: 90%;
margin: 0 auto;
justify-content: flex-start;
padding-left: 1em;
align-self: flex-start;
}
.nav-left {
  text-align: left;
  padding-left: 1em;  
}




/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    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.4); /* Black w/ opacity */
	text-align: left;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
	margin-top: 5%; /* Adjust as needed */
    padding: 20px;
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-image {
  float: right;
  width: 50%;
  margin-right: 20px; /* Adjust the margin as needed */
  margin-bottom: 20px; /* Adjust the margin as needed */
}

/* Clear float after the image */
.modal-content::after {
  content: "";
  display: table;
  clear: both;
}
.img-square {
  width: 100%; /* This will make the image take the full width of its parent container */
  height: 200px; /* Set a fixed height */
  object-fit: cover; /* This will make sure the image covers the area, potentially cropping it */
  display: block; /* Ensures the image is a block element, fitting the width of its container */
  margin-left: auto;
  margin-right: auto;
}