*{
    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: 60%;
    padding: 30px;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 40%;
    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{
    display: flex;
    justify-content: space-around;
}

.dice-wrapper img{
    width: 40%;
}

p{
    font-size: 16px;
    margin: 30px 0;
    font-weight: 500;
}
button{
    background-color: #462456;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 12px 10px;
    width: 180px;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
}
.shake{
    animation: shake 0.5s infinite;
}
@keyframes shake{
    0%{
        transform: rotate(8deg);
    }
    50%{
        transform: rotate(-8deg);
    }
    100%{
        transform: rotate(8deg);
    }
}




  .timer {
    font-family: sans-serif;
    display: inline-block;
    padding: 24px 32px;
    border-radius: 30px;
    background: #c8aed1;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 85%;
    left: 50%;
    background-color: #c8aed1;
    box-shadow: 0 15px 25px rgba(50,50,50,0.15);
    border-radius: 8px;

    align-items: center;
  }
  .timer__part {
    font-size: 36px;
    font-weight: bold;
}
  
  .minutes {
    font-size: 36px;
    font-weight: bold;
  }
  
  .timer__btn {
    width: 50px;
    height: 50px;
    margin-left: 16px;
    border-radius: 50%;
    border: none;
    color: white;
    background: #462456;
    cursor: pointer;
  }
  
  .timer__btn--start {
    background: #00b84c;
  }
  
  .timer__btn--stop {
    background: #ff0256;
  }
  

  @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 {
        display: flex;
        justify-content: space-around;
    }
    .container {
        padding: 15px;
        top: 43%;
        width: 70%;
        height: 80%;
        display: block;
    }
    .timer {
        top: 90%;
        padding: 15px 32px;
    }
    .dice-wrapper {
        display: unset;
    }
    .dice-wrapper img {
        display: block;
        width: 100%;
        /* height: 30%; */
        /* width: ; */
    }
    button {
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        margin: auto;
    }
  }