html, body {
	margin:0px;
	padding:0px;
	width:100%;
	height:100%;
}
body {
	background-color:#fcfcfc;
	font-family:'Exo';
	font-size:21px;
	color:#1c1c1c;
}
a, a:hover {
	font-weight:bolder;
	text-decoration:none;
}
h1, h2, h3 {
	font-family:'Oswald';
}
.b {
	font-weight:bolder;
}
.i {
	font-style:italic;
}
.u {
	text-decoration:underline;
}
#header {
	width:100%;
	height:auto;
	padding:2px 0px;
	background-color:#ffffff;
}
.headerWrap {
	width:95%;
	max-width:960px;
	margin:0px auto;
}
.headerWrap > h1, h2 {
	text-align:center;
}
.headerWrap > h1 > a {
	color:#4472c4;
	font-size:85%;
}
.headerWrap > h2 {
	font-family:'Exo'!important;
}
#catalog {
	width:100%;
	height:auto;
	padding:8px 0px;
	background-image:url('../img/catalog-bg-img.png');
}
.catalogWrap {
	width:95%;
	max-width:960px;
	margin:0px auto;
}
.catalogWrap > h2 {
	color:#030303;
	text-align:center;
}
.catalogWrap > ul {
	margin:0px;
	padding:0px;
	margin-bottom:0.87em;
	display:flex;
	align-items:center;
	justify-content:space-around;
	gap:15px;
	flex-direction:row;
	flex-wrap:wrap;
}
.catalogWrap > ul > li {
	margin:0px;
	padding:0px;
	list-style:none;
	max-width:310px;
	background-color:#ffffff;
	border-radius:8px;
}
.catalogWrap > ul > li > a {
	display:block;
	text-align:center;
	margin-top:0.87em;
	color:#4472c4;
	font-size:22px;
}
.catalogWrap > ul > li > a > img {
	width:100%;
	max-width:310px;
	height:auto;
	border-radius:12px;
	display:block;
	margin-bottom:0.87em;
}
#footer {
	width:100%;
	height:auto;
	padding:2vh 0px;
	background-color:#2c2c2c;
}
#footer > hr {
	width:95%;
	margin:0.55em auto;
	max-width:945px;
}
.footerWrap {
	width:95%;
	max-width:960px;
	display:flex;
	align-items:top;
	justify-content:space-around;
	gap:15px;
	margin:0px auto;
}
.footerAbout, .footerContacts {
	width:50%;
	max-width:450px;
	color:#ffffff;
}
.footerAbout > h3 {
	color:#fcfcfc;
	border-bottom:#fcfcfc solid 1px;
}
.footerAbout > p {
	font-size:16px;
	text-align:justify;
	color:#fcfcfc;
}
.footerContacts > h3 {
	color:#fcfcfc;
	border-bottom:#fcfcfc solid 1px;
}
.footerContacts > p {
	text-align:center;
	font-size:16px;
}
.footerContacts > p > a {
	font-size:16px;
	color:#ffdead;
}
/*** Модальное окно ***/

.modal {
    display: none; /* Скрываем окно по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: 50vw;
    max-height: 90vh;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow-y: auto;
}

.modal-close {
    text-align: right;
}

.modal-close a {
    text-decoration: none;
    color: #ff5500;
    font-size: 18px;
    font-weight: bold;
	padding:5px;
	border:#ff5500 solid 1px;
}
.modal-close a:hover {
    text-decoration: none;
    color: #fcfcfc;
    font-size: 18px;
    font-weight: bold;
	padding:5px;
	border:none;
	background-color:#1c1c1c;
	-webkit-box-shadow: 1px 1px 3px 0 #333333;
	box-shadow: 1px 1px 3px 0 #333333;
}

.modal-header h2 {
    margin: 0;
    text-align: center;
    font-size: 24px;
    color: #333;
}

.modal-image {
    text-align: center;
    margin: 20px 0;
}

.modal-image img {
    width: 100%;
    height: auto;
	max-width:320px;
}

.modal-text p {
    text-align: center;
    font-size: 18px;
    color: #555;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
}

.modal-footer a {
    text-decoration: none;
    background: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.modal-footer a:hover {
    background: #0056b3;
}