


.menu-toggle {
    display: none;
    float: right;
    background-image: url('resources/images/menu.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 999999999999999999;
}

#accessibility-toggle {
    display: none;
}

.secondary-toggle {
    display: none;
}


@media screen and (max-width: 1024px) {  /* Adjusts styles for screens smaller than 768px */
    section {
        flex-direction: column;  /* Stacks the content vertically */
    }

    .content-title, .content-body {
        text-align: center;  /* Centers the text */
    }

    #header .left-column,
    #header .middle-column,
    #header .right-column {
        flex: 1 100%;  /* Allows elements to take full width */
        text-align: center;  /* Centers the text */
        width: 100%;
    }

    #header {
        flex-direction: column;
    }

    #header img {
        margin: 0 auto;  /* Centers the image */
    }

    .screenshot {
        max-width: 90%;  /* Reduces the size of the image */
        margin: 0 auto;  /* Centers the image */
    }

    footer {
        flex-direction: column;  /* Stacks the content vertically */
        text-align: center;  /* Centers the text */
    }
    #accessibility-sidebar, .download-img, .download-href {
        display: none;
        transition: all 500ms;
    }

    #header .middle-column .title-container {
        flex: 1 100%; /* Allows the container to take full width */
        order: 1; /* The order property sets the order of the flex items. This will appear first */
    }

    #accessibility-toggle {
        display: block;
        position: fixed;
        bottom: 100px;
        left: 10px;
    }

    img#accessibility-toggle {
        max-width: 50px;
        max-height: 50px;
    }

    #accessibility-sidebar.show {
        display: block;
        transition: all 500ms;
    }

    /* This is for the tagline container */
    #header .middle-column .tagline-container {
        flex: 1 100%; /* Allows the container to take full width */
        order: 2; /* This will appear second */
    }

    /* This is for the mascot image container */
    #header .middle-column .mascot-container {
        flex: 1 100%; /* Allows the container to take full width */
        order: 3; /* This will appear third */
    }

    section {
        margin-top: 0 !important;
    }

    .icons {
        justify-content: center;
    }

    #preview {
        text-align: center;
        order: 1;
    }

    #preview img {
        margin: 0 auto;
    }

    * {
        max-width: 100vw;        
    }

    .menu-toggle {
        display: block;
        float: right;
        background: transparent;
        border: none;
    }

    .secondary-toggle {
        display: block;
    }

    .menu-toggle img {
        width: 50px;
        height: 50px;
    }

    #primary-menu:not(.active) {
        display: none;
    }

    #primary-menu {
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%; 
        background-color: rgba(0,0,0,0.8); /* black color with 80% opacity */
        padding: 20px;
        box-sizing: border-box;
        transition: all 0.3s ease;
        color: white; /* text color, adjust as needed */
        overflow-y: scroll; /* allows scrolling if content exceeds the screen size */
        z-index: 99999999999999999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 80px; /* adjust this for the space between items */
    }

    #primary-menu a {
        text-align: center;
        width: 100%;
    }

    #primary-menu.active {
        transform: translateX(0);
    }

    .hide-on-small {
        display: none !important;
    }

    #accessibility-sidebar {
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        max-width: 250px;
        background-color: rgba(241, 241, 241, 0.95);
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: all 500ms;
    }

    #accessibility-sidebar button {
        display: block;
        margin-bottom: 30px;
        padding: 15px 30px;
        border: none;
        border-radius: 6px;
        background-color: #4a90e2;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
        width: 100%;
    }

    #main-content {
        order: 2;
    }
}