@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap');

:root {
    /**********/
    /* Colors */
    /**********/

    /* Primary */
    --Red: hsl(0, 78%, 62%);
    --Cyan: hsl(180, 62%, 55%);
    --Orange: hsl(34, 97%, 64%);
    --Blue: hsl(212, 86%, 64%);

    /* Neutral */
    --Grey-500: hsl(234, 12%, 34%);
    --Grey-400: hsl(212, 6%, 44%);
    --White: hsl(0, 0%, 100%);

    /**************/
    /* Typography */
    /**************/
    
    /*Body Copy */
    --Font-size: 15px;
    
    /* Fonts */
    --Font-Family: "Poppins", sans-serif;
    --Weight-200: 200;
    --Weight-400: 400;
    --Weight-600: 600;
}

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

body {
    font-family: var(--Font-Family);
    font-size: var(--Font-size);
    font-weight: var(--Weight-200);
    color: var(--Grey-500);
    background-color: rgba(0, 0, 0, 0.10);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-width: 100vw;
}

.page {
    max-width: 310px;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

header {
    text-align: center;
}

header > h1 {
    font-weight: var(--Weight-200);
    font-size: 1.6em;
    line-height: 1.2em;
}

header > h1 > strong {
    font-weight: var(--Weight-600);
}

header > p {
    font-weight: var(--Weight-400);
    margin-top: 1rem;
}

main {
    margin-top: 3rem;
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
}

main > article {
    background-color: var(--White);
    border-block-start: .2rem solid;
    border-radius: .2rem;
    padding: 1.5rem;
    padding-bottom: 9rem;
    position: relative;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.253);
}

main > article:nth-child(1){
    border-block-color: var(--Cyan);
}

main > article:nth-child(2){
    border-block-color: var(--Red);
}

main > article:nth-child(3){
    border-block-color: var(--Orange);
}

main > article:nth-child(4){
    border-block-color: var(--Blue);
}

main > article > img {
    width: 3.5rem;
    position: absolute;
    right: 1.5rem;
    bottom: 2.5rem;
}