:root{
/* ########### Colors ############# */
/*----------Primary----------- */

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

    --Grey-500: hsl(234, 12%, 34%);
    --Grey-400: hsl(212, 6%, 44%);
    --White: hsl(0, 0%, 100%);
/*--------------- font family---------- */
    --Family-Poppins:"Poppins";
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}
body{
    background-color:var(--color-background);
    font-family: var(--Family-Poppins);
    font-size: 15px;
    color: var(--Grey-400);
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;

}
/* header */
header{
    text-align: center;
    
}
header h2{
    font-weight: 200;
    font-size: 34px;
    color:var(--Grey-400);
}
header h3{
    font-weight: 600;
    font-size: 34px;
    color:var(--Grey-500);
}
header p{
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}
.main{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-top: 60px;
}
.box{
    background-color: var(--White);
    padding: 30px;
    text-align: right;
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
}
.box-text{
    text-align: left;
}
.box-super{
    background-color: var(--White);
    border-top: 4px solid var(--Cyan);
}
.box-team{
    background-color: var(--White);
    border-top: 4px solid var(--Red);
}
.box-karma{
    background-color: var(--White);
    border-top: 4px solid var(--Orange);
}
.box-calculater{
    background-color: var(--White);
    border-top: 4px solid var(--Blue);
}
/* text */
.box-text h5{
    font-weight: 600;
    color: var(--Grey-500);
    font-size: 18px;

}
.box-content{
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.box-super ,
.box-calculater{
    align-self: center;
}
.attribution{
    font-weight: 600;
    color: var(--Grey-500);
    transform: translateY(50%);
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
}
.attribution a {
    text-decoration: dashed;
    color: var(--Cyan);
}
/* ########################################### */
/* ########################################### */
/* ########################################### */

@media (max-width:767px) {
    .main{
        display:grid;
        grid-template-columns: 1fr;
    }
    header h2{
        max-width: 600px;
        font-size: 24px;
    }
    header h3{
        max-width: 600px;
        font-size: 24px;
    }
    header p{
        max-width: 1000px;
        font-size: 13x;
        align-self: center ;
    }

    
}
@media (max-width:425px) {
    body{
        font-size: 13px;
    }
    header h2{
        font-size: 22px;
    }
    header h3 {
        font-size: 22px;
    }
    .box{
        padding: 20px;
    }
    .box-text{
        padding-bottom: 30px;
    }
}
