/*
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  src: local("Archivo"), url("../fonts/Archivo-Regular.ttf");
}
*/

/* @font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500;
  src: local("Archivo"), url("../fonts/Archivo-Medium.ttf");
} */

/* @font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  src: local("Archivo"), url("../fonts/Archivo-SemiBold.ttf");
} */

/*@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  src: local("Archivo"), url("../fonts/Archivo-Bold.ttf");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 900;
  src: local("Archivo"), url("../fonts/Archivo-Black.ttf");
}*/

body {
  color: var(--color-text-main);
  font-family: 'Archivo';
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-text-head);
  margin: 0;
}

h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 130%;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 32px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 20px;
}

h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 20px;
}

p {
  font-size: 16px;
  line-height: 160%;
  margin-top: 0;
  margin-bottom: 16px;
}

ul,
ol {
  padding: 0;
  line-height: 160%;
}

li {
  margin: 0 0 16px 20px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 15px;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #f7f8fb;
  color: var(--color-text-dark);
  max-width: 100%;
}

thead tr {
  border-bottom: 1px solid #dcdfe4;
}

tbody tr:not(:last-of-type) {
  border-bottom: 1px solid #dcdfe4;
}

th {
  background: #e7eaee;
  text-align: left;
  padding: 12px 20px;
}

th:first-of-type {
  border-top-left-radius: 10px;
}

th:last-of-type {
  border-top-right-radius: 10px;
}

th:not(:last-of-type),
td:not(:last-of-type) {
  border-right: 1px solid #dcdfe4;
}

td {
  padding: 12px 20px;
}

.horizontal-table th {
  padding: 20px 32px;
  border-radius: 0;
}

.horizontal-table td {
  padding: 20px 28px;
}

.horizontal-table td:first-child {
  font-weight: 700;
  background: #e7eaee;
  text-align: left;
  padding: 20px 32px;
}

a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
}

img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.good-rating {
  color: #5b8f35;
}

.bad-rating {
  color: #eb8348;
}

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 16px;
    line-height: 130%;
    margin-bottom: 16px;
  }

  h4 {
    font-size: 14px;
  }

  p {
    line-height: 170%;
  }

  .small-text {
    line-height: 140%;
  }
}
