html {
    font-size: 100%;
}

@media only screen and (min-width: 601px) {
  html {
    font-size: 100%;
  }
}

@media only screen and (max-width: 600px) {
  html {
    font-size: 90%;
  }
}

body {
    inset: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: fixed;
}

@media (prefers-color-scheme: dark) {
    body.dark-theme {
        background-color: #01172C;
        color: #ffffff;
    }
    .progress-bar.dark-theme {
        background-color: #C34864;
    }
    .background-bar.dark-theme {
        background-color: #63717E;
    }
}

@font-face {
    font-family: 'Titillium Web';
    src: url('fonts/TitilliumWeb-Regular.ttf');
}

#loading {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    width: 100%;
    top: 35%;
}

#loading h1 {
    font-family: 'Titillium Web', arial, sans-serif;
    font-weight: 300;
    font-size: 34;
    letter-spacing: 1px;
    top: 10%;
}

#progress-bar {
    height: 0.4rem;
    width: 0rem;
    border-radius: 1rem;
    background-color: #CF3D60;
}

#background-bar {
    background-color: #D9D9D9;
    border-radius: 1rem;
    width: 18rem;
    height: 0.4rem;
    position: absolute;
    top: 25%;
}

#progress-bar.one {
    animation-duration: 2s;
    animation-name: loading-step-one;
    animation-fill-mode: forwards;
}

#progress-bar.two {
    animation-duration: 0.5s;
    animation-name: loading-step-two;
    animation-fill-mode: forwards;
}

@keyframes
loading-step-one {
    from {
        width: 0rem;
    } to {
        width: 14rem;
    }
}

@keyframes
loading-step-two {
    from {
        width: 14rem;
    } to {
        width: 18rem;
    }
}