/*!
Theme Name: Academ
Author: Academ Web Solutions
Description: Academ Theme
Version: 1.0.0
Text Domain: academ
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
 *
 * 1.0 - Base
 *   1.1 - Normalize
 *   1.2 - Basic Elements
 *   1.3 - Grid System
 *   1.4 - Helpers
 *   1.5 - Buttons
 *   1.6 - Overlay
 *   1.7 - Popup
 *   1.8 - Slick Slider
 *   1.9 - Perfect Scrollbar
 */

/* --- / --- */


/*======
*
* 1.0 - Base
*
======*/


/* --- / --- */

#subscribeModal {
	visibility: hidden; /* Скрыто по умолчанию */
    opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5); /* Затемнение фона */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

/* Кнопка закрытия */
.close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
	color: #555;
	transition: color 0.3s;
}

.close-btn:hover {
	color: #000;
}

/* Контейнер модального окна с позиционированием */
.modal-content {
	position: relative; /* Чтобы позиционировать close-btn внутри */
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	animation: fadeIn 0.3s ease-in-out;
}

/* Поле ввода */
#subscribeForm input {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
}

/* Кнопка */
#subscribeForm button {
	background: #007bff;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.3s;
}

#subscribeForm button:hover {
	background: #0056b3;
}

/* Анимация появления */
@keyframes fadeIn {
	from {
			opacity: 0;
			transform: translateY(-20px);
	}
	to {
			opacity: 1;
			transform: translateY(0);
	}
}