body {
	font-family: arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    background-color: #222;
    color: white;
    width: 100%;
    word-break: break-word;
}

.content {
    text-align: left;
    max-width: 800px;
    padding: 20px;
    left: 10%;
    font-size: 17px;
    margin-right: auto;
    flex: 1;
}

a {
	color: #add8e6;
}

img {
	max-width: 80%;
	height: auto;
}

pre {
	word-break: break-word;
	white-space: pre-wrap;
}

.sidebar {
    width: 250px;
    min-width: 250px;
    background-color: #222;
    padding: 20px;
    top: 0;
    left: 0;
    height: 100vh;
    font-size: 19px;
    overflow-y: auto;
    margin-left: auto;
}

.sidebar h2 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 0px;
    padding-bottom: 20px;
    text-align: center;
    border-bottom: solid 1px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
}

.sidebar ul li a:hover {
    background-color: #444;
}

.menu-toggle {
    display: none;
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.embed-container {
    margin-bottom: 25px;
}
.embed-container button {
    background-color: #333;
    color: white;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}
.embed-container button:hover {
    background-color: #444;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
        align-items: stretch;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        text-align: center;
        padding: 10px 0;
        padding-bottom: 0;
        order: -1;
    }

    .sidebar h2 {
    	font-size: 30px;
    }

    .menu-toggle {
        display: block;
    }

    .sidebar ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .sidebar ul.open {
        max-height: 500px;
        transition: max-height 0.3s ease-in;
    }

    img {
        max-width: 90%;
    }

    .content {
    	margin: 0;
        padding: 10px;
        padding-top: 0;
        text-align: left;
        width: 95%;
        font-size: 17px;
        order: 1;
    }
}

