* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background: linear-gradient(#462456, #6a3786) 0 100% no-repeat;
    background-size: 100% 50%;
}

.container {
    width: 70%;
    padding: 30px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    background-color: #c8aed1;
    box-shadow: 0 15px 25px rgba(50, 50, 50, 0.15);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Poppins", sans-serif;
}

.dice-wrapper {
    width: 80%;
    display: flex;
    justify-content: space-around;
}

.dice-wrapper img {
    width: 50%;
}

p {
    font-size: 16px;
    margin: 30px 0;
    font-weight: 500;
}

button {
    background-color: #462456;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 12px 10px;
    width: 220px;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
    margin-top: 1em;
}

.shake {
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0% {
        transform: rotate(8deg);
    }

    50% {
        transform: rotate(-8deg);
    }

    100% {
        transform: rotate(8deg);
    }
}

span.peque {
    font-size: large;
    display: block;
    margin-top: 1em;
}

span.fire_emo {
    font-size: 8em;
    margin-left: 0.05em;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0%;
    margin: 0%;
}

#texto_cambia {
    margin-left: 17%;
    width: 66%;
}

.centered p {
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin: 0%;
    padding: 0%;
    font-size: xx-large;
    text-align: center;
    word-wrap: break-word;
    margin-top: -3em;
    width: 120%;
    margin-left: -10%;
}

@media only screen and (max-width: 600px) {
    body {
        height: 103.5vh;
        background: linear-gradient(#462456,
                #6a3786) 0 100% no-repeat;
        background-size: 111% 50%;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2.75) {
    p {
        margin: 10px 0;
    }

    .container {
        padding: 15px;
        top: 50%;
        width: 95%;
        padding-top: 30px;
    }

    .dice-wrapper {
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    .dice-wrapper img {
        width: 100%;
    }

    button {
        margin-top: 3em;
    }

    #texto_cambia {
        margin-left: 0%;
        width: 100%;
    }
}