*,
*::before,
*::after {
  box-sizing: border-box;
}

.btn {
  color: #ffffff;
  font-size: 1.25rem;
  text-align: center;
  vertical-align: middle;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  line-height: 1.5;
  border-radius: 7px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-decoration: none;
}
.btn.btn-primary {
  background-color: #178ece;
}
.btn.btn-primary:hover {
  background-color: #126ea0;
}
.btn.btn-success {
  background-color: #029f7b;
}
.btn.btn-success:hover {
  background-color: #016d54;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #ffffff;
  background-clip: border-box;
  border: 1px solid #e6f1fb;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 0px rgba(0, 93, 139, 0.05);
  padding: 1.5rem;
  max-width: 760px;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin: 0;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 0.3em 0;
}

p {
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #3E4347;
  margin: 0;
  height: 100vh;
  position: relative;
  background-color: #f5f5f5;
}

main {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#hero {
  width: 100%;
  height: 100%;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

.hero-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#setup-txt {
  height: 15vh;
  min-height: 90px;
  background-color: #2a4350;
  color: #ffffff;
  width: 100%;
  font-size: 1.25em;
}

#setup-txt p {
  max-width: 420px;
}

#tagline {
  flex-grow: 1;
  position: relative;
}

#tagline::before {
  content: "";
  background-color: #f5f5f5;
  background-image: url("background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.6;
  z-index: -1;
}

#tag-logo {
  width: 100%;
  max-width: 500px;
}

#action {
  min-height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

#action .card {
  margin-top: -10px;
}

#action p {
  margin: 0 0 1rem 0;
}

#cta-btns {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cta-btns .btn {
  width: 100%;
}

#cta-btns .btn + .btn {
  margin-top: 1.5rem;
}

@media (min-width: 460px) {
  h1 {
    font-size: 4rem;
  }
}
@media (min-width: 800px) {
  .btn {
    font-size: 1.5rem;
  }

  #hero {
    flex-direction: row;
    height: 100vh;
  }

  .hero-content {
    height: 60%;
  }

  #setup-txt {
    width: 40%;
    height: 100%;
    font-size: 1.5em;
  }

  #action {
    min-height: 250px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    padding: 1rem;
    background-color: transparent;
  }

  #action .card {
    margin-top: 0px;
  }

  #action p {
    font-size: 1.125rem;
  }
}
