body {
    background: #EEEEEE;
    font-family: "Sofia Sans Semi Condensed"
}

@media (max-width: 1024px) {
    h1 {
        font-size: 26pt;
        font-family: 'Rajdhani';
        color: #50A060;
        margin-top: 0.3em;
        margin-bottom: 0.2em;
    }

    h2 {
        font-size: 16pt;
        font-family: 'Rajdhani';
        color: #50A060;
        margin-top: 0.3em;
        margin-bottom: 0.2em;
    }

    p {
        margin-top: 0.2em;
        margin-bottom: 0.8em;
    }

    pre {
        margin-top: 0;
        margin-bottom: 0;
    }

    .button {
        background: #50A060;
        color: white;
        padding: 3px 20px !important;
        cursor: pointer;
    }

    .design_frame {
        height: 100vh;
        overflow: scroll;
        }

    #upper_left {
        display: none;
    }

    #upper_right {
        position: fixed;
        width: 50px;
        height: 50px;
        right: 10px;
        top: 10px;
        text-align: right;
        z-index: 35;
    }
    
    #upper_right .menu-button {
        background: #50A060;
        color: white;
        border: 1px solid white;
        padding: 4px 5px 3px 5px;
    }

    #lower_left {
        position: fixed;
        left: 10px;
        bottom: 10px;

        overflow: visible;
        white-space: nowrap;
        display: block;
        color: #50A060;
    }

    #lower_right {
        display: none;
    }

    #lower_left a {
        text-decoration: none;
        color: #50A060;
    }

    #main_area {
        display: flex;
        width: 100%;
        padding: 10px;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    #side_bar {
        display: none;
        position: fixed;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: #DDDDDD;
        padding-bottom: 50px;
        z-index: 40;
    }

    #side_bar .menu-button {
        position: fixed;
        right: 10px;
        top: 5px;
        background: #50A060;
        color: white;
        border: 1px solid white;
        padding: 4px 5px 3px 5px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 52pt;
        font-family: 'Rajdhani';
        color: #50A060;
        margin-top: 0.3em;
        margin-bottom: 0.2em;
    }

    h2 {
        font-size: 18pt;
        font-family: 'Rajdhani';
        color: #50A060;
        margin-top: 0.3em;
        margin-bottom: 0.2em;
    }

    p {
        margin-top: 0.2em;
        margin-bottom: 0.8em;
    }

    pre {
        margin-top: 0;
        margin-bottom: 0;
    }

    .button {
        background: #50A060;
        color: white;
        padding: 3px 20px !important;
        cursor: pointer;
    }

    .button:hover {
        background: #406050;
    }

    .design_frame {
        display: flex;
        margin: 30px;
        height: calc(100vh - 60px);
    }

    #upper_left {
        pointer-events: none;
        position: fixed;
        width: 150px;
        height: 150px;
        left: 10px;
        top: 10px;

        border-top: 10px solid #50A060;
        border-left: 10px solid #50A060;
    }

    #upper_right {
        position: fixed;
        width: 50px;
        height: 50px;
        right: 10px;
        top: 10px;

        border-top: 10px solid #50A060;
        border-right: 10px solid #50A060;
    }

    #lower_left {
        position: fixed;
        width: 50px;
        height: 50px;
        left: 10px;
        bottom: 10px;
        padding-top: 20px;
        padding-left: 3px;

        border-bottom: 10px solid #50A060;
        border-left: 10px solid #50A060;

        overflow: visible;
        white-space: nowrap;
        display: block;
        color: #50A060;
    }

    #lower_right {
        position: fixed;
        width: 150px;
        height: 150px;
        right: 10px;
        bottom: 10px;

        border-bottom: 10px solid #50A060;
        border-right: 10px solid #50A060;
    }

    #lower_left a {
        text-decoration: none;
        color: #50A060;
    }

    #main_area {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 220px;
    }

    #side_bar {
        position: fixed;
        display: flex;
        flex-direction: column;
        margin-right: 20px;
        width: 210px;
    }

    #side_bar > div {
        margin-bottom: 50px;
    }
    
    .menu-button {
        display: none;
    }
}