html {
    font-size: 14px;
}

body {
    font-family: "Open Sans", sans-serif;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "Oswald", sans-serif;
}

.cursor-pointer {
    cursor: pointer;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.bg-1 {
    background: #672b83;
}

.bg-2 {
    background: #ff3394;
}

.bg-3 {
    background: #ff0038;
}

/* 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;
    font-weight: bold;
}

.g-sub-menu {
    background: #fff;
}

.g-main-menu li {
    border-bottom: 1px solid #ddd;
    position: relative;
}

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

.g-main-menu a,
.g-menu-item {
    color: #444;
    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 {
    outline: none;
    color: #ff0038;
}

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

.g-main-menu .active {
    color: #ff0038;
}

@media (max-width: 575px) {
    .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 #ddd;
    }
}

@media (min-width: 576px) {
    .g-main-menu,
    .g-menu-state:checked ~ .g-main-menu {
        display: flex;
        flex-flow: row wrap;
    }

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

    .g-main-menu li:hover > .g-sub-menu {
        display: block;
    }

    .g-sub-menu {
        border: 1px solid #ddd;
        left: 0;
        min-width: 10em;
        position: absolute;
        top: 100%;
        white-space: nowrap;
        z-index: 2;
    }

    .g-sub-menu .g-sub-menu {
        left: 100%;
        top: 0;
    }

    .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;
    }
}

@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;
    }
}

/* 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);
}
