@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body {
    font-family: 'Press Start 2P';
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: url(/images/desertfondo.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1 {
    color: #ffffff;
    text-align: center;
    text-shadow: 
	-2px -2px 0 rgb(0, 0, 0),
	-2px 2px 0 rgb(0, 0, 0),
	2px 2px 0 rgb(0, 0, 0),
	2px -2px 0 rgb(0, 0, 0) ;
}

#question {
    font-size: 24px;
    margin: 20px 0;
}

#drop-zone {
    width: 250px;
    height: 100px;
    border: 2px dashed #000000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000000;
    margin: 20px 0;
    text-align: center;
}

#grid {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    gap: 15px;
}

.card {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FEB47B;
    background-color: #e0f7fa;
    font-size: 24px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.card:hover {
    background-color: #ae5f22;
    transform: scale(1.05);
}

.card.correct {
    background-color:chartreuse;
}

.card.incorrect {
    background-color: #ffcdd2;
}

.boton{
    background-color: #000000;
    justify-self:left;
    padding: 13px 30px;
    border-radius: 32px;
	margin-bottom: 20px;
    margin-right: auto;
}
.boton a{
	text-decoration: none;
	color: #fff;
}
.boton:hover{
	background: #FEB47B;
}

#score {
    font-size: 20px;
    margin-top: 10px;
}

#new-game {
    font-family: 'Press Start 2P';
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #311703;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 20px;
}

#new-game:hover {
    background-color: #080300;
    transform: scale(1.05);
}
video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
}
.capa{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.5;
    mix-blend-mode: overlay;
}


@media screen and (max-width: 900px) {
    body {
        font-family: 'Press Start 2P';
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 100px;
        background-size: cover;
    }
	#question {
        font-size: 30px;
        margin: 20px 0;
    }
    
    #drop-zone {
        width: 300px;
        height: 200px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        margin: 20px 0;
        text-align: center;
    }
    h1 {
        font-size: 50px;
        text-align: center;
    }

    #score {
        font-size: 30px;
        margin-top: 30px;
    }
    #pregunta{
        font-size: 25px;
        text-align: center;
    }
    #new-game {
        font-family: 'Press Start 2P';
        padding: 10px 20px;
        font-size: 25px;
        font-weight: bold;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
        margin-top: 20px;
    }
    
}