:root {
    /* Primárias */
    --blue-200: hsl(193, 38%, 86%);
    --green-300: hsl(150, 100%, 66%);
    /* Neutras */
    --blue-600: hsl(217, 19%, 38%);
    --blue-900: hsl(217, 19%, 24%);
    --blue-950: hsl(218, 23%, 16%);
}

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

body {
    font-family: "Manrope", sans-serif;
    font-weight: 800;

    background-color: var(--blue-950);

    padding: 25px;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    place-items: center;
    justify-content: space-between;
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.ad-box {
    background-color: var(--blue-900);
    border-radius: 12px;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;

    width: 100%;
    max-width: 500px;
}

.ad-id {
    margin-bottom: 30px;

    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--green-300);
    font-size: 16px;
}

#ad-quote {
    text-align: center;
    margin-bottom: 30px;

    color: var(--blue-200);
    font-size: 32px;
}

.divider {
    width: 100%;
    margin-bottom: 30px;
}

.divider img {
    width: 100%;
}

#dice-btn {
    background-color: var(--green-300);

    border: none;
    border-radius: 50%;

    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    
    cursor: pointer;

    /* hora de enfiar esse botao no lugar certo
    position: absolute;
    bottom: -30px; 
    isso aqui só funciona se a caixa e o botao nao se
    moverem/aumentarem de tamanho
    */
    
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);

    transition: box-shadow 0.3s ease;
}

#dice-btn:hover {
    box-shadow: 0 0 25px 3px var(--green-300);
}

.attribution {
    width: 100%;
    font-size: 11px;
    text-align: center;
    margin-top: auto;
    padding: 20px 0 0 0;
    color: var(--blue-200);
}

.attribution a {
    text-decoration: none;
    color: var(--blue-600);
}

@media (min-width: 1200px) {
    .ad-box {
        max-width: 700px;
        padding: 60px;
    }

    #ad-quote {
        font-size: 42px;
    }

    .ad-id {
        font-size: 20px;
        letter-spacing: 4px;
    }

    #dice-btn {
        width: 80px;
        height: 80px;
    }
    
    #dice-btn img {
      transform: scale(1.35);
    }

    .attribution {
        font-size: 15px;
    }
}
