@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


html{

    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
}

body {
    font-family: 'Rubik';
    --main-text-color: #043008;
    color: var(--main-text-color);
    font-size: 14px;
    font-weight: 200;
    width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.header_user_data {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_user_data span {
    padding-left: 5px;
}

.main_heading {
    font-size: 2.5vw;
}

.main_descr_p {
    font-size: 1.5em;
}


.conteiner-cover {
    width: 40%;
    height: 50%;
    background-color: rgba(21, 29, 26, 0.7);
    color: #fff;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    gap: 60px 0;
    position: relative;
    left: -5%

}


.green-button {
    text-transform: uppercase;

    width: 40%;
    height: 17%;
    background-color: #043008;
    color: #fff;
    border-radius: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    min-height: 50px;
    min-width: 180px;
    max-height: 60px;
    cursor: pointer;
    transition: all 1s;

    box-sizing: inherit;
    transition-property: all;
    transition-duration: .6s;
    transition-timing-function: ease;
}

.blue-button {
    text-transform: uppercase;
    width: 30%;
    height: 15%;
    background-color: #00408A;
    color: #fff;
    border: #00408A 2px solid;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
    min-height: 50px;
    min-width: 200px;
    transition: all 1s;

    box-sizing: inherit;
    transition-property: all;
    transition-duration: .6s;
    transition-timing-function: ease;

}

/* .blue-button:hover{
    /* border-radius: 10px; 
    background-color:#fff;
    color: #00408A;
    border-width: 10px;
    /* border: #00408A 2px solid; */
    /* transition: all 1s; 
    box-sizing: inherit;
  transition-property: all;
  transition-duration: .6s;
  transition-timing-function: ease;

}

.blue-button::before {

} */

.blue-button, .green-button {
    /* border: 1px solid; */
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    
    .button-link {
      z-index: 20;
      display: inline-block;
      width: 100%;
      padding: 5%;
    }
    
    &:after {
      background: #fff;
      content: "";
      height: 155px;
      left: -75px;
      opacity: .2;
      position: absolute;
      top: -50px;
      transform: rotate(35deg);
      transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
      width: 30px;
      /* z-index: -; */
      
    }
  }
  
  .blue-button:hover, .green-button:hover {

    
    &:after {
      left: 120%;
      transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    }
  }

  h4 {
    text-align: left;
  }


.button-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 1s;


}




.main-conteiner,
header,
footer {
    width: 90%;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffffdc;
    height: max-content;
    width: 100vw;
    z-index: 101;
    height: 10vh;
    /* display: flex;
    align-items: center; */
    max-height: max-content;
}

nav {
    width: 90%;
    margin: 0 auto;
    /* height: 100%; */
    max-width: 1300px;
    min-height: max-content;
    

}

.main-conteiner {
    margin-top: 10.5vh;
    min-height: 66vh;
    max-width: 1300px;
}




nav a, .burger-menu a, .profile-burger-menu a {
    font-size: 18px;
    text-decoration: none;
    color: var(--main-text-color);
}

.burger-menu a, .profile-burger-menu a {
    padding: 10px;
}
.burger-menu a:hover {
    background-color: var(--main-text-color);
    color: #fff;
}

nav .active-link {
    color: #00408A;
    border-bottom: #00408A 1px solid;
    font-weight: 400;
}

.nav-buttons {
    display: flex;
    /* display: none; */
    justify-content: space-evenly;
    align-items: center;
    width: 70%;

}

.burger-menu {
    display: none;
}

.nav-buttons-burger {
    display: none;
}

.cart_user_burger {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-all {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#shopping_cart_conteiner {
    position: relative;
}


#shopping_cart_count {
    position: absolute;
    padding: 1px 3px;
    font-weight: 700;
    box-shadow: 0 0 0 2px #fff;
    top: -20px;
    left: 25px;
    background: #00408a;
    border-radius: 50px;
    align-items: center;
    color: #fff;
    display: inline-flex
;
    font-size: 13px;
    height: 15px;
    justify-content: center;
    line-height: 13px;
    min-width: 16px;
    text-align: center;
}

h1 {
    font-size: 48px;
}

h2, h2 a{
    font-weight: 700;
    font-size: 32px;
    line-height: 140%;
    color: var(--main-text-color);
    padding: 2% 0;
    text-decoration: none;
}

h3 {
    font-weight: 300;
    font-size: 21px;
    line-height: 130%;
    color: var(--main-text-color)
}

h5 {
    font-weight: 500;
    font-size: 20px;
    /* line-height: 20%; */
    color: var(--main-text-color)
}

h6 {
    font-weight: 700;
    font-size: 16px;
    /* line-height: 20%; */
    color: var(--main-text-color)
}

hr {
    width: 100%;
    background-color: var(--main-text-color);
    border-style: solid;
}

.cart_hr {
    width: 80vw;
    margin: 0 auto;
}

.cover {
    width: 90vw;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    /* position: relative; */

}


.bg-video {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -100;
    object-fit:cover;
}

/* проекты */

.project-block {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 40px 60px;
    color: #fff;
    width: 40vw;
    height: 30vh;
    background-color: var(--main-text-color);
    position: absolute;
    right: 0;
    top: auto;
}

.project_headers {
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.project_headers.h6 {
    text-align: right;
}

.project_img {
    /* width: 55vw; */
    /* max-height: 350px; */
    height: 50vh;

}

.project {
    display: flex;
    height: 60vh;
    position: relative;
    align-items: center;

}

.project_headers_block {
    display: flex;
    justify-content: space-between;
}

.project-buttons {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: space-between;
}

/* Новости */

.news-flex {
    /* margin-top: 3%; */
    /* overflow-x: hidden; */
    /* width: 130vw; */
    /* width: 90vw; */
    /* height: 30vh; */
    display: flex;
    gap: 5vh;
    /* grid-template-rows: auto;
    grid-template-columns: repeat(3, 1fr); */
    /* overflow-y: visible; */
    flex-direction: column;
}

.news-grid.all {
    margin-top: 3%;
    /* grid-template-rows: repeat(auto, 300px); */
}

.three-article-flex {
    display: flex;
    gap: 5%;
    width: 100%;
    height: 35vh;
    /* margin-top: 5%; */
    /* justify-content: space-between; */
}

.news-article {
    border-radius: 10px;
    background-color: #00408A;
    color: #fff;
    border: 3px #00408A solid;
    /* height: 100%; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    transition: .7s all;
}



.title_date_block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 3vh 0;
}

.title_date_block h6 {
    text-align: right;
}

.detail_block {
    width: 60vw;
    margin: 0 auto;
    /* margin-top: 5vh; */
}

.hide_btns {
    display: none;
}

.detail_img_grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
    height: max-content;
    margin: 0 auto;
    margin-bottom: 2vh;
}

.detail_img_flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    /* gap: 3%; */
    /* height: 10vh; */
}

