main {
  max-width: 1400px;
  margin: auto;
}

.main-dash {
  margin: 3.44rem 10rem 0px 10rem;
}

@media only screen and (max-width: 950px) {
  .main-dash {
    margin: 0rem;
    margin-top: 1rem;
    padding: 0.5rem;
  }

  .main-dash .text-section,
  .profile-view {
    padding: 1rem !important;
  }

  .profile-view {
    justify-content: space-between;
  }

  .profile-name {
    font-size: 14px;
  }

  .view-profile-btn-container {
    text-align: end;
  }

  .main-heading,
  .profile-view,
  .profile-card,
  .my-progress-dashboard,
  .my-progress-section,
  .swimmer-section,
  .upcoming-events {
    width: 100% !important;
  }

  .my-progress-dashboard {
    height: 100% !important;
  }

  .my-progress-section {
    border: none !important;
    border-bottom: 1px solid #ecedf0 !important;
  }

  .swimmer-section,
  .my-progress-section {
    padding: 1rem 0rem !important;
  }

  .upcoming-events {
    margin-top: 1.25rem;
    ;
  }
}

@media screen and (max-width:950px) and (min-width:600px) {
  .main-dash {
    margin: 2rem 3rem 0px 3rem;
  }
}

@media screen and (max-width: 1200px) and (min-width: 950px) {
  .main-dash {
    margin: 2rem 4rem 0px 4rem;
  }
}

.progress-section-dashboard {
  margin-top: 1.5rem;
  gap: 1.25rem;
}

.my-progress-dashboard {
  width: 65%;
  height: auto;
}

.my-progress-section {
  width: 45%;
  border-right: 1px solid #ecedf0;
}

.swimmer-section-info {
  height: auto;
}

.swimmer-info {
  border-bottom: 1px solid;
}

.completed-progress {
  padding: 0.75rem;
  margin-top: 1.25rem;
}

.swimmer-section {
  width: 55%;
}

.upcoming-events {
  width: 35%;
  height: 18.25rem;
}

.events-list {
  margin-top: 1.25rem;
}

.events-list li {
  list-style: none;
  border-bottom: 1px solid;
  margin-bottom: 0.75rem;
}

.cards-title {
  font-weight: var(--semi);
  border-bottom: 1px solid;
}

@media only screen and (min-width: 1300px) {
  .view-profile-btn-container {
    padding-left: 4rem;
  }
}

.image-section {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}