h1 {
    text-transform: uppercase;
    font-size: 2.95rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.navbar-brand {
    font-size: 1.5rem;
    line-height: 1.35rem;
    font-weight: 500;
    color: #2c6aa7;
}

/* Картинки портфолио */
#portfolio .card, #portfolio2 .card {
	cursor: pointer;
	transition: .3s;
	position: relative;
	top: 0;
}

/* Картинки портфолио (на главной) при наведении курсора */
#portfolio .card:hover {
	top: -5px;
	box-shadow: 0 5px 25px 0 rgba(255,255,255,0.5);
}

/* Картинки портфолио (в портфолио) при наведении курсора */
#portfolio2 .card:hover {
	top: -5px;
	box-shadow: 0 5px 25px 0 rgba(0,0,0,0.5);
}

/* reCAPTCHA */
.g-recaptcha > div { margin: auto; }

/* Задний фон для сообщения об успешной отправки данных */
#background-msg {
	background: black;
	z-index: 5;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0.9;
	cursor: pointer;
}

/* Сообщение об успешной отправке данных */	
#message {
	z-index: 5;
	max-width: 450px;
	position: fixed;
	top: 45%;
	left: 0%;
	right: 0%;
	text-align: center;
	font-size: 130%;
	color: white;
	margin: auto;
}

/* Поле для догрузки контента */
#loading-div{
    display: none;
}

@media screen and (max-width: 1199px) {
}

@media screen and (max-width: 991px) {
}

@media screen and (max-width: 767px) {
	
}

@media screen and (max-width: 575px) {
	h1,h2 { font-size: 1.5rem!important; }
	h3 { font-size: 1.25rem!important; }
	#description { text-align: left; font-size: 1.5rem!important; }
	.navbar-brand { font-size: 1.25rem; }
}

/*** Всплывающая форма Политики конфиденциальности ***/
.popup-form {
	position: fixed;
	bottom: -500px; /* Форма скрыта за пределами экрана */
	left: 0;
	width: 100%;
	background: rgba(255,255,255,.8);
	backdrop-filter: blur(8px); /* Размытие фона */
	-webkit-backdrop-filter: blur(8px); /* Для Safari */
	box-shadow: 0 -2px 20px rgba(0,0,0,0.2);
	padding: 10px;
	box-sizing: border-box;
	transition: bottom 0.5s ease-out;
	z-index: 1000;
	max-width: 100%;
}

.popup-form.active {
	bottom: 0; /* Форма появляется снизу */
} 