@media (min-width:240px) {
    #btnsider {
        position: fixed;
        top: 20px;
        left: 20px;
        border-radius: 5px;
        width: 44px;
        height: 44px;
        z-index: 99;
        cursor: pointer;
        background-color: var(--b);
    }
    #btnsider::before {
        content: '';
        position: absolute;
        width: 36px;
        height: 8px;
        background-color: var(--w);
        top: 8px;
        right: 4px;
        border-radius: 5px;
        transition: all 0.3s;
    }
    #btnsider::after {
        content: '';
        position: absolute;
        width: 36px;
        height: 8px;
        background-color: var(--w);
        bottom: 8px;
        right: 4px;
        border-radius: 5px;
        transition: all 0.3s;
    }
    #btnsider.active::before {
        transform: rotate(45deg);
        transition: all 0.3s;
        top: 18px;
    }
    #btnsider.active::after {
        transform: rotate(-45deg);
        transition: all 0.3s;
        bottom: 18px;
    }
    #sider {
        width: 260px;
        height: 100vh;
        background-color: #000000e8;
        position: fixed;
        top: 0;
        right: -260px;
        box-shadow: 0 0 5px #00000080;
        z-index: 99;
    }
    #sider.active {
        right: 0;
    }
    #sider img {
        width: 100%;
    }
    #sider ul {
        list-style: none;
    }
    #sider ul a {
        text-decoration: none;
        color: var(--w);
        font-size: 20px;
    }
    #sider ul a li {
        padding: 12px;
        border-radius: 0 10px 10px 0;
    }
    #sider ul a li:hover {
        background-color: var(--w);
        color: var(--b);
        margin-right: 20px;
    }
    .links {
        position: absolute;
        bottom: 0;
        padding: 7px;
        padding-bottom: 16px;
        width: 100%;
    }
    .links a {
        font-size: 22px;
        color: var(--w);
    }
    header {
        width: 100%;
        position: fixed;
        z-index: 10;
        text-shadow: 0 0 5px #00000050;
        display: none;
        padding: 12px;
    }
    header.sticky {
        background-color: #000;
        padding: 0;
        box-shadow: 0 5px 10px #00000080;
    }
    header img {
        margin-left: 30px;
        width: 60px;
        float: left;
    }
    header ul {
        list-style: none;
        margin-right: 30px;
    }
    header ul a {
        text-decoration: none;
        color: var(--w);
        font-size: 18px;
    }
    header ul a li {
        display: inline-block;
        padding: 8px;
        margin: 8px;
        position: relative;
    }
    header ul a li::after {
        content: '';
        position: absolute;
        width: 0px;
        height: 3px;
        background-color: var(--w);
        bottom: 0;
        right: 0;
        border-radius: 5px;
        transition: all 0.6s;
    }
    header ul a li:hover::after {
        width: 100%;
    }
    footer {
        background-color: #111;
        color: #fff;
    }
    footer div {
        margin: 10px 20px;
    }
    footer div ul {
        list-style: none;
    }
    footer div img {
        width: 300px;
        height: 260px;
    }
    footer div ul a li,
    footer div ul a {
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        line-height: 35px;
    }
    footer div ul a li:hover {
        text-decoration: underline;
    }
    .svg {
        width: 100%;
        height: 100px;
        margin-bottom: -12px;
    }
}

