:root {
  --backgroundColor: #e6e4e2;
  --colorWhite:white;
  --colorBlack: #292726;
  --colorBlue:#1434A4;
  --colorRed:#D2042D;
  --colorSpan:#777;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body{
    background: var(--backgroundColor);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    gap: 6rem;   
    font-family: Arial, Helvetica, sans-serif;
}


/*********************************/
/*         Go Back Arrow         */
/*********************************/
.goBackContainer{
    max-width: 120rem;
    width: 100%;
    margin: 4rem auto;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 2rem;
}

.goBackButton{
    background-color: var(--colorWhite);
    text-decoration: none;
    color: var(--colorBlack);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 3.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.goBackButton span{
    font-size: 2rem;
    font-weight: 900;
}


/*****************************/
/*         Dashboard         */
/*****************************/
.dashboardContainer{
    max-width: 120rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card{
    background-color: var(--colorWhite);
    height: 18vh;
    max-width: 30rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 2rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card h2{
    color: var(--colorSpan);
    font-weight: bold;
    font-size: 2.5rem;
}

#blue,
#red,
#black{
    font-size: 3.5rem;
    font-weight: 800;
}

#blue{color: var(--colorBlue);}
#red{color: var(--colorRed);}
#black{color: var(--colorBlack)}


/********************************/
/*    show Results Container    */
/********************************/
.showResultsContainer{
    max-width: 110rem;
    width: 100%;
    margin: 4rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.grid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--colorWhite);
    color: var(--colorBlack);
    font-size: 1.8rem;
    padding: 1rem 1.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    letter-spacing: 1px;
}

.copy{
    cursor: pointer;
    width: 3.5rem;
    padding-left: 1.5rem;
}



/* ************************************************** */
/* ************************************************** */
/*                    Media Queries                   */
/* ************************************************** */
/* ************************************************** */
/************************************/
/* BELOW 1200px (Landscape Tablets) */
/************************************/
@media (max-width: 75em) {
    html {font-size: 56.25%;}
  
    /* show Results Container */
    .showResultsContainer{max-width: 90rem;}
    .grid-container {grid-template-columns: repeat(3, 1.5fr);} 
}


/*************************/
/* BELOW 944px (Tablets) */
/*************************/
@media (max-width: 59em) {
    html {font-size: 50%;}

    /* Dashboard */
    .dashboardContainer{
        flex-direction: column;
        gap: 3rem;
    }

    .card{
        height: 20vh;
        max-width: 40rem;
    }

    .card h2{font-size: 2.7rem;}

    #blue,
    #red,
    #black{font-size: 4rem;}

    /* show Results Container */
    .showResultsContainer{max-width: 80rem;}
}


/*********************************/
/* BELOW 704px (Smaller tablets) */
/*********************************/
@media (max-width: 44em) {
    /* show Results Container */
    .showResultsContainer{max-width: 90rem;}
    .grid-container {grid-template-columns: repeat(2, 1fr);}
}


/******************************/
/* BELOW 402px (small Phones) */
/******************************/
@media (max-width: 25.2em) {
    /* Dashboard */
    .card{max-width: 35rem;}

    /* show Results Container */
    .showResultsContainer{max-width: 30rem;}
    .grid-container {grid-template-columns: repeat(1, 1fr);}
}