/* Theming */
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--white);
    font-family: "Poppins", sans-serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}
:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
}

/* Header */
.header{
    background-color: var(--black);
    box-shadow: 1px 1px 5px 0px var(--grey);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    isolation: isolate;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    font-size: 60px;
    margin-left: 10px;
    position: relative;
    z-index: 10001;
}

/* Nav menu - mobile default */
.nav{
    position: fixed;
    top: 80px;          /* below header */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--black);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}

/* Menu links */
.menu a{
    display: block;
    padding: 22px 30px;
    color: var(--white);
    background-color: var(--black);
}

.menu a:hover{
    background-color: var(--grey);
}

.menu svg{
    color: var(--white);
    fill: var(--white);
}

.menu svg:hover{
    color: var(--grey);
    fill: var(--grey);
}

/* Menu icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 40px 20px;
    position: relative;
    z-index: 10001;
}

.hamb-line {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after{
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
}

/* Open mobile menu */
.side-menu:checked ~ nav{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
}

/* Desktop */
@media (min-width: 768px) {
    .nav{
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: fit-content;
        float: right;
        background-color: transparent;
        overflow: visible;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
        z-index: auto;
    }

    .menu li{
        float: left;
    }

    .menu a{
        padding: 30px;
        background-color: transparent;
    }

    .menu a:hover{
        background-color: transparent;
        color: var(--grey);
    }

    .hamb{
        display: none;
    }
}
/* ===== MOBILE MENU FIX ONLY ===== */
@media (max-width: 767px) {
    .header{
        z-index: 100000 !important;
    }

    .nav{
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: calc(100vh - 80px) !important;
        background-color: #36383F !important;
        z-index: 99999 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;

        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;
    }

    .side-menu:checked ~ nav{
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .menu{
        width: 100% !important;
    }

    .menu li{
        width: 100% !important;
        float: none !important;
    }

    .menu a{
        display: block !important;
        width: 100% !important;
        padding: 20px !important;
        background: #36383F !important;
        color: #fff !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
}