@font-face {
    font-family: "Veteran Typewriter-Regular";
    src: url("/fonts/veteran-typewriter.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body{
    background-image: url("/images/red-wallpaper-200.jpg");
    max-width: 100%;
    --bs-heading-color : #fff;
    padding-top: 20px;
}

h1, h2{
    font-family: "Veteran Typewriter-Regular", "Courier New", Courier, monospace;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
}


.modal-content{
    background-image: url(../images/texture-square-large.webp);
    background-size: cover;
    border-radius: 5px;
}

.modal-body p{
    font-family: "Veteran Typewriter-Regular", "Courier New", Courier, monospace;
    color: #000;
    font-size: 16px;
}

.modal-header{
    margin-bottom: 20px;;
}

h1.modal-title{
    color: black!important;
}

.intro{
    text-align: center;
    font-family: "Veteran Typewriter-Regular", "Courier New", Courier, monospace;
    color: #ffffff;
    margin-top: 20px;
}

main{
    max-width: 480px;
    margin: 0 auto 40px;
}

.grid-wrapper{
    margin: 10px;
    padding: 30px;
    background-image: url(../images/Square_gold_frame_2.webp);
    background-size: cover;
}
.bingo-grid {
    /* display: grid;
    grid-template-columns: repeat(5, 0.5fr);
    gap: 5px; */
    max-width: 100%;
    margin: 0 auto;
}

.bingo-row {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
}

.bingo-cell {
    width: 20%;
    background-color: url(../images/texture-square-large.webp);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    /* transition: background-color 0.1s ease; */
    font-size: 6px;
    font-family: "Veteran Typewriter-Regular", "Courier New", Courier, monospace;
    aspect-ratio: 1 / 1; 
    padding: 5px;
}

.bingo-cell.clicked {
    background-color: #ffcc00;
    color: #000;
}


.bingo-cell.correct {
    background-color: green;
    color: white;
}

.bingo-actions{
    text-align: center;
}

.tm-modal{
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    /* opacity: 1!important; */
    padding: 20px;
    pointer-events: none;
}

.modal-content{
    padding: 10px;
    border-radius: 5px;
}

.tm-modal div{
    pointer-events: inherit;
}

.overlay{
    display:none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

footer{
    text-align: center;
    margin-top: 20px;
    font-family: "Veteran Typewriter-Regular", "Courier New", Courier, monospace;
    color: #ffffff;
}

#confetti{
    display: none;
}

p a{
    color: white;
}



.btn-grad {background-image: linear-gradient(to right, #FF8008 0%, #FFC837  51%, #FF8008  100%)}
.btn-grad {
   margin: 10px;
   padding: 15px 45px;
   text-align: center;
   text-transform: uppercase;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;            
   border-radius: 10px;
   display: block;
   font-family: "Veteran Typewriter-Regular", "Courier New", Courier, monospace!important;
 }

 .btn-grad:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
 }

 canvas{
    z-index: 3000;
 }


 @media (min-width: 768px) {
    .intro{
        font-size: 20px;
    }
    h1, h2{
        font-size: 30px;
    }

    main{
        max-width: 768px;
    }

    .grid-wrapper{
        padding: 60px;
    }

    .bingo-cell{
        font-size: 12px;
    }
}
