:root {
  --main_color: #1e1b32;

  --bg-color: #f7f7f7;
  --text-grey: #53708F;
  --accent-color: #221e38;
  --secondary-color: #6a3acd;
  --border: 1px solid #cbcbcb;
  --br: 1rem;
  --half-br: 0.5rem;
}

html {
    font-display: swap;
}

body {
  font-family: 'Roboto', 'Roboto-fallback-1', 'Roboto-fallback-2', 'Arial', sans-serif;
  /*font-family: 'Roboto', serif;*/
  margin: 0;
  width: 100%;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}

a {
  color: var(--main_color);
  font-weight: 600;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 2px;
  text-underline-position: from-font;
}

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

.content {
  max-width: 1168px;
  margin: 0 auto;
  padding: 20px 10px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

h1, .h1 {
  font-size: 2.1rem;
}

h2, .h2 {
  font-size: 2rem;
}

h3, .h3 {
  font-size: 1.75rem;
}

h4, .h4 {
  font-size: 1.5rem;
}


h5, .h5 {
  font-size: 1.25rem;
}


h6, .h6 {
  font-size: 1rem;
}


@media (max-width: 768px) {
  h1, .h1 {
    font-size: 1.8rem;
  }

  h2, .h2 {
    font-size: 1.6rem;
  }

  h3, .h3 {
    font-size: 1.4rem;
  }

  h4, .h4 {
    font-size: 1.3rem;
  }
}

.navbar {
  background-color: #0A0919;
  color: white;
  display: flex;
  /*justify-content: space-between;*/
  align-items: center;
  padding: 10px 40px;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar .logo {
  font-size: 24px;
  width: 180px;
  height: 18px;
}

.nav-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.nav-menu {
  list-style: none;
  padding-left: 0;
  display: flex;
  margin: 0;
}

.nav-menu li {
  padding: 0 15px;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
  text-decoration: none;
}

.btn-lg, .btn-group-lg > .btn {
  /* padding: 0.5rem 1rem; */
  /* font-size: 1.25rem; */
  /* line-height: 1.5; */
  /* border-radius: 0.3rem; */
}

.btn-success {
  color: #fff;
  background-color: #5146cd;
  /* border-color: #28a745; */
}

.btn:focus, .btn:hover {
  text-decoration: none;
}
.btn-success:hover {
  color: #fff;
  background-color: #4d20a9;
  /* border-color: #1e7e34; */
}



/*** offers ***/
.d-none {
  display: none;
}

.offer p {
  margin: 0;
  padding: 0;
  text-align: center;
}

.stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stars--count {
  width: auto;
  display: block;
  text-align: right;
  margin: 0 0.4rem 0 0;
  align-self: center;
  color: gray;
  font-size: 0.8em;
}
.stars--rating {
  width: 7rem;
  align-self: center;
}

.stars--rating {
  position: relative;
}

.bg {
  fill: #4d4d4d;
}

.fg {
  fill: orange;
  width: 7rem;
}

.rating {
  position: absolute;
  overflow: hidden;
  left: 0;
  display: block;
}

.s-0 {
  width: 0%;
}

.s-5 {
  width: 5%;
}

.s-10 {
  width: 10%;
}

.s-15 {
  width: 15%;
}

.s-20 {
  width: 20%;
}

.s-25 {
  width: 25%;
}

.s-30 {
  width: 30%;
}

.s-35 {
  width: 35%;
}

.s-40 {
  width: 40%;
}

.s-45 {
  width: 45%;
}

.s-50 {
  width: 50%;
}

.s-55 {
  width: 55%;
}

.s-60 {
  width: 60%;
}

.s-65 {
  width: 65%;
}

.s-70 {
  width: 70%;
}

.s-75 {
  width: 75%;
}

.s-80 {
  width: 80%;
}

.s-85 {
  width: 85%;
}

.s-90 {
  width: 90%;
}

.s-95 {
  width: 95%;
}

.s-100 {
  width: 100%;
}

.top-bg-black {
  background: #000000;
}

.offers {
  background: #1e1b32;
  border-radius: 15px;
  list-style: none;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.offer {
  display: grid;
  grid-template-columns: minmax(100px, 200px) 1fr;
  grid-template-rows: auto;
}
.offer--text {
  grid-column: 2/3;
  grid-row: 1/2;
  padding: 5px 0;
}
.offer--cta {
  grid-column: 2/3;
  grid-row: 3/4;
  align-self: center;
}
.offer--tac {
  grid-column: 1/3;
  grid-row: 4/5;
}
.offer--fig {
  grid-column: 1/2;
  grid-row: 1/4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;

}
.offer--reviews {
  grid-column: 1/2;
  grid-row: 3/4;
}

@media (min-width: 768px) {
  .offer {
    display: grid;
    grid-template-columns: auto minmax(200px, 1fr) auto auto;
    grid-template-rows: auto;
    grid-template-columns: 160px 1fr 250px 200px;
  }
  .offer--text {
    grid-column: 2/3;
    grid-row: 1/2;
    /* max-width: 500px; */
  }
  .offer--cta {
    grid-column: 4/5;
    grid-row: 1/2;
  }
  .offer--tac {
    grid-column: 2/5;
    grid-row: 2/3;
  }
  .offer--reviews {
    grid-column: 3/4;
    grid-row: 1/2;
  }
}
.offer {
  background: #0A0919;
  color: white;
  border-radius: 7px;
  overflow: hidden;
}
.offer--text p {padding: 2px 0;}
.offer--text b {
  color: orange;
}
.offer--text-title {
  color: #9c9c9c;
  text-align: center;
}
.offer--tac {
  color: #999999;
  background: rgba(0, 0, 0, 0.5);
}
.offer--fig img {
  width: 8rem;
  max-width: 100%;
}

.offer .expert {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 15px;
}

.offer--reviews {
  color: white;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
}
.offer--reviews .expert--no {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
  width: 100%;
  text-align: center;
  padding: 0;
}
.offer--reviews .expert--title {
  color: #999999;
  line-height: 0.8rem;
  font-size: 80%;
  font-weight: 400;
  width: 100%;
  text-align: center;
  padding: 0;
}

@media (min-width: 768px) {
  .offer {
    /* background: #333333; */
    color: white;
  }
  .offer--text b {
    color: orange;
  }
  .offer--tac {
    color: #999999;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 8px 0;
  }
  .offer--reviews {
    color: white;
    z-index: 2;
    background: transparent;
  }
}

/*** end offers ***/


/*** tables ***/

table {
  border-spacing: 0;
  border-collapse: collapse;
}

td {
  border: 1px solid gray;
  border-style: solid;
  padding: 0 5px;
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  /* max-width: 650px; */
  margin: 0 auto;
  /* border-collapse: collapse; */
}

.table-dark {
  color: #fff;
  background-color: #212529;
  width: 100%;
  border-collapse: collapse;
}

.table tr {
  vertical-align: bottom;
  border-bottom: 1px solid #747474;
}

.table-dark th, .table-dark td, .table-dark thead th {
  border-color: #32383e;
}

.table thead th {
  vertical-align: bottom;
  /* border-bottom: 2px solid #e9ecef; */
  text-align: left;
}

.table th, .table td {
  padding: 0.75rem;
  vertical-align: top;
  /* border-top: 1px solid #e9ecef; */
  text-align: left;
}



/*** accardion ***/

.accordion__item {
  border-radius: var(--br);
  padding: 1rem 1.5rem;
  background-color: var(--bg-color);
  border: var(--border);
  margin-bottom: 1rem;
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
}

.accordion__item-title {
  font-size: 1.25rem;
  margin-bottom: 0;
  margin-top: 0;
}

.accordion__item-button {
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
  line-height: 1;
}

.accordion__item-button path,
.accordion__item-button use {
  fill: var(--accent-color);
  transition: 0.4s;
}

.accordion__header:hover .accordion__item-button path,
.accordion__header:focus .accordion__item-button path,
.accordion__header:hover .accordion__item-button use,
.accordion__header:focus .accordion__item-button use {
  fill: var(--secondary-color)
}

.accordion__body {
  width: 700px;
  max-width: 100%;
  line-height: 1.3;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.1s, padding 0.4s;
}

.accordion__item.show {
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2),
  0px 1px 0px 0px rgba(255, 255, 255, 0.2) inset;
}

.accordion__item.show .accordion__item-button::before {
  opacity: 0;
}

.accordion__item.show .accordion__item-button {
  transform: rotate(180deg);
}

.accordion__item.show .accordion__body {
  padding-top: 20px;
  padding-bottom: 3px;
  height: auto;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .accordion__item-title {
    font-size: 1rem;
    line-height: 1.2;
  }
  .accordion__body {
    font-size: 13px;
  }
}

/*** end accardion ***/


/*** footer ***/
.footer-row {
  display: flex;
  /* gap: 2%; */
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-col {
  width: 32%;
}
.footer-col p {
  font-size: 12px;
}

.footer-dark .copyright {
  text-align: center;
  padding-top: 24px;
  /* opacity: 0.3; */
  font-size: 13px;
  margin-bottom: 0;
}

.footer-dark {
  padding: 50px 0;
  color: #9e97b1;
  background-color: var(--main_color)
}

.footer-dark h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 16px;
  color: white;
}

.footer-dark ul {
  padding: 0;
  list-style: none;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0
}

.footer-dark ul a {
  color: #b6b3c7;
  text-decoration: none;
  /* opacity: 0.6; */
  /* font-weight: 600; */
  margin: 5px 8px;
  display: block;
}

.footer-dark ul a:hover {
  opacity: 0.8
}

/*** end footer ***/



/* mobile */
@media screen and (max-width: 992px) {
  .navbar {
    justify-content: space-between;
    padding: 10px 10px;
    /*gap: 20px;*/
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: left;
    padding: 20px 0;
    position: absolute;
    background-color: var(--main_color);
    top: 50px;
    left: 0;
    padding-left: 30px;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu li {
    padding: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .offer--fig {
    grid-row: 1 / 2;
  }

  .offer--cta {
    padding: 0 10px;
  }

  .offer--reviews {
    flex-direction: column;
    padding: 10px 0;
  }

  .offer--reviews .expert--no {
    font-size: 1.5rem;
  }

  .offer .expert {
    flex-direction: column;
    padding: 0;
  }

  .footer-dark {
    padding: 30px 0;
  }

  .footer-row {
    padding: 0 10px;
  }

  .footer-col {
    width: 100%;
  }
}
