@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kumbh+Sans:wght@100..900&family=Lexend+Deca:wght@100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Overpass:ital,wght@0,100..900;1,100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --Light-Cyan: hsl(193, 38%, 86%);
    --Neon-Green: hsl(150, 100%, 66%);
    --Grayish-Blue: hsl(217, 19%, 38%);
    --Dark-Grayish-Blue: hsl(217, 19%, 24%);
    --Dark-Blue: hsl(218, 23%, 16%);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--Dark-Blue);
    display: grid;
    place-content: center;
    min-height: 100vh;
    font-family: "Manrope", serif;
}

.wrapper {
    background-color: var(--Dark-Grayish-Blue);
    color: var(--Light-Cyan);
    width: 400px;
    height: 250px;
    box-shadow: 2px 2px 20px var(--Dark-Blue);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    position: relative;
}

.advice-no {
    font-size: 12px;
    font-weight: 600;
    color: var(--Neon-Green);
}

.advice-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 14px 0;
}

.wrapper img {
    width: 100%;
}

.dice-box {
    position: absolute;
    bottom: -20px;
    width: 40px;
    height: 40px;
    background-color: var(--Neon-Green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.dice-box:hover {
    box-shadow: 0 0 20px var(--Neon-Green);
    transform: scale(1.05);
}

.dice-box img {
    width: 20px;
}

.attribution { 
    font-size: 11px;
    text-align: center; 
    margin: 2rem 0;
    color: aliceblue;
}

.attribution a { 
    color: var(--Neon-Green); 
}

@media (max-width: 400px) {
    .wrapper {
        width: 300px;
    }
}