@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/InterVariable.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/InterVariable-Italic.woff2') format('woff2');
}

:root {
    font-family: 'Inter', sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1;
    /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
    :root {
        font-family: 'Inter', sans-serif;
    }
}

* {
    box-sizing: border-box;
}

body {
    position: relative;

    min-height: 100%;
    margin: 0;
    padding: 1em;
}

.bg {
    animation: slide 16s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, rgb(49, 14, 104) 50%, rgb(124, 31, 208) 50%);
    bottom: 0;
    left: -50%;
    opacity: .5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1;
}

.bg2 {
    animation-direction: alternate-reverse;
    animation-duration: 18s;
}

.bg3 {
    animation-duration: 20s;
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

.logo {
    width: 100%;
    max-width: 240px;
    margin-top: 1rem;
    margin-left: 0.9rem;
}

.container {
    margin: 4em auto 0;
    padding: 1.66rem;

    color: white;

    border-radius: 8px;
}

.content-body a,
.content-body a:link,
.content-body a:visited {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.content-body a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

.content-footer {
    position: absolute;
    text-align: center;
    left: 50%;
    bottom: 1em;
    transform: translateX(-50%);
}

@media screen and (max-width: 575px) {
    .logo {
        max-width: 190px;
        margin-left: 1rem;
    }

    .container {
        margin-top: 2em;
    }

    .hidden--smallscreen {
        display: none;
    }
}
