/* 
*,
*:before,
*:after {
  outline: solid 1px red;
}*/


* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Nunito";
  font-style: black;
  font-weight: 900;
  src: url("../fonts/Nunito-Black.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  font-style: bold;
  font-weight: 700;
  src: url("../fonts/Nunito-Bold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  font-style: Medium;
  font-weight: 500;
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  font-style: Regular;
  font-weight: 400;
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  font-style: SemiBold;
  font-weight: 600;
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-display: swap;
}

 html {
  scroll-behavior: smooth;
  scroll-padding-top: 300px;
  overflow-y: scroll;
 } 


 body {
  max-width: 1900px;
  height: 100%;
  margin: 0 auto;
  color:black;
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
   }

 .hidden {
  display: none;
}


/*  ХЕДЕР  */

 header {
  margin: 0 auto;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}

 .header-fix {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 145, 138, 0.9);
  margin: 0 auto;
  padding: 1rem 2rem;
  max-width: 1380px;
  width: 100%;
 }
  
 .logo {
  color: white;
  font: 900 56px/66px Nunito;
  text-decoration: none;
 }

 .navigation {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}


.navigation-item {
  font: 400 15px/30px Montserrat;
  background-color: transparent;
  padding: 0 16px;
  text-decoration: none;
  color: white;
  border: solid 1px #00918a00;
  cursor: pointer;
}

.catalog-item {
  list-style-type: none;
  font: 400 13px/15px Montserrat;
  width: 50%;
  margin-top: 20px;
}

.catalog-item:last-child .catalog-link-group {
  justify-content: flex-end;
}

.catalog-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0 3px;
}

.catalog-link {
  font: 500 15px/30px Montserrat;
  color: white;
  text-decoration: none;
  padding: 0 9px;
  display: block;
  background-color: #00918a;
  width: fit-content;
  margin-top: 3px;
}

.catalog-link:hover {
  background-color: white;
  color: #00918a;
}

.activ {
  border-bottom: solid 1px white;
}

.catalog-list {
  position: absolute;
  background-color: #ffffffda;
  padding: 0 10px;
  margin: 0;
  top: 110px;
  box-shadow: 0 8px 16px rgba(45, 52, 64, 0.12);
  left: 0;
  right: 0;
  max-width: 1380px;
  margin: auto;
  flex-direction: column;
  flex-wrap: wrap;
  height: 440%;
  gap: 0 10px;
}

.navigation-item:hover {
  border-bottom: solid 1px white;
}

.navigation-item:focus-visible {
  background-color: black;
}

.navigation-item:active {
  color: rgb(183, 221, 215);
}

.catalog-wrapper:focus-within .hidden {
  display: flex;
}

 .head-addres {
  color: white;
  font: 400 15px/26px Montserrat;
  display: flex;
  flex-direction: column;
  position: relative;
 }

.tel,
.mail {
  color: white;
  text-decoration: none;
  position: relative;
  padding-left: 26px;
}

.tel {
  background-image: url(../images/tlfn.svg);
  background-repeat: no-repeat;
  background-position: center left 0px;
  background-size: 17px;
}

.mail {
  background-image: url(../images/mail.svg);
  background-repeat: no-repeat;
  background-position: center left 0px;
  background-size: 17px;
}

.whatsapp {
  position: absolute;
  width: 50px;
  height: 22px;
  display: block;
  background: transparent url(../images/wag.svg) center top no-repeat;
  left: -46px;
  top: 31px;
}

.whatsapp:hover {
  background: transparent url(../images/waw.svg) center top no-repeat;
}

.tel:hover,
.mail:hover {
  text-decoration: underline;
}

.hiro {
  background-color: #00918a;
  background-image: url(../images/masterlubric.jpg);
  background-position: right;
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: 750px;
}

