body {
    background-color: #EE4266;
    background-image: url(img/fondoDK.svg);
    font-family: 'Fredoka One', cursive;
}


h2 {
    color: white;
    font-size: 2rem;
    text-align: center;
    text-shadow: 5px 5px #303036;
    margin-top: -0.5rem;
    letter-spacing: 1px
    
}

H3 {
    color: #202022;
}

.btn-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 49px!important;
}

.todo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header {
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.header img{
    width: 150px;
}

.header button{
    width: 150px;
    height: 55px;
    background-color: #EE4266;
    border: solid 3px #303036;
    border-radius: 5px;
    font-family: 'Fredoka One', cursive;
    color:#303036;
    font-size: 1rem;
    box-shadow: 3px 3px #303036;
}

.header button:hover{
    width: 150px;
    height: 55px;
    background-color: white;
    border: solid 3px #FFD23F;
    border-radius: 5px;
    font-family: 'Fredoka One', cursive;
    color:#FFD23F;
    font-size: 1.1rem;
    box-shadow: 3px 3px #FFD23F;
}

.contador {
    width: 170px;
    height: 55px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 3px 3px #303036;
    border: solid 3px #303036;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color:#303036;
    opacity: 0;
}

#icono-tiempo {
    width: 30px;
    margin-left: 15px
}

#ten-countdown {
    width: 150px;
    height: 55px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color:#303036;
}

.icono {
    width: 40px;
    margin-right: 15px;
}

.titulo-hueco {
    display: flex;
}

.mesa {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #303036;
    font-size: 1.5rem;
    text-align: center;
    box-shadow: 5px 5px #303036;
    border-radius: 20px;
     background-color: rgba(255, 255, 255, 0.8); 

    padding-bottom: 2.5rem;
}

.hueco {
    width: 400px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.carta, .carta2, .carta3, .carta4, .carta1  {
    width: 200px;
    height: 350px;
    border-radius: 7px;
    box-shadow: 3px 3px #303036;
    background-image: url(img/carta-reversoDK.jpg);
    border: solid 4px #303036;
    background-position:top;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items:flex-end;
}

.cartel-carta, .cartel-carta1, .cartel-carta2, .cartel-carta3, .cartel-carta4 {
    height: 100px;
    width: 95%;
    background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 5px;
    font-size: 1.2rem;
    border: solid 3px #303036;
    display: flex;
    justify-content: center;
    align-items:center;
    margin-bottom: 3px;
    opacity: 0;
}


.boton-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.randombutton {
    width: 220px;
    height: 55px;
    background-color: white;
    border: solid 3px #303036;
    border-radius: 5px;
    font-family: 'Fredoka One', cursive;
    color:#303036;
    font-size: 1rem;
    box-shadow: 3px 3px #303036;
    margin-top: 2rem;
}

.randombutton:hover{
    width: 220px;
    height: 55px;
    background-color: white;
    border: solid 3px #FFD23F;
    border-radius: 5px;
    font-family: 'Fredoka One', cursive;
    color:#FFD23F;
    font-size: 1.1rem;
    box-shadow: 3px 3px #FFD23F;
}

#popup {
    text-align: center;
    padding: 1rem;
    background-color: #EE4266;
    width: 700px;
    box-shadow: 5px 5px #303036;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    visibility: hidden;

}

#popup2 {
    text-align: center;
    padding: 1rem;
    background-color: #EE4266;
    width: 700px;
    box-shadow: 5px 5px #303036;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    visibility: hidden;

}

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

.instrucciones-caja {
    width: 120px;
    text-align: center;
    margin: 1rem;
    color:  #202022;
}

.instrucciones-caja img{
    width: 60px;
}

#popup_demo {
    text-align: center;
    padding: 1rem;
    background-color: #11a793;
    width: 700px;
    box-shadow: 5px 5px #303036;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    visibility: visible;

}
#popup_demo p {
    color: #202022;
}

#popup_demo img {
    width: 40px;
    margin-right: 0.5rem;
}


@media (max-width: 400px) {
    #popup2 {
        visibility: visible;
    }

    .mesa {
        visibility: hidden;
    }

    .boton-container {
        visibility: hidden;
    }
}