:root {
    --background-color: #1c1c1c;
    --m8use-green: 130, 210, 100;
    --m8use-dark-green: 25, 165, 10;
}

@font-face {
    font-family: 'minecraft';
    src: url('assets/Minecraft.otf');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--background-color);
    color: rgb(var(--m8use-green));
    font-family: "minecraft", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-x: hidden;
}

.page-content {
    flex: 1;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.m8use-image img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    user-select: none;
}

h1 {
    font-size: 3rem;
    color: rgb(var(--m8use-green));
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.yt-buttons {
    display: flex;
    gap: 16px;
    width: 100%;
}

.yt-buttons a {
    flex: 1;
}

.icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    flex-shrink: 0;

    background-color: currentColor;

    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.icon-youtube {
    -webkit-mask-image: url('assets/youtube.svg');
    mask-image: url('assets/youtube.svg');
}

.icon-twitch {
    -webkit-mask-image: url('assets/twitch.svg');
    mask-image: url('assets/twitch.svg');
}

.icon-tiktok {
    -webkit-mask-image: url('assets/tiktok.svg');
    mask-image: url('assets/tiktok.svg');
}

.links-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;

    background-color: transparent;
    color: rgb(var(--m8use-green));

    text-decoration: none;
    font-size: 1.1rem;
    font-family: inherit;

    border: 2px solid rgb(var(--m8use-green));
    border-radius: 8px;

    cursor: pointer;
    transition: background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.1s ease;
}

.links-container a:hover {
    background-color: rgb(var(--m8use-green));
    border-color: rgb(var(--m8use-green));
    color: #121212;
}

.links-container a:active {
    transform: scale(0.98);
}

footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

address {
    font-style: normal;
}

footer a {
    color: inherit;
    text-decoration: underline;
}

footer a:hover {
    color: rgb(var(--m8use-green));
}

@media (max-width: 480px) {
    .yt-buttons {
        flex-direction: column;
    }
}