@font-face {
    font-family: "minecraftia";
    src: url("/fonts/minecraftia/Minecraftia-Regular.ttf");
}

@font-face {
    font-family: "minecrafter";
    src: url("/fonts/minecrafter/Minecrafter.Reg.ttf");
}

@font-face {
    font-family: "minecrafter-alt";
    src: url("/fonts/minecrafter/Minecrafter.Alt.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "minecraftia", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 0;
    outline: 0;
}

body {
    background-color: #1e1e1e;
}

nav {
    height: 90vh;
    background-image: url("./assets/shulker-bg-1.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 100px;

    img {
        height: 20%;
    }

    .links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;

        .buttons {
            display: flex;
            align-items: center;
            gap: 50px;

            .button-container {

                outline: 3px solid #000;
                border-bottom: 6px solid #2d2d36;
                text-decoration: none;
                position: relative;

                &::after {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: calc(100% + 6px);
                    background-color: rgba(100, 100, 255, .2);
                    opacity: 0;
                }

                &:hover {

                    &::after {
                        opacity: 1;
                    }

                    outline-color: #fff;
                    filter: brightness(1.25);
                }

                &:active {
                    border-bottom: 3px solid #2d2d36;
                }

                .button {
                    border: 3px solid #4b4c53;
                    /* background-color: #747579; */
                    padding: 10px 20px;
                    color: #fff;
                    transition: all 0.3s ease;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: relative;
                    gap: 20px;

                    cursor: pointer;
                    overflow: hidden;
                    white-space: nowrap;
                    user-select: none;

                    background: #999 url('https://i.ibb.co/rb2TWXL/bgbtn.png') center / cover;
                    image-rendering: pixelated;
                    
                    svg {
                        width: 32px;
                        color: #fff;
                    }
    
                    h2 {
                        font-size: 20px;
                    }
    
                    span {
                        position: absolute;
                        font-size: 12px;
                        bottom: 0px;
                    }
                }
            }
        }

        .more {
            text-decoration: none;
            color: #fff;
        }
    }
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 100px;

    section {
        height: 50vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
        color: #fff;

        &.features {
            background-image: url("./assets/shulker-bg-2.webp");
            background-size: cover;
            background-position: center;

            h1 {
                height: 50%;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: rgba(0, 0, 0, 0.5);
            }
        }
    }
}

.screenshot-container {
    height: 100%;

    .screenshot {
        height: 100%;
        transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
        filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.5));
        border-radius: 10px;
    }
}