.sin{
  background-image: url(../img/header-image/logo4.jpg);
  background-size:contain;
  height: 80px;
}
.container-all h2 {
  background-color: white;
  width: fit-content;
  margin: 40px auto;
  padding: 10px 0px;
  text-transform: uppercase;
  font-size: 70px;
  font-weight: 300;
  color:goldenrod;
  text-align:center;
  font-family: "Roboto", sans-serif;
}
.container-carton-price{
  margin: 40px auto;
  width: 95%;
  display: flex;
  justify-content:space-between;
  align-items: start;
  height: fit-content;
}
.carton-price{
  flex-basis: 75%;
  position: relative;
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
}
.wrapper-service{
 margin: 10px 20px ;
 padding:0;
 height: 320px;
 min-width: 300px;
 flex-basis: 25%; 
}
.service-name{
    padding: 5px;
  position: relative;
  overflow: hidden;
  /*padding: 5px;*/
  display: flex;
  flex-direction: column;
  height: 320px;
  min-width: 300px; 
  /*background-color:#c0c0c0;*/
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.service-name img{
 width:100%;
 min-height: 220px;
 /*height: 100%;*/
 object-fit:fill;
 /*border-radius: 10px;*/
 transition: transform 0.5s ease; 
}
.service-name:hover img{
  transform: scale(1.2);
}
.text p{
 /*height: 38%;*/
 height: fit-content;
 padding:  5px;
 text-align:center;
 font-size: 24px;
 cursor: pointer;
 background-color: yellow;
 color:blue;
 border-radius: 5px;
}
.form-price{
 flex-basis: 25%;
 padding: 10px;
 padding-top: 20px;
 background-color: #7f7c7c;
 border-radius: 10px; 
}
.form-price form{
  padding: 20px;
  width:100%;
  border-radius: 10px;
  font-size:20px ;
}
.title-form-1{
 margin-bottom: 27px;
 text-align: center;
 font-size: 35px;
 font-weight: 600;
 color:white;
 
}
.form-price form input{
 margin-top: 10px;
 margin-bottom: 10px;
 padding: 3px;
 display: block;
 width: 100%;
 font-size: 20px;
 border-radius: 5px;
}
.input-wrapper label {
  font-size: 25px;
  color: white;
}
.input-wrapper{
 margin-top: 10px auto;
 display: block;
 width: 100%;
 font-size: 20px;
}
.button{
margin: 20px auto;
width: fit-content;
}
.button button {
  margin-top: 20px ;
  padding: 5px;
  text-align: center;
  background-color:blue; 
  font-size: 22px;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid blue;
  color:white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.modal {
  display: none;
  position: absolute;
  z-index: 1;
  left: 20%;
  top: 30%;
  width: 600px;
  height:fit-content;
  overflow: auto;
}
.modal-content {
 margin: auto;
 display: block;
 width: 100%;
 max-width: 700px;
}
.description-service{
 padding: 10px;
 height: 250px;
 width: 100%;
 background-color: black;
 font-size: 18px;
 line-height: 1.5;
 border-radius: 10px;
 overflow-y: scroll;
 cursor: pointer;
 color:wheat;
}
.descript-text{
  display:none;
}
.description-service .dtitle{
font-size: 22px;
text-align: center;
color:white;
}
@media(max-width:1368px){
.container-carton-price{
width: 100%;
}
.carton-price{
 margin:0;
 flex-basis: 70%;
}
.wrapper-service{
 margin:  10px 10px;
 flex-basis: 25%;  
 /*height: 280px;*/
 min-width: 280px; 
}
.service-name{
 margin: 0;
 min-width: 280px; 
}
.text p{
 font-size: 22px;
}
.form-price{
 margin: 10px 0px;
 flex-basis: 30%;
}
.form-price form{
  padding: 0 10px;
  width:100%;
  font-size:18px ;
}
.title-form-1{
 font-size: 25px;
}
.form-price form input{
 font-size: 22px;
}
.input-wrapper label {
  font-size: 22px;
}
.modal {
  left: 0%;
  top:37%;
  width: 100%;
}
}
@media(max-width:1024px){
/*.sin{
background-image:none;
}*/
.container-all h1 {
  font-size: 50px;
  margin: 30px auto;
}
.container-carton-price{
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  background-color: #848789;
}
.carton-price{
 flex-basis: 60%;
}
.carton-price{
  display: flex;
  justify-content: start;
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}
.wrapper-service{
  height: 450px;
  min-width: 100%;
  scroll-snap-align: center;
}
.service-name{
 margin: 0 10px;
 display: block;
 height: 450px;
 width: inherit;
}
.text p{
 font-size: 26px;
}
.modal {
  position: fixed;
  left: 0px;
  top: 260px;
  width: 60%;
}
.service-name img{
 height: 68%;
}
.form-price{
 margin: 10px auto;
 display: flex;
 flex-direction: column;
 flex-basis: 40%;
}
.form-price form{
  padding: 0 5px;
  width:100%;
  font-size:18px ;
}
.title-form-1{
 font-size: 35px;
}
}/*-------------------------------------------------------------*/
@media(max-width:478px){
  .header-photo img{display: none;
    margin-top: -20px;
    width: 100%;
    height: 100px;
  }
.sin{
  background-image:none;
}
 .container-all h2 {
 margin: 0px auto;
 font-size: 30px; 
}
.container-carton-price{
  margin: 0px auto;
  margin-bottom:25px; 
  background-color:#c0c0c0;
}
.carton-price{
  margin: 0px 0;
  flex-basis: 100%;
  display: flex;
  justify-content: start;
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}
.wrapper-service{
 padding-top: 5px;
 padding-bottom: 5px;
  margin: 0px 0px ;
  height: 290px;
  min-width: 100%;
  scroll-snap-align: center;
}
.service-name{
 margin: 0 10px;
 padding: 5px;
 display: block;
 height: 290px;
 width: inherit;
 background-color: whitesmoke;
}
.service-name img{
 width:100%;
 height: 180px;
 object-fit:fill;
}
.text{
  margin:0px;
  padding: auto 0px;
  height: fit-content;
}
.text p{
  min-height: fit-content;
  font-size: 19px;
  text-align: center;
}
.modal {
  position: fixed;
  left: 0%;
  top: 165px;
  width: 100%;
}
.description-service{
  background-color: black;
  height: 200px;
  width: 100%;
  font-size: 17px;
  line-height: 1.4;
}
 .form-price{
 flex-basis: 100%;
 margin:  20px 0 0 0px;
 padding:0px;
}
 .form-price form{
  /*padding: 10px 10px 0 10px;*/
  padding:10px 10px 0 10px;
  width:100%;
  border-radius: 10px;
  font-size:20px ;
  background-color: #7f7c7c;
}
.form{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, opacity 0.8s ease;
}
.form.is-open{
max-height: 1000px; /* достаточно большое значение */
  opacity: 1;
}
.title-form-1{
  width: 95%;
  margin: auto auto;
  padding: 5px;
  font-size: 25px;
  cursor: pointer;
  background-color: red;
  border-radius: 5px;
  font-weight: 500;
}
.form-price{
 display: flex;
 flex-direction: column;
}
.form-price form p{
  color:white;
}
.form-price form input{
  display: block;
  padding: 0px;
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  border-radius: 5px;
}
.input-wrapper label {
  font-size: 20px;
}
.input-wrapper{
  display: block;
  font-size: 20px;
  margin-top: 10px auto;
  width: 100%;
}
}




  
