body, .background-container {
    margin: 0;
    font-family: "Advent Pro", sans-serif;
      background-image: url('2ur.jpg'); 
  background-size: cover;
  background-position: top; 
}


.main-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden; 
    box-sizing: border-box; 
}



.logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;
    cursor: pointer;
}
.logo img {
    width: 120px;
    height: auto;
    background-color: rgba(77, 119, 49, 0.8);
    padding: 15px 5px;
}

.header-container {
    background-color: rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navigation {
    text-align: center;
}
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin-right: 20px;
}
nav ul li a {
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 750;
    position: relative;
    transition: color 0.3s ease;
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #1d1d1d;
    transition: width 0.3s ease, left 0.3s ease, background-color 0.3s ease;
}
nav ul li a:hover,
nav ul li a:focus,
nav ul li a:active,
nav ul li a.active {
    color: #4d7731;
}
nav ul li a:hover::after,
nav ul li a:focus::after,
nav ul li a:active::after,
nav ul li a.active::after {
    width: 100%;
    left: 0;
    background-color: #4d7731;
}
nav ul li a.active {
    color: #4d7731; 
}

nav ul li a.active::after {
    width: 100%; 
    left: 0;
    background-color: #4d7731; 
}

.content {
    width: 70%;              
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    height: 35%;          
    position: absolute;
    display: flex;
    flex-direction: row;     
    justify-content: space-between; 
}

.box {
    flex: 1;
        background-color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;         
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(77, 119, 49, 0.4);
}

.box-content {
    display: flex;
    align-items: center; 
    margin-bottom: 10px; 
}

.section-title {
    font-weight: bold; 
    margin-left: 10px; 
    font-size: 1.2em; 
    color: #4d7731; 
}
@media (max-width: 768px) {
    body, .background-container {
        background-position: center;
      background-image: url('2df.jpg'); 
            
    }

    .main-container {
        height: auto;
        min-height: 100vh;
        padding-bottom: 50px;
    }

    .logo {
        position: relative;
        display: block;
        text-align: center;
        margin-bottom: 15px;
    }

    .logo img {
        width: 80px;
        padding: 10px;
    }

    .header-container {
        position: relative;
        background-color: rgba(255, 255, 255, 0.7);
    }

    .navigation {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
    }

    nav ul {
        display: inline-block;
        padding: 0 10px;
    }

    nav ul li {
        display: inline-block;
        margin: 0 8px;
    }

    nav ul li a {
        font-size: 14px;
        padding: 5px 0;
    }

    .content {
        position: relative;
        width: 90%;
        height: auto;
        left: auto;
        transform: none;
        bottom: auto;
        flex-direction: column;
        margin: 30px auto;
        padding-bottom: 50px;
    }

    .box {
        flex: none;
        width: 100%;
        margin: 10px 0;
        padding: 15px;
        box-sizing: border-box;
    }

    .box-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        margin-left: 0;
        margin-top: 10px;
        font-size: 1.1em;
    }

}