@Font-face {
    font-family: 'Neo Sans';
    src: url(/fonts/neo_sans_sv/NeoSansStd-Regular.otf?#iefix);
}

*,
*::before,
*::after {
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: #ccc;
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    width: 100vw;
    margin: 0;
    font-size: .7rem;
    background-color: #f7f7f7;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

img:not([src]):not([srcset]) {
    visibility: hidden;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.scroll-to-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    overflow: hidden;
    width: 5em;
    height: 5em;
    text-align: center;
    bottom: 0;
    right: 0;
    margin: 0 1em 1em 0;
    border-radius: 50%;
    background-color: rgba(204, 204, 204, .5);
    z-index: 999;
    cursor: pointer;
    transition: all .3s ease-out;
}

.to-top-appear {
    visibility: visible;
    transform: translateY(0);
}

.to-top-disappear {
    visibility: hidden;
    transform: translateY(-20px);
}

.error-404 {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333333;
}

.error-404 p {
    text-align: center;
}

.error-404 p a {
    color: #333333;
    font-weight: bold;
}

#p-404 {
    font-size: 8rem;
    margin: 0;
    font-weight: bold;
}