/* Reset margin and padding for the whole page */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.fixed-header {
    background-color: rgb(230, 218, 151);
    color: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 30px; 
    z-index: 100; 
}

.logo img {
    max-height: 60px; 
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin-right: 20px;
}

/* Add margin to the last li element */
nav li:last-child {
    margin-right: 70px; 
}

nav a {
    text-decoration: none;
    color: rgb(29, 29, 150);
}

/* Style the main content area (add more styles as needed) */
main {
    margin-top: 150px; 
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Style the content wrapper */
.content-wrapper {
    margin: 0 auto; /* Center the content */
    max-width: 800px; /* Set a maximum width for the content */
    flex-grow: 1; 
}

/* Style the footer */
footer {
    background-color: rgb(230, 218, 151);
    color: rgb(29, 29, 150);
    text-align: center;
    padding: 50px 0; /* Increase the padding for a thicker footer */
    flex-shrink: 0;
}

/* Apply basic styles for the container */
.image-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* Style the grey background wrapper */
.grey-background {
    display: flex; 
    background-color: #f2f2f2; 
    padding: 15px;
    border-radius: 5px;
    align-items: center;
    margin-right: 80px;
    margin-left: 80px;
    position: relative;
}

/* Style the image */
.grey-background img {
    height: 300px;
    width: 400px;
    height: auto;
    margin-left: 20px;
}

/* Style the header */
.text-content .role {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

/* Style the description text */
.text-content .description {
    font-size: 16px;
    margin-left: 20px;
}

/* Center the image */
.text-content img {
    display: block;
    margin: 0 auto; 
    height: 100px;
    width: 200px;
    height: auto;
    margin-top: 20px; 
}

.background-container {
    position: relative;
    text-align: center;
    color: rgb(29, 29, 150);
    font-size: 24px;
    height: 80vh;
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-container img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1; 
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .centered-text {
        width: 90%;
        padding: 10px;
        font-size: 18px;
    }
}

.centered-text h1 {
    font-size: 38px; 
    font-weight: bold;
    color: white; 
    margin: 0;
    padding: 10px; /* Add padding to the text */
    text-align: center;
}

.centered-text p {
    font-size: 24px; 
    color: white;
    margin: 0; 
    padding: 10px;
    text-align: center;
}

/* "Read More" button */
.read-more-button {
    display: inline-block;
    padding: 15px 30px; 
    background-color: rgba(0, 123, 255, 0.7); 
    color: white;
    text-decoration: none;
    border: 2px solid rgb(230, 218, 151);
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px; 
    font-size: 18px;
}

.read-more-button:hover {
    background-color: rgb(29, 29, 150); 
}

.problem-section, .solution-section {
    background-color: #f7f7f7; /* Light gray background */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); 
}

.problem-section h2, .solution-section h2 {
    color: rgb(29, 29, 150); 
}

.problem-section p, .solution-section p {
    font-size: 18px;
    line-height: 1.5;
}

.problem-issues {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.problem-issue {
    flex: 1;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.problem-issue:hover {
    background-color: rgb(29, 29, 150, 0.8);
    color: #fff; 
}

.key-approaches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.key-approach {
    flex: 1;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.key-approach:hover {
    background-color: rgb(29, 29, 150, 0.8);
    color: #fff; /* Text color on hover */
    padding: 10px;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr)); 
    gap: 10px;
    margin-top: 20px;
 }
 
.photo {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.photo img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Background color with transparency */
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo:hover .photo-overlay {
    opacity: 1; /* Show overlay on hover */
}

.photo-overlay h3 {
    font-size: 18px;
    margin-top: 20%;
}

.photo-overlay p {
    font-size: 14px;
    margin-top: 10px;
    padding: 0 20px;
}

/* Style for the Full Documentation section */
.full-documentation {
    text-align: center;
    margin-top: 20px;
}

/* Style for the table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

/* Style for table header cells */
th {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center; /* Center-align the text */
}


/* Style for table data cells */
td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center; /* Center-align the content */
}

/* Style for table links */
td a {
    text-decoration: none;
    color: blue;
}

.column {
  float: left;
  width: 20%;
  margin-bottom: 16px;
  padding: 0 8px;
}

.shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.spacing {
  padding: 0 8px;
}

.container::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

.comment {
  color: grey;
}


