*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'JetBrains Mono', monospace;
}
:host, :root {
  --rem: 18;
}
html{
  background-color: grey;
}
h2{
  font-size: clamp(2rem, 1.5rem + 2vw, 3.3rem);
  font-weight: 800;
}
h3{
  font-size: clamp(1.3rem, 1.3rem + 2vw, 2.1rem);
}
p, ul li, a{
  font-size: clamp(1rem, 1rem + 1vw, 1.7rem);
}
span{
  font-size: clamp(0.8rem, 0.8rem + 0.5vw, 1.6rem);
}
nav {
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: aquamarine;
  display: flex;
  width: 100%;
  height: 80px;
  padding: 1% 10px;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.menu img {
  height: inherit;
}
#logoimg {
  height: 70px;
}
.menu ul li{
  list-style-type: none;
  display: inline-flex;
  padding: 4px 8px;
  position: relative;
}
.menu ul li a{
  color: black;
  text-decoration: none;
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.8rem);
  font-weight: bold;
}
.menu ul li:hover{
  background-color: white;
  transition: 0.3s;
}
.top-menu {
  flex: 1;
  text-align: right;
}
.content-style{
  margin-top: 80px;
}
.content-style section{
  padding: 80px 9%;
}
.content-style h2{
  margin: 2rem 0;
}
.content-style p{
  margin: 1.1rem 0;
}
.content-style ul li{
  list-style-type: "— ";
  list-style-position: inside;
  margin: 10px 0;
}
#intro{
  color: white;
  padding: 50px 9%;
}
#about-us{
  background-color: aquamarine;
}
#products{
  background-color: white;
}
.content-style img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pic-set-product{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pic-set-product div{
  position: relative;
  flex-basis: calc(33.33% - 10px);
  margin: 10px 0;
}
.pic-set-product div:nth-child(n+4){
  flex-basis: calc(50% - 10px);
  text-align: center;
}
.pic-set-product div::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.723), transparent,transparent, transparent);
}
.pic-set-product div img {
  display: block;
}
.pic-set-product span{
  position: absolute;
  bottom:0;
  display: block;
  color: white;
  width: 100%;
  z-index: 2;
  text-align: center;
  font-size: clamp(1rem, 0.9rem + 1vw, 2.5rem);
}
.pic-set-doc{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pic-set-doc img{
  width: calc(48% - 20px);
  margin: 20px 0;
}
.pic-set-doc img:last-child{
  margin: 20px auto;
}
#contacts{
  background-color: white;
}
#contacts-info{
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: start;
  column-gap: 10%;

  p a{
    color: black;
    text-decoration: none;
  }
}
#contact-form{
  display: flex;
  flex-direction: column;
}
.contacts-form > *{
  margin: 10px 0;
}
#contact-form input, #contact-form textarea, #contact-form button{
  border-radius: 5px;
  border: 3px black solid;
  outline: none;
  padding: 10px;
  font-size: 20px;
  width: 100%;
}
#contact-form textarea{
  resize: none;
}
.icon{
  display: none;
}
#slider{
  padding: 0;
  width: 100%;
  overflow: hidden;
}
#slider div{
  display: flex;
  position: relative;
  left: 0;
  width: 100%;
  transition: transform ease 1.5s;
}
#sliderLine img{
  width: 100%;
  height: auto;
  object-fit: cover;
}
#cult-security{
  background-color: aquamarine;
}
#cult-security div{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(70px auto);
  gap: 1em;
}
#cult-security a{
  width: 100%;
  padding: 10px;
  color:black;
  text-align: center; 
  text-decoration: none;
  border: 3px black solid;
  border-radius: 5px;
}
#cult-security a:hover{
  color: white;
  background-color: black;
}
@media screen and (max-width: 1230px) {
  .top-menu{
    position: absolute;
    background-color: white;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 3;
    transition: 1s;
  }
  .top-menu ul{
    padding: 10%;
  }
  .top-menu ul li{
    display:block;
    margin: 5% 0;
  }
  nav .icon{
    display: block;
    width: 32px;
    height: 32px;
    margin: 10px;
    cursor: pointer;
  }
}
@media screen and (max-width: 769px) {
  .pic-set-product, .pic-set-doc{
    flex-direction: column;
  }
  .pic-set-doc img{
    width: 100%;
    margin: 20px 0;
  }
  #contacts-info{
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center ;
    row-gap: 10px;
  }
  #cult-security div{
    grid-template-columns: 1fr  ;
  }
}