.detail_img_flex a{
    /* width: max-content;
    display: inline-block; */
    max-width: 30%;
    height: max-content;
}

.detail_img_added{
    /* maxheight: 5vw; */
    width: 100%;
}

.detail_img_added_flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.detail_img_added_2 {
    width: 30%;
}

.detail_img {
    width: 100%;
    
}

.news_video {
    margin-top: 5%;
    width: 50%;
    
}

/* .back-none-img,
.back-img-cover {
    display: flex;
    margin: 0;
    border-radius: 10px;
    /* margin: 10%; */
    /* width: 90%; */
    /* height: 100%;
    margin: 0 5%;
    background: rgba(21, 29, 26, 0.7);
    justify-content: center;
    align-items: center;
    gap: 5%; 
}*/

.inside-img-cover {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 90%;
    color: inherit;
    width: 90%;
}

.with-image {
    /* background: none !important; */
    border: none !important;
    color: #fff !important;
}

.back-img-cover:hover {
    width: 100%;
    height: 100%;
}

.without-image {
    background: none !important;
    /* border: none !important; */
}

.news-card-elems {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 80%;
}

.back-none-img{
    height: 80%;
    background: none;
    width: 90%;
}

.news-article:nth-child(3n) {
    background-color: #043008;
    border: 3px #043008 solid;
}
.news-article:nth-child(2n) {
    color: #043008;
    background-color: #fff;
    border: #043008 3px solid;
}

