body {
  padding: 8px;
  background-color: #34495e;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.2;
  -webkit-text-size-adjust: none;
}

body.iframe {
  background-color: transparent;
}

a {
  color: inherit;
}

p, h2 {
  margin-bottom: 16px;
}

:last-child {
  margin-bottom: 0;
}

h1, h2 {
  font-weight: bold;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 24px;
}

.subtitle {
  font-weight: bold;
}

.gold {
  color: #fbc02d;
}

.button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 28px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background-color: #1abc9c;
  cursor: pointer;
  -webkit-appearance: none;
}

.button + .button {
  margin-top: 16px;
}

.button:hover,
.button:focus {
  outline: none;
  background-color: #1bdebd;
}

.button--secondary {
  color: #1abc9c;
  box-shadow: 0 0 0 2px #1abc9c inset;
  background-color: transparent;
}

.button--secondary:hover,
.button--secondary:focus {
  color: #1bdebd;
  box-shadow: 0 0 0 2px #1bdebd inset;
  background-color: transparent;
}

.main {
  position: relative;
  margin: 0 auto;
  max-width: 640px;
}

.ribbon {
  position: absolute;
  top: -4px;
  right: -4px;
  height: 100px;
  width: 100px;
  color: #000;
  overflow: hidden;
  z-index: 1;
}

.ribbon__text {
  display: block;
  position: absolute;
  top: 50%;
  left: -50%;
  height: 30px;
  line-height: 30px;
  width: 200%;
  transform: translateY(-100%) rotate(45deg);
  transform-origin: center bottom;
  background-color: #fbc02d;
  box-shadow: 0 2px 2px rgba(0,0,0,.1);
  font-weight: bold;
  text-align: center;
}

.ribbon::before,
.ribbon::after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-bottom: 2px solid #f9a825;
  border-left: 2px solid #f9a825;
}

.ribbon::before {
  top: 0;
  left: 0;
}

.ribbon::after {
  bottom: 0;
  right: 0;
}

.card {
  box-sizing: border-box;
  width: 100%;
  padding: 16px;
  margin-bottom: 8px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  background-color: #fff;
  color: #34495e;
}

.card--full {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 66px);
  min-height: 438px;
  max-height: 480px;
  padding: 0;
  text-align: center;
}

.card__splash {
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
  background: linear-gradient(135deg, #32c8ff, #0073ff);
  color: #fff;
  z-index: 0;
}

.card__splash::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: -40px;
  height: 99px;
  width: 180px;
  background-image: url('../images/mountain.svg');
  z-index: -1;
}

.card__details {
  padding: 16px;
}

.steps {
  display: flex;
  margin: 0 -2px 16px;
  font-size: 14px;
}

.steps__step {
  flex: 1;
  margin: 0 4px;
  padding-top: 8px;
  border-top: 2px solid #b8b8b8;
  color: #b8b8b8;
  text-align: left;
}

.steps__step--active {
  border-color: #1abc9c;
  color: #1abc9c;
  font-weight: bold;
}

.packages {
  display: flex;
  background-color: #e0e0e0;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  margin-bottom: 16px;
}

.packages__option {
  padding: 12px 0;
  position: relative;
  flex: 1;
}

.packages__input {
  display: none;
}

.packages__input:checked + .packages__highlight {
  transform: translateX(0);
}

.packages__highlight {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #fff;
  border-radius: 28px;
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
}

.packages__text {
  display: block;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

.packages__text--small {
  font-size: 12px;
  font-weight: normal
}

.reasons__reason {
  position: relative;
  margin-bottom: 16px;
  padding-left: 40px;
  counter-increment: inst;
}

.reasons__reason::before {
  content: counter(inst);
  position: absolute;
  width: 24px;
  top: 0;
  left: 0;
  color: #fbc02d;
  font-size: 36px;
  text-align: right;
}

.reasons__title {
  margin-bottom: 0;
  font-weight: bold;
}

.footer {
  font-size: 12px;
  text-align: center;
}

@media screen and (min-width: 480px) {
  .card--full {
    min-height: 350px;
  }
}

/* Fonts */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/open-sans_regular.woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/open-sans_bold.woff');
}