:root{
    --Blue: hsl(246, 80%, 60%);
    --work: hsl(15, 100%, 70%);
    --play: hsl(195, 74%, 62%);
    --study: hsl(348, 100%, 68%);
    --exercise: hsl(145, 58%, 55%);
    --social: hsl(264, 64%, 52%);
    --selfcare: hsl(43, 84%, 65%);
    --VeryDarkBlue: hsl(226, 43%, 10%);
    --DarkBlue: hsl(235, 46%, 20%);
    --LigtherBlue: hsl(235, 46%, 30%);
    --DesaturatedBlue: hsl(235, 45%, 61%);
    --PaleBlue: hsl(236, 100%, 87%);
}
@font-face {
    font-family: Rubik;
    src: url(Rubik/Rubik-Light.ttf);
    font-weight: 300;
}
@font-face {
    font-family: Rubik;
    src: url(Rubik/Rubik-Regular.ttf);
    font-weight:400;
}
@font-face {
    font-family: Rubik;
    src: url(Rubik/Rubik-Medium.ttf);
    font-weight: 500;
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-family: Rubik;
    color: white;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--VeryDarkBlue);
    margin: 20px;
}
main{
    display: grid;
    grid-template-areas: 'person'
    'work'
    'play'
    'study'
    'exercise'
    'social'
    'selfCare';
    gap: 20px;
}
.basic{
    width: 300px;
    height: 130px;
    padding-top: 30px;
    border-radius: 10px;
}
.person{
    background-color: var(--DarkBlue);
    width: 300px;
    height: 160px;
    border-radius: 10px;
    grid-area: person;
}
.personInner{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: var(--Blue);
    height: 110px;
    border-radius: 10px;
}
img{
    width: 70px;
    height: 70px;
    border: solid white;
    border-radius: 35px;
}
.rep{
    font-size: 13px;
    font-weight: 300;
    color: var(--PaleBlue);
}
.name{
    font-size: 20px;
    font-weight: 300;
}
.buttons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 50px;
    padding: 0 25px 0 25px;
}
button{
    color: var(--PaleBlue);
    font-size: 15px;
    font-weight: 300;
    background-color: var(--DarkBlue);
    border: none;
}
button:hover{
    cursor: pointer;
    color: white;
}
.work{
    background-image: url(images/icon-work.svg);
    background-repeat: no-repeat;
    background-position-y: -10px;
    background-position-x: 210px;
    background-color: var(--work);
    grid-area: work;
}
.play{
    background-image: url(images/icon-play.svg);
    background-repeat: no-repeat;
    background-position-y: -10px;
    background-position-x: 210px;
    background-color: var(--play);
    grid-area: play;
}
.study{
    background-image: url(images/icon-study.svg);
    background-repeat: no-repeat;
    background-position-y: -10px;
    background-position-x: 210px;
    background-color: var(--study);
    grid-area: study;
}
.exercise{
    background-image: url(images/icon-exercise.svg);
    background-repeat: no-repeat;
    background-position-y: -10px;
    background-position-x: 210px;
    background-color: var(--exercise);
    grid-area: exercise;
}
.social{
    background-image: url(images/icon-social.svg);
    background-repeat: no-repeat;
    background-position-y: -10px;
    background-position-x: 210px;
    background-color: var(--social);
    grid-area: social;
}
.selfCare{
    background-image: url(images/icon-self-care.svg);
    background-repeat: no-repeat;
    background-position-y: -10px;
    background-position-x: 210px;
    background-color: var(--selfcare);
    grid-area: selfCare;
}
.inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--DarkBlue);
    width: 300px;
    height: 100px;
    padding: 20px;
    border-radius: 10px;
}
.inner:hover{
    background-color: var(--LigtherBlue);
    cursor: pointer;
}
.top{
    display: flex;
    justify-content:space-between;
    align-items: flex-start;
    width: 100%;
    height: 50%;
}
.bottom{
    display: flex;
    justify-content:space-between;
    align-items: flex-end;
    width: 100%;
    height: 50%;
}
.title{
    font-size: 18px;
    line-height: 100%;
    font-weight: 500;
}
.dots{
    font-size: 28px;
    line-height: 20%;
    color: var(--PaleBlue);
}
.time{
    font-size: 32px;
    line-height: 100%;
    font-weight: 300;
}
.lastWeek{
    font-size: 14px;
    line-height: 100%;
    font-weight: 300;
    padding-bottom: 6px;
    color: var(--PaleBlue);
}

@media screen and (min-width: 1440px) {
    main{
        grid-template-areas:
        'person work play study'
        'person exercise social selfCare';
    }
    .person{
        height: 380px;
        width: 200px;
    }
    .personInner{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
        background-color: var(--Blue);
        height: 240px;
        border-radius: 10px;
    }
    .name{
        font-size: 25px;
        font-weight: 300;
        width: 100px;
    }
    .buttons{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        height: 140px;
        padding: 20px 25px 20px 25px;
    }
    .basic{
        width: 200px;
        height: 180px;
        padding-top: 30px;
        border-radius: 10px;
    }
    .inner{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--DarkBlue);
        width: 200px;
        height: 150px;
        padding: 20px;
        border-radius: 10px;
    }
    .top{
        height: 35%;
    }
    .bottom{
        height: 75%;
        flex-direction: column;
        align-items: flex-start;
    }
    .time{
        font-size: 45px;
    }
    .work, .play, .study, .exercise, .social, .selfCare{
        background-position-x: 110px;
    }
}