/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 20px;
  font-family: "Rubik", sans-serif;
  background-color: hsl(226, 43%, 10%);
  color: white;
}

.main-container {
  max-width: 375px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  /* grid-template-rows: auto auto; */
  gap: 15px;
}

.profile-section {
  background-color: hsl(235, 46%, 20%);
  border-radius: 15px;
}

.jeremy-profile {
  display: flex;
  align-items: center;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: hsl(246, 80%, 60%);
}

.jere-img {
  width: 60px;
  border: 3px solid white;
  border-radius: 50%;
  margin-right: 15px;
}

.report-title {
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 5px;
  color: hsl(236, 100%, 87%);
}

.nameJeremy {
  font-size: 24px;
  font-weight: 300;
}

.schedule-section {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}
.schedule-section button {
  color: hsl(235, 45%, 61%);
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.schedule-section button:hover {
  color: white;
}

.activity-card {
  border-radius: 15px;
  margin-top: 20px;
}

.activity-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-postion {
  display: flex;
  justify-content: flex-end;
  padding-right: 15px;
  height: 40px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.icon-image {
  width: 60px;
}

.work-image-section {
  background-color: hsl(15, 100%, 70%);
}

.play-image-section {
  background-color: hsl(195, 74%, 62%);
}

.study-image-section {
  background-color: hsl(348, 100%, 68%);
}

.exercise-image-section {
  background-color: hsl(145, 58%, 55%);
}

.social-image-section {
  background-color: hsl(264, 64%, 52%);
}

.self-care-image-section {
  background-color: hsl(43, 84%, 65%);
}

.icon-image {
  width: 50px;
  /* height: 20px; */
  margin-right: 10px;
}

.detail-breakdown {
  padding: 25px;
  background-color: hsl(235, 46%, 20%);
  border-radius: 10px;
  margin-top: -10px;
  z-index: 1;
  position: relative;
}

.detail-breakdown:hover {
  background-color: hsl(235, 45%, 30%);
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}

.activity-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
}

.current-hours {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 10px;
}

.previous-hours {
  font-size: 15px;
  color: hsl(236, 100%, 87%);
}

.ellipsis {
  position: absolute;
  top: 25px;
  right: 25px;
}

/* Desktop layout */
@media (min-width: 825px) {
  body {
    padding: 40px;
    background-color: hsl(226, 43%, 10%);
  }
  .main-container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1042px;
  }

  .profile-section {
    grid-row: 1 / span 2;
    /* grid-column: 1 / 2; */
    height: 100%;
  }

  .page-layout {
    grid-column: 2 / span 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .report-container {
    padding-top: 22px;
  }

  .nameJeremy {
    font-size: 1.5rem;
  }

  .report-title {
    font-size: 0.8rem;
  }

  .jeremy-profile {
    height: 70%;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    padding-right: 70px;
  }

  .schedule-section {
    height: 30%;
    display: flex;
    flex-direction: column;
  }

  .activity-card {
    margin-top: 0;
    height: 100%;
  }

  .activity-time {
    display: flex;
    flex-direction: column;
  }

  .current-hours {
    font-size: 40px;
  }
}

.attribution {
  font-size: 11px;
  text-align: center;
  margin-top: 30px;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
