/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
}

main {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background-color: #fff; 
    overflow-x: hidden;
}

.intro {
    width: 100vw;
    background-color: #d6f5d6;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 40px;
}

/* Typography */
.intro h1 {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    color: #2c5f2d;
    margin-bottom: 20px;
}

.intro p, .main-content p {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 1000px;
}

.main-content h2 {
    font-size: 1.5em;
    color: #2c3e50;
}

.main-content ul li {
    line-height: 1.6;
    color: #555;
}

/* Layout */
.content {
    display: flex;
    width: 100%;
    gap: 20px;
}

.sidebar {
    width: 500px;
}

/* Sidebar Buttons */
.sidebar button {
    width: 300px;
    height: 50px;
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 15px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background-color: #2c5f2d;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.sidebar button:hover {
    background-color: #1f3f1d;
}

.sidebar button:focus {
    outline: 3px solid #a3d8a3;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    width:1500px;
    gap: 20px;
}

.main-content div {
    display: none;
    font-size: 22px;
    padding: 40px;
    background-color: #fff;
    color: #2c5f2d;
    border: 2px solid #a3d8a3;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Show the first div by default */
.main-content div:first-child {
    display: block;
}
video {
    display: block;
    margin: 0 auto; /* Centers the video horizontally */
    width: 800px;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    .sidebar button {
        display: flex; /* Use Flexbox for alignment */
        justify-content: center; /* Center content horizontally */
        align-items: center; /* Center content vertically */
        padding: 20px; /* Add padding for a larger button area */
        font-size: 10px; /* Adjust font size */
        background-color: #2c5f2d; /* Button background color */
        color: white; /* Button text color */
        border: none; /* Remove default border */
        border-radius: 5px; /* Add rounded corners */
        cursor: pointer; /* Change cursor to pointer */
        text-align: center; /* Center-align text */
        transition: background-color 0.3s ease; /* Add hover transition effect */
    }
    .sidebar {
        display: flex; /* Use Flexbox for layout */
        justify-content: space-between; /* Distribute buttons evenly */
        align-items: center; /* Align buttons vertically */
        gap: 10px; /* Add spacing between buttons */
        padding: 10px; /* Optional: Add padding around the buttons */
        background-color: #f8f9fa; /* Optional: Background color */
        width: 100%; /* Make the sidebar span the full width */
        box-sizing: border-box; /* Include padding in width calculation */
    }
    .main-content {
        flex-grow: 1;
        padding: 20px;
        background-color: #f1f1f1;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        width:330px;
        gap: 20px;
    }
    .main-content p {
        font-size: 1rem;
        color: #333;
        line-height: 1.8;
        margin: 0 auto;
        max-width: 1000px;
    }
    
    .main-content h2 {
        font-size: 1rem;
        color: #2c3e50;
    }
    
    .main-content ul li {
        line-height: 1.5;
        color: #555;
    }
    video {
        display: block;
        margin: 0 auto; /* Centers the video horizontally */
        width: 250px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }
    

  }