.hiro h1 {
  color: white;
  font: 100 35px/50px Montserrat;
  margin: 0 auto;
  padding: 137px 2rem 80px;
  max-width: 1380px;
  width: 100%;
}

 h1 {
  width: 1200px;
  margin: 0 auto;
 }

 .main {
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 1380px;
  width: 100%;
  flex-grow: 1;
  position: relative;
  min-height: 400px;
 }

 .section {
  margin: 40px 0;
}

.section:nth-child(1) .section-description-wrap {
  background-image: url(../images/8.jpg);
}

.section:nth-child(2) .section-description-wrap {
  background-image: url(../images/1.jpg);
}

.section:nth-child(3) .section-description-wrap {
  background-image: url(../images/2.jpg);
}

.section:nth-child(4) .section-description-wrap {
  background-image: url(../images/3.jpg);
}

.section:nth-child(5) .section-description-wrap {
  background-image: url(../images/4.jpg);
}

.section:nth-child(6) .section-description-wrap {
  background-image: url(../images/5.jpg);
}

.section:nth-child(7) .section-description-wrap {
  background-image: url(../images/6.jpg);
}

.section:nth-child(8) .section-description-wrap {
  background-image: url(../images/7.jpg);
}

.section:nth-child(9) .section-description-wrap {
  background-image: url(../images/9.jpg);
}

.section:nth-child(10) .section-description-wrap {
  background-image: url(../images/10.jpg);
}

.section:nth-child(11) .section-description-wrap {
  background-image: url(../images/11.jpg);
}

 .section-description-wrap {
  padding: 310px 0 0;
  display: block;
  background-size: cover;
  background-position: center;
 }

 .section-description {
  font: 430 46px/57px Montserrat;
  padding-top: 200px;
  background-position: center;
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: cover;
  color: #00918a;
  margin: 0;
  padding: 200px 0 10px;
  display: inline;
  display: inline;
  background-color: rgb(255 255 255 / 80%);
  padding: 0;
 }

 .product-wrap {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 10px;
position: relative;
 }

 details {
  height: fit-content;
  max-height: 197px;
  display: block;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border: solid 2px rgb(255, 255, 255);
   }

 details[open] {
  grid-column: 1 / -1;
  height: 100%;
  max-height: 100%;
 }

 details[open] h3 {
  background-color: #00918a;
  color: white;
 }

 .grease-title {
  display: block;
  color: #000000;
  font: 500 18px/27px Montserrat;
  margin-bottom: 20px;
  padding: 0 10px;
 }

 details:hover {
  border: solid 2px rgb(0, 145, 138);
 }

 .grease-title h3 {
  background-color: rgb(0, 145, 138);
  color: rgb(255, 255, 255);
  margin: 0;
  padding: 10px;
  font: 600 18px / 28px Montserrat;
  margin: 0 -10px;
  margin-bottom: 20px;
  border-bottom: solid 2px rgb(183, 221, 215);
 }

 .grease-title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: block;
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 10%, rgba(255,255,255,0) 55%);
 }

 details[open] .grease-title::after {
  content: "";
  background: none;
  z-index: -1;
 }

 .grease-description {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
 }

/*  СПИСК ПРЕИМУЩЕСТВА  */


 .advantages {
  flex: 1;
  cursor: default;
  width: 100%;
 }

 .advantages-list {
margin: 0;
padding: 0;
list-style: none;
 }

.advantages-list li{
  padding:6px;
}
.advantages-list li:before {
  padding-right:10px;
  font-weight: bold;
  color: rgb(183, 221, 215);
  content: "\2714";
  transition-duration: 0.5s;
}
.advantages-list li:hover:before {
  color: #00918a;
  } 

.table-wrap {
  flex: 2;
}

 .advantages span {
  color: #00918a;
  font-size: 18px;
  text-align: left;
  font-weight: bold;
  padding: 10px 0;
  display: block;
 }

 .use span {
  color: #00918a;
  font-size: 18px;
  text-align: left;
  font-weight: bold;
  padding: 10px 0;
  display: block;
 }

