@font-face {
  font-family: Vedi;
  src: url(fonts/Raleway-VariableFont_wght.ttf) format(woff2);
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
}

@font-face {
  font-family: VediItalic;
  src: url(fonts/Raleway-Italic-VariableFont_wght.ttf) format(woff2);
  font-weight: 400;
  font-style: italic;
  font-variant: normal;
}

body {
  font-family: Vedi, Verdana, Tahoma;
  font-size: 16px;
  line-height: 21px;
  margin: 0px;
  padding: 0px;
  width: 100%;
  min-height: 100%;
  height: 100%;
  background-color: var(--main-bg-color);
}

html,
body {
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
}

input {
  outline: none;
}

:root {
  --main-bg-color: #f9f9f9;
  --main-font-color: #1d1c1e;
  --second-font-color: #bfbfbf;
  --active-color: #2173e0;
  --matte-white: #f2f3f4;
  --accent-color: #ff748f;
}

/***
    All margins and paddings have the same structure
    t - top, b - bottom, r - right, l -left
    v - vertical, h - horizontal.
    The sizes are 
    xs = 
    s = 12
    m = 20
    l = 40
    xl = 60
    Other margins are not welcomed
**/
.mt-s {
  margin-top: 12px;
}

.mv-xs {
  margin-top: 6px;
  margin-bottom: 6px;
}

.mv-s {
  margin-top: 12px;
  margin-bottom: 12px;
}

.mt-m {
  margin-top: 20px;
}

.mb-m {
  margin-bottom: 20px;
}

.mt-l {
  margin-top: 40px;
}

.mh-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-s {
  margin-left: 12px !important;
}

.ml-m {
  margin-left: 20px !important;
}

.mr-m {
  margin-right: 20px !important;
}

.pl-l {
  padding-left: 40px;
}

.pl-m {
  padding-left: 20px;
}

.pl-s {
  padding-left: 12px;
}

.pl-xs {
  padding-left: 6px;
}

.pr-s {
  padding-right: 12px;
}

.ph-s {
  padding-left: 12px;
  padding-right: 12px;
}

/**
* display forms
**/

.d-fl {
  display: flex;
}

.d-bl {
  display: block;
}

.w-100 {
  width: 100%;
}

.hidden {
  visibility: hidden;
}

/**
    headings and texts
*/
.h-2 {
  font-size: 25px;
  line-height: 35px;
}

.text-c {
  text-align: center;
}

.second-text {
  font-size: 14px;
  line-height: 16px;
}

.no-wrap {
  white-space: nowrap;
}

/** spinner*/

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-top: -15px;
  margin-left: -15px;
  border-radius: 50%;
  border: 2px solid #ccc;
  border-top-color: var(--active-color);
  animation: spinner 0.6s linear infinite;
  z-index: 1;
}
