@import url('utility.css');

@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);
}

* {
    font-family: 'Minecraft', monospace;
}

body {
    background: var(--background-color);
    opacity: 0;
    animation: fadeIn 0.2s ease-in-out forwards;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
}

button {
    width: 50px;
    height: 50px;
    margin: 5px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
}

.section {
    background: var(--secondary-color);
    border-color: var(--accent-color);
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 0 50px var(--accent-color);
    border: 1px solid var(--accent-color);
    max-width: 800px;
}

.navbar {
    background: var(--primary-color);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 10px;
    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.5em;
}

.row {
    display: flex;
    justify-content: center;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

label.header {
    color: var(--accent-color);
}

.textField {
    color: white;
}

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%;
}