.component{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 33%;
    margin: 10px;
}

.component-img{
    height: 59px;
    width: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.component-value{
    margin-top: 36px;
    font-weight: 600;
    font-size: 20px;
}

.component-desk{
    margin-top: 24px;
    max-width: 363px;
    text-align: center;
    font-weight: 400;
    font-size: 15px;
}

@media (max-width: 800px) {
    .component{
        width: 50%;
    }
}

@media (max-width: 450px){
    .component{
        width: 100%;
    }
}
.main-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 96px 0 135px 0;
}

.main-container__name{
    color: #2A496B;
    font-weight: 700;
    font-size: 28px;
}

.main-container__components{
    margin-top: 143px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.main-container__components div.component:nth-child(n){
    margin-bottom: 111px;
}

.main-container__components:nth-child(-n - 3){
    margin-bottom: 0;
}
/*! 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 {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* 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;
}

/* 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;
}

/**
 * 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;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 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 {
  box-sizing: border-box; /* 1 */
  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"] {
  box-sizing: border-box; /* 1 */
  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;
}

.slider {
    overflow: hidden;
    position: static;
}

.slide-list, .slide-list-fast {
    display: flex;
    height: 100%;
    width: 100%;
}
.slide-list-fast {
}

.slide {
    flex: 1 0 100%;
    position: relative;
}

.slide-image {
    display: flex;
    margin: 0 auto;
    max-height: 300px;
    width: 100%;
    object-fit: contain;
}

.slide-title {
    text-align: center;
    margin-top: 10px;
}


/* DOTS */

.dots {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: relative;
    bottom: 50px;
    z-index: 2;
}

.dot {
    width: 14px;
    height: 14px;
    background: #264160;
    border-radius: 4px;
    outline: none;
    border: 0;
    margin: 5px;
}

.selected {
    background: #1b2e44;
}

.dot:hover {
    cursor: pointer;
}
.btn-component--button{
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    border: 0;
    transition: 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-component--button:hover{
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.37);
    transition: all .2s;
    transform: translateY(-3px);
}

.btn-component--button:active {
    transform: translateY(0);
    box-shadow: none;
}
.color-in{
    background: transparent;
    border: solid 1px #E5E31F;
    color: #E5E31F;
}

.color-out{
    background: #E5E31F;
    color: #23415E;
}

@media (max-width: 800px) {
    .btn-component--button:hover{
        cursor: pointer;
        box-shadow: none;
        transition: all .2s;
        transform: translateY(0);
    }

    .btn-component--button:active {
        transform: translateY(2px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.37);
    }
}

@media (max-width: 500px) {
    .btn-component--button {
        font-size: 14px;
        padding: 8px 30px;
    }

}
.header-menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 27px 0;
}

.header-menu--column-left, .header-menu--column-right{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.header-menu:nth-child(2){
    justify-content: flex-end
}

.menu-logo{
    width: 120px;
    margin-right: 50px;
}

.menu-separator{
    background-color: #A9C5E0;
    height: 16px;
    width: 2px;
}

.menu-name{
    font-size: 13px;
    color: #A9C5E0;
    margin-left: 30px;
}

.header-menu--number{
    display: flex;
    flex-direction: row;
    margin-right: 70px;
}

.number-icon{
    height: 14px;
    margin-right: 12px;
}

.number-value{
    font-size: 13px;
    white-space: nowrap;
    color: #A9C5E0;
}

@media (max-width: 1200px) {


}

@media (max-width: 1100px){
    .header-menu--column-right{
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-end;
    }
    .header-menu--number{
        margin-right: 0;
        margin-top: 30px;
    }
}

@media (max-width: 620px) {
    .menu-separator, .menu-separator, .header-menu--number, .menu-name{
        display: none;
    }

}
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    animation-name: appear;
    animation-duration: 300ms;
}
@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog {
    width: 460px;
    height: auto;
    padding: 60px 60px;
    background: white;
    border-radius: 6px;
    position: relative;
    margin: 0 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-duration: 0.4s;
    animation-name: slide-in;
    animation-duration: 0.5s;
}
@keyframes slide-in {
    from {
        transform: translateY(-150px);
    }
    to {
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;
    height: 30px;
    width: 30px;
    padding: 10px;
}

.title-auth {
    font-size: 38px;
    font-weight: 800;
}

.title-description {
    margin-top: 15px;
    font-weight: 400;
    font-size: 16px;
}

.input-container {
    width: 100%;
    margin-top: 25px;
}

.input-container input {
    width: calc(100% - 42px);
    padding: 2px 20px;
    border: solid #23415E 1px;
    border-radius: 6px;
    height: 48px;
}

.input-container input:not(:valid):not(:placeholder-shown) {
    border-color: #d52937;
}

.input-container input::placeholder {
    color: #D0C9D6;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    padding-left: 3px;
}

.input-login:focus, .input-password:focus {
    outline: none;
}

.input-login {

}

.input-password {
    margin-top: 8px;
}

.button-auth {
    margin-top: 40px;
    width: 100%;
}

@media (max-width: 600px) {
    .modal {
        background-color: white;
    }
    .modal-dialog {
        box-shadow: none;
        background-color: transparent;
        padding-top: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0;
    }
    .modal-close {
        top: 60px;
        right: 25px;
    }

}







.slide-container {
    background-position: bottom right;
    padding: 0 1px 32px 1px;
    background-repeat: no-repeat;
    height: 500px;
}

.first-slide {
    background-size: 480px;
}

.second-slide {
    background-size: 550px;
    background-attachment: scroll;
}

.header-main__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 80px);
    width: 50%;
}

