@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

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

html {
    font-size: 18px;
}

body, html {
    background-color: hsl(226, 43%, 10%);
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    color: white;
}

.main-container {
    width: 90%;
    margin: 4rem auto;
    display: grid;
    gap: 3rem;
}

.user-container {
    background-color: hsl(246, 80%, 60%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-container, .inner-card {
    padding: 4rem 3rem;
}

.user-container, .outer-card, .inner-card, .header {
    border-radius: 25px;
}

.outer-card {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.inner-card {
    margin-top: 5rem;
}

#profile-pic {
    width: 9.5rem;
    border-radius: 100%;
    border: 7px solid white;
    margin-right: 3rem;
}

#username {
    font-size: 3.25rem;
}

.text--navy-200 {
    color:hsl(236, 100%, 87%);
    font-size: 2rem;
}

.card-title {
    font-size: 2.5rem;
    font-weight: 400;
}

.card-time-display {
    font-size: 4rem;
}

#interval-selector {
    display: flex;
    justify-content: space-between;
    padding: 3rem 5rem;
    font-size: 2.5rem;
    color: hsl(235, 45%, 61%);
}

.interval {
    cursor: pointer;
}

.interval-selected {
    color: white;
}

.inner-card, .header {
    background-color: hsl(235, 46%, 20%);
}

.inner-card--header, .inner-card--content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inner-card--header {
    margin-bottom: 1rem;
}

button {
    background: none;
    border: none;
}

.menu-icon {
    width: 50px;
}

.category-icon {
    position: absolute;
    width: 10rem;
    z-index: -1;
    right: 2rem;
    top: -10px;
}

#work {
    background-color: hsl(15, 100%, 70%);
}

#play {
    background-color: hsl(195, 74%, 62%);
}

#study {
    background-color: hsl(348, 100%, 68%);
}

#exercise{
    background-color: hsl(145, 58%, 55%);
}

#social {
    background-color: hsl(264, 64%, 52%);
}

#self-care{
    background-color: hsl(43, 84%, 65%);
}

@media screen and (min-width: 1100px) {
    
    html {
        font-size: 12px;
        height: 100%;
    }
    
    body {
        height: 100%;
        display: grid;
        place-content: center;
    }

    .main-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .header {
        grid-area: 1 / 1 / span 2 / 1;
    }

    .user-container {
        display: block;
    }

    #username {
        margin-bottom: 1rem;
    }

    #interval-selector {
        flex-direction: column;
    }

    .interval {
        margin: 1rem 0;
    }

    .interval, .card-title {
        font-size: 1.25rem;
    }

    .card-time-display--previous {
        margin-top: 1rem;
        font-size: 1rem;
    }

    .inner-card {
        margin-top: 4rem;
    }   

    .inner-card--content {
        display: block;
    }

    .menu-icon {
        width: 2rem;
    }

    #profile-pic {
        width: 7rem;
        border-width: 3px;
        margin-bottom: 3rem;
    }

    .user-container {
        padding: 4rem 3rem;
    }

    .category-icon {
    width: 30%;
    top: 0;
}
}