@media (min-width:500px) {
    #btnsider {
        position: fixed;
        top: 20px;
        left: 20px;
        border-radius: 5px;
        width: 44px;
        height: 44px;
        z-index: 99;
        cursor: pointer;
        background-color: var(--b);
    }
    #btnsider::before {
        content: '';
        position: absolute;
        width: 36px;
        height: 8px;
        background-color: var(--w);
        top: 8px;
        right: 4px;
        border-radius: 5px;
        transition: all 0.3s;
    }
    #btnsider::after {
        content: '';
        position: absolute;
        width: 36px;
        height: 8px;
        background-color: var(--w);
        bottom: 8px;
        right: 4px;
        border-radius: 5px;
        transition: all 0.3s;
    }
    #btnsider.active::before {
        transform: rotate(45deg);
        transition: all 0.3s;
        top: 18px;
    }
    #btnsider.active::after {
        transform: rotate(-45deg);
        transition: all 0.3s;
        bottom: 18px;
    }
    #sider {
        width: 260px;
        height: 100vh;
        background-color: #000000e8;
        position: fixed;
        top: 0;
        right: -260px;
        box-shadow: 0 0 5px #00000080;
        z-index: 99;
    }
    #sider.active {
        right: 0;
    }
    #sider img {
        width: 100%;
    }
    #sider ul {
        list-style: none;
    }
    #sider ul a {
        text-decoration: none;
        color: var(--w);
        font-size: 20px;
    }
    #sider ul a li {
        padding: 12px;
        border-radius: 0 10px 10px 0;
    }
    #sider ul a li:hover {
        background-color: var(--w);
        color: var(--b);
        margin-right: 20px;
    }
    .links {
        position: absolute;
        bottom: 0;
        padding: 7px;
        padding-bottom: 16px;
        width: 100%;
    }
    .links a {
        font-size: 22px;
        color: var(--w);
    }
    header {
        width: 100%;
        position: fixed;
        z-index: 10;
        text-shadow: 0 0 5px #00000050;
        display: none;
        padding: 12px;
    }
    header.sticky {
        background-color: #000;
        padding: 0;
        box-shadow: 0 5px 10px #00000080;
    }
    header img {
        margin-left: 30px;
        width: 60px;
        float: left;
    }
    header ul {
        list-style: none;
        margin-right: 30px;
        display: none;
    }
    header ul a {
        text-decoration: none;
        color: var(--w);
        font-size: 18px;
    }
    header ul a li {
        display: inline-block;
        padding: 8px;
        margin: 8px;
        position: relative;
    }
    header ul a li::after {
        content: '';
        position: absolute;
        width: 0px;
        height: 3px;
        background-color: var(--w);
        bottom: 0;
        right: 50%;
        border-radius: 5px;
        transition: all 0.6s;
    }
    header ul a li:hover::after {
        width: 100%;
        right: 0;
    }
    footer {
        background-color: #111;
        color: #fff;
    }
    footer div {
        margin: 10px 20px;
    }
    footer div ul {
        list-style: none;
    }
    footer div img {
        width: 300px;
        height: 260px;
    }
    footer div ul a li,
    footer div ul a {
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        line-height: 35px;
    }
    footer div ul a li:hover {
        text-decoration: underline;
    }
    .svg {
        width: 100%;
        height: 100px;
        margin-bottom: -12px;
    }
}

@media (min-width:767px) {
    #sider,
    #btnsider {
        display: none;
    }
    header {
        width: 100%;
        position: fixed;
        z-index: 99;
        text-shadow: 0 0 5px #00000050;
        padding: 12px;
        display: block;
    }
    header.sticky {
        background-color: #000;
        padding: 0;
        box-shadow: 0 5px 10px #00000080;
    }
    header img {
        margin-left: 30px;
        width: 60px;
        float: left;
    }
    header ul {
        display: block;
        list-style: none;
        margin-right: 30px;
    }
    header ul a {
        text-decoration: none;
        color: var(--w);
        font-size: 18px;
    }
    header ul a li {
        display: inline-block;
        padding: 8px;
        margin: 8px;
        position: relative;
    }
    header ul a li::after {
        content: '';
        position: absolute;
        width: 0px;
        height: 3px;
        background-color: var(--w);
        bottom: 0;
        right: 50%;
        border-radius: 5px;
        transition: all 0.6s;
    }
    header ul a li:hover::after {
        right: 0;
        width: 100%;
    }
    footer {
        background-color: #111;
        color: #fff;
    }
    footer div {
        margin: 20px;
    }
    footer div ul {
        list-style: none;
    }
    footer div img {
        width: 300px;
        height: 260px;
    }
    footer div ul a li,
    footer div ul a {
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        line-height: 35px;
    }
    footer div ul a li:hover {
        text-decoration: underline;
    }
    .svg {
        width: 100%;
        height: 100px;
        margin-bottom: -12px;
    }
}