:root {
  --primary-clr-purple-600: hsl(246, 80%, 60%);
  --primary-clr-orange-work: hsl(15, 100%, 70%);
  --primary-clr-blue-play: hsl(195, 74%, 62%);
  --primary-clr-pink-study: hsl(348, 100%, 68%);
  --primary-clr-green-exercise: hsl(145, 58%, 55%);
  --primary-clr-purple-social: hsl(264, 64%, 52%);
  --primary-clr-yellow-self-care: hsl(43, 84%, 65%);

  --neutral-clr-navy-950: hsl(226, 43%, 10%);
  --neutral-clr-navy-900: hsl(235, 46%, 20%);
  --neutral-clr-purple-500: hsl(235, 45%, 61%);
  --neutral-clr-navy-200: hsl(236, 100%, 87%);

  --ff: "Rubik";

  --fs: 18px;

  --fw-light: 300;
  --fw-mid: 400;
  --fw-bold: 500;
}

/* CSS RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* BASE STYLES (MOBILE) */

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: var(--ff);
  background-color: var(--neutral-clr-navy-950);
}

.container {
  display: grid;
  gap: 1rem;
  padding: 4rem 1.5rem 4rem 1.5rem;
}

.card {
  max-width: 375px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--neutral-clr-navy-900);
}

.profile-card-top {
  background-color: var(--primary-clr-purple-600);
  border-radius: 12px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--neutral-clr-navy-200);
  padding: 1.5rem;
  line-height: 1.5;
}

.headshot {
  width: 60px;
  height: 60px;
  border: 3px solid white;
  border-radius: 50%;
}

.indicator {
  font-size: 12px;
}

.profile-name {
  font-size: 16px;
  font-weight: var(--fw-light);
}

.profile-card-bottom {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
}

.schedule {
  padding: 0;
  background: none;
  color: var(--neutral-clr-purple-500);
  border: none;
  font-size: 14px;
}

/* THE CARDS  */

.tab-panels {
  display: grid;
  gap: 1rem;
}

.work-card {
  max-width: 18.75rem;
  border-radius: 12px;
  background-color: var(--primary-clr-orange-work);

  overflow: hidden;
}

.work-top {
  height: 35px;
  overflow: hidden;
  position: relative;
}

.work-top img {
  position: absolute;
  top: -35%;
  right: 5%;
}

.card-bottom {
  background-color: var(--neutral-clr-navy-900);
  padding: 1rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-header {
  display: flex;
  justify-content: space-between;
}

.card-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: hsl(0, 0%, 100%);
}

.title {
  color: hsl(0, 0%, 100%);
  font-size: 18px;
  font-weight: var(--fw-light);
}

.current-data {
  font-size: 2rem;
  font-weight: var(--fw-light);
}

.ellipsis {
  padding: 0;
  border: none;
  background: none;
}

.previous-data {
  font-size: 13px;
  color: var(--neutral-clr-navy-200);
}

.play-card {
  background-color: var(--primary-clr-blue-play);
  max-width: 18.75rem;
  border-radius: 12px;

  overflow: hidden;
}

.play-top {
  height: 35px;
  overflow: hidden;
  position: relative;
}

.play-top img {
  position: absolute;
  top: -35%;
  right: 5%;
}

.study-card {
  background-color: var(--primary-clr-pink-study);
  max-width: 18.75rem;
  border-radius: 12px;

  overflow: hidden;
}

.study-top {
  height: 35px;
  overflow: hidden;
  position: relative;
}

.study-top img {
  position: absolute;
  top: -35%;
  right: 5%;
}

.exercise-card {
  background-color: var(--primary-clr-green-exercise);
  max-width: 18.75rem;
  border-radius: 12px;

  overflow: hidden;
}

.exercise-top {
  height: 35px;
  overflow: hidden;
  position: relative;
}

.exercise-top img {
  position: absolute;
  top: -35%;
  right: 5%;
}

.social-card {
  background-color: var(--primary-clr-purple-social);
  max-width: 18.75rem;
  border-radius: 12px;

  overflow: hidden;
}

.social-top {
  height: 35px;
  overflow: hidden;
  position: relative;
}

.social-top img {
  position: absolute;
  top: -35%;
  right: 5%;
}

.selfcare-card {
  background-color: var(--primary-clr-yellow-self-care);
  max-width: 18.75rem;
  border-radius: 12px;

  overflow: hidden;
}

.selfcare-top {
  height: 35px;
  overflow: hidden;
  position: relative;
}

.selfcare-top img {
  position: absolute;
  top: -35%;
  right: 5%;
}

[aria-selected="true"] {
  color: white;
  font-weight: bold;
}

[role="tabpanel"][aria-hidden="true"] {
  display: none;
}

/* DESKTOP STYLES */

@media (min-width: 768px) {
  .container {
    grid-template-columns: repeat(4, 1fr);
  }

  .card {
  }

  .tab-panels {
  }

  .profile-card-top {
  }

  .headshot {
  }

  .profile-name {
  }

  .profile-card-bottom {
  }

  .work-card {
  }

  .play-card {
  }

  .study-card {
  }

  .exercise-card {
  }

  .social-card {
  }

  .selfcare-card {
  }
}
