@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;700&display=swap');
:root {
  /* ## Colors */

  --clr-primary-700: hsl(300, 43%, 22%);
  --clr-primary-300: hsl(333, 80%, 67%);

  /* ### Neutral */

  --clr-neutral-300: hsl(303, 10%, 53%);
  --clr-nuetral-200: hsl(300, 24%, 96%);
  ---clr-nutral-100: hsl(0, 0%, 100%);

  /* ## Typography */
  --ff-primary: "spartant", sans-serif;
  --fs-400: 0.8125rem;
  --fs-500: 0.9625rem;
  --fs-700: 2rem;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* styling */
body {
  background-image: url("/images/bg-pattern-top-desktop.svg"), url("/images/bg-pattern-bottom-desktop.svg");
  background-repeat: no-repeat;
  font-family: var(--ff-primary);
  font-size: var(--fs-400);
  padding-top: 5rem;
  text-align: center;
  padding: 0;
}
main {
  margin: 15px;
}
blockquote {
  background-color: var(--clr-primary-700);
  border-radius: 8px;
  margin-bottom:15px ;
  padding: 25px 30px;
}
img {
  border-radius: 50%;
  width: 40px;
  display: inline;
  float: left;
  margin-right: 20px;
}
.header {
  margin:50px 0 30px;
}
h1 {
  font-size: var(--fs-700);
  color: var(--clr-primary-700);
  line-height: 1;
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  font-weight: 800;
}
.about {
  font-size: var(--fs-500);
  color: var(--clr-neutral-300);
}
.reviews{
  margin-bottom: 50px;
}
.review{
  background-color: var(--clr-neutral-300);
  border-radius: 8px;
  color: var(--clr-primary-700);
  font-family: var(--ff-primary);
  font-size: var(--fs-500);
  font-weight: bold;
  padding: 10px 0;
  margin: 15px 0;

}

.split {
text-align: left;
margin-bottom: 20px;

}
.status {
  color: var(--clr-primary-300);
}
.quote {
  text-align: left;
  color: var(--clr-nuetral-200);
  font-size: var(--fs-400);
} 
.name {
  color: var(---clr-nutral-100);
  font-size: var(--fs-500);
}

@media (min-width: 50em) {
  :root {
    --fs-7: 3rem;
  }
  body{
    background-image: url("/images/bg-pattern-top-desktop.svg"), url("/images/bg-pattern-bottom-desktop.svg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 43%, 108%;
   
    display: flex;
    justify-content: center;
    align-items: center;
  }
  main {
    width: 60rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-evenly;
    gap: 70px;
  }
  h1 {
    margin-left: 0;
  }
  br{
    display: none;
  }
  span{
    margin-left: 20px;
  }
  .header{
    grid-column: 1/2;
  }
  .reviews{
    grid-column: 2/3;
  }
  .quotes{
    grid-column: 1/3;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
  .header{
    text-align: left;
  }
  .first{
    margin-right: 80px;
  }
  .second{
    margin:0 40px;
  }
  .third{
    margin-left: 80px;
  }
  
  .b{
    margin-top: 1rem;
  }
  .c{
    margin-top: 2rem;
  }
  .attribution{
    position: absolute;
    bottom: 10px;
  }
}
