:root {
    --primary-bg-color: #ffdea4;
    --table-bg-color: #f9edc8;
    --table-second-bg-color: #ffffff;
}

@font-face {
    font-family: 'Candy Beans';
    src: url("./Candy\ Beans.otf") format("opentype");
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-bottom: 3%;
}

.grid img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background-color: white;
}

.art_img {
    border: 2px solid black;
}

#dialog {
    display: flex;
    align-items: center;
    padding: 2rem;
    background-color: white;
    border: 2px solid black;
    margin-top: 1rem;
}

#dialog2 {
    display: block;
    align-items: center;
    padding: 2rem;
    background-color: white;
    border: 2px solid black;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

body {
    margin: 0;
    background-blend-mode: multiply;
    background-image:
        linear-gradient(to bottom, rgba(255,255,255, 0) 0%, rgba(255, 149, 0, 0.79) 100%),
        url('./backgound.png');
    
    background-size: 30vh;
    background-position-x: center;
}

caption {
    font-size:x-large;
    background-color: var(--primary-bg-color);
}

#all {
    padding-inline: 5vw;
}

table {
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 1rem;
    width: 100%;
    text-wrap: nowrap;
}

#priceTables {
    display: block;
    justify-content: center;
    width: 50%;
    gap: 1%;
}

#pricesArea {
    width: 100%;
    display: flex;
    padding-bottom: 5%;
    align-items: center;
    justify-content: space-between;
}

#tullypreço {
    width: calc(20vw + 20rem);
    margin: auto;
    display: block;
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    #priceTables {
        width: 100%;
    }
    #pricesArea {
        width: 100%;
        display: block;
        padding-bottom: 5%;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #priceTables {
        width: 100%;
    }
    #pricesArea {
        width: 100%;
        display: block;
        padding-bottom: 5%;
    }
}

@media (max-width: 550px) {
    .grid {
        grid-template-columns: 1fr;
    }

    #dialog {
        display: block;
        align-items: center;
        padding: 2rem;
    }

    table {
        border-collapse: collapse;
        font-family: sans-serif;
        font-size: 1rem;
        width: 100%;
    }
    #priceTables {
        width: 100%;
    }
}

#creatura {
    width: 15rem;
}

.dialog-text {
    font-size: large;
}

.flip-image {
    -webkit-transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

h1 {
    font-family: 'Candy Beans';
    text-align: center;
    padding-block: 1%;
    font-size: xxx-large;
    text-decoration: underline;
}
h2 {
    font-family: 'Candy Beans';
    text-align: center;
}
p {
    font-family: 'Candy Beans';
    font-size: large;
}
a {
    font-family: 'Candy Beans';
}

.centerDiv {
    align-items: center;
    display: flex;
    justify-content: center;
}

.centerTableDiv {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    border: 2px solid rgb(168, 74, 7);
}

caption {
    padding: 1rem;
    font-weight: bold;
}

thead,
tfoot {
    background-color: rgb(228 240 245);
}

thead,
tfoot {
    background-color: var(--table-bg-color);
}

th,
td {
    text-align: left;
    padding: 1rem 3%;
}

tbody > tr:nth-of-type(even) {
    background-color: var(--table-second-bg-color);
}

tbody > tr:nth-of-type(odd) {
    background-color: rgb(255, 255, 240);
}

tfoot th {
    text-align: right;
    color: rgb(85, 85, 85);
}

tfoot td {
    font-weight: bold;
    color: rgb(34, 94, 34);
}

.footer {
    background: #dedede; /* amarelo pastel */
    padding: 10px;
    text-align: center;
    font-family: sans-serif;
}
  
.footer a {
    color: #000000; /* verde escuro */
    text-decoration: underline;
    font-weight: bold;
    margin: 0 5px;
    white-space: pre;
}

.footer a:hover {
    text-decoration: underline;
}