@font-face {
  font-style: normal;
  font-weight: 400;
  font-family: "Lato";

  src: local("Lato"),
    url("../fonts/lato-regular.woff2") format("woff2"),
    url("../fonts/lato-regular.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: 500;
  font-family: "Lato";

  src: local("Lato Medium"),
    url("../fonts/lato-medium.woff2") format("woff2"),
    url("../fonts/lato-medium.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: 600;
  font-family: "Lato";

  src: local("Lato SemiBold"),
    url("../fonts/lato-semibold.woff2") format("woff2"),
    url("../fonts/lato-semibold.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: 700;
  font-family: "Lato";

  src: local("Lato Bold"),
    url("../fonts/lato-bold.woff2") format("woff2"),
    url("../fonts/lato-bold.woff") format("woff");
}

:root {
  --background-gray: #f5f5f7;
  --basic-black: #000000;
  --basic-white: #ffffff;
  --orange: #eb7c42;
  --button-color-opacity: rgba(235, 124, 66, 0.1);
  --border-gray: #d9dde4;
  --direction-green: #64b092;
  --direction-green--bg: rgba(100, 176, 146, .1);
  --direction-red: #ee4d4d;
  --direction-red--bg: rgba(238, 77, 77, .1);
  --functions-background: rgba(235, 124, 66, 0.03);
  --shadow-color: rgba(235, 124, 66, 0.3);
  --text-blue: #375871;
  --text-blue-darken: #193850;
  --text-gray: #d2d2d2;
  --selected-row--bg: #eb7c42;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;

  font-weight: 400;
  font-size: 20px;
  line-height: 155%;
  font-family: "Lato", "Arial", sans-serif;
  color: var(--text-blue);
}

.body-grid {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;

  white-space: nowrap;

  border: 0;

  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
}

.error-message {
  display: block;
  margin: 0;
  color: var(--direction-red);
  text-align: center;
}