.three-article-flex:nth-child(2n) .news-article {
    color: #00408A;
    background-color: #fff;
    border: #00408A 3px solid;
}

.three-article-flex:nth-child(2n) .news-article:nth-child(2n) {
    background-color: #043008;
    border: 3px #043008 solid;
    color: #fff;
}
.three-article-flex:nth-child(2n) .news-article:nth-child(3n) {
    color: #043008;
    background-color: #fff;
    border: #043008 3px solid;
}

.three-article-flex:nth-child(2n) .news-article:hover {
    background-color: #00408A;
    color: #fff;
    border: #00408A 3px solid;
}

.three-article-flex:nth-child(2n) .news-article:nth-child(2n):hover {
    color: #043008;
    background-color: #fff;
    border: #043008 3px solid;
}
.three-article-flex:nth-child(2n) .news-article:nth-child(3n):hover {
    background-color: #043008;
    border: 3px #043008 solid;
    color: #fff;
    
}

.news-article:hover {
    color: #00408A;
    background-color: #fff;
    border: #00408A 3px solid;
}

.news-article:nth-child(2n):hover {
    background-color: #043008;
    border: 3px #043008 solid;
    color: #fff;
}
.news-article:nth-child(3n):hover {
    color: #043008;
    background-color: #fff;
    border: #043008 3px solid;
}
.news-article:nth-child(4n):hover {
    background-color: #00408A;
    color: #fff;
    border: #00408A 3px solid;
}


.back-img {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0;
    border-radius: 10px;
}

.back-img-cover {
    display: flex;
    margin: 0;
    border-radius: 10px;
    /* margin: 10%; */
    width: 90%;
    height: 90%;
    /* margin: 0 5%; */
    background-color: rgba(21, 29, 26, 0.7);
    justify-content: center;
    align-items: center;
    gap: 5%;
    transition: .7s all;

}

.title-news {

    align-self: flex-start;
    color: inherit;
    word-break: break-all;
}

.date-news {
    align-self: flex-end;
    color: inherit;

    /* color: #fff; */

}

.descr-news {
    align-self: flex-start;
    color: inherit;
    word-break: break-all;

    /* color: #fff; */

}

.button-news {
    align-self: flex-end;
    text-transform: uppercase;
    /* color: #fff; */
    text-decoration: none;
    color: inherit;

    font-weight: 700;
}

.back-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inside-img-cover {
    margin: 0 5%;
}

/* Контакты */

.contact_form {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 5%;
    height: 60vh;

}

.contact_form_with_msg{
 /* height: 70vh; */

}

.form_message{
    background-color: #043008;
    color: #fff;
    border-radius: 5px;
    padding: 2.5vh;
}

.vert_line {
    content: '';
    height: 100%;
    width: 1px;
    background-color: #043008;
    /* position: absolute; */
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    /* padding-top: 5%; */

}

.contact-form-fields label {
    display: none;
}

.form-field {
    border: 0;
    border-bottom: #043008 1px solid;
    width: 300px;
    /* height: 25px; */
    text-transform: uppercase;
    color: #043008;
    height: 50px;

}

.access_denied_error {
    margin: 10px 0;
}


input:focus {
    outline: none;
}


/* Главная страница каталог */

.left-label-slider {
    width: 30%;
    height: 450px;
    background-color: rgba(21, 29, 26, 0.7);
    position: relative;
}

.cards-main-container {
    display: grid;
    /* justify-content: space-between; */
    /* align-items: center; */
    gap: 2.5vh 2vh;
    /* flex-wrap: wrap; */
    grid-template-columns: repeat(5, 1fr);
}

.catalog-slider {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 60%;
}

.svg-buttons.column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

.item_tag_green {
    background-color: #043008;
    color: white;
}

.item_tag_red {
    background-color: #840000;
    color: white;

}

.item-price{
    font-size: 2em;
    font-weight: 700;

}

.item-features-main-ul {
    /* display: flex;
    flex-direction: column;
    gap: 15%;
    justify-content: space-between; */

    margin: 20px 0;
}

.item-features-main-ul.bottom {
    margin: 0;
}

.detail_item_tag {
    width: 40%;
    padding: 2% 0;
    text-align: center;


}

/* Корзина */

.cart {
    width: 80vw;
    margin: 0 auto;
}

