*, 
*::before, 
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

: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%);
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    font-family: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background-color: var(--Dark-Blue);
    display: grid;
    place-items: center;
    min-height: 100%;
}

.sr-only {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    top: auto;
    overflow: hidden;
}

main {
    margin-top: auto;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background-color: var(--Dark-Grayish-Blue);
    padding: 2.5rem 1rem 4rem;
    margin: 1rem;
    border-radius: 12px;
    width: 343px;
    position: relative;
}

.advice-id {
    color: var(--Neon-Green);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: .85rem;
}

.advice-quote {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--Light-Cyan);
}

.dice {
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
    padding: 1.2rem;
    background-color: var(--Neon-Green);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.dice:hover {
    box-shadow: 0px 0px 30px var(--Neon-Green);
}

footer {
    margin-top: auto;
    color: var(--Light-Cyan);
}

footer a {
    color: #5D6F89;
}

@media (min-width: 500px) {
    .container {
        width: 500px;
        padding-inline: 3rem;
    }
}