* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', sans-serif;
    background-color: #abeeff;
    background-image: url(fundo.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 90%;
    max-width: 1400px;
    justify-content: center;
}

.cartao {
    background-color: white;
    border: 4px solid #111111;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.cartao.selecionado {
    transform: scale(1.2);
    border-color: #0000FF;
    box-shadow: 0 8px 20px rgba(0, 0, 255, 0.3);
}

.cartao img {
    width: 85%;
    height: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
}
.cartao p {
    font-size: 20px;
    font-weight: bold;
    color: #111111;
    margin-top: 10px;
}

.cartao:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.telaCheia {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(255, 255, 255);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.telaCheia img {
    width: 60%; 
    height: auto;
    max-width: 500px;
    transition: transform 0.3s ease;
}
.telaCheia p {
    font-size: 36px;
    position: absolute;
    bottom: 20px;
    text-align: center;
    color: #111111;
    font-weight: bold;
}

.contador {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 24px;
    z-index: 2;
}
