@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Roboto"),
       /* Если не получилось, загрузит woff2 */
       url("./Roboto/Roboto-Medium.ttf") format("ttf")
}

body {
  font-family: "Roboto", "Arial", sans-serif;
	padding: 0;
	margin: 0;
}

.header{
	position: relative;
	display: flex;
}
.header_photo{
	width: 50%;
	height: 100vh;
	overflow: hidden;
}
.header_photo img{
	width: 100%;
	height: auto;
}
.header_info{
	position: relative;
	width: 50%;
}
.header_info-logo{
	position: relative;
	
	font-size: 15vh;
	color: #E94B3C;
	left: -40%;
	text-align: center;
}
.header_info-title{
	font-size: 5vh;
	color: #111;
	margin-top: 20px;
	margin-left: 5%;
}
.header_info-citat{
	position: absolute;
	width: 50%;
	bottom: 10%;
	right: 10%;
	font-size: 21px;
	color: #A9A9A9;
}

.sections{
	padding: 2%;
}
.sections_title{
	font-size: 8vh;
	color: #E94B3C;
}

.slidebox{
	display: flex;
	background-color: #FFFAFA;
	padding: 20px 0;
	margin-bottom: 30px;
	clip-path: polygon(5px 0,100% 0,100% calc(100% - 5px), calc(100% - 5px) 100%,0 100%,0 5px);
}
.slidebox_info{
	width: 30%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding-left: 15px;
}

.slide_data{
	font-size: 18px;
	color: #8B0000;
	margin-bottom: 15px;
	font-size: 500;
}
.slide-title{
	color:#A52A2A;
	font-size: 5em;
	margin-bottom: 10px;
}
.slide-text{
	font-size: 16px;
	color: #000;
	line-height: 22px;
}

.gallery-small{
	height: 600px;
}
.gallery {
	width: 70%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 5vw);
  grid-gap: 1.5rem; 
	list-style: none;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; 
}

.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;

  /** Alternative Syntax **/
  /* grid-column: 1 / span 2;  */
  /* grid-row: 1 / span 2; */
}

.gallery__item--2 {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;

  /** Alternative Syntax **/
  /* grid-column: 3 / span 2;  */
  /* grid-row: 1 / span 2; */
}

.gallery__item--3 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 6;

  /** Alternative Syntax **/
  /* grid-column: 5 / span 4;
  grid-row: 1 / span 5; */
}

.gallery__item--4 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 6;

  /** Alternative Syntax **/
  /* grid-column: 1 / span 4;  */
  /* grid-row: 3 / span 3; */
}

.gallery__item--5 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 6;
  grid-row-end: 9;

  /** Alternative Syntax **/
  /* grid-column: 1 / span 4; */
  /* grid-row: 6 / span 3; */
}

.gallery__item--6 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 6;
  grid-row-end: 9;

  /** Alternative Syntax **/
  /* grid-column: 5 / span 4; */
  /* grid-row: 6 / span 3; */
}

.about{
	
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 50px 0;
	flex-direction: column;
	text-align: center;
	
}
.about h2{
	color: #A52A2A;
}
.about-photo {
	background: url("./img/ana2.jpg");
	background-size: cover;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	margin-bottom: 20px;
}
.about-text{
	font-size: 18px;
	font-weight: 500;
	font-style: italic;
	margin-bottom: 15px;
	color: #111;
}

.about-contact > span{
	display: block;
	margin-bottom: 15px;
}

@media screen and (max-width: 1200px) {
	.header_info-logo{
		font-size: 9vh;
	}

	.header_info-citat{
		position: relative;
		width: 80%;
		margin-top: 20%;
		margin-left: 15px;
		bottom: 0;
		right: 0;
	}
	.header_photo{
		height: auto;
	}

	.slide-title{
		font-size: 3em;
	}
}

@media screen and (max-width: 1024px) {
	.slidebox{
		flex-wrap: wrap;
	}
	.gallery,.slidebox_info{
		width: 100%;
		margin-top: 15px;
	}
	.gallery-small{
		height: 400px;
	}
}

@media screen and (max-width: 760px) {
	.header_info-logo{
		font-size: 34px;
	}
	.header_info-title{
		font-size: 18px;
	}
	.gallery-small{
		height: 300px;
	}

	.header_info-citat{
		position: relative;
		width: 80%;
		margin-top: 20%;
		margin-left: 15px;
		bottom: 0;
		right: 0;
		font-size: 14px;
	}
	.header_photo{
		height: auto;
	}

	.slide-title{
		font-size: 3em;
	}

	.sections_title{
		font-size: 36px;
	}
	.slide-text{
		font-size: 16px;
	}
	.gallery{
		padding-left: 5px;
		padding-right: 5px;
	}
}

@media screen and (max-width: 480px) {
	.header_info-logo{
		left: 0;
		font-size: 24px;
	}
}