.cart_header {
    /* border-bottom: #043008 3px solid; */
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    font-size: 1.2em;
    text-align: right;
    padding: 1.5% 2.5%;
}

.cart_items_block {
    display: flex;
    flex-direction: column;
    /* width: 80vw;
    margin: 0 auto; */
}

.cart_item_block {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "cart_img cart_name cart_delete"
        "cart_img cart_count_price cart_cost";
    height: 15vh;
    /* margin-top: 2.5%; */
    width: 95%;
    margin: 2.5% auto 0 auto;
    padding-bottom: 2.5%;
    border-bottom: 0.5px solid #043008;

}

.cart_item_block:last-child {
    /* margin-bottom: 2.5%; */
    border: 0;
}

.cart_item_img {
    grid-area: cart_img;
    height: 100%;
    margin: 0 auto;
}

.cart_item_name {
    grid-area: cart_name;

}

.cart_item_name a {
    font-size: 1.5em;
    text-decoration: none;
    color: #00408A;
}

.cart_delete_item {
    grid-area: cart_delete;
    text-align: right;
    text-decoration: none;
    color: #840000;
}

.cart_item_count_price {
    grid-area: cart_count_price;
    display: flex;
    /* justify-content: space-between; */
    align-items: flex-start;
    margin-right: 50%;
    width: 70%;
    gap:5%
}

.cart_item_count_value {
    width: 20px;
    height: 20px;
    text-align: center;
    padding: 2px 3px;
    border-radius: 2px;
    border: #043008 1px solid;
    margin: 0 3px;
}

.cart_item_count_value::-webkit-inner-spin-button,
.cart_item_count_value::-webkit-outer-spin-button {
    appearance: none;
}

.cart_item_cost {
    grid-area: cart_cost;
    text-align: right;
    font-size: 1.5em;
    font-weight: 500;
}

.cart_item_count_change {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    /* width: 50%; */

}

#telephone_number_p {
    display: none;
    font-size: 1.7em;
    font-weight: 400;
}

#telephone_block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart_item_change {
    font-size: 1.5em;
    text-decoration: none;
    background-color: #00408A;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    cursor:pointer;
    text-decoration: none;
    color: #fff;

}

.cart_item_change.disabled {
    background-color: grey;
    /* color: black; */
}

.cart_result_count_cost {
    display: flex;
    font-size: 1.5em;
    justify-content: space-around;
    /* margin: 2.5%; */
    width: 80vw; 
    margin: 2.5% auto; 
}

.cart_item_price {
    font-size: 1.5em;
    font-weight: 500;
    /* -webkit-text-stroke: #00408A 10px; */
}

.cart_buy_button {
    margin: 0 auto;
    text-decoration: none;
    /* font-size: 1.3em; */
    width: 25%;
    text-align: center;
    cursor: pointer;
    /* padding: 2% 0; */
}

/* Избранное */

.favourite_block {
    width: 80vw;
    margin: 5% auto;
}

.fav_items_block {
    display: flex;
    flex-direction: column;
}

.fav_item_block {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "fav_img fav_name fav_delete"
        "fav_img fav_price fav_to_cart";
    height: 20vh;
    margin: 2.5% auto 0 auto;
    width: 95%;
    row-gap: 5px;
    padding-bottom: 5px;
    border-bottom: 0.5px solid #043008;
}



.fav_item_block:last-child {
    border-bottom: 0;
}

.fav_item_img {
    grid-area: fav_img;
}

.fav_item_name {
    grid-area: fav_name;
    font-size: 2em;
    color: #00408A;
    display: flex;
    align-items: center;
}


