@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    user-select: none;
}

button {
    user-select: none;
}

@media (hover: hover) {
    a {
        cursor: pointer;
    }

    button {
        cursor: pointer;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
a,
figure {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    border-width: 0;
    opacity: 1;
}

h2 {
    font-weight: 300;
    font-size: 3.5em;
    --text-opacity: 1;
    color: rgba(var(--font-color-rgb), var(--text-opacity));
}

h3 {
    font-weight: 300;
    font-size: 2em;
    --text-opacity: 1;
    color: rgba(var(--font-color-rgb), var(--text-opacity));
}

h4 {
    font-weight: 300;
    font-size: 1.6em;
    --text-opacity: 1;
    color: rgba(var(--font-color-rgb), var(--text-opacity));
}

h5 {
    font-weight: 600;
    font-size: 1.1em;
    --text-opacity: 1;
    color: rgba(var(--font-color-rgb), var(--text-opacity));
}


ul {
    display: block;
    margin: 0;
    padding: 0;
}

p {
    font-size: 1em;
    --text-opacity: 0.63;
    color: rgba(var(--font-color-rgb), var(--text-opacity));
    line-height: 1.9em;
}

li {
    display: block;
}

button {
    background-color: transparent;
    border: none;
    display: block;
    padding: 0;
    margin: 0;
    align-items: normal;
}

body {
    margin: 0;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* iOS Safari navbar transparent */
    padding-bottom: env(safe-area-inset-bottom);
    background-color: var(--bg-color);
}

/* iOS Safari navbar transparent */
@supports (-webkit-touch-callout: none) {
    body {
        background-color: transparent;
    }
    
    html {
        background-color: transparent;
    }
}

@media only screen and (max-width:576px) {
    h2 {
        font-size: 3em;
    }
}

#root {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    /* background-color: white; */
}

html[data-theme="dark"] #root {
    /* background-color: var(--bg-color); */
}

section {
    scroll-margin-top: 5rem;
}