.main-header__text-name {
    font-size: 64px;
    color: #FFFFFF;
    font-weight: 700;
    max-width: 660px;
}

.main-header__text-desk {
    margin-top: 18px;
    font-size: 16px;
    max-width: 550px;
    color: #FFFFFF;
    line-height: 24px;
}

.main-header__buttons {
    margin-top: 77px;
    text-align: center;
}

.main-header__buttons button:nth-child(1) {
    margin-right: 11px;
}

@media (max-width: 1400px) {
    .second-slide > .header-main__info {
        width: 40%;
    }
}

@media (max-width: 1200px) {
    .slide-container {
        background-image: none !important;
    }
    .second-slide > .header-main__info {
        width: 80%;
    }
    .header-main__info {
        width: 80%;
    }
}

@media (max-width: 620px) {

    .header-main__info {
        width: 100%;
    }

    .main-header__text-name {
        font-size: 50px;
    }
}
.footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 98px 0 70px 0;
}

.footer div {
    flex: 33%;
}



.footer-logo__img {
    width: 140px;
}

.footer-list {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
}

.footer-list div.footer-list__element:nth-child(2) {
    margin-left: 30px;
}

.footer-list__element {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    color: #FFFFFF
}

.footer-list__element-row {
    margin: 0;
}

.footer-list__element-row dt {
    margin-bottom: 18px;
}

.footer-contacts {
    display: flex;
    justify-content: end;
}

.footer-contacts dl {
    margin: 0;
    max-width: 170px;
    font-size: 15px;
    color: #A9C5E0;
}

.footer-contacts dl dt {
    margin-bottom: 19px;
}

.footer-contacts dl dt:last-child {
    margin-bottom: 0;
}

@media (max-width: 1000px) {
    .footer div {
        flex: 40%;
    }

    .footer-logo {
        width: 150px;
        margin-bottom: 50px;
    }
    .footer-list {
        flex: auto;
    }

    .footer-contacts {
        margin-top: 70px;
        flex: 100%;
        justify-content: center;
    }
}

@media (max-width: 800px) {
    .footer {
        padding: 98px 0 96px 0;
    }

    .footer.footer-logo {
        width: 33%;
    }

    .footer-list {
        width: 100%;
    }
}

@media (max-width: 600px) {

    .footer {
        flex-direction: column;
    }

    .footer-list__element-row {
        width: 100px;
    }

    .footer-contacts {
        flex: 100%;
        justify-content: start;
    }
}
.main-header, .main-body, .main-footer {
    padding: 0 135px;
}

.component-container {
    max-width: 1400px;
    margin: 0 auto;
}

