/* Обнуление */
*,
*::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;
	font-size: 16px;	
}


.wrapper {
	max-width: 1440px;
	min-height: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
}

[class*="__container"] {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 5px;
}

.photo_fig{
  position:relative;
}
.photo_fig img{
  max-width: 100%;
  
}
.photo_fig__text{
  position:absolute;
  top:50px;
  left:50%;
  transform:translateX(-50%);
  width:90%;
  color:#fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  line-height: 1.2;
  font-size: 20px;
  font-weight: 600;
}
@media(max-width:1200px){
  .photo_fig__text{
    font-size: 19px;
    top:40px;
  }
}
@media(max-width:992px){
  .photo_fig__text{
    width:96%;
    font-size: 18px;
    top:32px;
    line-height: 1.1;
  }
}
@media(max-width:820px){
  .photo_fig__text{
    width:96%;
    font-size: 17px;
    top:24px;
    line-height: 1.1;
  }
}
@media(max-width:767px){
  .photo_fig__text{
    width:96%;
    font-size: 16px;
    top:18px;
    line-height: 1.1;
  }
}
.photo_fig__text a{
  color:#fff;  
}
.photo_fig__text:hover{
  text-decoration: underline;
  color:#fff;
  font-size: 20px;
}
