body {
    font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    color: rgba(236, 236, 241, 0.7);
    background-image: url(/svg/bg.svg);
    margin: 0;
    padding: 0;
}
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 900px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(236, 236, 241, 0.2);
    background-color: #343541;
}

.nav {
    display: flex;
    align-items: center;
}

.nav>li {
    margin-left: 1rem;
    text-transform: uppercase;

}

.nav>li>a:hover {
    color: #fff;
    
}
.active>a{
 
    border-radius: 3px;
    padding: 0.2em 0.4em;
    background: #3E3F4B;
    transition: .5s;
}
a {
    text-decoration: none;
    color: #d9d9d9;
}

ul {
    list-style-type: none;
}

.cont {
    font-size: 1.1em;
    background-color: #343541;
    text-indent: 2rem;
    height: 100%;
    padding-bottom: 1.5em;
}

.content {
    padding-top: 1.5em;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 1.5em;
    text-align: justify;
    font-size: 1rem;
}

.content>h1 {
    font-size: 1rem;
    font-weight: normal;
display: inline;
}

.content>h2 {
    font-size: 1rem;
    font-weight: normal;
    display: inline;
}
#cont>h3{
    margin-top: 0em;
    padding-top: 0em;
   
}
.img-container{
padding-bottom: 1.5em;

}
.products-section {
    font-size: 1rem;
    padding-left: 1em;
    padding-right: 1em;
}

.product-col {
    
    text-indent: 0;
    background: #3e3f4b;
    border-radius: 3px;
    margin: 0.5rem;
    text-align: justify;
    padding-left: 1rem;
    padding-right: 1rem;
    flex: 1;
}

.product-col h4 {
    text-indent: 0;
    text-align: center;
    text-decoration: none;
    margin-top: 0.5rem;
    margin-bottom: 0;
}
.product-col h3 {
    text-indent: 0;
    text-align: center;
    text-decoration: none;
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding-top: 0.5em;
    padding-bottom: 1em;
}
.product-col p {
    margin-top: 0.5em;
}

.product-row {
    display: flex;
    justify-content: space-around;
}

.logo:hover {
    content: url(/svg/logo_color.svg);
}

.security {
    height: 32px;
    width: 32px;
}

.surveillance {
    height: 32px;
    width: 32px;
}

.fire {
    height: 32px;
    width: 32px;
}

.it {

    height: 32px;
    width: 32px;

}

.electricity {
    height: 32px;
    width: 32px;
}

.access {
    height: 32px;
    width: 32px;
}

.recuperator {
    height: 32px;
    width: 32px;
}

#security:hover>img *,
#security:hover>h4>img {
    height: 32px;
    width: 32px;
    content: url(/svg/security_color.svg);
}

#surveillance:hover>img *,
#surveillance:hover>h4>img {
    height: 32px;
    width: 32px;
    content: url(/svg/surveillance_color.svg);
}

#fire:hover>img *,
#fire:hover>h4>img {
    height: 32px;
    width: 32px;
    content: url(/svg/fire_color.svg);
}

#it:hover>img *,
#it:hover>h4>img {
    height: 32px;
    width: 32px;
    content: url(/svg/it_color.svg);
}

#electricity:hover>img *,
#electricity:hover>h4>img {
    height: 32px;
    width: 32px;
    content: url(/svg/electricity_color.svg);
}

#access:hover>img *,
#access:hover>h4>img {
    height: 32px;
    width: 32px;
    content: url(/svg/access_color.svg);
}
#recuperator:hover>img *,
#recuperator:hover>h4>img {
    height: 32px;
    width: 32px;
    content: url(/svg/recuperator_color.svg);
}
footer {
    position: relative;
    clear: both;
    border-top: 1px solid rgba(236, 236, 241, 0.2);
    background-color: #343541;
    color: rgba(236, 236, 241, 0.7);
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    justify-content: space-between;
    flex-shrink: 0; /* Предотвращает сжатие футера */
}

