html {
    font-size: 14px;
}

body {
    font-family: 'Heebo', sans-serif;
}

.cursor-pointer {
    cursor: pointer;
}

.g-fw-900 {
    font-weight: 900;
}

/* backgrounds */
.bg-1 {
    background: #000000;
}

.bg-2 {
    background: #f4f5fd;
}

.bg-3 {
    background: #000000;
}

/* menu*/
.g-menu-state,
.g-menu-toggle,
.g-sub-menu {
    display: none;
}

.g-menu-toggle {
    padding: 0.5em 3.5em 0.5em 0.5em;
    position: relative;
}

.g-menu-icon {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin: 0;
    padding: 1em;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.g-menu-toggle .g-menu-icon::after {
    content: "\f0c9";
}

.g-menu-state:checked ~ .g-menu-toggle .g-menu-icon::after {
    content: "\f00d";
}

.g-main-menu,
.g-sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.g-sub-menu {
    background: rgba(0, 0, 0, 0.1);
}

.g-main-menu li {
    position: relative;
    margin-bottom: 0.25em;
    padding-bottom: 0.25em;
}

.g-main-menu li:last-child {
    border-bottom: none;
}

.g-main-menu a,
.g-menu-item {
    color: rgba(255, 255, 255, 0.5);
    display: block;
    padding: 1em;
}

.g-menu-icon,
.g-main-menu a:hover,
.g-menu-item:hover,
.g-main-menu a:focus,
.g-menu-item:focus,
.g-main-menu .active {
    color: rgba(255, 255, 255, 0.9);
    outline: none;
    text-decoration: none;
}

.g-menu-state ~ a,
.g-menu-state ~ .g-menu-item {
    padding-right: 3.5em;
}

.g-menu-state ~ .g-menu-icon::after {
    content: "\f067";
}

.g-menu-state:checked ~ .g-menu-icon::after {
    content: "\f068";
}

.g-menu-state:checked ~ .g-main-menu,
.g-menu-state:checked ~ .g-sub-menu {
    display: block;
}

.g-sub-menu {
    margin-left: 1em;
}

.g-sub-menu li:first-child {
    border-top: 1px solid rgba(0,0,0,0.6);
}

@media (min-width: 576px) {
    .g-menu-state ~ a,
    .g-menu-state ~ .g-menu-item {
        padding-right: 2.5em;
    }

    .g-menu-state ~ .g-menu-icon::after {
        content: "\f078";
    }

    .g-sub-menu .g-menu-state ~ .g-menu-icon::after {
        content: "\f054";
    }

    .g-menu-icon {
        padding: 1em 0.5em;
    }
    
    .g-menu-item ~ .g-menu-icon {
        padding-left: 100%;
    }
}

@media (max-width: 767px) {
    .g-menu-toggle {
        display: block;
    }

    .g-menu-toggle .g-menu-icon {
        top: 50%;
        transform: translateY(-50%);
    }

    .g-main-menu {
        display: none;
    }

    .g-menu-state ~ a,
    .g-menu-state ~ .g-menu-item {
        padding-right: 3.5em;
    }

    .g-menu-icon {
        padding: 1em;
    }
}

/* table*/
.g-table {
    display: table;
    table-layout: fixed;
}

.g-caption {
    display: table-caption;
}

.g-colgroup {
    display: table-column-group;
}

.g-col {
    display: table-column;
}

.g-thead {
    display: table-header-group;
}

.g-tbody {
    display: table-row-group;
}

.g-tfoot {
    display: table-footer-group;
}

.g-tr {
    display: table-row;
}

.g-th {
    font-weight: bold;
}

.g-th,
.g-td {
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    display: table-cell;
    padding: 0.75rem;
}

.g-tr:first-child > .g-th,
.g-tr:first-child > .g-td {
    border-top: 1px solid #dee2e6;
}

.g-thead + .g-tbody > .g-tr:first-child > .g-th,
.g-thead + .g-tbody > .g-tr:first-child > .g-td,
.g-tbody + .g-tfoot > .g-tr:first-child > .g-th,
.g-tbody + .g-tfoot > .g-tr:first-child > .g-td {
    border-top: none;
}

.g-th:last-child,
.g-td:last-child {
    border-right: 1px solid #dee2e6;
}

/* width*/
.g-w-70 {
    width: 70px;
}

.g-w-100 {
    width: 100px;
}

.g-w-150 {
    width: 150px;
}

.g-w-200 {
    width: 200px;
}

.g-w-250 {
    width: 250px;
}

.g-w-300 {
    width: 300px;
}

/* image overlay */
.img-overlay {
    display: inline-block;
    position: relative;
}

.img-overlay::before {
    background: rgba(0, 0, 0, 0.5);
    content: "";
}

.img-hoverlay::before,
.img-hoverlay > .icon {
    opacity: 0;
    transition: all 0.5s ease;
}

.img-hoverlay:hover::before,
.img-hoverlay:hover > .icon {
    opacity: 1;
}

.img-overlay::before {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.img-overlay > .icon {
    color: #fff;
    font-size: 52px;
    left: calc(50% - 26px);
    position: absolute;
    top: calc(50% - 26px);
}

.img-overlay > .icon-sm {
    font-size: 26px;
    left: calc(50% - 13px);
    top: calc(50% - 13px);
}
