/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  min-width: 320px;
  max-width: 1920px;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

ul {
  list-style-type: none;
}

em {
  font-style: normal;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  max-width: 100%;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  border: none;
  background: none;
  cursor: pointer;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

@font-face {
  font-family: "IF Kica";
  src: url("../fonts/ifkica-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "IF Kica";
  src: url("../fonts/IFKica-Light.woff") format("woff");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Futura PT";
  src: url("../fonts/FuturaPT-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
:root {
  font-size: calc(0.53em + 2.5vw); /*16.48*/
  --logo-font: "IF Kica";
  --text-font: "Futura PT";
  --button-font: "Inter";
}

@media (min-width: 640px) {
  :root {
    font-size: 1.2em; /*19.2*/
  }
}
@media (min-width: 1160px) {
  :root {
    font-size: 1.5em; /*24*/
  }
}
.header {
  border-bottom: 0.821px solid #000;
  background: #E9E9E9;
  grid-row: 1/2;
  grid-column: 1/4;
}

.header-wrapper {
  width: 92.3%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.header-wrapper a {
  color: #343434;
  font: normal 200 1em/1.5 var(--text-font);
  text-decoration: none;
}

.header-wrapper .logo {
  font-size: 1rem;
  font-family: var(--logo-font);
  text-transform: uppercase;
  margin: 1em 0 1em;
  display: block;
}

@media (min-width: 1160px) {
  .header-wrapper {
    width: 98%;
    max-width: 1160px;
  }
}
body {
  display: grid;
  grid-template-columns: auto minmax(auto, 1160px) auto;
  margin: 0 auto;
  background-color: white;
}

.footer {
  grid-column: 1/4;
  grid-row: 8/9;
  background-color: #343434;
}

.footer-cnt-wrapper {
  width: 92.3%;
  margin: 0 auto;
  font-size: 0.7rem;
  margin-bottom: 2.52em;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.footer-cnt-wrapper a {
  text-decoration: none;
  color: var(--White, #FFF);
  font: 400 normal 12px/1.55 var(--text-font);
}
.footer-cnt-wrapper li {
  margin-bottom: 8px;
}

.footer-logo {
  font: 600 1.18rem/1.5 var(--logo-font);
  color: #FFF;
  text-transform: uppercase;
  margin: 1.5em auto;
  display: block;
  text-align: center;
}

.footer-contact-inf-wrapper {
  grid-column: 1/2;
  justify-self: start;
}

.footer-contact-int-title,
.footer-nav-title {
  font: 500 normal 14px/1.55 var(--text-font);
  color: var(--Grey, #757575);
  letter-spacing: 0.98px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-inf,
.footer-nav-ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-nav-wrapper {
  grid-column: 2/3;
  justify-self: end;
}

.footer-nav-ul a:visited {
  color: #FFF;
}
.footer-nav-ul a:hover {
  opacity: 0.5;
}
.footer-nav-ul a:focus {
  opacity: 0.3;
}
.footer-nav-ul a:active {
  color: #f2f5fa;
}

@media (min-width: 1160px) {
  .footer-cnt-wrapper {
    width: 98%;
    max-width: 700px;
  }
}
body {
  grid-template-rows: repeat(3, auto);
  max-width: initial;
}

.main-wrapper {
  display: grid;
  grid-row: 2/3;
  grid-column: 1/4;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(7, auto);
  width: 92.5%;
  margin: 0 auto;
}

.mainlogo {
  grid-row: 1/2;
  font: 400 3.98rem/1.2 var(--logo-font);
  text-transform: uppercase;
  text-align: center;
  position: relative;
  left: -10%;
  max-width: 360px;
  justify-self: center;
}
.mainlogo em {
  position: relative;
  right: -20%;
}

.mainh1 {
  font: 400 1.16rem/1.2 var(--text-font);
  color: #3A3A3A;
  margin: 0.9em auto;
  grid-row: 2/3;
  max-width: 230px;
}

.promotion {
  display: block;
  font: 0.78rem/1 var(--button-font);
  color: #fff;
  padding: 1.45em 2.52em;
  border: 2.462px solid #ED7620;
  border-radius: 6.3em;
  background: #FF8227;
  grid-row: 3/4;
  margin: 2em auto;
  text-align: center;
}

.main-img {
  grid-row: 4/5;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
}

.projects {
  grid-row: 5/6;
  font: 450 1.2rem/1.1 var(--text-font);
  margin: 2em auto 1em;
  position: relative;
  text-align: center;
  max-width: 400px;
}

.projects:before {
  content: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><circle cx="10.0128" cy="9.84614" r="3.28205" fill="rgba(255,130,39,1.0)"/><circle cx="10.0128" cy="9.84614" r="6.5641" stroke="rgba(255,130,39,1.0)" stroke-opacity="0.3" stroke-width="6.5641"/></svg>');
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  left: -30px;
  top: 3px;
}

.projects em {
  color: #FF8227;
  font-style: normal;
}

.mainnav {
  grid-row: 6/7;
}

.mainnavul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.mainnavul li {
  width: 100%;
  max-width: 380px;
}

.mainnavul a {
  display: flex;
  flex-direction: column;
  border: 0.821px solid rgba(0, 0, 0, 0.1);
  background: var(--Linear, linear-gradient(102deg, #3751CB -2.07%, #CCA3FF 103.71%));
  border-radius: 1rem;
  text-decoration: none;
}
.mainnavul a:hover {
  background: linear-gradient(102deg, rgb(55, 81, 203) 25%, rgb(44, 154, 176) 100%);
}

.mainnavul p {
  color: #FFF;
  font: 500 0.9rem/1.1 var(--text-font); /*14.8*/
  margin: 1.5em; /*22.2*/
  width: 65%;
  margin-bottom: 0.4em;
}

.mainnavli2 p {
  margin-bottom: 1.5em;
}

.mainnavul div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 1rem;
  align-items: center;
  margin-bottom: 1.39em;
}

.navbtn {
  display: block;
  color: #343434;
  text-align: center;
  font: 600 0.7rem/1 var(--button-font);
  padding: 0.7em;
  border-radius: 7.2em;
  background: #FFF;
  width: 32%;
  margin: 0 1.92em 0 0;
}

.navline::after {
  content: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="104" height="11" viewBox="0 0 104 11" fill="none"><path d="M0.820557 4.67009C0.3674 4.67009 4.38094e-05 5.03744 4.38094e-05 5.4906C4.38094e-05 5.94376 0.3674 6.31111 0.820557 6.31111V4.67009ZM103.385 5.4906L95.1795 0.753367V10.2278L103.385 5.4906ZM0.820557 6.31111H96V4.67009H0.820557V6.31111Z" fill="white"/></svg>');
  display: block;
}

.mainnavul .navnum0::before {
  content: "#1";
  font: 400 1.1rem/1.2 var(--logo-font);
  text-transform: uppercase;
  display: block;
  opacity: 0.5;
  margin-left: 1.2em;
  color: #FFF;
}

.mainnavul .navnum1::before {
  content: "#2";
  font: 400 1.1rem/1.2 var(--logo-font);
  text-transform: uppercase;
  display: block;
  opacity: 0.5;
  margin-left: 1.2em;
  color: #FFF;
}

.mainnavul .navnum2::before {
  content: "#3";
  font: 400 1.1rem/1.2 var(--logo-font);
  text-transform: uppercase;
  display: block;
  opacity: 0.5;
  margin-left: 1.2em;
  color: #FFF;
}

.mainnavul li {
  margin-bottom: 1em;
}

.mainnavli2 {
  margin-bottom: 3em;
}

@media (min-width: 640px) {
  .mainh1 {
    text-align: center;
  }
}
@media (min-width: 1170px) {
  .main-wrapper {
    width: 96%;
    max-width: 1160px;
  }
  .mainlogo {
    justify-self: start;
    left: 150px;
    grid-row: 1/3;
    margin-top: 0.8em;
    grid-column: 1/2;
  }
  .mainh1 {
    grid-row: 3/4;
    text-align: left;
    justify-self: start;
    margin: 0.9em 0;
    max-width: 450px;
    font-size: 1.6rem;
    margin-left: 7em;
    position: relative;
    grid-column: 1/2;
  }
  .mainh1::before {
    content: url("../images/main_bd.svg");
    display: block;
    position: absolute;
    width: 272px;
    height: 393px;
    left: -290px;
    top: -140px;
  }
  .promotion {
    max-width: 375px;
    grid-row: 4/5;
    justify-self: stretch;
    margin: 0;
    align-self: end;
    margin-left: 14em;
    grid-column: 1/2;
  }
  .main-img {
    justify-self: end;
    align-self: end;
    margin: 0;
    margin-top: 1em;
    grid-row: 1/5;
    grid-column: 1/2;
  }
  .projects {
    justify-self: start;
    margin: 2em 1em 1em;
    grid-column: 1/2;
  }
  .mainnavul {
    flex-direction: row;
  }
  .mainnavul .mainnavli {
    margin-bottom: 0;
  }
  .mainnav {
    margin-bottom: 1.5em;
  }
}