/* =========================================================
   RESET & BASE
========================================================= */

html,
body,
div,
span,
header,
ul,
li,
a {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

em {
    font-style: italic;
}

strong {
    font-weight: 600;
}

ol,
ul {
    list-style: none;
}

/* =========================================================
   CLEARFIX
========================================================= */

.cf::before,
.cf::after {
    content: '';
    display: block;
    height: 0;
    overflow: hidden;
}

.cf::after {
    clear: both;
}

/* =========================================================
   MAIN CONTAINER
========================================================= */

#container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;

    background: linear-gradient(
        -134deg,
        #517FA4 0%,
        #243949 100%
    );
}

.wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

#main-nav {
    display: none;
}

/* =========================================================
   HEADER
========================================================= */

header {
    position: relative;
}

header h1 {
    font-size: 50px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 5px;
    padding-bottom: 8px;
}

header h2 {
    max-width: 680px;
    margin: auto;

    font-size: 20px;
    font-weight: 200;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 1px;

    padding-bottom: 30px;
}

/* =========================================================
   GITHUB BUTTON
========================================================= */

header .git {
    display: inline-block;

    text-decoration: none;
    color: #fff;

    border-radius: 4px;
    padding: 4px 10px 4px 0;

    font-size: 15px;
    font-weight: 400;

    background: #54b9cb;
    transition: background .15s ease-in-out;
}

header .git:hover {
    background: #4CA8B9;
}

header .git svg {
    width: 15px;
    height: 15px;

    fill: #fffce1;

    position: relative;
    top: 2px;

    padding: 0 10px;
    margin-right: 10px;

    border-right: 1px solid #4daabb;

    transition: border-color .15s ease-in-out;
}

header .git:hover svg {
    border-color: #54b9cb;
}

header .ver {
    padding-top: 15px;
    font-weight: 200;
    color: #dab977;
}

header .ver span {
    color: #fffce1;
}

/* =========================================================
   TOGGLE BUTTON
========================================================= */

header .toggle {
    position: relative;
    display: block;

    cursor: pointer;
    user-select: none;

    width: auto;
    min-height: 24px;

    float: left;

    font-size: 20px;
    line-height: 24px;

    padding-left: 55px;
    margin-top: 55px;

    z-index: 9980;
}

header .toggle span {
    width: 35px;
    top: 50%;

    transform: translateY(-50%);
    transform-origin: 50% 50%;
}

header .toggle span,
header .toggle span::before,
header .toggle span::after {
    display: block;
    position: absolute;
    left: 0;

    height: 4px;
    background: #182631;

    transition: all .25s ease;
}

header .toggle span::before,
header .toggle span::after {
    content: '';
    width: 100%;
}

header .toggle span::before {
    top: -10px;
}

header .toggle span::after {
    bottom: -10px;
}

header .toggle.toggle-open span {
    background: rgba(0, 0, 0, 0);
    transform: rotate(45deg);
}

header .toggle.toggle-open span::before {
    transform: translate3d(0, 10px, 0);
}

header .toggle.toggle-open span::after {
    transform: rotate(-90deg) translate3d(10px, 0, 0);
}

header .toggle:hover span,
header .toggle:hover span::before,
header .toggle:hover span::after {
    background: #dab977;
}

