html, body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
}

.box.first {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  height: 55vh;
  background-image: url("images/pattern-bg.svg");
  background-size: 310px 310px;
  background-repeat: no-repeat;
  background-position: center;
}

.portrait {
  width: 250px;
  height: 250px;
  display: block;
  border-radius: 5px;
  box-shadow: 0px 25px 50px -35px #4A3FDB;
}

.button_container {
  position: absolute;
  bottom: 30px;
  display: flex;
}

button {
  display: block;
  flex-direction: row;
  border:0px;
  background: white;
  padding-top: 12px;
  padding-bottom: 12px;
}

button img {
  width: 8px;
  height: 12px;
}

button.prev {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  padding-right: 15px;
  padding-left: 15px;

}

button.next {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: -1px;
}

button:hover {
  cursor: pointer;
}
button:focus {
  outline: 0;
}

.box.second {
  background: no-repeat center top/17% url("images/pattern-quotes.svg"), no-repeat bottom left/75% url("images/pattern-curve.svg");
  text-align: center;
}

.box.second .quote {
  padding: 30px 30px 15px 30px;
  font-weight: 300;
  font-size: 18px;
  margin: 0px;
}

.box.second .name {
  margin: 0px;
  font-weight: 700;
  font-size: 15px;
}

.box.second .profession {
  margin: 0px 0px 65px 0px;
  font-size: 15px;
  color: hsl(240, 18%, 77%);
}

.attribution {
  font-size: 11px;
  text-align: center;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (min-width: 376px) {

  .container {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    height: 100%;
    box-sizing: border-box;
  }

  .box.first {
    width: 50%;
    height: 100%;
    background-size: 80% 80%;
  }

  .box.second {
    margin-top: 180px;
    width: 50%;
    text-align: left;
    background: no-repeat center top/10% url("images/pattern-quotes.svg"), no-repeat bottom left/75% url("images/pattern-curve.svg");
  }

  .box.second .quote {
    font-size: 34px;
    padding-left: 0px;
  }

  .text_container {
    position: absolute;
    width: 50%;
    left: 230px;
  }

  .portrait {
    margin-top: 10px;
    width: 65%;
    height: 66%;
  }

  .name, .profession {
    display: inline;
  }

  .button_container {
    bottom: 13%;
    left: 28%;
  }

  .attribution {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
  }
}