*{
    border: 0;
    margin: 0;
    box-sizing: border-box;
}

.body{
    background-color: hsl(218, 23%, 16%);
    width: 100%;
    height: 100vh;
    padding-top: 25%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    position: relative;
    font-family: "manrope";
    font-size: 1em;
}

.main{
    width: 90%;
    padding: 0% 10% 16%;
    background-color: hsl(217, 19%, 24%);
    color: white;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.reader{
    display: none;
}

.head{
    font-size: 0.8em;
    margin: 10% auto 0;
    text-align: center;
    color: hsl(150, 100%, 66%);
}

.advice-number{
    color: #52fca9;
    opacity: 1;
    font-size: 1em;
    max-width: 30px;
    background-color: transparent;
    border-bottom: 1px dotted #52fca9
}

.text{
    margin-top: 10%;
    margin-bottom: 10%;
    font-size: 1.4em;
    font-weight: 800;
}

.line-img{
    width: 95%;
}

.button{
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,50%);
    background-color: hsl(150, 100%, 66%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button:hover{
    cursor: pointer;
    box-shadow: 0px 0px 40px hsl(150, 100%, 66%);
}

.dice{
    width: 40%;
}

/*to remove Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*to remove Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.attribution {
    font-size: 1em; 
    text-align: center; 
    position: absolute;
    bottom: 10px;
}

.attribution a {
    color: hsl(150, 100%, 66%); 
}   




@media (min-width: 500px) {
    .body{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    .main{
        width: 80%;
        height: auto;
        padding: 0% 5% 8%;
    }
    .head{
        font-size: 1.1em;
        letter-spacing: 0.2em;
    }
    .text{
        font-size: 2em;
    }
}

@media (min-width: 1000px){
    .main{
        width: 50%;
    }
    
}
