img {
    display: block;
    margin: 40px auto;
    width: 20%;
    border-radius: 50px;
    border: 2px solid rgb(181, 251, 251);
    box-shadow:  2px 2px 20px rgb(175, 216, 241),
                 -2px -2px 20px rgb(175, 216, 241);

}

body {
    width: 100%;
    background-color: rgb(2, 6, 29);
    margin: 0;
}

h1{
    margin: 0;
    display: block;
    color: whitesmoke;
    font-family: Dela Gothic One;
    text-align: center;
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 1px;
}

#resultado {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    width: fit-content;
    height: fit-content; 
    padding: 10px; 
    background-color: rgb(6, 18, 87);
    color: whitesmoke;
    border-radius: 10px;
    border: 2px solid rgb(181, 251, 251);
    box-shadow:  2px 2px 10px rgb(175, 216, 241), -2px -2px 10px rgb(175, 216, 241);
    margin: 0 auto;
}

#opciones {
    display: flex; 
    flex-wrap: wrap;
    gap: 10px; 
    justify-content: center; 
    margin-top: 20px;
    margin-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
}


button.opcion {
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: block; 
    padding: 10px 20px; 
    font-size: 16px;
    font-weight:700; 
    background-color: rgb(87, 223, 186); 
    color: rgb(6, 18, 87); 
    border: none;
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
    width: 120px; 
    text-align: center;  
}


button.opcion:hover {
    background-color: #dfebe8; 
}


@keyframes shrinkRotate {
    0% {
        transform: scale(1) rotate(0deg); 
    }
    50% {
        transform: scale(0.5) rotate(180deg); 
    }
    100% {
        transform: scale(1) rotate(360deg); 
    }
}


img.animated {
    animation: shrinkRotate 0.5s ease-in-out; 
}


#menu-partida {
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
}


#marcador {
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: block;
    width: fit-content;
    gap: 20px;
    font-size: 18px;
    margin:0 auto;
    color: whitesmoke;
    background-color:rgb(6, 18, 87);
    border: 2px solid rgb(181, 251, 251);
    box-shadow:  2px 2px 10px rgb(175, 216, 241), -2px -2px 10px rgb(175, 216, 241);
    border-radius: 10px;
    padding: 0 10px;
}
#marcador p{
    margin: 5px;
    display: inline-block;
}


#resultado {
    margin-bottom: 20px; 
}


#iniciar-partida {
    margin: 15px auto;
    display: block; 
    padding: 10px 20px; 
    font-size: 16px;
    font-weight:700;
    font-family: Georgia, 'Times New Roman', Times, serif; 
    background-color: rgb(87, 223, 186); 
    color: rgb(6, 18, 87); 
    border: none;
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s;
    height: fit-content; 
}

#iniciar-partida:hover {
    background-color: #dfebe8;
}


.dropdown {
    position: fixed;
    top: 170px;
    right: 100px;
    text-align: center;
    
}
  
.dropdown-content {
    display: none;
    position: absolute;
    margin: 5px auto;
    background-color: rgb(6, 18, 87); ;
    min-width: 290px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 50%; /* Posiciona el dropdown desde el centro */
    transform: translateX(-50%); /* Ajusta el contenido para que quede centrado */
    text-align: left;
    border: 2px, solid, rgb(181, 251, 251);
    border-radius: 5px;
}
  
.dropdown-content p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 2px auto;
    color: whitesmoke;
    padding: 5px 10px;
    text-decoration: none;
    display: block;
}
  
.dropdown-content p:hover {
    background-color: rgb(87, 223, 186);
    color: rgb(6, 18, 87);
}
  
.dropdown-btn:hover  {
    display: block;
}

.dropdown-btn {
    padding: 12px 15px; 
    font-size: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: inline-block;
    margin: 5px auto;
    background-color: rgb(6, 18, 87);
    color:  whitesmoke;  
    cursor: pointer; 
    transition: background-color 0.3s;
    height: fit-content; 
    box-shadow:  2px 2px 10px rgb(175, 216, 241), -2px -2px 10px rgb(175, 216, 241);
    border: 2px solid rgb(181, 251, 251);
    border-radius: 10px;
}

#opciones-partida {
    background-color: rgb(6, 18, 87);
    color: whitesmoke;
    margin-top: 20px;
    padding: 5px;
    box-shadow:  2px 2px 10px rgb(175, 216, 241), -2px -2px 10px rgb(175, 216, 241);
    border: 2px solid rgb(181, 251, 251);
    border-radius: 10px;
}

.popup-custom {
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 18px;
    color: whitesmoke;
    background-color: rgb(6, 18, 87);
    border: 2px solid rgb(181, 251, 251);
    box-shadow: 2px 2px 10px rgb(175, 216, 241), -2px -2px 10px rgb(175, 216, 241);
    border-radius: 10px;
    padding: 0 10px;
}

.confirm-button-custom {
    background-color:rgb(87, 223, 186);
    color: rgb(6, 18, 87);
    border: 2px solid rgb(6, 18, 87);
    font-size: 18px;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 2px 2px 10px rgb(175, 216, 241);
}

.cancel-button-custom {
    background-color: rgb(6, 18, 87);
    color: whitesmoke;
    border: 2px solid rgb(181, 251, 251);
    font-size: 18px;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 2px 2px 10px rgb(175, 216, 241);
}