:root {
    --primary-color: white;
    --secondary-color: rgb(59, 59, 59);

    --black: rgb(0, 0, 0);
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;

    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 0px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

a {
    text-decoration: none;
}

.popup {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .15s ease, transform .15s ease;
}

.popup.show {
  opacity: 1;
  transform: scale(1);
}

.topbar {
    z-index: 99;
    width: 100%;
    height: 30px;

    top: 0;
    position: sticky;

    background-color: black;
    color: white;

    display: grid;

    text-align: center;
    place-items: center;
}

.sub-top {
    margin-top: 20px;
    text-align: left;
    padding-left: 20px;
    font-size: 40px;
    background-color: black;
    color: white;
}

div {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
    color: white
}

.bottom-main {
    display: grid;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    grid-template-columns: 150px 1fr auto;
    column-gap: 20px;
    bottom: 0;
    position: fixed;
    height: 60px;
    align-items: center;

    font-size: 13px;
}


/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-mask {
    width: 120px;
    height: 120px;
    -webkit-mask-image: url('../assets/logo-black.png');
    mask-image: url('../assets/logo-black.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background: #e0e0e0;    /* unfilled color — what the logo looks like before fill */
    position: relative;
    overflow: hidden;
}

.loader-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;                         /* starts empty */
    background: #000000;                /* fill color */
    animation: fillUp 1.5s ease-in-out forwards;
}

@keyframes fillUp {
    0%   { height: 0%; }
    100% { height: 100%; }
}