@font-face {
    font-family: 'Minecraft';
    src: url('../fonts/Minecraftia.ttf') format('truetype');
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

:root {
    --primary-color: rgba(31, 34, 36);
    --secondary-color: rgba(31, 34, 36);
    --accent-color: rgba(189, 175, 246);
    --background-color: rgba(54, 54, 64);
    --text-color: white;
}

*,
*::before,
*::after {
    font-family: 'Minecraft', monospace;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: var(--background-color);
    opacity: 0;
    animation: fadeIn 0.2s ease-in-out forwards;
    margin: 8px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
}

button {
    width: 3rem;
    height: 3rem;
    margin: 5px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding-inline: 6px;
    background-color: white;
}

button:hover {
    background-color: whitesmoke;
}

section {
    background: var(--secondary-color);
    border-color: var(--accent-color);
    padding: 1.25rem;
    border-radius: 24px;
    box-shadow: 0 0 50px var(--accent-color);
    border: 1px solid var(--accent-color);
    max-width: 900px;
    width: 100%;
}

nav {
    background: var(--primary-color);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 0 50px var(--accent-color);
    border: 1px solid var(--accent-color);
}

.linkButton {
    width: auto;
    height: auto;
}

header {
    display: flex;
    position: sticky;
    position: -webkit-sticky;
    top: 0.5rem;
}

.row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flexbox {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

label {
    color: var(--accent-color);
}

p {
    color: var(--text-color);
}

body.backgroundimage {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 120%;
    background-attachment: scroll;
}

.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: top;
    z-index: -1;
    width: 100%;
    height: 120%;
}

img {
    width: 100%;
}

span {
    background-color: var(--accent-color);
    margin-top: 10px;
    margin-bottom: 10px;
    height: 2px;
    width: 100%;
    box-shadow: 0px 2px 16px 0px var(--accent-color), 0px -2px 16px 0px var(--accent-color);
}

output {
    color: var(--accent-color);
}
