/* Box sizing rules */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap");
:root {
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  background-image: url("../images/pattern-bg.svg"), url("../images/pattern-quotes.svg"), url("../images/pattern-curve.svg");
  background-repeat: no-repeat;
  background-position: center 16px, center 361px, bottom left;
  background-size: 334px 317px, 64px 53px, 261px 70px;
}

.article {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: transparent;
}

.picture-container {
  height: 50vh;
  width: 100vw;
}

.slider {
  width: 82px;
  height: 42px;
  background-color: #babacf;
  border-radius: 500px;
  margin: auto;
  z-index: 10;
  transform: translateY(-3em);
  background-color: white;
  box-shadow: 0px 6px 18px -11px #000000;
  display: flex;
  justify-content: space-around;
  cursor: pointer;
}
.slider .left, .slider .right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pic {
  background-image: url("../images/image-tanya.jpg"), url("../images/image-john.jpg");
  width: 255px;
  height: 38vh;
  background-size: 100%, 0px;
  margin: 52px auto 27px auto;
  border-radius: 0.4em;
  box-shadow: 0px 36px 44px -12px rgba(0, 0, 0, 0.32);
  background-repeat: no-repeat;
  transition: background-size 300ms ease-out;
}

.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3em 2em 0em 2em;
  transition: transform 300ms ease-in;
  max-width: 900px;
  margin: 0 auto;
}
.text.hidden {
  display: none;
}

.text p {
  font-size: 1.05rem;
  font-weight: 300;
  text-align: center;
  color: #202046;
}

.person {
  margin: auto;
  text-align: center;
  padding: 0;
  margin: 0;
  margin-top: 1em;
  font-size: 1rem;
  line-height: 1.3;
}
.person .name {
  color: #202046;
  font-weight: 700;
}
.person .span {
  color: #babacf;
}

.attribution {
  display: none;
}

@media (min-width: 900px) {
  body {
    background-image: url("../images/pattern-bg.svg"), url("../images/pattern-quotes.svg"), url("../images/pattern-curve.svg");
    background-repeat: no-repeat;
    background-position: 94.7%, 25% 25%, bottom left;
    background-size: 700px 660px, 126px 100px, 38vw 18vh;
  }

  .article {
    max-width: 78.4vw;
    margin: 0 auto;
    flex-flow: row-reverse;
    height: 100vh;
    align-items: center;
    justify-content: space-evenly;
  }

  .slider {
    transform: translateX(-11em) translateY(-3.5em);
    width: 120px;
    height: 57px;
  }

  .picture-container {
    all: unset;
  }

  .text {
    padding-top: 0px;
    z-index: 10;
    transform: translateX(6em);
  }
  .text .description {
    width: 650px;
  }

  .text > p {
    padding-top: 0px;
    text-align: left;
    font-size: 2rem;
    padding-bottom: 1em;
  }

  .person {
    flex-direction: row;
    display: flex;
    align-self: flex-start;
  }
  .person .name {
    color: #202046;
    font-weight: 700;
    font-size: 1.2rem;
  }
  .person .span {
    padding-left: 0.5em;
    font-size: 1.2rem;
  }

  .pic {
    width: 542px;
    height: 542px;
  }
}
@media (max-width: 360px) {
  .text {
    margin-top: 2.5em;
  }

  .text > p {
    font-size: 0.8rem;
  }

  .person > p {
    font-size: 0.8rem;
  }
}/*# sourceMappingURL=style.css.map */