html{
    scroll-behavior: smooth;
}

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


h1, h2, h3, h4, h5, h6{
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Montserrat', sans-serif;
    background: #eeeeee;
}

a {
    text-decoration: none;
}
a:hover{
   text-decoration: underline;
   text-underline-offset: 5px;
}
.container{
    max-width: 1143px;
    margin: 0 auto;
}
.photo_logo{
    width: 60px;
    height: 60px;
    margin-left: 0;
}
.main_page{
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('images/main_bgc.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-blend-mode: darken;
}
.navigation_main{
   width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    background-color: #eeeeee;
}

.icon{
  font-weight: 700;
  font-size: 30px;
  padding: 15px 10px;
  border: 5px solid #000;
  cursor: pointer;
  margin-left: 205px;
}

.list_main{
    text-decoration: none;
    list-style-type: none;
    display: flex;
    gap: 40px;
    margin-right: 200px;
}
.info_footer_contacts{
  margin-right: 200px;
}

.link_list{
    color: black;
    font-size: 19px;
    font-weight: 500;
}

.main_text{
    padding: 280px 150px;
}

.main_title, .our_product_title{
    font-size: 60px;
    color: white;
    font-weight: 700;
}
.main_paragraph{
   font-size: 25px;
   margin-top: 10px;
   font-weight: 400;
    color: white;
}

.our_product_title{
    color: #b01f24;
    font-weight: 700;
    font-size: 40px;
    margin-top: 30px;
    margin-bottom: 10px;
}
    .carousel-wrapper {
      position: relative;
      width: 990px;    
      margin-bottom: 50px;
      padding: 30px;
      border-radius: 16px;
    }
    .carousel-window {
      overflow: hidden;
      width: 100%;
    }
    .slides {
      display: flex;
      transition: transform 0.4s ease;
    }
    .slide {
      flex: 0 0 auto;
      width: 300px;       
      margin-right: 15px; 
    }
    .slide img {
      display: block;
  width: 300px;        
  height: 250px;      
  object-fit: cover;    
  border-radius: 16px;
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 32px;
      background: #eeeeee;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
      z-index: 1;
    }
    .arrow.left  { left: -30px;  }
    .arrow.right { right: -30px; }
.our_production .container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.aboutus_paragraph{
    font-family: 'Rubik';
}
.content{
    padding-top: 30px;
    padding-bottom: 30px;
     display: flex;
    justify-content: center;
    align-items: center;
}
.aboutus_title{
   font-weight: 700;
   font-size: 25px;
}

.aboutus_paragraph{
   font-weight: 400;
   font-size: 18px;
   margin-top: 30px;
   padding: 15px 10px;
   border-radius: 16px;
   background-color: #eeeeee;
}
.aboutus_paragraph span{
  font-weight: 500;
   font-size: 20px;
}
.aboutus_bottom{
    margin-top: 30px;
    font-weight: 600;
   font-size: 22px;
}
.text_aboutus{
    display: block;
    max-width: 700px;
    margin-right: 40px;
}
.text_paragraph{
  display: flex;
  gap: 30px;
}

.photo_aboutus{
      width: 400px;         
  height: 500px;        
  object-fit: cover;
     border-radius: 16px;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.6);
}

.aboutus{
    background-color: rgba(225, 87, 91, 0.6);
}
.contacts_title{
    font-size: 35px;
    text-align: center;
    margin-top: 30px;
}

.map_contacts{
    padding: 30px 30px 0px 30px;
    display: inline-block;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0px 10px 20px 0 rgba(0, 0, 0, 0.2);
}

.contacts_information{
    margin: 30px 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer{
    background-color: #b01f24;
    padding: 25px;
}

.address{
    text-align: center;
    margin: 15px 0 5px 0;
    font-weight: 500;
    font-size: 20px;
}
.slide:last-child {
  margin-right: 0;
}

.time{
    text-align: center;
    margin: 5px 0 15px 0;
    font-weight: 400;
    font-size: 15px;
}

.contacts_link{
   color: #000;
}

.decrip_person{
    margin-top: 9px;
}

.info_footer_contacts{
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: start;
}

.footer_contact_link{
    color: black;
    text-decoration: none;
}

.name_person{
    font-weight: 700;
    font-size: 16px;
}

.line_info_footer{
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
}

.contacts_person{
    display: flex;
    font-weight: 500;
    gap: 30px;
    margin-top: 10px;
}

.info_people{
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}
.footer_info{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info_footer_contacts a{
  font-size: 18px;
}

.info_footer_contacts a:hover{
   text-decoration: underline;
}


.info_footer_contacts img{
   width: 25px;
   height: 25px;
}

@media (max-width: 768px) {
    .our_product_title, .main_title{
        font-size: 36px;
    }
    .main_paragraph{
        font-size: 16px;
    }
 .carousel-wrapper {
    width: 80%;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .carousel-window {
    width: 100%;
    overflow: hidden;
  }
  .main_page .icon{
    margin-left: 0;
  }
  .navigation_main{
    display: flex;
    justify-content: center;
  }
  .slide {
    width: 100%;
    margin-right: 15px;
  }
  .footer .icon{
    margin-left: 10px;
  }
  .info_footer_contacts{
  margin-right: 10px;
}

  .slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .arrow{
    background-color: #e1dede;
  }

  .arrow.left {
    left: 5px;
  }

  .arrow.right {
    right: 5px;
  }
   .list_main{
        display: none;
    }
  .aboutus_paragraph{
    font-size: 14px;
  }

  .aboutus_title{
    font-size: 21px;
  }
  .aboutus_bottom{
    font-size: 18px;
  }
    .main_text{
        padding: 200px 50px;
    }

    .img_container{
        display: none;
    }
    .content{
        padding-left: 9%;
    }
    .map_contacts iframe{
        width: 350px;
        height: 200px;
  }

  .map_contacts{
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .name_person{
    text-align: center;
  }
  .info_people{
    margin-top: 20px;
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .person{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 10px;
  }
  .person p{
    text-align: center;
    font-size: 15px;
  }
  .info_people{
    display: flex;
    flex-direction: column;
    margin-top: 0;
  }
  .person a{
    font-size: 15px;
    text-align: center;
    margin-top: 10px;
  }
  .contacts_information{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .name_person{
    max-width: 40%;
  }
  .contacts_person{
    display: flex;
    margin: 0;
    flex-direction: column;
  }
  .contacts_title{
    font-size: 25px;
    margin-bottom: 0;
  }
  .contacts_person a{
     display: inline-block;
  }

  .address{
    font-size: 20px;
  }
  .time{
    margin: 0;
  }

  .info_footer_contacts a{
  font-size: 14px;
}

.info_footer_contacts img{
   width: 15px;
   height: 15px;
}
  
}


@media (max-width: 450px) {
   .map_contacts iframe{
        width: 280px;
        height: 130px;
  }
  .address{
    font-size: 14px;
  }
  .time{
    font-size: 11px;
}
.our_product_title, .main_title{
  font-size: 30px;
}
.main_paragraph{
  font-size: 14px;
}
.footer .icon{
  display: none;
}
.footer_info{
  justify-content: center;
}
.info_footer_contacts{
  margin-right: 0;
}
.map_contacts{
  margin-bottom: 0;
}
.info_people{
  margin-bottom: 40px;
}
}