/*  ТАБЛИЦЫ  */

table {
  font-family: "Montserrat", "Lucida Grande", Sans-Serif;
  border-collapse: collapse;
  color: #000000;
  cursor: default;
  width: 100%;
}

caption {
  padding: 10px;
  color: #00918a;
  font-size: 18px;
  text-align: left;
  font-weight: bold;
}

th {
  border-bottom: 3px solid #00918a;
  padding: 10px;
  text-align: left;
}

td {
  padding: 10px;
}

tbody tr:nth-child(odd) {
  background-color: rgb(183, 221, 215);
}

tbody tr:hover {
  background: #00918a;
    color: #fff;
}

/*  ТАБЛИЦЫ КОНЕЦ  */

 .use {
  width: 100%;
  cursor: default;
 }

 .use p {
  margin: 0;
 }

 /*  ФУТЕР  */

 footer {
  background-color: #00918a;
  flex-shrink: 0;
  padding: 20px 0;
 }
 
 .footer-wrap {
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 1380px;
  width: 100%;
 }

 .footer-wrap address { 
  display: flex;
  flex-direction: initial;
  justify-content: space-between;
  align-items: center;
  font: 400 15px/19px Montserrat;
  position: relative;
 }

 .address {
 background-image: url(../images/poz.svg);
 background-repeat: no-repeat;
 background-position: center left 0px;
 background-size: 17px;
 color: white;
 text-decoration: none;
 position: relative;
 padding-left: 26px;
}

.footer-tel-wrap {
  display: flex;
}

.whatsapp-footer {
  width: 35px;
  background: url(../images/wag.svg) center top no-repeat;
}

.whatsapp-footer:hover {
  background: url(../images/waw.svg) center top no-repeat;
}

 /*  стр с контактами  */

 .contact-adress {
  background-color: #00918adb;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  height: fit-content;
  display: flex;
  flex-direction: column;
  margin-left: 2%;
  padding: 22px;
  font: 500 17px/30px Montserrat;
 }

 .contact-adress a {
  background-size: 25px;
  padding: 5px 0 5px 40px;
 }

 .contact-adress a:not(:last-child) {
  margin-bottom: 10px;
 }

 .contact-adress .contact-adres-wrap {
  margin-bottom: 10px;
 }

 @media (max-width: 1200px) {
  .navigation {
    flex-direction: column;
  }

  .footer-wrap address {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .product-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .grease-description {
    flex-direction: column;
  }

  .contact-adress {
    width: 50%;
  }

  .catalog-list {
    top: 127px;
    height: 442%;
  }
}

@media (max-width: 820px) {

.navigation > a {
  display: none;
}

.head-addres {
  display: none;
}

.product-wrap {
  grid-template-columns: 1fr;
}

.main {
  padding: 0 0.5rem;
}

.section-description {
  font: 430 24px/30px Montserrat;
}

.header-fix {
  padding: 1rem 1rem;
}

.logo {
  font: 900 35px/36px Nunito;
}

.hiro h1 {
  font: 420 28px/30px Montserrat;
  padding: 124px 1rem 64px;
}

.hiro {
  background-size: 500px;
}

.section-description-wrap {
  padding: 170px 0 0;
}

.grease-title h3 {
  font: 600 16px / 16px Montserrat;
  margin-bottom: 0;
}

.grease-title {
  font: 500 14px/19px Montserrat;
}

body {
  font-size: 14px;
  line-height: 19px;
}

details {
  max-height: 232px;
}

.catalog-list {
  top: 66px;
  height: 80vh;
  overflow-x: scroll;
  flex-direction: row;
  padding: 10px;
}

.catalog-item {
    width: 100%;
    margin-top: 10px;
  }

  .table-wrap {
    width: 100%;
    overflow: auto;
  }

  .contact-adress {

    width: 100%;
    margin: 0;
    font: 500 17px/26px Montserrat;
  }


}