body{
	/*Общие настройки*/
	margin: 0;
	padding: 0;
	background: #1F2833;
	

	/*Настойки Шрифта*/
	font-size: 18px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	color: #C7C7C5;
}
 
h2 {
	/*Общие настройки шрифата для загловка H2*/
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	font-size: 48px;
}

.display{
	width: 1240px;
	margin: auto auto;
}

/* Шапка сайта */

header{
	width: 100%;
	height: 100px;
}

header a{
	display: block;
	width: 105px;
	float: left;
	margin-left: 45px;
	margin-right: 10px;
	padding-top: 41px;
	text-decoration: none;
	color: #C7C7C5;
}

header a:hover {
    color: #56D8CE;
}

/* Галерея */

.gallery {
	width: 100%;
	height: 3675px;
	padding-bottom: 47px;
}
.gallery h2{
	display: block;
	width: 212px;
	margin-left: auto;
	margin-right: auto;
    margin-top: 47px;
    margin-bottom: 47px;
}
.icons{
	width: 1240px;
	height: 3576px;
	margin-bottom: 47px;
	padding-left: 1px;
}

.iconsimg {
	width: 413px;
	float: left;
	text-align: center;
	margin-top: 30px;
}
.iconsimg img {
	height: 145px;
	margin: auto auto;
}




/* Подвал */




footer {
    padding-top: 10px;
	margin-left: 10px;
    padding-bottom: 10px
}

/* увеличенная картинка */
#magnify {
  display: none;
  position: fixed;
  max-width: 1200px;
  max-height: 850px;
  height: auto;
  z-index: 9999;
}

#magnify img {
  max-width: 1200px;
  max-height: 850px;
}

/* затемняющий фон */
#overlay {
  display: none;

  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: 9990;
}

/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px;

  background: #FFFFFF;
  border: 1px solid #AFAFAF;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}

#close-popup i {
  width: 30px;
  height: 30px;
  background: url(../icons/cross.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}

@keyframes rota {
 25% { transform: rotate(360deg); }
}

#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}
