@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600&family=M+PLUS+1:wght@100;200;300;400;500;600;700;800&display=swap');

body {
    background-color: #101010;
    font-family: 'M PLUS 1', sans-serif;
    color: white;
}

.fade-in {
    opacity: 0;
}

.fade-in.loaded {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

h1 {
    font-weight: 300;
    letter-spacing: 0.05em;
    font-size: 50px;
    margin: 0;
    word-break: keep-all
}

h2 {
    opacity: 0.9;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 0.05em;
    margin: 0;
}

h3 {
    opacity: 0.5;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.05em;
    margin: 0;
}

a {
    color:inherit;
}

a.lang-switcher {
    color: white;
    text-decoration: none;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 0.05em;
    opacity: 0.15;
    font-weight: 300;
    font-size: 15px;
    margin: 0;
    transition: opacity 0.3s;
}

a.lang-switcher:hover {
    opacity: 0.6;
}

button {
    border: white 1px solid;
    border-radius: 50px;
    color: white;
    background: none;
    padding: 10px 32px;
    margin: 5px;
    margin-top: 20px;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s;
}

button:hover {
    opacity: 0.8;
}

.centered {
    position: fixed;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 60%;
}

.bottom {
    position: fixed;
    bottom: 5%;
    width: 100%;
    text-align: center;
}

.animated {
    --bg-size: 400%;
    --color-one: hsl(286, 100%, 74%);
    --color-two: hsl(353, 87%, 65%);
    background: linear-gradient(90deg,
            var(--color-one),
            var(--color-two),
            var(--color-one)) 0 0 / var(--bg-size) 100%;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: move-bg 20s infinite linear;
}

@media only screen and (max-width: 900px) {
    .centered {
        text-align: center;
        top: 50%;
        font-size: 1.8vw;
    }
}

@keyframes move-bg {
    to {
        background-position: -400% 0;
    }
}

#particles-js {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -100;
    top: 0;
    left: 0;
}

.unavailable {
    opacity: 0.1;
    cursor: not-allowed;
}

.unavailable:hover {
    opacity: 0.1;
}