@import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@400;700&family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    background: url("../img/bg.jpg");
    background-position: center;
    background-size: cover;
    color: #fff;
}

.logo {
	margin-top: 25px;
	width: 540px;
	animation: none;
}

.bounce {
	animation: bounce 2s ease;
}

@keyframes bounce {
	0%   { transform: scale(1,1) translateY(0); }
	10%  { transform: scale(1.1,.9) translateY(0); }
	30%  { transform: scale(.9,1.1) translateY(-5px); }
	50%  { transform: scale(1,1) translateY(0); }
	100% { transform: scale(1,1) translateY(0); }
}

#content{
	display: flex;
    width: 100%;
    justify-content: space-evenly;
	margin-top: -1vw;
}


.gridnumber {
    width: 35%;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gridnumber .choice {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    width: 55px;
    border-radius: 10px;
    /* background: gray; */
    border: 1px solid #fff;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    transition: .5s;
    box-shadow: rgba(0, 0, 0, 0.753) 0px 25px 20px -20px;
    backdrop-filter: blur(5px);

    /* glass */
    /* border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
}

.gridnumber .choice:hover {
    background: rgb(40, 82, 98);
    transform: scale(1.2);
}

.gridnumber .choice.disabled {
    background: rgb(233 24 24);
	animation: 2s animScale 0s 1;
}

@keyframes animScale {
    0%   { transform: scale(1,1)    translateY(0); background: rgb(255, 165, 0); /* Orange */ }
    10%  { transform: scale(1.1,.9) translateY(0); background: rgb(255, 165, 0); /* Orange */ }
    30%  { transform: scale(.9,1.1) translateY(-5px); background: rgb(0, 68, 150); /* Bleu */ }
    50%  { transform: scale(1,1)    translateY(0); }
    100% { transform: scale(1,1)    translateY(0); }
}

.contenttirage{
	width: 30%;
}

.tirage{
	margin-top: 60px;
	display: none
}

.boule1{
	position: relative;
	width: 22vw;
    height: 22vw;
	border-radius: 50%;
    background: #d126ca;
	display: flex;
    justify-content: center;
	box-shadow: 0px 0px 12px 5px #ffffff;
}

.boule-red    { background-color: #e74c3c; }   /* B 1-15 */
.boule-orange { background-color: #e67e22; }   /* I 16-30 */
.boule-yellow { background-color: #f1c40f; }   /* N 31-45 */
.boule-green  { background-color: #2ecc71; }   /* G 46-60 */
.boule-blue   { background-color: #3498db; }   /* O 61-75 */

.boule2 {
    width: 90%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes popBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.boule2 span {
    width: 18vw;
    height: 18vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #dcdcdc);
    font-size: 9vw;
    font-weight: bold;
    padding: 0;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
    color: #2c3e50;
    box-shadow: inset -4px -4px 10px rgba(255, 255, 255, 0.8),
                inset 4px 4px 10px rgba(0, 0, 0, 0.2),
                0px 0px 20px 5px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease-in-out;
	animation: popBounce 0.4s ease-out;
}

.modal{
	color: #000000;
}

.footer{
	position: fixed;
    bottom: 0;
    width: 100%;
	padding: 1vw;
	display: flex;
	justify-content: center;
}

.footer button{
	margin: 0 5px
}

.progress-container {
    width: 50%;
    margin: 1vw auto;
}

.ribbon-demo {
    position: fixed;
    top: 125px; /* compense la rotation */
    left: -15px; /* compense le décalage vers la gauche */
    width: 200px;
    background: red;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 5px 0;
    z-index: 9999;
    transform: rotate(-45deg);
    transform-origin: 0 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 480px) {
    .ribbon-demo {
        top: 20px;
        left: -40px;
        width: 120px;
        font-size: 12px;
    }
}