.main-header{
    background: rgb(55,106,154);
    background: -moz-linear-gradient(90deg, rgba(55,106,154,1) 0%, rgba(43,82,118,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(55,106,154,1) 0%, rgba(43,82,118,1) 100%);
    background: linear-gradient(90deg, rgba(55,106,154,1) 0%, rgba(43,82,118,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#376a9a",endColorstr="#2b5276",GradientType=1);
}

.main-footer {
    background: #23415E;
}


.main-page__title {
    color: blue;
    
}

.main-page__cat-img {
    width: 300px;
    height: auto;
}

@media (max-width: 1200px) {
    .main-header, .main-body, .main-footer {
        padding: 0 20px
    }
}
.news-container {
    padding: 100px 40px;
}

.textarea {
    margin-top: 40px;
    width: calc(100% - 22px);
    padding: 10px 10px;
    border: solid 1px #23415E;
    border-radius: 6px;
    resize: none;
}

.textarea::placeholder {
    color: #D0C9D6;
    font-weight: 400;
    font-size: 15px;
    padding: 1px 6px;
}

.textarea:focus {
    outline: none;
}

textarea::-webkit-scrollbar {
    width: 6px;
    bottom: -30px;
}

textarea::-webkit-scrollbar-track {
    background: rgba(208, 201, 214, 0.3);;
    border-radius: 6px;
}

textarea::-webkit-scrollbar-thumb {
    background-color: #D0C9D6;
    border-radius: 6px;

}

.textarea-label {
    font-size: 12px;
    font-weight: 400;
    color: #CCC;
    display: flex;
    justify-content: right;
}

.text-area-error {
    color: #d52937;
}

.area-container {
    width: 520px;
}

.image-uploading-container {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 50px;
}

.custom-file-upload {
    white-space: nowrap;
    color: #23415E;
    width: auto;
    padding: 6px 12px 6px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.file-input {
    display: none;
}

.label-photo {
    width: 20px;
    margin: 2px 0;
}

.output-image {
    width: 30px;
    height: 30px;
}

.output-label{
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 100%;
    overflow: hidden;
}

.output-container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

@media (max-width: 800px) {
    .image-uploading-container {
        gap: 20px;
    }
    .image-uploading-container:nth-last-child{
        flex: 100%;
    }

}

@media (max-width: 600px) {

    .image-uploading-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-container {
        padding: 20px 0;
    }
    .area-container {
        width: 100%;
    }
}
@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Thin'), local('ProximaNovaT-Thin'),
		url(/0faaabde0ab1027e87c6.woff) format('woff');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Thin Italic'), local('ProximaNova-ThinIt'),
		url(/1aed3c6324ac244c2351.woff) format('woff');
	font-weight: 100;
	font-style: italic;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Light'), local('ProximaNova-Light'),
		url(/6f5ad2ca80abea2876d4.woff) format('woff');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Light Italic'), local('ProximaNova-LightIt'),
		url(/09f5fbba3baf2f94aa2b.woff) format('woff');
	font-weight: 300;
	font-style: italic;
}


@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Regular'), local('ProximaNova-Regular'),
		url(/99528640efded3e12591.woff) format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Regular Italic'), local('ProximaNova-RegularIt'),
		url(/f7a8a2981d5683b22c0e.woff) format('woff');
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Bold'), local('ProximaNova-Bold'),
		url(/1f267da183b3d4fe3d5b.woff) format('woff');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Bold Italic'), local('ProximaNova-BoldIt'),
		url(/1391620ed4154739ece4.woff) format('woff');
	font-weight: 500;
	font-style: italic;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Semibold'), local('ProximaNova-Semibold'),
		url(/a71877a1eef65838ed4c.woff) format('woff');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Semibold Italic'), local('ProximaNova-SemiboldIt'),
		url(/e8a0c842bee7b41d4bb6.woff) format('woff');
	font-weight: 600;
	font-style: italic;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Extrabold'), local('ProximaNova-Extrabld'),
		url(/64f095e95e4018946cb1.woff) format('woff');
	font-weight: 800;
	font-style: normal;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Extrabold Italic'), local('ProximaNova-ExtrabldIt'),
		url(/0954bcce21b01cc52c7b.woff) format('woff');
	font-weight: 800;
	font-style: italic;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Black'), local('ProximaNova-Black'),
		url(/131eab64b8a971a4fc73.woff) format('woff');
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: 'Proxima Nova';
	src: local('Proxima Nova Black Italic'), local('ProximaNova-BlackIt'),
		url(/e63e05efbcb2b9e3efd5.woff) format('woff');
	font-weight: 900;
	font-style: italic;
}


body {
    font-family: 'Proxima Nova', serif;
    font-weight: 400;

}

body::-webkit-scrollbar {
    height: 7px;
    background-color: #e3e15e;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(#2A496B 30%, #264160 100%);
    border-radius: 2px;
}
