/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Barlow Semi Condensed", sans-serif;
  color: #ffffff;
  background-color: #e7eaee;
}

main {
  max-width: 19.063rem;
  width: 100%;
  margin: 4.563rem auto;
}

article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

section {
  padding: 2rem;
  border-radius: 0.5rem;
}

/* Profile Styles */
.profile {
  display: flex;
  align-items: center;
  gap: 1.063rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

/* Name Styles */
.name-sec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.name {
  margin: 0;
  font-size: 0.813rem;
  font-weight: 500;
  line-height: 110%;
}

.graduate-status {
  color: #ede4ff;
  margin: 0;
  font-size: 0.688rem;
  font-weight: 500;
  line-height: 110%;
}

/* Heading Styles */
.heading {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 120%;
}

/* Description Styles */
.desc {
  margin: 0;
  font-size: 0.813rem;
  font-weight: 500;
  line-height: 140%;
}

/* Group 1 Styles */
.group1 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Section 1 Styles */
.sec1 {
  background-color: #733fc8;
  color: #ffffff;
}

.pfp1,
.pfp4 {
  border: 2px solid #a775f1;
}

.desc1 {
  color: #ede4ff;
}

/* Group 2 Styles */
.group2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Section 2 Styles */
.sec2 {
  background-color: #48556a;
}

.graduate-status2,
.graduate-status5 {
  color: #d1d5db;
}

.desc2 {
  color: #e7eaee;
}

/* Section 3 Styles */
.sec3,
.sec5 {
  background-color: #ffffff;
}

.name3,
.name5 {
  color: #48556a;
}

.graduate-status3 {
  color: #676d7e;
}

.heading3,
.heading5 {
  color: #48556a;
}

.desc3,
.desc5 {
  color: #676d7e;
}

/* Section 4 Styles */
.sec4 {
  background-color: #19202d;
}

.heading4 {
  color: #cfcfcf;
}

.desc4 {
  color: #e7eaee;
}

/* Attribution Styles */

/* .attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
} */

/* Tablet Styles */
@media only screen and (min-width: 768px) {
  main {
    max-width: 40.438rem;
  }

  article {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .wrap,
  .group1,
  .group2 {
    display: contents;
  }

  .sec1 {
    background-image: url(./images/bg-pattern-quotation.svg);
    background-repeat: no-repeat;
    background-position: top right 31%;

    grid-column: 1 / 3;
  }

  .sec4 {
    grid-column: 1 / 3;
  }

  .sec5 {
    grid-column: 1 / 3;
  }
}

/* Desktop Styles */
@media only screen and (min-width: 1440px) {
  main {
    max-width: 69.625rem;

    display: grid;
    place-items: center;
    height: 100svh;
    margin: 0 auto;
  }

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

  .sec1 {
    grid-column: 1 / 3;
  }

  .sec3 {
    grid-column: 1;
  }

  .sec4 {
    grid-column: 2 / 4;
  }

  .sec5 {
    grid-column: 4 / 5;
    grid-row: 1 / span 2;
  }
}
