body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #006400;
    background-image: url('../details/gif.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}


/*INICIO*/

.inicio {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.titu {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 40px;
    margin-top: 20px;
}

.yei {
    color: gold;
}

.botones {
    display: flex;
    gap: 40px;
}

.boton {
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1em;
    border: 2px solid gold;
    background-color: black;
    color: gold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boton:hover {
    background-color: #222;
}

/*INSTRUCCIONES*/

.instru {
    width: 100vw;
    height: 100vh;
    padding: 40px;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.instru h2 {
    font-size: 2.2em;
    color: gold;
    margin-bottom: 20px;
}

.instru ol {
    max-width: 700px;
    font-size: 1.2em;
    line-height: 1.6;
    padding-left: 20px;
}

.instru li {
    margin-bottom: 15px;
}

.linksito {
    margin-top: 30px;
    padding: 10px 25px;
    border: 2px solid gold;
    background-color: black;
    color: gold;
    text-decoration: none;
    font-size: 1rem;
}

.linksito:hover {
    background-color: #222;
}

/*JUEGO*/

.juegoo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.cartasContenerdor {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px; 
    flex-wrap: wrap;
}

.jugador, .computadora {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-weight: bold;
}

.titulo {
    font-size: 20px;
    margin-bottom: 10px;
    color: gold;
}

.resultado {
    font-size: 20px;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    min-height: 40px;
    text-align: center;
}

.botoness {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.jugar {
    background-color: black;
    color: gold;
    padding: 10px 20px;
    font-weight: bold;
    border: 2px solid gold;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.jugar:hover {
    background-color: gold;
    color: black;
}

.linksito2 {
    background-color: transparent;
    color: gold;
    padding: 8px 16px;
    border: 1px solid gold;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.3s;
}

.linksito2:hover {
    background-color: gold;
    color: black;
}
