
.flex-container {
    flex-direction: column-reverse;
    align-items: center;
}

#sidebar {
    margin-top: 40px;
}

#main-text, #sidebar {
    min-width: 80%;
    width: 100%;
}

#main-menu {
    position: fixed;
    bottom: 150px;
    right: 0;
    z-index: 2;
    background-image: url("/img/header-texture2.jpg");
    width: 60%;
    max-width: 300px;
    padding: 10px;
    border-radius: 20px 0 0 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

#main-menu.menu-open {
    transform: translateX(0);
}

#main-menu.menu-open + #mobile-toggle::after {
    transform: rotate(270deg);
}

#main-menu li {
    display: block;
    width: 100%;
}

#main-menu a {
    padding: 20px;
    width: 100%;
}

#main-menu a:hover {
    transform: none;
}

#mobile-toggle {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50% 0 0 50%;
    right: 0;
    bottom: 90px;
    background-image: url("/img/header-texture2.jpg");
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

#mobile-toggle::after {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
    content: "▼";
}

#top-bar {
    justify-content: center;
}


#foot {
    flex-wrap: wrap;
}

#foot span:first-child::after {
    content: "";
    padding: 0;
}

#page-contents hr, .poem-date {
    width: 85%;
}

#welcome-gif {
    width: 100%;
    max-width: 900px;
    height: unset;
}

