@import url("fonts.css");
@import url("reset.css");

body {
    padding-top: 100px; /* Высота вашей шапки */
    background-color: #E3F4FF;   
    font-family: Arial, Tahoma, sans-serif;
    font-size: 16px;
}

#cont1 {


}

.top2 {
    display: flex;
    /* Делает контейнер флекс-контейнером */
    flex-direction: row;
    /* Располагает элементы в ряд (по умолчанию) */
    justify-content: center;
    /* Распределяет блоки с отступами между ними */
    gap: 2%;
    /* Добавляет отступы между элементами (современный метод) */
    margin-top: 40px;
}

.zoom-wrapper2 {
    width: 30%;
}

.zoom-image2 {
    width: 100%;
    transition: transform 0.3s ease;
}

.zoom-image2:hover {
    transform: scale(1.1);
    /* Увеличение на 10% */
}



.wrap {
    display: flex; 
    justify-content: center;	
}

.header {
    border-bottom: 1px solid #ccc;
    background: linear-gradient(180deg, #fff, #cfcfcf);
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Чтобы шапка была поверх контента */
    align-items: center;
}

.header .left { /* логотип*/
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 3%;
}

.header .search { /* логотип*/
    padding-top: 30px;
    padding-left: 3%;
}

.search input[type="text"] {

    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #555;
    margin-right: -30px;
    padding: 7px 0 7px 7px;
    width: 190px;
}

.search input[type="image"] {
    margin-bottom: -3px;
}

#topmenu {
    /*padding-left: 7%;*/
}

#topmenu ul {
    display: flex;
    justify-content: center;
}

#topmenu a {
    background-position: center 10%;
    background-repeat: no-repeat;
    color: #030303;
    display: inline-block;
    padding-top: 40px;
    text-align: center;
    text-decoration: none;
    height: 62px;    
    width: 100px;
}

#topmenu a:hover {
    background-color: #e7d4d4;
    background-position: center 37%;
    border-bottom: 4px solid #ff7d00;
    border-left: 1px solid #c9c9c9;
    border-right: 1px solid #b8b1b1;
    height: 64px;
    width: 98px;
}

#content {
    margin-top: 80px;  
}

#content .top, .center, .down, .doown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 	/*space-between;*/
    margin-bottom: 40px;	
}

.zoom-wrapper {
    overflow: hidden;  /*Скрывает часть картинки, выходящую за границы */
    margin-left: 40px;
/*    display: inline-block; *//*Контейнер по размеру картинки */
}

.zoom-image {
  transition: transform 0.3s ease; /* Плавность анимации (0.3 сек) */
}

.zoom-image:hover {
  transform: scale(1.2); /* Увеличение на 20% */
}

#footer {
    flex-shrink: 0; /* Не дает футеру сжиматься */
    display: flex; /* Делаем элементы внутри футера в строку */
    justify-content: space-between; /* Распределяем текст по бокам */
    flex-wrap: wrap; /* Разрешаем перенос на маленьких экранах, чтобы не "сваливалось" */
    padding: 40px 20px;
	margin: 40px 10px;
	
	
}
#footer #foot {
    display: flex; /* Делаем элементы внутри футера в строку */
    justify-content: space-between; /* Распределяем текст по бокам */
/*    flex-wrap: wrap;*/ /* Разрешаем перенос на маленьких экранах, чтобы не "сваливалось" */
    padding: 80px;   
    background-color: #030303;   
    color: #b8b1b1;    
}

#footer #foot .about {
    flex-wrap: wrap;
    padding-left: 14%;
    width: 30%;
}

#footer #foot .links {
    padding-left: 7%;
    width: 30%;
}

#footer #foot .data {
    padding-left: 7%;
    padding-right: 14%;
    width: 30%;
}