/*Обнуление*/
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}
ul,
ol,
li {
    list-style: none;
}
img {
    vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}
html,
body {
    height: 100%;
    line-height: 1;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    display: block;
}
/*---first-Block-Begin---*/
.main {
    height: 100%;
    width: 100%;
    color: #ffffff;
}
#loggo {
    height: 100%;
    width: 100%;
    position:fixed;
    top: 0;
    left: 0;
    overflow: auto;
    filter: brightness(20%); 
}
.logo {
    border-radius: 50%;
    background-image: url(img/logo.png);
    background-size: 120px 80px;
    position: relative;
    width: 120px;
    height: 80px;
    left: 15%;
    top: 30px;
}
.first__titel{
    position: relative;
    text-align: center;
    right: 0;
    left: 0;
    margin-top: 40px;
}
h1 {
    font-weight: bold;
    font-size: 40px;
} 
h1:after {
    background-color: #c9362c; /* Цвет линии при наведении на нее курсора мыши */
    display: block;
    content: "";
    height: 4px; /* Высота линии */
    width: 0%;
    margin: 0 auto;
    margin-top: 25px;
    -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}
h1:hover:after,
h1:focus:after {
    width: 40%;
}
#formscroll {
    display: block;
    margin: 0 auto;
    position: relative;
    margin-bottom: 50px;
    width: 190px;
    height: 45px;
    background-color: #c9362c;
    border-radius: 4px;
    color: rgb(255, 255, 255);
    font-size: 15px;  
} 
#formscroll:hover{
    background: #ffffff;
    color: #c9362c;
    border: 1px solid #c9362c ;
} 
.blocposition {
  display:flex;
  margin: 0 auto;
}
.myphone {
    position: relative;
    color: #ffffff;
    bottom: 20px;
    margin: 0 auto;
    padding-left: 25px;
}
.myphone span {
    content: "";
    position: absolute;
	  left:0;
    bottom: 1px;
	  width: 18px;
	  height: 18px;
	  background: url(img/phone.png) center center/cover no-repeat;
}
/*------------блок с навигацией------------*/
.column {
  display: flex;
  justify-content: center; 
  margin: 20px 10px 0px;
}
.column ul {
  display: flex;
  font-size: 20px;
}
.column a {
    color: #ffffff;
}
.column li {
  padding-right: 30px ;
  position: relative;
  cursor: pointer;
  line-height: 1; /*задаём высоту строки*/
  text-decoration: none; /*убираем подчёркивание*/
}
.column li:after {
  display: block;
  position: absolute;
  left: 0; /*изменить на right:0;, чтобы изменить направление подчёркивания */
  width: 0;/*задаём длинну линии до наведения курсора*/
  height: 2px; /*задаём ширину линии*/
  background-color: #c9362c; /*задаём цвет линии*/
  content: "";
  transition: width 0.3s ease-out; /*задаём время анимации*/
}
.column li:hover:after,
.column li:focus:after {
  width: 100%; /*устанавливаем значение 100% чтобы ссылка подчёркивалась полностью*/
}
.photo {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  margin-bottom: 20px;
}
.hover {
  margin: 30px 30px 0 0;
}
.hover a {
  display: inline-block;
  background: #0033ff8c; 
  line-height: 0;
}
.hover a img {
  transition: filter 0.5s linear;
  filter: brightness(0.5) grayscale(0.5) opacity(9);
}
.hover a:hover img {
  filter: none;
}
@media(max-width:908px) {
  .photo {
      justify-content: center;
  }
}
@media(max-width:620px) {
  .column ul {
      /* display: flex; */
      flex-wrap: wrap;
      justify-content: flex-start;
      align-content: flex-start;
      /* padding-top: 10px; */
  }
}
/*------------блок с фото------------*/
 section.gallery{
    position: relative;
    padding: 45px 0;
  }
  h2.title{
    font-size: 44px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 45px;
    position: relative;
  }
  h2.title:after{
    content: "";
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #111111;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  .gallery-list{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    font-size: 0;
    margin-top: 30px;
  }
  .gallery-item{
    display: block;
    flex: 25%;
    overflow: hidden;
    position: relative;
  }
  .gallery-item-hover{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity .5s ease;
    z-index: 2;
  }
  .gallery-item:hover .gallery-item-hover{
    opacity: 1;
  }
  .gallery-item:hover img{
    transform: scale(1.3) rotate(5deg);
  }
  .gallery-item img{
    max-width: 100%;
    height: auto;
    transition: all .5s ease;
  }
  @media (max-width: 991px){
    .gallery-item{
      flex: 33.3%;
    }
    section.gallery{
      position: relative;
      padding: 10px 0;
    }
  }
  @media (max-width: 768px){
    .gallery-item{
      flex: 50%;
    }
  }
  @media (max-width: 530px){
    .gallery-item{
      flex: 100%;
    }
  }

