body {
    margin: 0;
    padding: 0;
    background: url('BackroundImageHome.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Transparent brown overlay that covers the whole background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 270%;
    background-color: rgba(97, 60, 5, 0.5); /* Transparent brown overlay */
    z-index: -1;
}

/* Header navigation styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(132, 102, 87, 1);
    height: 80px;
    box-sizing: border-box;
    overflow: hidden;
}

header .logo img {
    width: 300px;
    margin-left: -40px;
    margin-top: 10px;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin-right: 0px;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 25px;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: white;
    left: 0;
    bottom: 0;
    transition: width 0.1s ease-in-out;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Main content container */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    position: relative;
}

/* Transparent brown overlay box */
.transparent-box {
    position: relative; /* Position relative to allow absolute positioning of content sections */
    background-color: rgba(132, 102, 87, 0.0);
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    height: 80%;
    box-sizing: border-box;
}

.content-section {
    flex: 1 0 30%; /* Allow sections to take up to 30% of the container's width */
    margin: 10px; /* Space between sections */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content-section img {
    width: 50%; /* Makes the image responsive to its container's width */
    height: auto; /* Maintains the aspect ratio */
    border-radius: 10px; /* Rounded corners */
}

.text-overlay {
    margin-top: 0px;
    font-size: 25px;
    color: #fff;
    font-weight: bold;
}