.fav_delete_item {
    grid-area: fav_delete;
    /* text-align: right; */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.fav_delete_item a {

    text-align: right;
    text-decoration: none;
    color: #840000;
    border: #840000 1px solid;
    background-color: #fff;
    width: 40%;
    height: 17%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    min-width: 180px;
}

.fav_item_price {
    font-size: 1.2em;
    grid-area: fav_price;
    display: flex;
    align-items: center;

}

.fav_to_cart {
    grid-area: fav_to_cart;
    /* text-align: right; */
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

.fav_to_cart a {
    border: #043008 1px solid;

}

/* Пользователи */

.user_forms {
    width: 50%;
    height: 50%;
    box-shadow: 1px 1px 2px 2px #00408A;
    margin: auto;
}

/* Регистрация пользователя */

.user_registration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.user_registration-form-fields {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

.user_registration-form-field input {
    border: 0;
    border-bottom: 2px solid #043008;
}

.errorlist.nonfield li{
    list-style-type: none;
}

.users_btn {
    display: flex;
    justify-content: center;
    margin-top: 1em;
}

.users_btns {
    display: flex;
    justify-content: space-around;
    align-items: center;
}


.password_link, .detail_link {
    color: #043008;
    text-decoration: none;
    padding: 1px;
    border-bottom: 1px dashed #043008;
}

.reg_form ul{
    display: none;
    list-style-type: none;
}

/* Профиль пользователя */

.user_profile {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 1fr;
    height: 60vh;
}

.profile-burger-menu {
    display: none;
}

.user_profile_menu {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.user_profile_menu_item {
    background-color: #043008;
    margin: 2px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    height: 25%;
    display: flex;
    align-items: center;
    /* border-bottom: #fff 2px solid; */
    border: #043008 2px solid;
    /* border-left: #043008 2px solid; */

    width: 100%;
    justify-content: center;
    /* margin: 2px; */
}

.user_profile_menu_item.active {
    border: #043008 2px solid;
    background-color: #fff;
    color: #043008;


}

#profile_form_block {
    margin: 1% auto;
    width: 40%;
    text-align: center;
    color: #043008;

    /* height: 100%; */
}

.profile_btns{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

#profile_form_block.to_main a{
    color: #043008;
    text-decoration: none;
    font-size: 1.5em;
    margin-top: 1.5em;
}

#profile_form_block.to_main p{
    margin: 1em 0;
}


#profile_form_data {
    /* height: 50%; */
    display: flex;
    flex-direction: column;
    gap: 15%;
    justify-content: space-between;
    box-shadow: 1px 1px 5px 0px #151D1A;
    padding: 5%;
    border-radius: 5px;
}

.profile_form_field_value {
    margin: 10px 0;
    padding: 5px 0;
    border: 0;
    border-bottom: #043008 1px solid;
    width: 100%;
    /* height: 25px; */
    /* text-transform: uppercase; */
    color: #043008;
    background-color: #fff;
    /* height: 50px; */
}


/* Подвал */

footer {
    height: 20vh;
    width: 100vw;
    background-color: #043008;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 3%;
    padding: 10px;
    margin-top: 5vh;
    /* position: absolute;
    bottom: 0; 
    left: 0;
     */
}

.logo-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25%;
}

.footer_list_all {
    width: 65%;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;

}

.footer_list {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /* align-items: center; */
}

footer .logo_svg {
    width: 200px;
}

.footer_h5 {
    color: #fff;
    margin-bottom: 8px;
}

.footer_list>ul>li {
    list-style-type: none;
    margin-bottom: 5px;
}

.footer_list>ul>li a {
    text-decoration: none;
    color: #fff;
}

/* О компании */

.about_docs_block {
    display: flex;
    justify-content: space-around;
    width: 90vw;
    /* height: 50vh; */
    flex-wrap: wrap;
    margin-bottom: 5%;
    /* height: 80vh; */
}



.about_docs_block a {
    text-decoration: none;
    color: #043008;
    font-size: 1.5em;
    width: 30%;
    text-align: center;
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    height: fit-content;
}

.about_doc_img {
    /* width: 100%; */
    height: 80%;
    /* height: 50%; */
    /* display: block; */
    border: #043008 1px solid;
    margin: 3%;
}

.about_technologies_img{
    width: 100%;

}

.button, .user-button {

    inline-size: 100%;
    /* padding: 0.5lh 1.5lh; */
    font: inherit;
    color: currentColor;
    /* background-color: #f28482; */
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--main-text-color);
    background-color: inherit;
}

/*   
  .button:hover,
  .button:focus-visible {
    border: #00408A 1px solid;
  } */



.about-menu, .user-menu {
    position: absolute;
    display: grid;
    margin-block-start: 0.5lh;
    background-color: #ffffffdc;
    z-index: 100;
    overflow: hidden;
    line-height: 0;
    color: transparent;
    transition: line-height 0.5s, color 0.5s;
}

