@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat Medium'), local('Montserrat-Medium'),
         url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: local('IBM Plex Sans Bold'), local('IBMPlexSans-Bold'),
         url('../fonts/IBMPlexSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root
{
  --darkblue-color: #113a5a;
  --lightblue-color: #305599;
  --blue-color: #1f3159;
  --light-color: #fff;
  --accent-color: #4baa50;
}


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  font: inherit;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: inherit;
}


ul,
ol,
li 
{
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6
{
  font-size: inherit;
  text-align: center;
  letter-spacing: 2px;
  font-weight: 600;
  margin: 0 auto;
  font-family: IBM Plex Sans, sans;
  margin-bottom: 10px;
}

h1
{
  font-size: clamp(1.375rem, 1.158rem + 1.09vw, 2rem);
}
h2
{
  font-size: clamp(1.25rem, 1.033rem + 1.09vw, 1.875rem);
}
h3
{
  font-size: clamp(1.125rem, 0.908rem + 1.09vw, 1.75rem);
}
h4
{
  font-size: clamp(1rem, 0.783rem + 1.09vw, 1.625rem);
}
h5
{
  font-size: clamp(0.875rem, 0.658rem + 1.09vw, 1.5rem);
}
h6
{
  font-size: clamp(0.75rem, 0.533rem + 1.09vw, 1.375rem);
}

input,
textarea,
select,
button {
  font: inherit;
}

svg *[fill] { fill: currentColor }
svg *[stroke] { stroke: currentColor }

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

a,
button,
input,
textarea,
svg *
{
  transition-duration: .2s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html,
body {
  height: 100svh;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--darkblue-color);
  font-family: Montserrat Medium, sans-serif;
  scroll-behavior: smooth;
}

.wrapper
{
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.container
{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 10px;
}

.main
{
  flex: 1 1 auto;
  padding: 110px 0 0 0;
}

p
{
  text-indent: 40px;
  margin-bottom: 20px;
}

section
{
  margin: 0 0 50px 0;
  height: 100%;
}

.active
{
  color: var(--darkblue-color);
  font-weight: 600;
}

.hr-shelf {
  border-top: 1px solid #8c8b8b;
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
}

/* header start */

.header
{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 5;
}

.header:before
{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background-color: #848484;
}

.header__body
{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.header__logo
{
  font-size: 18px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  z-index: 6;
}

.header__logo span {
  color: var(--light-color);
  font-size: 14px;
}

.header__logo img
{
  width: 160px;
}

.header__burger
{
  display: none;
}

.header__menu
{
 z-index: 6;
}

.header__list
{
  display: flex;
  position: relative;
  z-index: 2;
}

.header__list li
{
  margin: 0 0 0 20px;
  color: var(--light-color);
  font-size: 18px;
  font-weight: normal;
}

.header__list li:hover
{
  color: var(--darkblue-color);
}


@media (width < 990px){

  body.lock{
    overflow:hidden;
  }

  .header__burger
  {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 7;
  }

  .header__burger:before,
  .header__burger:after
  {
    content: '';
    background-color: var(--light-color);
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    transition: all .3s ease 0s;
  }

  .header__burger span
  {
    position: absolute;
    background-color: var(--light-color);
    left: 0;
    top: 9px;
    width: 100%;
    height: 2px;
    transition: all .3s ease 0s;
  }

  .header__burger:before
  {
    top: 0;
  }
  .header__burger:after
  {
    bottom: 0;
  }

  .header__burger.active:before
  {
    transform: rotate(45deg);
    top: 9px;
  }

    .header__burger.active:after
  {
    transform: rotate(-45deg);
    bottom: 9px;
  }

  .header__burger.active span
  {
    transform: scale(0);
  }

  .header__menu
  {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(189, 189, 189, .95);
    color: var(--darkblue-color);
    font-size: 22px;
    padding: 100px 20px;
    z-index: 3;
    transition: all .3s ease 0s;
  }

  .header__menu.active
  {
    top: 0;
    transition: all .3s ease 0s;
  }

  .header__list
  {
    display: block;
  }

  .header__list li
  {
    margin: 0 0 20px 0;
    font-size: 22px;
    color: var(--darkblue-color);
  }

}

/* header end */

.hero
{
  display: flex;
  justify-content: center;
}


@media (width < 1220px){
  .hero
  {
    flex-direction: column;
  }

}

.advantages
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  grid-template-rows: 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  justify-content: space-between;
}

.info__img
{
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 15px;
  margin-bottom: 20px;
}
.info__img img
{
  height: 60px;
}

.img__cover img
{
  max-width: 100%;
}


.img__responsive 
{

}

@media (width < 768px)
{
  .advantages
  {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  .info__img img
  {
    height: 40px;
  }
}

.advantages__box
{
  background-color: rgba(139, 193, 236, 0.6);
  box-shadow: 0px 0px 5px #6192E2;
  border-radius: 14px;
  padding: 10px 18px;
  text-align: justify;
}

.image__box
{
  display: flex;
  justify-content: center;
}

.image__box img
{
  max-width: 100%;
}

.documentation {
  display: flex; 
  justify-content: space-between; 
}

.left-side, .right-side {
  width: 50%; 
  padding: 10px;
}

.documentation__list li,
.footer__list li
{
   padding: 5px;
}

.contact__list li
{
  padding: 10px;
}

.contact__list li:hover
{
  color: var(--accent-color);
}

.footer__list li
{
  padding: 5px;
}

.footer__list li:hover
{
  color: var(--accent-color);
}

.documentation__list span,
.footer__list span
{
  padding-right: 20px;
}

.img__cover
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.img__cover img
{
  height: 180px;
  max-width: 100%;
 
}


/*------ video block start -----*/

.video__section
{
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 20px;
}

@media(width < 768px)
{
  .video__section
  {
    grid-template-columns: 1fr;
  }
}

.video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background-color: #000000;
}

.video__wrap
{
  text-align: center;
}

.video__wrap span
{
  font-size: 16px;
  font-style: italic;
}

.video__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video__button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: none;
    padding: 0;
    width: 68px;
    height: 48px;
    border: none;
    background-color: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.video__button-shape {
    fill: #212121;
    fill-opacity: 0.8;
}

.video__button-icon {
    fill: #ffffff;
}

.video__button:focus {
    outline: none;
}

.video:hover .video__button-shape,
.video__button:focus .video__button-shape {
    fill: #ff0000;
    fill-opacity: 1;
}

/* Enabled */

.video--enabled {
    cursor: pointer;
}

.video--enabled .video__button {
    display: block;
}



/*----- video block end

/*------ footer start -----*/

.footer
{
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: #BDBDBD;
  color: var(--darkblue-color);
  font-weight: normal;
  padding: 30px 15px;
}

.footer__container
{
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  width: 100%;

}

.copyright
{
  width: 100%;
  padding: 8px 10px;
  text-align: center;
  border-top: 1px solid var(--darkblue-color);
  background-color: #BDBDBD;
}

@media (max-width: 831px)
{
  .footer
  {
    padding: 10px 0;
  }

  .footer__container
  {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 15px;
  }
  .footer__col1,
  .footer__col2
  {
    width: 50%;
  }
  .footer__col3
  {
    grid-area: 2 / 1 / 3 / 3;
  }
}

/*------ footer end -----*/