.zaglav_form {
	color: #000;
	font-family: "Trebuchet MS";
	font-size: 16pt;
	font-style: italic;
	font-weight: 400;
	text-align:center;
}

/* Кнопка заказать */

.button2 {
  background-color: red;    /* #4CAF50;  Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  border-radius: 8px;
  margin:0 auto;
}

#block_formu {
  display: none;
}



/* Правая колонка */
#block_formu {
  display: block;
  width: 300px;  
  border: 1px solid #444;
/*  margin-right: 5px;  */
/*  float: right;   */
}


/* Форма */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  color: #000;
  background-color: #fff; 
}

.form-group label {
  font-size: 13px;
  margin-bottom: 5px;
  color: #000;                      
}

.form-group input,
.form-group textarea {
  background: #fff;                       
  border: 1px solid #333;
  border-radius: 8px;
  color: #000;               
  padding: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00b4d8;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 180, 216, 0.6);
}

.send-btn {
  background-color: #00b4d8;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.send-btn:hover {
  background-color: #0095b6;
  transform: translateY(-2px);
}

.send-btn:active {
  transform: translateY(0);
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

.form-status.success {
  color: #4caf50;
}

.form-status.error {
  color: #ff5252;
}


#contactForm {
  transition: opacity 0.5s ease;
}

#contactForm.hide {
  opacity: 0;
  pointer-events: none;
}




/* Затемнение */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

#overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Модальное окно */
#block_formu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  z-index: 1000;
  display: none;
  border-radius: 10px;
}

/* Плавное закрытие формы */
#block_formu.hide {
  opacity: 0;
  pointer-events: none;
}

.close-form {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.close-form:hover {
  color: #ff0000;
}

/* Адаптивность */
@media (max-width: 900px) {
   #block_formu {
    width: 75%;
 } 
}

@media screen and (max-width: 600px) {
/*  Это когда экран меньше 600 px */
	#block_formu {
	width: 80%;
 }
	#schapka_3	{
	width:300px;
  }
}