@font-face {
    font-family: japanFont;
    src: url(font.ttf);
}
body {
    font-family: "japanFont", serif;
    background-color: #282828;
    margin: 0;
}

.card {
    width: fit-content;
    margin: 2rem auto 0; /* top ; left/right ; bot */

    box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.5),
            0 0 0 3px black,
            0 0 0 4px rgba(255, 255, 255, 0.5),
            0 0 1rem black;

    background: url(texture.png);
    overflow: hidden;
    color: black;
    font-weight: bold;
}

.dflex{ display: flex; }
.dblock{ display: block; }
.vcenter{ align-items: center; }
.hcenter{ justify-content: center; }

.banner{
    display: flex;
    width: fit-content !important;
    max-width: 100%;
    height: auto;
}
.title{
    font-size: 1.5rem;
    margin: 1rem;
    text-align: center;
}

a {
    text-decoration: none;
    color:black
}

/* if width is lower than 1000px */
@media (max-width: 1000px) {

    .card {
        width: auto;
        margin: 1rem;
    }

    .dflex.hcenter{
        display: block;
    }
    .dflex.hcenter > .dflex{
        display: block;
    }

}