.footer-right {
    display: flex;
    align-items: flex-end;
    padding-right: 1rem;
}
.uab {
    padding-top: 1rem;
    font-size: 1rem;
    font-weight: bold;
}

.text {
    line-height: 1.2rem;
    font-size: 0.8rem;
}
.text2 {
    line-height: 1.8rem;
    font-size: 1em;
}
footer>p {
    margin: 2px;
    font-size: 0.8rem;
}

.footer-right>p>span{
    opacity: 25%;
}

footer a {
    color: rgba(236, 236, 241, 0.7);
}

.inline {
    display: inline;
}

.copy:hover {
    color: #fff;
}

.copy {
    cursor: copy;
}
.link{
    color: rgba(236, 236, 241, 0.7);
}
.link:hover {
    color: #fff;
}
.img-container {
    display: flex ;
    justify-content: space-between;
    align-items: center;
}
.img-container img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
    width: 8rem;
}
.img-container img:hover {
    filter: grayscale(0%);
  }
  .text {
    line-height: 1.4rem;
}

.footer-right {
    display: flex;
    align-items: flex-end;
    padding-right: 1rem;
}

form {
    margin-top: 0.5rem;
}

form > .form-row {
 display: flex;
 margin-bottom: 0.5rem;
}
#row{
    padding-bottom: 2em;;
}
#name {
    background-color: rgba(236, 236, 241, 0.5);
    border: none;
}
#email {
    background-color: rgba(236, 236, 241, 0.5);
    border: none;
}
#phone {
    background-color: rgba(236, 236, 241, 0.5);
    border: none;
}
#message {
    background-color: rgba(236, 236, 241, 0.5);
    border: none;
}
#submit {
    background-color: rgba(236, 236, 241, 0.5);
    border: none;
}

form > .form-row > textarea, form > .form-row > input, form > .form-row > .form-col > input{
    width: 100%;
}

.first-row-element {
    margin-right: 1rem;
}
.hidden {
    display:none;
}

.announcement-image {
    width: 224px; /* Устанавливаем желаемую ширину */
    height: 168px; /* Устанавливаем желаемую высоту */
    object-fit: cover; /* Обеспечиваем покрытие элемента, сохраняя пропорции */
    border-radius: 5px; /* Скругляем углы */
    margin-right: 20px; /* Отступ справа */
    display: block;
}




@media only screen and (max-width: 768px) {
    .product-row {
        flex-direction: column;
    }
    .cont {
       height: 200%;
    }
    .img-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    form > .form-row {
        display: flex;
        flex-direction: column;
    }
    .first-row-element {
        margin-bottom: 0.5rem;
    }

    footer {
        flex-direction: column;
    }

    .footer-right {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}   
.access-system {
	margin-top: 2rem;
	padding: 1rem 2rem;
	line-height: 1.6;
}
.access-system h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
}
.access-system h2 {
	font-size: 1.4rem;
	margin-top: 1.5rem;
}
.access-system ul {
	margin-left: 1.5rem;
	list-style-type: disc;
}
    

.screenshot-thumb {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.screenshot-thumb img {
	max-width: 300px;
	cursor: pointer;
	border: 1px solid #ccc;
	border-radius: 4px;
	transition: transform 0.3s;
}
.screenshot-thumb img:hover {
	transform: scale(1.02);
}

.access-system .screenshot-thumb {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1rem;
}

.access-system .screenshot-thumb img {
	max-width: 300px;
	width: 100%;
	height: auto;
	cursor: pointer;
	border: 1px solid #ccc;
	border-radius: 4px;
	transition: transform 0.2s ease-in-out;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.access-system .screenshot-thumb img:hover {
	transform: scale(1.02);
}

.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	padding-top: 60px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 90%;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
	border-radius: 4px;
}

.close {
	position: absolute;
	top: 20px;
	right: 35px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
}
