* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.mainlogo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%
}

.container {
    display: flex;
    flex-direction: row; /* Ensure side-by-side layout */
    width: 100%;
    height: 100vh;
}

.nav-toggle {
    display: block;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000; /* Ensure it's above other elements */
}

.nav {
    width: 25%;
    background-color: #333;
    color: white;
    padding: 20px;
    height: 100vh;
    transition: transform 0.3s ease-in-out;
    text-align: right;
}

.nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 10px;
    margin-right: 10px;
}

.nav a:hover {
    background-color: #555;
}

.content {
    width: 75%;
    height: 100vh;
    flex-grow: 1;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .nav {
        width: 60%;
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        padding-top: 50px;
    }

    .nav.open {
        left: 0;
    }

    .nav-toggle {
        display: block;
        background-color: #333;
        color: white;
        border: none;
        padding: 10px;
        font-size: 24px;
        cursor: pointer;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1000; /* Ensure it's above other elements */
    }

    .content {
        width: 100%;
    }
}
