:root {
    --body-width-pix: 1000px;
    --body-width: clamp(0px, var(--body-width-pix), 90vw);
  }
  

body {
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;

    
    background-color: black;
    background-image: url(images/bg.png);
    background-size: 100%;
    background-attachment: fixed;
    font-family: "Merriweather", serif;
}

a {
    color: inherit;
}

#logo {
    margin-top: 20px;
    width: var(--body-width);
}

#description {
    width: var(--body-width);
    font-size: 1.25em;
    line-height: 1.5;
    margin-bottom: 1em;
}

.cardfan {
    width: 100%;
}

.credits {
    font-size: 1.25em;
    margin-bottom: 1em;
}

.twocolumns {
    width: var(--body-width);

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 5px 2.5vw;
    justify-items: center;
    
}

@media (max-width: 1000px) { /* Adjusts to one column when screen width is 600px or less */
    .twocolumns {
        grid-template-columns: 1fr;
    }

    .cardfan {
        width: 80%;
    }
  }

.playbutton {
    margin-top: 1em;

    width: 100%;

    color: white;
    text-align: center;
    font-size: 2em;
    line-height: 2;

    background-color: black;

    border-radius: 5px;
    border: solid 2px white;

    transition: transform 0.1s;
}

.playbutton:hover {
    transform: scale(1.05);
}

#printandplaybutton {
    border-color: #81aaf2;
    color: #81aaf2;
    background-color: #2c2b91;
}

#tabletopsimbutton {
    border-color: #e28df3;
    color: #e28df3;
    background-color: #6428be;
}

#tabletopsimbutton img {
    height: 1em;
    width: 1em;

    margin-bottom: -0.15em;
    margin-left: 0.1em;
}