@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap');
:root {
  --pale-blue: hsl(225, 100%, 94%);
  --bright-blue: hsl(245, 75%, 52%);
  --very-pale-blue: hsl(225, 100%, 98%);
  --desaturated-blue: hsl(224, 23%, 55%);
  --dark-blue: hsl(223, 47%, 23%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  font-size: 16px;
  line-height: 2;
  color: hsl(224, 23%, 55%);
}

h1 {
  color: hsl(223, 47%, 23%);
  margin: 10px 0
}

img {
  max-width: 100%;
}

body {
  font-family: 'Red Hat Display', sans-serif;
  background-color: var(--pale-blue);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  /* padding: 0 20px */
}

button {
  font-family: inherit;
}

.main-p {
  padding: 0 50px
}

.btn {
  border: none;
  padding: 5px 10px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out
}

.container .buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* max-width: 90%; */
}

.btn-change {
  color: var(--bright-blue);
  background-color: transparent;
  text-decoration: underline;
}

.btn-primary {
  background-color: var(--bright-blue);
  color: white;
  padding: 20px 0;
  margin-bottom: 10px;
  font-size: 21px;
}

.btn-primary:hover, .btn-change:hover {
  opacity: 0.8;
}

.btn-secondary {
  background-color: transparent;
  color: var(--desaturated-blue);
  padding: 20px 0;
  font-size: 21px;
}

.btn-secondary:hover {
  color: hsl(223, 47%, 23%)
}

.bg__image {
  background: url('./images/pattern-background-mobile.svg') no-repeat center/cover;
  height: 400px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.container {
  background-color: white;
  margin: 20px;
  padding-bottom: 20px;
  border-radius: 20px;
  box-shadow: 3px 3px 3px hsl(228, 45%, 44%, 0.15);
}

.container-wo-pic {
  padding: 20px;
}

.pricing {
  background-color: var(--very-pale-blue);
  border-radius: 10px;
  padding: 20px 30px;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: space-between;
  margin: 30px auto;
}

article {
  display: flex;
  align-items: center;
}

.inner-pricing-div {
  margin-left: 20px;
}

.hero {
  width: 100%;
  border-radius: 20px 20px 0 0;
}

@media (min-width: 768px) {
  .bg__image {
    background: url('./images/pattern-background-desktop.svg') center/cover no-repeat;
    height: 70vh
  }
  .container {
    width: 500px
  }
  .container-wo-pic {
    padding: 30px 45px
  }
}

@media (max-width: 400px) {
  /* .pricing {
    flex-direction: column;
  } */
  .inner-pricing-div {
    padding-left: 5px;
  }
  /* .btn-change {
    padding-top: 20px;
    padding-right: 5px;
  } */
  .main-p {
    padding: 0 20px
  }
}

/* attribution */

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

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