header .toggle div {
    display: inline-block;
    margin-right: 15px;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

main {
    flex: 1 0 auto;
    padding-bottom: 30px;
    text-align: left;
}

main .content {
    border-top: 1px solid rgba(255,255,255,0.1);
}

main h4 {
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;

    margin: 20px 0;
}

main h4:first-child {
    margin-top: 30px;
}

/* =========================================================
   ACTIONS
========================================================= */

main .actions {
    margin: 0 -15px;
    text-align: center;
}

main .actions div {
    padding: 0 15px 20px;
    box-sizing: border-box;
}

/* =========================================================
   CHECKBOXES
========================================================= */

main .actions.checkboxes {
    text-align: left;
    padding-top: 8px;
}

main .actions.checkboxes label {
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
}

main .actions.checkboxes label input {
    display: none;
}

main .actions.checkboxes label span {
    display: inline-block;
    position: relative;
    top: -1px;

    width: 22px;
    height: 22px;

    background: #fffce1;

    margin-right: 12px;
    vertical-align: top;

    transition: all .1s ease;
}

main .actions.checkboxes label input:checked ~ span {
    background: #dab977;
}

main .actions.checkboxes label input:checked ~ span::before {
    content: '';

    position: absolute;
    top: 50%;
    left: 50%;

    margin-top: -1px;

    border: solid #243949;
    border-width: 0 3px 3px 0;

    display: inline-block;

    padding: 5px 2px;

    transform: translate(-50%, -50%) rotate(45deg);
}

/* =========================================================
   BUTTON
========================================================= */

main .button {
    position: relative;
    display: block;

    padding: 18px 30px 16px;

    text-transform: uppercase;
    text-align: center;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;

    text-decoration: none;
    color: #fff;

    cursor: pointer;

    background: #fffce1;
    border-radius: 30px / 80px;

    transition: all .1s ease;
}

main .button:not(.active):hover {
    color: #243949;
}

main .button.active {
    background: #243949;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    padding-bottom: 40px;
}

footer .swm {
    display: inline-block;
    padding: 0 15px;
}

footer .swm svg {
    display: block;
    width: auto;
    height: 17px;
    margin-top: 22px;
}

/* =========================================================
   MEDIA QUERY
========================================================= */

@media screen and (min-width: 800px) {

    main .actions {
        display: flex;
        flex-wrap: wrap;
    }

    main .actions div {
        flex: 1 1 33.33%;
        max-width: 33.33%;
    }

    main .actions.position div {
        flex: 1 1 25%;
        max-width: 25%;
    }
}

/* =========================================================
   HC OFFCANVAS NAVIGATION
========================================================= */

.hc-nav-open {
    overflow: visible;
    position: fixed;
    width: 100%;
    min-height: 100%;
}

.hc-offcanvas-nav {
    visibility: hidden;
    display: none;

    position: fixed;
    top: 0;

    height: 100%;
    z-index: 9999;
}

.hc-offcanvas-nav .nav-container {
    position: fixed;
    z-index: 9998;
    top: 0;

    width: 280px;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    box-sizing: border-box;

    transition: transform .4s ease;
}

.hc-offcanvas-nav .nav-wrapper {
    width: 100%;
    height: 100%;
    max-height: 100vh;

    overscroll-behavior: none;
    box-sizing: border-box;
}

.hc-offcanvas-nav .nav-content {
    height: 100%;
    max-height: 100vh;
}

/* =========================================================
   NAVIGATION LINKS
========================================================= */

.hc-offcanvas-nav a {
    position: relative;
    display: block;

    padding: 14px 17px;

    font-size: 15px;
    color: #fff;

    text-decoration: none;

    background: rgba(0,0,0,0);

    border-bottom: 1px solid #2c5d8f;

    z-index: 1;
    box-sizing: border-box;

    cursor: pointer;
}

.hc-offcanvas-nav:not(.touch-device) a:hover {
    background: #31679e;
}

/* =========================================================
   NAV COLORS
========================================================= */

.hc-offcanvas-nav::after,
.hc-offcanvas-nav .nav-wrapper::after {
    background: rgba(0,0,0,0.3);
}

.hc-offcanvas-nav .nav-container,
.hc-offcanvas-nav .nav-wrapper,
.hc-offcanvas-nav ul {
    background: #336ca6;
}

/* =========================================================
   BOTTOM NAV
========================================================= */

.hc-offcanvas-nav ul.bottom-nav {
    position: absolute;
    bottom: 0;

    width: 100%;

    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;

    border-top: 1px solid #2c5d8f;
}

.hc-offcanvas-nav ul.bottom-nav li {
    flex: auto;
}

.hc-offcanvas-nav ul.bottom-nav li a {
    padding: 10px;
    text-align: center;
    height: 100%;
    border-bottom: none;
}

/* =========================================================
   MATERIAL ICON MENU ITEMS
========================================================= */

.hc-offcanvas-nav li.add > a::before {
    content: 'add';
}

.hc-offcanvas-nav li.new > a::before {
    content: 'fiber_new';
}

.hc-offcanvas-nav li.cryptocurrency > a::before {
    content: 'local_atm';
}

.hc-offcanvas-nav li.devices > a::before {
    content: 'devices';
}

.hc-offcanvas-nav li.mobile > a::before {
    content: 'phone_android';
}

.hc-offcanvas-nav li.television > a::before {
    content: 'desktop_windows';
}

.hc-offcanvas-nav li.camera > a::before {
    content: 'camera_alt';
}

.hc-offcanvas-nav li.magazines > a::before {
    content: 'import_contacts';
}

.hc-offcanvas-nav li.store > a::before {
    content: 'store';
}

.hc-offcanvas-nav li.collections > a::before {
    content: 'collections';
}

.hc-offcanvas-nav li.credits > a::before {
    content: 'credit_card';
}