/*------------------------------------------------------
                      ШРИФТЫ
------------------------------------------------------*/
@font-face {
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  /* Браузер сначала попробует найти шрифт локально */
  src:
    local("PT Sans"), url("../fonts/PTSans-Regular.ttf"),
    ("../fonts/PTSans-Bold.ttf");
}

@font-face {
  font-family: "Monomakh";
  font-style: normal;
  font-weight: 400;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Monomakh"), url("../fonts/Monomakh-Regular.ttf");
}

@font-face {
  font-family: "Vertograd";
  font-style: normal;
  font-weight: 400;
  /* Браузер сначала попробует найти шрифт локально */
  src:
    local("Vertograd"), url("../fonts/Vertograd-Regular.woff2"),
    url("../fonts/Vertograd-Regular.ttf");
}

@font-face {
  font-family: "Secession-Light";
  font-style: normal;
  font-weight: 400;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Secession-Light"), url("../fonts/Secession_Light.ttf");
}

.monomakh-regular {
  font-family: "Monomakh", system-ui;
  font-weight: 400;
  font-style: normal;
}

.pt-sans-regular {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.pt-sans-bold {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.pt-sans-regular-italic {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.pt-sans-bold-italic {
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
}

/*-------------------------------------------------------
 СТИЛИ ТЕКСТА
 -------------------------------------------------------*/

.block_title {
  box-sizing: border-box;
  text-wrap: balance;
  /* Равномерно распределяет текст */
  text-align: center;
  font-family: "PT Sans", sans-serif;
  font-size: 1.4rem;
  font-style: regular;
  font-weight: normal;
  font-weight: 500;
  /*color: #5d001a;  Темный текст на белом фоне фоне */
}

.block_subtitle {
  font-family: "PT Sans", sans-serif;
  font-size: 1.2rem;
  font-style: regular;
  font-weight: 500;
}

.block_text {
  font-family: "PT Sans", sans-serif;
  font-style: regular;
  font-weight: normal;
}

.text_hover {
  font-family: "PT Sans", sans-serif;
  font-style: regular;
  font-weight: normal;
  color: blue;

  &:hover {
    text-decoration: underline;
  }
}

.left_letter {
  float: left;
  /* Выравнивание по левому краю */
  margin: 0px 5px 0 0;
  /* Отступы вокруг буквы */
  font-family: "Vertograd";
  font-style: normal;
  font-weight: 400;
  font-size: 2rem;
  color: #a00;
}

.alert {
  font-family: "PT Sans", sans-serif;
  font-style: italic;
  font-weight: normal;
  border-left: 4px solid #a00;
  /* Параметры линии */
  padding: 10px;
  /* Расстояние от линии до текста */
  background: #f5f5f5;
  /* Цвет фона */
}

time {
  font:
    italic 0.8rem "PT Sans",
    sans-serif;
}

caption {
  color: #5d001a;
  margin-bottom: 1em;
}

table {
  width: 100%;
  border: 2px solid #1f2833;
  border-collapse: collapse;
  text-align: center;
  margin-bottom: 20px;
  font-size: 0.8rem;
}

th {
  text-align: center;
  padding: 10px;
  border: 2px solid black;
  background-color: #fffdf6;
}

td {
  text-align: left;
  padding: 10px;
  border: 1px solid #1f2833;
}

.soderjanie {
  display: none;
}

@media (max-width: 768px) {
  .left_letter {
    font-size: 2.6rem;
  }

  .soderjanie {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    padding-bottom: 1em;
    padding-left: 1em;
  }
}