.about-menu-item, .user-menu-item {
    overflow: hidden;
}

.about-menu-link, .user-menu-link {
    display: block;
    padding: 0.5lh 10px;
}

.about-menu-link:hover,
.about-menu-link:focus-visible,
.user-menu-link:hover,
.user-menu-link:focus-visible {
    border-bottom: #00408A 1px solid;
    border-top: #00408A 1px solid;

}

.button.active~.about-menu, .user-button.active~.user-menu {
    line-height: 1.2;
    color: currentColor;
}

.about_company_block {
    height: max-content;
    display: grid;
    gap: 5%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.about_company_block div{
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-around;

}

.adv_list_block {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 50vh; */
}

.adv_list {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
}

.adv_list_item {
    font-size: 2em;
    color: #00408A;
    /* height: 20%; */
    margin-top: 5%;
}

/* Карточка товара */

.item_card_block {
    /* border: 2px solid #151D1A; */
    box-shadow: 1px 1px 5px 0px #151D1A;
    width: 95%;
    height: 100%;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item_card_tag_block{
    /* width: 17%; */
    height: 315px;
    position: relative;

}

.item_card_block_data {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    height: auto;
    height: 60%;
    padding: 10px;
}

.item_card_block_data a{
    text-decoration: none;
}

.item_tag {
    position: absolute;
    top: 5%;
    left: -5%;
    width: 40%;
    padding: 2% 0;
    text-align: center;
}

.avail_price_btns_block {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5%;
    grid-template-areas: 
        "avail heart"
        "price buy";
}

.item_card_img {
    margin: 0 auto;
    max-height: 40%;
    max-width: 100%;
}

.item_card_avail {
    grid-area: avail;
}

.item_card_price{
    grid-area: price;
}

.item_card_heart {
    grid-area: heart;
}

.item_card_buy{
    grid-area: buy;
    cursor: pointer;
}

.item_card_buy, .item_card_heart {
    border: 1px solid #151D1A;
    border-radius: 2.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    
}

.item_card_buy button{
    background-color: #fff;
    border: 0;
    padding: 5px 0;
    max-height: max-content;
    width: 100%;
}

.item_cards_list_cat{
    display: flex;
    width: 100%;
    gap: 5%;

}

.alert{
    color: #840000;
    padding-bottom: 1em;

}


input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}


/* Карточка товара */

.item-first {
    height: max-content;
    display: grid;
    grid-template-columns: 1fr 3fr 3fr;
    grid-template-rows: 1fr;
    gap: 15px;
    min-height: 60vh;
    box-shadow: 1px 1px 5px 0px #151D1A;
    padding: 2.5%;
    border-radius: 10px;
    margin-bottom: 50px;
    margin-top: 2%;
}

.item-image {
    width: 100%;
}



.item-image-block{
    display: flex;
    align-items: center;
    height: 100%;
}

.item-second {
    display: grid;
    grid-template-columns: 2fr 4fr;
    grid-template-rows: 1fr;
    gap: 50px;
    height: max-content;
    box-shadow: 1px 1px 5px 0px #151D1A;
    padding: 2.5%;
    border-radius: 5px;
}

.mini-image {
    width: 90%;
    height: 20%;
    margin: 2.5% auto;
    /* background-color: #151D1A; */
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.item-images-slider{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(21, 29, 26, 0.3);
    border-radius: 5px;



}

.items-recommend {
    background-color: #043008;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
}

.items-recommend h3 {
    color: #fff;
    margin: 10px auto;
}

.item-main-info {
    display: flex;
    flex-direction: column;
    padding: 25px;
    justify-content: space-between;
   
}

.item-button-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.item-features-main-ul {
    list-style-type: none;
}


.item-features, .item-descr{
    /* box-shadow: 1px 1px 5px 0px #151D1A; */
    /* background-color: rgba(21, 29, 26, 0.3); */
    
    padding: 2vh;
    min-height: 20vh;
    height: max-content;
    /* border-radius: 5px; */
}

.item-descr-text, .item-features-main-li {
    background-color: rgba(21, 29, 26, 0.3);
    border-radius: 5px;
    padding: 5px 10px;
    margin: 15px 0;

}

.grid_technologies {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "grid_a grid_b"
    "grid_f grid_b"
    "grid_c grid_d";
    gap: 40px;
}

.grid_a {
    grid-area: grid_a;
}
.grid_b {
    grid-area: grid_b;
}
.grid_c {
    grid-area: grid_c;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.grid_d {
    grid-area: grid_d;
}
/* .grid_e {
    grid-area: grid_e;
}
.grid_f {
    grid-area: grid_f;
    display: flex;
    flex-direction: column;
    justify-content: center;
} */
.grid_g {
    grid-area: grid_g;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about_technologies_text{
    font-size: 1.2em;
}


@media (min-width: 1380px){
    .cover {
        width: 100%;
        /* height: 100%; */
        /* position: relative; */
        max-height: 1000px;
        /* top: -77px; */
    }
    .bg-video {
        width: 100%;
        
        max-height: 1000px;
    }
    .main-conteiner {
        margin-top: 77px;
    }
    
    .cart, .cart_hr, .cart_result_count_cost {
        width: auto;
    }
    .about_docs_block {
        width: 100%;

    }
    .adv_list_block {
        max-height: 350px;
    }
    footer {
        max-height: 140px;


    }

    .cart_item_block {
        /* padding-bottom: 0; */
    }

}

@media (min-width: 991.5px) and (max-width: 1200px){
    .green-button.button-link {
        min-width: 150px;
        width: 30%;
    }

    /* .item-features-main-ul {
        margin: 0;
        
    } */
    .item_card_img {
        max-height: 30%;
    }
}

@media (min-width: 2000px) {
    .cover {
        position: relative;
    }
    
}

@media (min-width: 768px) and (max-width: 991.49px){

    .main_heading {
        font-size: 2.5em;
    }
    .nav-buttons {
        display: none;
    }
    .nav-buttons-burger {
        display: flex;
        /* flex-direction: column; */
        width: 50%;
        justify-content: space-around;
        
    }
    .burger-menu {
        flex-direction: column;
    }
    header {
        height: max-content;
    }
    .about_company_block {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    footer {
        height: 21vh;
    }
    /* .profile_btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    } */
    #profile_form_block {
        width: 60%;
    }
    h2 {
        font-size: 28px;

    }
    .cards-main-container {
        grid-template-columns: repeat(4, 1fr);
    }
    .item_card_img {
        max-height: 30%;
    }
    .item_card_block_data {
        justify-content: space-between;
    }
    /* .item-features-main-ul {
        margin: 15px 0;

    } */
}

/* @media (min-width: 576px) and (max-width: 767.99px){
    .three-article-flex {
        flex-direction: column;
        align-items: center;
        height: fit-content;
    }
    .news-article {
        width: 70%;
        height: 35vh;
        margin-top: 5%;
    }
} */

@media (max-width: 767.98px) {
    .nav-buttons {
        display: none;
    }
    .nav-buttons-burger {
        display: flex;
        /* flex-direction: column; */
        justify-content: space-around;
        width: 50%;
    }
    .burger-menu, .profile-burger-menu {
        flex-direction: column;
    }
    .header_user_data span{
        display: none;
    }
    .for_tablet {
        display: none;
    }
    .main_heading {
        font-size: 2.5em;
    }
    header {
        height: max-content;
    }
    .conteiner-cover {
        width: 80%;
        align-items: center;
    }
    .three-article-flex {
        flex-direction: column;
        align-items: center;
        height: fit-content;
    }
    .news-article {
        width: 70%;
        height: 35vh;
        margin-top: 5%;
    }
    nav {
        width: 100%;
    }
    body {
        width: 100vw;
        overflow-x: hidden;
    }
    .main-conteiner {
        width: 90vw;
        
    }
     footer {
        flex-direction: column;
        height: max-content;
        overflow-x: hidden;
     }
     .footer_list_all {
        width: 90%;
        gap: 10%;
     }

     .cards-main-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .item_card_img {
        max-height: 30%;
    }
    .item_card_block_data {
        justify-content: space-between;
    }
}

@media (max-width: 320px) {
    .cards-main-container {
        grid-template-columns: 1fr;
        width: 80%;
        margin: 0 auto;
    }
}