:root {
    --color1: #778965;
    --color2: #3D502B;
    --font1: "Assistant", sans-serif;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

body {
    font-family: var(--font1);
    line-height: 1.5em;
}

* {
  box-sizing: border-box;
}

a, :visited {
  text-decoration: none;
}

a, a.link:visited, a.link:hover {
  color: inherit;
}

a.link {
  color: var(--color2);
  font-weight: 700;
}

a.link:hover {
  opacity: 0.7;
}

ul
{
list-style: none;
}

ol, ul
{
padding: 0;
margin: 0;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

h1,h2,h3,h4,h5,h6{
  margin: 0;
  line-height: 1.2em;
}

p {
  margin: 0;
}

.btn-default {
  background-color: var(--color1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-default:hover {
  background-color: var(--color2);
} 

/**** HEADER ****/
header {
    position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
  border-bottom: 1px solid #e3e3e3;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
  
  header a {
    float: left;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
  }

  header ul {
    display: flex;
    align-items: center;
    gap: 25px;
  }
  
  .header a.logo {
    font-size: 25px;
    font-weight: bold;
  }
  
  .header a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .header a.active {
    background-color: dodgerblue;
    color: white;
  }
  
  .header-right {
    float: right;
  }
  
  @media screen and (max-width: 500px) {
    .header a {
      float: none;
      display: block;
      text-align: left;
    }
    .header-right {
      float: none;
    }
  }

  #btn-goOnTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    outline: none;
    background: #333333;
  }

  #btn-goOnTop:hover {
    background: #000000;
  }
  
  #btn-goOnTop.visible {
    display: block;
  }

/**** FOOTER ****/
footer {
  background: var(--color1);
  color: #ffffff;
}

.footer-top {
  padding: 20px 0;
}

.footer-top .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-top .contact p {
  margin-bottom: 15px;
}

footer h4 {
  margin-bottom: 8px;
}

footer .copy {
  background: #5190BD;
  padding: 8px 0;
}

footer .copy .container {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 600px) {
  .footer-top .container,
  footer .copy .container {
    flex-direction: column;
  }
}

/**** HERO SECTION ****/
.offer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: #5190BD;
}

  .offer .texts {
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
  }

  .offer .texts h1 {
    font-size: 40px;
  }

  .offer .texts p {
    margin: 15px 0 30px;
  }

  .offer .texts h2 {
    font-size: 30px;
  }

  @media screen and (max-width: 699px) {
    .offer .texts h1,
    .offer .texts h2 {
      font-size: 30px;
    }
  }

  .form-wrapper {
    max-width: 500px;
    padding: 10px 20px;
    background: #eeeeee;
    border-radius: 18px;
    margin: 0 auto;
  }

/**** INSURANCES ****/
.insurances-wrapper {
  padding: 20px 0;
  background: #5190BD;
}

.insurances {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}

.text-content .insurances-wrapper .container {
  max-width: 1200px;
}

/**** FORM WRAPPER ****/
.image-text {
  display: flex;
  align-items: center;
  flex-direction: column;

  @media screen and (min-width: 700px) {
    flex-direction: row;
    gap: 50px;
  }
}

@media screen and (max-width: 699px) {
  .image-text p {
    text-align: center;
  }
}

.image-text img {
  width: 230px;
}

.select-text {
  background: #F6FBF1;
  padding: 50px 0;
}

.select-text #btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.select-text #btns .btn-default.selected {
  background-color: var(--color2);
}

.select-text .text-bottom {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  display: block;
  margin: 20px 0 0;
}

.image-text:not(.visible) {
  display: none;
}

/**** TEXT CONTENT ****/
.text-content .container {
  max-width: 800px;
}

.text-content .text-section {
  margin: 80px 0;
  text-align: center;
}

.text-content .table-of-content {
  padding: 20px 0;
  background: #F6FBF1;
}

.text-content .table-of-content ul li {
  border-bottom: 1px solid var(--color1);
  font-size: 18px;
  font-weight: 600;
  color: var(--color1);
  list-style: none;
  margin: 0;
}

.text-content .table-of-content ul li:last-child {
  border-bottom: none;
}

.text-content .table-of-content ul li a {
  display: inline-block;
  padding: 17px 0;
}

.text-content .table-of-content ul li a span {
  display: inline-block;
  margin-right: 7px;
  font-size: 22px;
}

.text-content h1 {
  font-size: 27px;
  margin-bottom: 20px;
}

.text-content h2 {
  margin-bottom: 20px;
  font-size: 25px;
}

.text-content h3, .text-content h4 {
  font-size: 20px;
}

.text-content h5 {
  font-size: 15px;
}

.text-content h3, .text-content h4, .text-content ul, .text-content p {
  margin-bottom: 15px;
}

.text-content ul {
  list-style-position: inside;
  list-style-type: disc;
}

.boxes {
  display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
  max-width: 1000px;
  margin: 40px auto 0;
  flex-direction: column;
  padding: 0 20px;

  @media screen and (min-width: 700px) {
    flex-direction: row;
    margin: 70px auto 0;
  }
}

.box {
  background: var(--color1);
  color: #ffffff;
    font-size: 18px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 15px;
    text-align: center;
    width: 100%;


  @media screen and (min-width: 700px) {
    flex-basis: calc(33% - 15px);
    padding: 20px;
    height: 120px;
  }
}

.box h3 {
  margin: 0;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.invalid + .invalid-feedback {
  display: block;
}

.text-center {
  text-align: center !important;
}
.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.text-content .text-section h2 {
  font-size: 30px;
}

.text-content .siegel {
  margin: 30px 0;
}

.text-content .benefits {
  margin: 30px 0 90px;
}

.text-content .benefits ul {
  list-style: none;
}

.text-content .benefits li {
  margin-bottom: 5px;
}

.text-content .benefits li i {
  color: #098900;
  margin-right: 5px;
  font-size: 15px;
}

