html {
  --bg-color: rgba(253, 202, 69, 1);
  --bg-color-purple: rgba(114, 67, 162, 1);

  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-color);
}

body {
  font-family: Roboto Flex;
  margin-bottom: 60px;
  background: radial-gradient(300vw 220vh at 50% 0, rgba(253, 202, 69, 1) 30%, rgba(253, 231, 174, 1) 30% 45%, #fdfbfd 45%);
}

a,
.btn.btn-link {
  text-underline-offset: 0.5em;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

header .nav-link {
  color: rgba(0, 0, 0, 0.765) !important;
}

  header .nav-link:hover {
    text-decoration: underline;
  }

.navbar-nav .nav-link.active {
  text-decoration: underline;
}

header nav .dropdown-menu {
  background-color: var(--bg-color);
  border: none;
}

header nav .dropdown-item,
header nav .dropdown-item:focus,
header nav .dropdown-item.active {
  background-color: var(--bg-color);
}

header nav .dropdown-menu li a:hover {
  background-color: black;
  color: var(--bg-color) !important;
  text-decoration: none;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24
}

.btn.loader {
  display: grid;
  grid-template-areas: 'stack';
}

  .btn.loader > * {
    grid-area: stack;
  }

  .btn.loader:not(.loading) .loader {
    visibility: hidden;
  }

  .btn.loader.loading .loader {
    visibility: visible;
  }

  .btn.loader.loading .content {
    visibility: hidden;
  }

.form-label {
  font-weight: 600;
  font-size: 1.25rem;
}

.shadow-strong {
  box-shadow: 0px 4px 19.5px 2px rgba(0, 0, 0, 0.25) !important;
}

.shadow-light {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) !important;
}

.btn-purple {
  background-color: var(--bg-color-purple) !important;
  color: white;
}

.btn-purple:hover {
    background-color: rgba(114, 67, 162, 0.8) !important;
    color: white;
}

@media (min-width: 1200px) {
  #blog-article-content .table.w-lg-50 {
    width: 50% !important;
  }
}

.mt-6 {
  margin-top: 5rem;
}

#simplo-logo {
  height: 30px;
}

.material-symbols-outlined.tick {
  align-content: center;
  color: var(--bg-color-purple);
  line-height: var(--bs-body-line-height);
  padding-right: 1rem;
}

img#img-instant-quote {
  height: 150px;
  margin-bottom: -12px;
  position: relative;
  z-index: 1;
}

.iti {
  display: block !important;
}

.iti__search-input {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.iti__search-input:focus {
  outline-color: #86b7fe;
}

.blog-image {
  width: 50%;
}

#blog-article-content div {
  margin-top: 1rem;
}

#blog-article-content ul {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  padding-left: 3rem;
}

#blog-article-content h4 {
  margin-top: 2rem;
}

#blog-article-content h5 {
  margin-top: 1.25rem;
}

#blog-article-content h4 + h5 {
  margin-top: 0;
}

#blog-article-content h4[id] {
  scroll-margin-top: 100px;
}

.article-intro * {
  margin: 0;
}

#btn-back-to-top {
  display: none;
  position: fixed;
  bottom: 5rem;
  right: 5rem;
  z-index: 99;
}

img.main-img {
  height: 400px;
}

@media (max-width: 992px) {
  img.main-img {
    height: 300px;
  }

  .form-label {
    font-size: 1rem;
  }

  #simplo-logo {
    height: 20px;
  }

  a,
  .btn.btn-link {
    text-underline-offset: 0.25em;
  }

  #btn-back-to-top {
    bottom: 2rem;
    right: 2rem;
  }
}

@media (max-width: 767px) {
  img.main-img {
    height: 135px;
    width: auto !important;
    margin: 0 auto;
  }

  .blog-image {
    width: 100%;
  }
}

@media (max-width: 470px) {
  body {
    margin-bottom: 120px;
  }

  .footer {
    line-height: normal !important;
    padding: 0.5em 0;
    height: 120px;
  }

  img#img-instant-quote {
    height: 80px;
  }

  #blog-article-content h4 {
    text-align: center;
  }

  #blog-article-content ul {
    padding-left: 2rem;
  }

  #btn-back-to-top {
    bottom: 1rem;
    right: 1rem;
  }
}
