@charset "UTF-8";
/***
    The new CSS reset - version 1.8.5 (last updated 14.6.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" attribute is exclud, because otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
@import url(https://fonts.googleapis.com/css?family=Montserrat:regular,600,700,800&display=swap);
*:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

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

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::-moz-placeholder {
  color: unset;
}
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element */
:where([contenteditable]:not([contenteditable='false'])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable='true']) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

html,
body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
}

img {
  max-width: 60%;
  margin: 15px auto;
  display: flex;
  border: 0;
  border-radius: 15px;
  align-items: center;
}

h1 {
  font-size: 36px;
  font-weight: 600;
  margin: 25px 0;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 20px 0;
}

h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 15px 0;
}
ul,
ol {
  padding: 0 0 0 25px;
}
ul,
ol li {
  line-height: 150%;
}
ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

p {
  line-height: 150%;
  margin: 12px 0;
}
strong {
  font-weight: 600;
}

table {
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}
table tr td,
table tr th {
  border: 1px solid #333;
  padding: 15px;
}
table tr th {
  background-color: #834adb;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
table tr td:hover {
  background-color: #e3e3e3;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  width: 100%;
  z-index: 99;
  background: #fafafa;
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  padding: 15px 0;
  background-color: rgb(37, 130, 189);
}
.header .container ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 16px;
  list-style: none;
}
.header .container ul li a {
  transition: all 0.2s ease-in-out;
}
.header .container ul li a:hover {
  color: #0afffb;
}
.header .container {
  display: flex;
  align-items: center;
  height: 100%;
}
.header .logo {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
}
.header .logo img {
  margin: 0;
}
.header h1 {
  animation: blink 3s infinite;
  width: 100%;
  text-align: center;
  margin: 0;
}

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 16px;
}
.container.flex {
  display: flex;
  gap: 2rem;
}

.main {
  min-height: 100vh;
  flex: 1 1 auto;
  padding: 50px 0;
}
.main .nav {
  font-size: 14px;
  flex-basis: 25%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.main .nav ul {
  position: sticky;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem 1.5rem 1rem 1rem;
  top: 2rem;
}
.main .nav ul li {
  list-style: circle;
}
.main .nav .simpletoc-list a {
  color: #0072d6;
  transition: all 0.2s ease-in-out;
}
.main .nav .simpletoc-list a:hover {
  text-decoration: underline;
  color: #3d9970;
}
.main .nav .simpletoc-list > li {
  margin-left: 1.25rem;
}
.main .nav .simpletoc-list > li ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: circle;
}
.body {
  flex-basis: 75%;
  min-width: 0;
  word-break: break-all;
}
.body > section {
  border: 1px solid rgba(128, 128, 128, 0.563);
  background-color: rgba(214, 214, 214, 0.218);
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
}
.author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #8080807a;
  padding: 1rem 0;
}
.author__name {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 14px;
}
.author__img {
  display: inline-block;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}
.author__img img {
  object-fit: cover;
  border-radius: 50%;
  margin: 0;
  max-width: 100%;
}
.author p {
  margin: 0;
}
.author__date {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author__icon {
  background: #f1f5ff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  height: 38px;
  line-height: 36px;
  width: 38px;
  position: relative;
  transition: all 0.2s ease-in-out;
}
.author__icon:hover {
  background: #dce0e8;
}
.author__icon img {
  max-width: 50%;
  margin: 0;
}
.author__popup {
  display: none;
  list-style: none;
  background: #fff;
  border-radius: 4px;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
  left: 0;
  padding: 15px;
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  width: 167px;
  z-index: 99;
  flex-direction: column;
  gap: 1rem;
}
.author__popup::before {
  border-bottom: 10px solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  content: '';
  height: 0;
  left: 50%;
  position: absolute;
  top: -10px;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  width: 0;
}
.author__popup li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #757575;
}
.author__popup li a:hover {
  text-decoration: underline;
}

