@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&display=swap');

body{
    font-family: 'Manrope', sans-serif;
    color: hsl(193, 38%, 86%);
    background-color: hsl(218, 23%, 16%);
    padding: 0.8rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

.advice-generator{
    background-color: hsl(217, 19%, 24%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem 2rem 1.5rem;
    position: relative;
}

h1{
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: hsl(150, 100%, 66%);
    padding: 1.5rem 0;
}

.advice-text{
    margin-top: -0.4rem;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    line-height: 2rem;
   
}

.pattern{
    background-image: url(images/pattern-divider-mobile.svg);
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    width: 100%;
    height: 17px;
    margin-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.dice{
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: hsl(150, 100%, 66%);
    bottom: -30px;
    right: 50%;
    translate: 50%;
    background-image: url(images/icon-dice.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.dice:hover{
    box-shadow: 0px 0px 30px 2px hsl(150, 100%, 66%);
}

.attribution{
    margin-top: 5rem;
}

@media screen and (min-width: 600px) {
    .advice-generator{
        width: 50%;

    }
}

@media screen and (min-width: 1440px) {

    .advice-generator{
        width: 29%;

    }
    .pattern{
        background-image: url(images/pattern-divider-desktop.svg);
    }
}
