/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}
/* Fonts */
@font-face {
  font-family: 'DM Sans Regular';
  src: url('../fonts/DMSans-Regular.woff2') format('woff2'),
      url('../fonts/DMSans-Regular.woff') format('woff'),
      url('../fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans Medium';
  src: url('../fonts/DMSans-Medium.woff2') format('woff2'),
      url('../fonts/DMSans-Medium.woff') format('woff'),
      url('../fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans Bold';
  src: url('../fonts/DMSans-Bold.woff2') format('woff2'),
      url('../fonts/DMSans-Bold.woff') format('woff'),
      url('../fonts/DMSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
/* Colors */
:root {
  --Purple-100: hsl(254, 88%, 90%);
  --Purple-500: hsl(256, 67%, 59%);
  --Yellow-100: hsl(31, 66%, 93%);
  --Yellow-500: hsl(39, 100%, 71%);
  --Background: #f5f5f5;
  --White: hsl(0, 0%, 100%);
  --Black: hsl(0, 0%, 7%);
}
/* General Styles - Mobile First */
body {
  font-size: 18px;
  background-color: var(--Background);
  font-family: 'DM Sans Regular';
  letter-spacing: -2px;
}
/* Line Breaks */
.break-on-desktop {
  display: none;
}
.break-on-mobile {
  display: block;
}
/* Box 2 Image Swap */
.box-2-mobile-img {
  display: block;
  width: 100%;
}
.box-2-desktop-img {
  display: none;
}
/* Box 3 Image Swap */
.box-3-mobile-img {
  display: block;
  width: 100%;
}
.box-3-desktop-img {
  display: none;
}
/* Wrappers */
.grid {
  display: grid;
  gap: 24px;
  padding: 24px;
  max-width: 520px;
  margin: 0 auto;
}
.grid {
  grid-template-columns: 1fr;
}
.card {
  border-radius: 10px;
}
/* Box Zero */
.box-0 {
  background-color: var(--Purple-500);
  color: var(--White);
  text-align: center;
  padding: 40px 20px;
}
.box-0 h1 {
  font-size: 2.5rem;
  font-family: 'DM Sans Medium';
  padding-bottom: 25px;
}
.box-0 span {
  color: var(--Yellow-500);
}
.box-0 span:nth-child(3) {
  color: var(--White);
  font-style: italic;
}
.box-0 img {
  width: 50%;
}
.box-0 p {
  font-size: 1.4rem;
  font-family: 'DM Sans Medium';
  color: var(--Purple-100);
  padding-top: 10px;
}
/* Box One */
.box-1 {
  background-color: #fdfbfe;
  padding: 20px;
}
.box-1 img {
  box-shadow: 0 0 8px 8px white inset;
}
.box-1 h2 {
  padding-top: 20px;
  font-size: 2rem;
  font-family: 'DM Sans Bold';
}
/* Box Two */
.box-2 {
  background-color: var(--Yellow-500);
}
.box-2 h2 {
  padding: 20px;
  font-size: 2rem;
  font-family: 'DM Sans Bold';
}
.box-2 img {
  width: 60%;
  margin-left: 20px;
}
/* Box Three */
.box-3 {
  background-color: var(--Purple-100);
  text-align: center;
  padding: 40px 20px;
}
.box-3 h2 {
  font-size: 2rem;
  font-family: 'DM Sans Bold';
  padding-bottom: 30px;
}
.box-3 h3 {
  font-size: 1.5rem;
  font-family: 'DM Sans Medium';
  padding-top: 30px;
}
/* Box Four */
.box-4 {
  padding: 20px;
  text-align: center;
  background-color: var(--Purple-500);
  color: var(--White);
}
.box-4 img {
  width: 70%;
}
.box-4 h2 {
  font-size: 2rem;
  font-family: 'DM Sans Medium';
  padding-top: 35px;
}
/* Box Five */
.box-5 {
  background-color: var(--White);
  padding: 30px 20px;
}
.box-5 h2 {
  font-size: 3rem;
  font-family: 'DM Sans Bold';
  padding-bottom: 25px;
}
.box-5 h2 span {
  font-family: 'DM Sans Medium';
  font-size: 1.5rem;
}
.box-5 img {
  width: 50%;
}
/* Box Six */
.box-6 {
  background-color: var(--Yellow-100);
  padding: 35px;
}
.box-6 h2 {
  font-size: 2rem;
  font-family: 'DM Sans Bold';
  padding-bottom: 25px;
}
.box-6 h2 span {
  font-family: 'DM Sans Bold';
  color: var(--Purple-500);
  font-style: italic;
}
.box-6 img {
  width: 55%;
}
/* Box Seven */
.box-7 {
  background-color: var(--Yellow-500);
  padding: 30px 30px 25px;
}
.box-7 h2 {
  font-size: 2rem;
  font-family: 'DM Sans Bold';
  padding-bottom: 30px;
}
.box-7 img {
  width: 70%;
}
/* Desktop Media Query */
/* 1024 */
@media (min-width: 900px) {
  /* Line Breaks */
  .break-on-desktop {
    display: block !important;
  }
  .break-on-mobile {
    display: none !important;
  }
  /* Box 2 Image Swap */
  .box-2-mobile-img {
    display: none !important;
  }
  .box-2-desktop-img {
    display: block !important;
    width: 85% !important;
    position: relative;
    top: 21px;
    /* border-radius: 20px 0 0 20px; */
  }
  /* Box 3 Image Swap */
  .box-3-mobile-img {
    display: none !important;
  }
  .box-3-desktop-img {
    display: block !important;
    width: 100% !important;
    position: relative;
    left: 20px;
    border-radius: 20px 0 0 20px;
  }
  /* Grid */
  .grid {
    max-width: 1200px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "box-6 box-0 box-0 box-3"
      "box-7 box-1 box-2 box-3"
      "box-7 box-5 box-4 box-4";
  }
  .box-0 { 
    grid-area: box-0; 
    margin-bottom: 40px;
  }
  .box-0 h1 {
    font-size: 3.5rem;
  }
  .box-1 { 
    grid-area: box-1; 
    margin-top: -40px;
  }
  .box-2 { 
    grid-area: box-2; 
    margin-top: -40px;
  }
  .box-3 { 
    grid-area: box-3;
  }
  .box-3 h2 {
    text-align: left;
    padding-left: 20px;
  }
  .box-3 h3 {
    text-align: left;
    padding-left: 20px;
    font-size: 1.25rem;
  }
  .box-4 { 
    grid-area: box-4;
    display: flex;
    text-align: left;
  }
  .box-4 img {
    margin-right: 20px;
    max-width: 220px !important;
    height: 200px !important;
  }
  .box-5 { 
    grid-area: box-5; 
  }
  .box-6 { 
    grid-area: box-6;
    margin-bottom: -40px;
    padding-top: 60px;
  }
  .box-6 img {
    width: 100%;
  }
  .box-7 { 
    grid-area: box-7; 
    margin-top: 40px;
    padding: 40px 20px 0 20px !important;
  }
  .box-7 h2 {
    padding-bottom: 60px;
    font-size: 2.4rem !important;
  }
  .box-7 img {
    width: 100%;
  }
}