.footer {
  color: #fff;
  background-color: rgb(37, 130, 189);
  padding: 50px 16px;
  text-align: center;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px 0;
}
.cards .card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0.125em 0.25em rgb(0 0 0 / 34%);
  padding: 1rem;
  border: 1px solid #f5f5f5;
  border-radius: 15px;
  gap: 0.5rem;
}
.cards .card .stars {
  display: flex;
  align-items: left;
  gap: 0.5rem;
}
.cards .card__img img {
  width: 270px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  transition: opacity 0.2s;
}
.cards .card__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cards .card__text ul {
  list-style: none;
  padding: 0;
}
.cards .card__rate {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cards .card__rate .score {
  border-top: 1px solid #333;
  padding-top: 5px;
}
.cards .card__text ul li {
  background-image: url(../images/right-arrow.png);
  background-repeat: no-repeat;
  background-position: top 5px left 0;
  padding-left: 27px;
  font-size: 12px;
}
.cards .card__text .card__title {
  font-weight: 600;
  font-size: 15px;
}
.stars img {
  display: block;
  max-width: 100%;
  margin: 0;
}
.cards .card__btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  width: 150px;
  margin: 0 auto;
  background-color: #62da20;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 4px solid #000d4eac;
  transition: all 0.3s ease-in-out;
}
.cards .card__btn a:hover {
  background-color: #000d4eac;
  border-bottom: 4px solid #79bd2c;
  border-radius: 10px;
}

.mobile-anchor-bar {
  display: none;
}

/* faq */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq .faq__item {
  position: relative;
  padding: 1rem 2rem;
  cursor: pointer;
  background-color: #fff;
  border-radius: 10px;
}
.faq .faq__item::after {
  content: '';
  background: url('../images/arrow-black.svg') center/contain no-repeat;
  width: 15px;
  height: 15px;
  position: absolute;
  color: #111;
  top: 50%;
  transform: translate(0, -50%);
  right: 0.5rem;
  z-index: 100;
}
.faq__item.active::after {
  transform: rotate(180deg);
}
.faq .faq__title {
  font-size: 20px;
  margin: 0;
}
.faq .faq__text {
  display: none;
}
.header__burger {
  display: none;
}
@media (max-width: 1199px) {
  .header .container .header__nav {
    display: none;
  }
  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 3;
  }
  .header__burger::after,
  .header__burger::before {
    content: '';
  }
  .header__burger::after,
  .header__burger::before,
  .header__burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease 0s;
  }
  .header__burger::before {
    top: 0;
  }
  .header__burger span {
    top: 9px;
  }
  .header__burger::after {
    bottom: 0;
  }
  .header__burger.active::before {
    transform: rotate(45deg);
    top: 9px;
  }
  .header__burger.active span {
    transform: scale(0);
  }
  .header__burger.active::after {
    transform: rotate(-45deg);
    bottom: 9px;
  }
  .header .container .header__nav.active {
    display: flex;
    position: absolute;
    top: 7rem;
    left: 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    height: 250px;
    background-color: rgb(37, 130, 189);
    padding: 2.5rem 1.5rem 0;
  }
  .header .logo {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  h1 {
    margin: 20px 0;
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    margin: 15px 0;
  }
  h3 {
    font-size: 20px;
    margin: 10px 0;
  }
  .container {
    max-width: 100%;
  }
  .header {
    font-size: 20px;
  }
  .header h1 {
    font-size: 22px;
  }
  .header .container {
    justify-content: space-between;
    gap: 1rem;
  }
  .container.flex {
    flex-direction: column;
  }
  .body {
    word-break: normal;
  }
  .author {
    gap: 0.5rem;
  }
  .nav {
    display: none;
  }
  .nav.active {
    display: block;
    position: fixed;
    top: 3rem;
    left: 0;
    width: 100%;
    z-index: 100;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
  }
  .nav.active ul {
    border-radius: 0%;
    background-color: #fff;
  }
  .mobile-anchor-bar::after {
    content: '';
    background: url('../images/arrow.svg') center/contain no-repeat;
    width: 15px;
    height: 15px;
    position: absolute;
    right: 1rem;
    z-index: 100;
  }
  .mobile-anchor-bar.active::after {
    transform: rotate(180deg);
  }
  .author__popup {
    width: 127px;
    transform: translate(-80%);
  }
  .author__popup::before {
    left: auto;
    right: 0;
  }
  .author__name {
    flex: 0 0 50%;
    font-size: 13px;
  }
  .author__date {
    flex: 0 0 50%;
    gap: 0.5rem;
    font-size: 13px;
  }
  .footer {
    padding: 30px 16px;
  }
  .cards .card {
    flex-direction: column;
    padding: 0.5rem;
  }
  .cards .card__rate {
    align-items: center;
  }
}
@keyframes blink {
  0%,
  100% {
    text-shadow: 0 0 10px rgb(255, 255, 255);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0);
  }
}
