
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fce9e9;
    display: flex;
    height: 100vh;
    overflow: auto;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    background-color: #313030;
    color: #fff;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    border-right: 4px solid #000000;;
    transition: transform 0.3s ease-in-out;
}

.sidebar .logo {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
    color: #fce9e9;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

nav ul li {
    margin: 20px 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    display: block;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    transition: opacity 0.4s ease;

}

nav ul li a:hover {
    color: #343a40;
    background-color: #fce9e9;;
    border-color: black;
    transform: scale(1.1); 
}

.contact {
    margin-top: auto;
}

.contact a {
    color: black;
    background-color: bisque;
    padding: 10px 15px;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact a:hover {
    color: #343a40;
    background-color: #fce9e9;
}

main {
    margin-left: 250px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    height: 100vh;
    overflow: auto;
    transition: margin-left 0.3s ease-in-out; 
}

.content {
    max-width: 800px;
    text-align: justify;
    padding-bottom: 100px;
}

.content h1 {
    font-size: 48px;
    color: #000000;
    text-align: center;
    margin-bottom: 100px;
    
}


.content h2 {
    color: #000000;
    text-align: left;
    font-size: 35px;
    margin-bottom: 5px;
    font-style: italic;
}

.content h3 {
    color: #000000;
    text-align: left;
    font-size: 25px;
    margin-bottom: 5px;
    font-style: italic;
}

.content p {
    font-size: 20px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
    font-style: italic;
}

.history-image {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.grid-item {
    background-color: #444;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(50% - 40px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grid-item h2 {
    margin-top: 0;
    color: #ffd700;
}

@media (max-width: 1024px) {
    .grid-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        transform: translateX(-100%); 
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .hamburger-menu {
        display: flex;
    }

    main {
        margin-left: 0;
    }

    .grid-item {
        flex: 1 1 100%;
    }
}
