/* inter-regular - cyrillic */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v12-cyrillic-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
         url('../fonts/inter-v12-cyrillic-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* inter-500 - cyrillic */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/inter-v12-cyrillic-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
         url('../fonts/inter-v12-cyrillic-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  html{
   box-sizing: border-box; 
  }
  *, *::before, *::after{
    box-sizing: inherit;
  }

    body{
    font-family: 'inter-regular, inter-500';
  }

  .wrapper{
    max-width: 520px;
    flex-direction: column;
  }

  header{
    margin: 5px;
    padding: 5px 5px;
  }

  h1{
    text-align: center;
    font-style: normal;
    font-size: 220%;
    font-weight: normal;
    color: black; 
  }

  h2{
    text-align: center;
    font-style: normal;
    font-size: 200%;
    font-weight: normal;
    color: black; 
  }

  .menu{
    font-size: 160%;
    font-style: normal;
    font-weight: 900;
    background: #fff0cc;
    border-style: solid none;
    border-width: 2px 0px;
    border-color: #c00;
    padding: 5px 20px;
    text-align: center;
    white-space: nowrap; 
  }
  a {
    text-decoration: none;
    color: darkslategrey;
  }
  
  a:hover{
    color: gray;
  }
  
  p{
    margin: 5px;
    padding: 5px;
  }
  p{
    font-size: 130%;
    text-align: justify;
    text-indent: 1.5em;
    margin: 0px;
  }


  .flex-contaner{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    max-width: 1040px;
    background-color: white;
  }
   .flex-contaner > div {
    background-color:white;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
   }

   /* table {
    border-collapse: collapse;
  }

  td {
    border: solid 1px #c00;
  }*/

  .resp-tab{
    border-radius: 5px;
    font-weight: normal;
    border: none;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
  }

  .resp-tab th, .resp-tab td {
    padding: 10px 20px;
    font-size: 20px;
    border: none;
    font-family: 'inter-regular';
    border: 1px solid #337AB7;
    vertical-align: top;
  }

  .resp-tab th {
    color: #fff;
    background: #337AB7;
    font-weight: bold;
    border: 1px solid #1a4a73;
    text-transform: uppercase;
    text-align: center;
  }

  .red3 {
    color: #fff;
    background:red;
    font-weight: bold;
    border: 1px solid #1a4a73;
    text-transform: uppercase;
    text-align: center;
  }

  .resp-tab tr:nth-child(even) {
    background: #edf7ff;
  }

  .resp-tab td span {
    background:#337AB7;
    color: #fff;
    display: none;
    font-size: 11px;
    font-weight: bold;
    font-family: inter-regular;
    text-transform: uppercase;
    padding: 5px 10px;
    position: absolute;
    top: 0;
    left: 0;
  }

  .red2{
    background:red;
    color:white;
    display: none;
    font-size: 11px;
    font-weight: bold;
    font-family: inter-regular;
    text-transform: uppercase;
    padding: 5px 10px;
    position: absolute;
    top: 0;
    left: 0;
  }

 /*.resp-tab td span {
    background:red;
    color: #fff;
    display: none;
    font-size: 11px;
    font-weight: bold;
    font-family: inter-regular;
    text-transform: uppercase;
    padding: 5px 10px;
    position: absolute;
    top: 0;
    left: 0;
  }*/


  .red{color: #c00;
    background:white;}



  @media(max-width: 768px) {
    .resp-tab thead {
      display: none;
    }
    .resp-tab tr {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }
    .resp-tab td {
      margin: 0 -1px -1px 0;
      padding-top: 35px;
      position: relative;
      width: 50%;

    }
    .resp-tab td span {
      display: block;
    }

    .red2{display: block;}
  }
  @media(max-width: 480px) {
    .resp-tab td {
      width: 100%;
    }
  }

  .footer {
    flex: 0 0 auto;
  }