/* /*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
    margin: 0;
}

/* /* */
/* Typographic tweaks ! 3. Add accessible line-height 4. Improve text rendering */

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/*
    5. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/*
    6. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
    font: inherit;
}

/*
    7. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/*
    8. Create a root stacking context
  */
#root,
#__next {
    isolation: isolate;
}

:root {
    /* ### Primary */
    --Light-red: hsl(0, 100%, 67%);
    --Orangey-yellow: hsl(39, 100%, 56%);
    --Green-teal: hsl(166, 100%, 37%);
    --Cobalt-blue: hsl(234, 85%, 45%);

    /* ## Gradients */
    --Light-slate-blue: hsl(252, 100%, 67%);
    /* (background) */
    --Light-royal-blue: hsl(241, 81%, 54%);
    /* (background) */
    --Violet-blue: hsla(256, 72%, 46%, 1);
    /* circle */
    --Persian-blue: hsla(241, 72%, 46%, 0);
    /* circle */

    /* ### Neutral */
    --White: hsl(0, 0%, 100%);
    --Pale-blue: hsl(221, 100%, 96%);
    --Light-lavender: hsl(241, 100%, 89%);
    --Dark-gray-blue: hsl(224, 30%, 27%);
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: "Hanken Grotesk";
}

.chunk {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-evenly;

    width: 725px;
    height: 500px;

    border-radius: 2rem;
    box-shadow: 10px 10px 30px hsl(221, 100%, 96%);
    /* (background) */

}

.left,
.right {
    flex: 50%;
}

.left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;

    padding: 1rem 0;

    border-radius: 2rem;
    background: linear-gradient(hsla(252, 100%, 67%, 100%), var(--Light-royal-blue));
}

.right {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-evenly;

    padding: 0 2rem;
}

/*  FONTS  */
h2 {
    color: hsl(241, 100%, 89%);
    font-weight: 700;
}

h3 {
    color: var(--White);
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
    color: var(--Dark-gray-blue);
}

p {
    color: var(--Light-lavender);
    text-align: center;
    margin: 0 4rem;
}

.bigNum {
    font-size: 4rem;
    color: var(--White);
    font-weight: 700;
}

.of100 {
    font-size: 1.1rem;
    color: hsla(241, 100%, 89%, 50%);
}


.circle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: linear-gradient(var(--Violet-blue), var(--Persian-blue));
    border-radius: 50%;
    height: 12rem;
    width: 12rem;
}

.listBox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.Box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 1.1rem;
    /* flex-direction: column; */
    border-radius: .5rem;
    padding: .75rem 1rem;
}

.react {
    background-color: hsla(0, 100%, 67%, .05);
    color: var(--Light-red);
}

.mem {
    background-color: hsla(39, 100%, 56%, .05);
    color: var(--Orangey-yellow)
}

.verb {
    background-color: hsla(166, 100%, 37%, .05);
    color: var(--Green-teal);
}

.vis {
    background-color: hsla(234, 85%, 45%, .05);
    color: var(--Cobalt-blue);
}

.space {
    display: flex;
    gap: .75rem;
}

.stat {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--Dark-gray-blue);
}

.outOf {
    font-size: 1.2rem;
    font-weight: 700;
    color: hsl(241, 43%, 78%);
}

.button {
    border-radius: 2rem;
    border: none;
    background: var(--Dark-gray-blue);
    color: white;
    padding: 1rem 0;
}

.button:hover {
    background: var(--Cobalt-blue);
    cursor: pointer;
}

.attribution {
    position: absolute;
    bottom: 0;

}

@media screen and (max-width: 650px) {
    .chunk {
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .circle {
        width: 35%;
    }

    .left {
        border-radius: 0 0 2rem 2rem;
    }
}