/**
       * Extend the react-native-web reset:
       * https://github.com/necolas/react-native-web/blob/master/packages/react-native-web/src/exports/StyleSheet/initialRules.js
       */
html,
body,
#root {
    width: 100%;
    /* To smooth any scrolling behavior */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    margin: 0px;
    padding: 0px;
    /* Allows content to fill the viewport and go beyond the bottom */
    height: 100%;
}

#root {
    flex-shrink: 0;
    flex-basis: auto;
    flex-grow: 1;
    display: flex;
    flex: 1;
}

html {
    scroll-behavior: smooth;
    /* Prevent text size change on orientation change https://gist.github.com/tfausak/2222823#file-ios-8-web-app-html-L138 */
    -webkit-text-size-adjust: 100%;
    height: calc(100% + env(safe-area-inset-top));
}

/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.5) transparent;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    transition: all 0.5s;
}

*::-webkit-scrollbar-track {
    background: transparent;
    transition: all 0.5s;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.0);
    border-radius: 20px;
    border: 3px solid transparent;
}

*:hover::-webkit-scrollbar-track,
*:hover::-webkit-scrollbar {
    visibility: visible !important;
}

*:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
}

body {
    display: flex;
    /* Allows you to scroll below the viewport; default value is visible */
    overflow-y: hidden;
    overscroll-behavior-y: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-overflow-style: scrollbar;
}

/* Enable for apps that support dark-theme */
@media (prefers-color-scheme: dark) {
    body {
        background-color: black;
    }
}

#popup-content{
    width: 100vw;
    height: 100vh;
    z-index: 999999!important;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0px;
    background-color: #131313;
    position: absolute;
}

.closeButton {
    width:50px;
    height:50px;
    top: 30px;
    right: 20px;
    cursor: pointer;
    position: fixed;
}

.closeButton > .line-1,
.closeButton > .line-2 {
    width:50px;
    height:3px;
    background-color: white;
    border-radius: 1.5;
    position: relative;
}

.closeButton > .line-1 {
    transform: rotate(-45deg);
    top: 18px;
}
.closeButton > .line-2 {
    top:15px;
    transform: rotate(45deg);
}