/******Fonts******/

@font-face {
  font-family: "Rubik";
  src: local(Rubik), url("../fonts/Rubik-VariableFont_wght.ttf");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: local(RubikItalic), url("../fonts/Rubik-Italic-VariableFont_wght.ttf");
  font-style: italic;
  font-display: swap;
}

/******Colors******/

:root {
  --black: #000000;
  --white: #ffffff;
  --dark-blue: #001fbf;
  --blue: #0052d8;
  --light-blue: #2d70df;
}

/******Global******/


/******Scrollbar******/
::-webkit-scrollbar-button {
  background-image: url('');
  background-repeat: no-repeat;
  width: 5px;
  height: 0px
}

::-webkit-scrollbar-track {
  background-color: #ffffff;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 0px;
  border-radius: 0px;
  background-color: #0052d8;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0052d8;
}

::-webkit-resizer {
  background-image: url('');
  background-repeat: no-repeat;
  width: 4px;
  height: 0px
}

::-webkit-scrollbar {
  width: 4px;
}

/******Scrollbar******/
.page {
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: hidden;
}

*,
::before,
::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.page-body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: inherit;
  font-family: "Rubik", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  display: flex;
  flex-direction: column;
  /* background: var(--light-blue) url('../img/decor/bg-decor.svg') no-repeat center; */
  /* background-size: cover; */
  background: var(--light-blue) url(../img/decor/bg-decor.svg) no-repeat;
  background-size: 120%;
  background-position-x: right;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a,
a:hover {
  text-decoration: none;
}

fieldset {
  padding: 0;
  border: none;
}

