:root {
    font-family: IRSans;
    font-size: 16px;
    line-height: 24px;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;

    --main-theme: hsl(0, 0%, 100%);
    --sec-theme: hsl(0, 0%, 0%);
    --radius: 5px;
}

@font-face {
    font-family: IRSans;
    src: url("../assets/IRSans.woff");
}

@font-face {
    font-family: IRSansB;
    src: url("../assets/IRSansB.ttf");
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    min-height: 100vh;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
    font-family: 'IRSans';
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5em;
}

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

ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn_fill {
    background: #000;
    border: #000 solid 1px;
    border-radius: 5px;
    color: #fff;
    padding: 0.4em 1em;
    cursor: pointer;
    transition: all 200ms ease;
    font-size: 0.85rem;
    z-index: 3;
    height: fit-content;
    margin: auto 0;
}

.btn_fill:hover {
    background: #fff;
    color: #000;
}

body::-webkit-scrollbar {
    width: 10px;
    background-color: #fafafa
}

body::-webkit-scrollbar-thumb {
    background-color: #eaeaea;
    border-radius: 6px
}

button {
    background-color: black;
    color: white;
    border-radius: 5px;
    height: fit-content;
    transition: all 300ms ease;
    border: 1px solid #000;
    cursor: pointer;
    
}
button:hover {
    background-color: white;
    color: black;
}

#loading-base {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    height: 100%;
    backdrop-filter: saturate(200%) blur(5px);
    background-color: rgb(255, 255, 255, .6);
}

.loading-pulse {
    position: relative;
    width: 6px;
    height: 24px;
    background: rgb(0, 0, 0);
    -webkit-animation: pulse 750ms infinite;
            animation: pulse 750ms infinite;
    -webkit-animation-delay: 250ms;
            animation-delay: 250ms;
}

.loading-pulse:before, .loading-pulse:after {
    content: "";
    position: absolute;
    display: block;
    height: 16px;
    width: 6px;
    background: rgb(0, 0, 0);
    top: 50%;
    transform: translateY(-50%);
    -webkit-animation: pulse 750ms infinite;
            animation: pulse 750ms infinite;
}

.loading-pulse:before {
    left: -12px;
}

.loading-pulse:after {
    left: 12px;
    -webkit-animation-delay: 500ms;
            animation-delay: 500ms;
}

.loading-container {
    width: fit-content;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

@-webkit-keyframes pulse {
    50% {
    background: white;
}
}

@keyframes pulse {
    50% {
    background: white;
}
}

@keyframes loading-bar {
    0% {
        width: 0;
    }
    100%{
        width: 100%;
    }
}

img {
    align-self: baseline;
}