@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root{
    --Blue: hsl(246, 80%, 60%);

    --Light-red-work: hsl(15, 100%, 70%);
    --Soft-blue-play: hsl(195, 74%, 62%);
    --Light-red-study: hsl(348, 100%, 68%);
    --Lime-green-exercise: hsl(145, 58%, 55%);
    --Violet-social: hsl(264, 64%, 52%);
    --Soft-orange-self-care: hsl(43, 84%, 65%);
    --Very-dark-blue: hsl(226, 43%, 10%);
    --Dark-blue: hsl(235, 46%, 20%);
    --Desaturated-blue: hsl(235, 45%, 61%);
    --Pale-Blue: hsl(236, 100%, 87%);
}

body{
    font-family: Rubik, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 1rem;
    padding-top: 5rem;
    margin: 0;
    background-color: var(--Very-dark-blue);
    color: white;
}

.boxOne .top{
    background-color: var(--Blue);
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 1rem;
    padding-left: 2rem;
    border-radius: 1rem;
    .desc{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
}

.boxOne .top img{
    width: 20%;
    border: 1px solid white;
    border-radius: 100%;
}

.boxOne .top h2{
    font-weight: 200;
}

.boxOne .bottom{
    background-color: var(--Dark-blue);
    padding: 2rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    gap: 1rem;
    transform: translateY(-1rem);
    position: relative;
    z-index: -1;
    .time{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        p, button{
            color: var(--Pale-Blue);
            font-size: 1rem;
            cursor: pointer;
            /* border: 1px solid; */
            :hover{
                color: green;
                cursor: pointer;
            }
        }
    }

    
}
/* 
p:hover{
    color: gainsboro;
    border: 2px solid;
} */

h1{
    font-weight: 100;
}

.small{
    margin-top: 2rem;
    .background{
        position: relative;
        width: 100%;
        height: 5rem;
        /* margin-left: 1rem; */
        z-index: 2;
        overflow: hidden;
        border-radius: 1rem;
    }
    .background img{
        position: absolute;
        top: 0;
        left: 70%;
        z-index: 1;
    }
}
.boxTwo .background{
    background-color: var(--Light-red-work);
}
.boxThree .background{
    background-color: var(--Soft-blue-play);
}.boxFour .background{
    background-color: var(--Light-red-study);
}.boxFive .background{
    background-color: var(--Lime-green-exercise);
}.boxSix .background{
    background-color: var(--Violet-social);
}.boxSeven .background{
    background-color: var(--Soft-orange-self-care);
}

.overlay{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--Dark-blue);
    padding: 1rem;
    z-index: 3;
    margin-top: -2rem;
    border-radius: 1rem;
    .right{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        gap: 2rem;
    }
    .right img:hover{
        box-shadow: 1px 1px 10px black;
    }
}

.overlay:hover{
    background-color: var(--Desaturated-blue);
    cursor: pointer;
}

/* .hide{
    display: none !important;
} */

#daily-btn:hover, #weekly-btn:hover, #monthly-btn:hover {
    background-color: yellow !important;
    cursor: pointer !important;
}




@media (min-width: 900px){
    body{
        padding: 5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 79vh;
    }
    .wrapper{
        display: grid;
        gap: 2rem;
        grid-template-columns: 250px 250px 250px 250px;
        grid-template-rows: 280px 280px;
    }
    .boxOne{
        grid-column-start: 1;
        grid-row: span 2;
        height: 100%;
        .top{
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            height: 70%;
            h2{
                font-size: 3rem;
                margin-top: -1rem;
            }
        }
        .bottom{
            height: 17%;
        }

    }
    #daily-btn:hover{
        color: white;
        border: 1px solid;
    }
    .boxOne .bottom .time{
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        /* border: 1px solid; */
        height: 100%;
        gap: 0px;
        padding-top: .8rem;
        p, button{  
            margin-top: 0rem;
            cursor: pointer;
        }
    }
    .rowOne{
        grid-column-start: 2;
        grid-column: span 3;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    .rowTwo{
        grid-column-start: 2;
        grid-column: span 3;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    .small{
        width: 100%;
        height: 100%;
        margin-top: 0;
        /* border: 1px solid; */
        .background{
            height: 30%;
            img{
                left: 60%;
            }
        }
        .overlay{
            height: 60%;
            padding-left: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            .left, .right, h1{
                margin-top: -1rem;
            }
            .right img{
                position: absolute;
                top: 2rem;
                right: 2rem;
            }
        }
        h1{
            font-size: 3rem;
        }
    }
}







