: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%);
  --white: #fff;
}

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

body {
  background-color: var(--Very-dark-blue);
  color: var(--white);
  font-family: "Rubik", sans-serif;
  font-size: 18px;
}

.container {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

img {
  display: block;
  width: 100%;
}

.img-container {
  max-width: 20%;
  border-radius: 50%;
  border: var(--white) 1px solid;
}

ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 1rem;
  color: var(--Desaturated-blue);
  font-size: 0.9em;
}

.contact {
  background-color: var(--Dark-blue);
  border-radius: 0.5rem;
}

.item {
  border-radius: 0.8rem;
}

.bottom {
  background-color: var(--Dark-blue);
  margin-top: 2.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1.5rem;
  align-items: center;
  border-radius: 1rem 1rem 0.5rem 0.5rem;
}

.bottom h1 {
  font-size: 1.3em;
  font-weight: 300;
  margin-top: 0.5rem;
}

.col-two p {
  color: var(--Pale-Blue);
  margin-top: 1rem;
  font-size: 0.8em;
}

.bottom img {
  width: 15%;
}

.bottom .col-two img {
  display: block;
  margin-left: auto;
}

.contact-details {
  display: flex;
  flex-direction: row;
  background-color: var(--Blue);
  padding: 2rem;
  border-radius: 1rem;
}

.name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 1rem;
  line-height: 1.3rem;
}

.name span {
  color: var(--Pale-Blue);
  font-size: 0.7em;
}

ul li {
  cursor: pointer;
  transition: color 0.2s ease;
}

ul li:hover {
  color: var(--white);
}

.weekly,
.monthly,
.daily {
  display: none;
}

.active {
  display: block;
}

.activeBtn {
  color: var(--white);
}

/* items */

.work {
  background-color: var(--Light-red-work);
}

.play {
  background-color: var(--Soft-blue-play);
}

.study {
  background-color: var(--Light-red-study);
}

.exercise {
  background-color: var(--Lime-green-exercise);
}

.social {
  background-color: var(--Violet-social);
}

.self-care {
  background-color: var(--Soft-orange-self-care);
}

@media (min-width: 62rem) {
  body {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
  }
  .contact {
    grid-area: contact;
  }

  .work {
    grid-area: work;
  }

  .play {
    grid-area: play;
  }

  .study {
    grid-area: study;
  }

  .exercise {
    grid-area: exercise;
  }

  .social {
    grid-area: social;
  }

  .self-care {
    grid-area: self-care;
  }

  .container {
    display: grid;
    grid-template-areas:
      "contact work play study"
      "contact exercise social self-care";
    max-width: min(56.25rem, 100%);
    grid-auto-rows: 1fr;
    grid-auto-columns: 1fr;
  }

  .contact-details {
    flex-direction: column;
    gap: 1rem;
    height: 70%;
  }

  .contact-details p {
    font-size: 1.5em;
    line-height: 1.5rem;
    margin: unset;
    font-weight: 100;
  }

  .contact-details span {
    font-size: 0.8rem;
  }

  .contact-details .img-container {
    max-width: 40%;
  }

  .contact ul {
    flex-direction: column;
    align-items: unset;
    padding: unset;
    padding: 1rem 1rem 5rem 1rem;
    gap: 1rem;
    width: 100%;
    font-size: 0.8em;
  }

  .bottom {
    margin: unset;
    padding: 1rem;
    border-radius: unset;
  }

  .bottom p {
    font-size: 0.8em;
  }
  .bottom h1 {
    font-size: 2em;
  }

  .col-two p {
    margin-top: 2rem;
    font-size: 0.55rem;
  }

  .item {
    position: relative;
  }
  .bottom {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    border-radius: 1rem 1rem 0.5rem 0.5rem;
  }
}