/******Elements******/

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.btn {
  height: 50px;
  padding: 0 25px;
  color: var(--white);
  border: none;
  border-radius: 5px;
  background-color: var(--dark-blue);
  font-size: 16px;
  text-transform: uppercase;
  transition: all .25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-sm {
  height: auto;
  padding: 8px 25px;
  font-size: 14px;
}


.btn:hover {
  background-color: #001999;
}

.btn-light {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-light:hover {
  color: #212529;
  background-color: #e2e6ea;
  border-color: #dae0e5;
}

/******Main******/


.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  z-index: 5;
  width: 60px;
  height: 60px;
  background-image: url(../img/icons/logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.tales {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

.projects {
  margin-top: 5%;
  display: block;
  gap: unset;
  width: 100.48%;
}

.projects .swiper-wrapper {
  margin: 10px 0 40px 0;
}

.swiper-pagination-bullet-active {
  background-color: #fff;
  opacity: 1;
}

.swiper-slide {
  height: auto;
}

.projects .tale-top {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.tales__item {
  background-color: var(--blue);
  border-radius: 10px;
  transition: all .3s ease;
  display: flex;
  min-height: 35vh;
  transform: scale(.97);
  width: 100%;
  height: auto;
  z-index: 20;
}

.tales__items_three .tales__item {
  min-height: 22vh;
}

.tales__items_three .tales__heading {
  line-height: 1.2;
  font-size: 2rem;
}

.tales__items_four .tales__item {
  min-height: 22vh;
  width: calc(50% - .75rem);
}

.tales__items_four .tales__item:nth-child(even) {
  margin-left: .75rem;
}

.tales__items_four .tales__item:nth-child(odd) {
  margin-right: .75rem;
}

.tales__items_four .tales__heading {
  line-height: 1.2;
  font-size: 2.2rem;
  text-transform: uppercase;
  font-weight: 300;
  font-family: 'Roboto';
}

.tales__item:hover {
  background-color: #0044b3;
  transform: scale(1);
}

.tales__inner {
  padding: 13% 10% 8% 10%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.projects .tales__inner {
  padding: 0;
}

.tale-bottom {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.tales__img {
  color: white;
}

.projects__img {
  max-width: 100%;
  max-height: 100%;
}

.tales__heading {
  color: var(--white);
  font-size: 2.5rem;
  text-align: left;
  display: inline-block;
}

.projects .tales__heading {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  line-height: 1.3;
}

.tales__text {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: .975rem;
  flex-grow: 1;
}

.tales__item-bottom {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
}

.tales__decoration {
  height: 20px;
}

.tales__sign {
  margin-top: 30px;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
}

.links {
  position: relative;
  z-index: 5;
  display: flex;
}

.links .btn+.btn {
  margin-left: 10px;
}

.project-main {
  position: relative;
  z-index: 10;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3rem;
  border-radius: 10px;
  background: var(--blue) url('../img/decor/decor_in_wrapper.png') no-repeat left bottom;
  background-size: contain;
  /* display: grid; */
  /* grid-template-columns: 33% 27% 30%; */
  /* grid-template-rows: 40% 55%; */
  /* column-gap: 4%; */
  /* row-gap: 20px; */
}

/* .project-main.two-column {
  grid-template-columns: 48% 46%;
  column-gap: 6%;
}  */

.education .swiper-slide,
.qr {
  border-radius: 5px;
  overflow: hidden;
}


.project-heading {
  font-weight: 500;
  /* grid-column: 1 / 3;
  grid-row: 1 / 2; */
  line-height: 1.3;
}

.project-heading span {
  font-size: 1.75rem;
  height: auto;
  min-height: 50px;
  padding-right: 120px;
}

/* .project-heading .project-main__heading::before {
  left: 0;
  right: auto;
} */

.project-main__img-wrapper {
  /* grid-column: 1 / 2;
  grid-row: 2 / 3; */
  margin-left: 32px;
  margin-top: 8px;
}

.project-main__img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  /* width: 90%; */
}

.project-main__img img {
  -webkit-box-shadow: -32px 0px 2px 0 #0042ad;
  -moz-box-shadow: -32px 0px 2px 0 #0042ad;
  box-shadow: -32px 0px 2px 0 #0042ad;
}

.project-main__heading {
  position: relative;
  height: 50px;
  margin-bottom: 25px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.project-main__heading::before {
  content: "";
  position: absolute;
  z-index: 5;
  right: 0;
  top: 13px;
  /* top: 25%; */
  width: 114px;
  height: 20px;
  background-image: url(../img/icons/item-decor.svg);
  background-size: cover;
}

/* .project-main__description {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.project-main__main-characteristics {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.project-main__main-characteristics .project-main__heading {
  margin-bottom: 5px;
}

.project-main__tech-characteristics {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
} */

.projects__item {
  overflow: hidden;
}

.project-main__text {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.5;
}

.project-main__text p {
  margin-bottom: .7rem;
}

.project-main__text ul {
  padding-left: 24px;
  margin-bottom: 1rem;
}

.project-main__text li {
  position: relative;
  margin-bottom: .4rem;
}

.project-main__text li::before {
  position: absolute;
  left: -24px;
  content: '\f00c';
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  text-align: center;
  width: 1.25em;
}

.characteristics-list__item {
  position: relative;
  /* padding-left: 35px; */
  font-size: 1rem;
}

.characteristics-list__item i {
  margin-right: 10px;
}

/* .characteristics-list__item::before {
  content: "";
  width: 18px;
  height: 15px;
  position: absolute;
  left: 0;
  top: 2px;
  background-image: url(../img/icons/check.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
} */

.characteristics-list__item+.characteristics-list__item {
  margin-top: 10px;
}

/* .characteristics-table {
  display: grid;
  grid-template-columns: 60% 39%;
  gap: 3px;
} */

.characteristics-table span {
  min-height: 60px;
  padding: 10px 20px;
  font-size: 14px;
  background-color: #0042ad;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.characteristics-table span:nth-child(2n) {
  justify-content: center;
  text-align: center;
}

.decor-line {
  width: 120px;
  height: 22px;
}

.link-bottom {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: var(--white);
}

.decor {
  position: absolute;
  z-index: -2;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.decor1 {
  top: -70px;
  left: 12%;
  gap: 30px;
  grid-template-columns: repeat(6, 1fr);
}

.decor2 {
  bottom: 20px;
  right: 20px;
  opacity: 0.5;
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
}

.dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot__inner {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--white);
  transition: all .55s ease;
}

.dot__inner.medium {
  width: 12px;
  height: 12px;
}

.dot__inner.big {
  width: 25px;
  height: 25px;
}

.dot.border {
  border: 1px solid var(--white);
}

.plus {
  width: 20px;
  height: 20px;
  position: absolute;
  background-image: url(../img/icons/plus.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.plus.first {
  top: 63%;
  left: 14%;
}

.plus.second {
  top: 26%;
  left: 82%;
}

.decorative-line {
  height: 18px;
}

.orange-decor {
  position: absolute;
  top: 0;
  left: 38%;
  width: 12px;
  height: 40px;
  background-color: #ff9b1f;
}

.decorative-line {
  position: absolute;
  width: 520px;
  height: 95px;
  background-image: url(../img/decor/blue-line.png);
  background-size: cover;
}

.dl_1 {
  top: 0;
  right: 2%;
}

.page-projects .dl_1 {
  width: 560px;
  height: 110px;
  right: -110px;
}

.page-single-project .dl_1 {
  width: 750px;
  height: 150px;
  right: -80px;
}

.page-test .dl_1 {
  top: 14px;
  right: 10%;
}

.dl_2 {
  left: 3%;
  bottom: 5%;
}

.page-single-project .dl_2 {
  width: 550px;
  height: 110px;
  bottom: 0;
  left: -20px;
}

@media screen and (max-width: 420px) {
  .btn {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 16px;
  }

  .logo {
    width: 50px;
    height: 50px;
  }

  .decor1 {
    left: unset;
    right: -60px;
    gap: 15px;
  }

  .dot {
    width: 45px;
    height: 45px;
  }

  .decor-line {
    width: 90px;
    height: 16px;
  }
}