* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    color: #333;
}


/* ==============================
   NAVBAR
============================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 60px;

    background: #343a40;

    display: flex;
    align-items: center;

    padding: 0 25px;

    z-index: 1000;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}


/* ==============================
   SIDEBAR
============================== */

.sidebar {
    position: fixed;

    top: 60px;
    left: 0;
    bottom: 0;

    width: 240px;

    background: #2f3540;

    padding: 20px 12px;

    overflow-y: auto;

    z-index: 900;
}


/* SIDEBAR LINKS */

.sidebar a {
    display: block;

    width: 100%;

    padding: 13px 15px;

    margin-bottom: 7px;

    border-radius: 6px;

    color: #d7d9dc;

    text-decoration: none;

    font-size: 14px;

    transition: all 0.2s ease;
}


/* HOVER */

.sidebar a:hover {
    background: #454c55;

    color: #ffffff;
}


/* ==============================
   CONTENT
============================== */

.content {
    margin-left: 240px;

    padding: 90px 30px 80px;

    min-height: 100vh;

    width: calc(100% - 240px);
}


/* ==============================
   CONTENT CHILDREN
============================== */

.content > div {
    width: 100%;
}


/* ==============================
   FOOTER
============================== */

.footer {
    position: fixed;

    left: 240px;
    right: 0;
    bottom: 0;

    height: 50px;

    background: #ffffff;

    border-top: 1px solid #ddd;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;

    font-size: 13px;

    z-index: 800;
}


/* ==============================
   TABLET
============================== */

@media (max-width: 900px) {

    .sidebar {
        width: 200px;
    }

    .content {
        margin-left: 200px;

        width: calc(100% - 200px);

        padding-left: 20px;
        padding-right: 20px;
    }

    .footer {
        left: 200px;
    }

}


/* ==============================
   MOBILE
============================== */

@media (max-width: 700px) {

    .navbar {
        height: 55px;

        padding: 0 15px;
    }

    .sidebar {
        top: 55px;

        width: 65px;

        padding: 15px 7px;
    }

    .sidebar a {
        text-align: center;

        padding: 12px 5px;

        font-size: 0;
    }

    .content {
        margin-left: 65px;

        width: calc(100% - 65px);

        padding: 75px 15px 70px;
    }

    .footer {
        left: 65px;

        height: 45px;
    }

}


/* ==============================
   SMALL MOBILE
============================== */

@media (max-width: 450px) {

    .sidebar {
        width: 55px;
    }

    .content {
        margin-left: 55px;

        width: calc(100% - 55px);

        padding-left: 10px;
        padding-right: 10px;
    }

    .footer {
        left: 55px;
    }

}