*{
  font-family: sans-serif;
}
body{
  background-color: #eee;
  border: 0;
  margin: 0;
  padding: 0;
}
menu a, .tail a{
	text-decoration: none;
	color: #A9A9A9;
	transition: ease-in 0.2s;
}
menu a:hover, .tail a:hover{
	color: #fff;
}
menu {
  position: sticky;
  top: 0;
  background-color: #363636;
  padding: 21px 25px;
  margin: 0;
  color: #bbb;
  font-size: 12pt;
  text-transform: uppercase;
  user-select: none;
  z-index: 999999;
}
menu > div {
  margin: 0 auto;
  max-width: 1024px;
}
menu > div > span {
  padding: 20px;
}
menu > div > span:hover{
  background-color: #e31319;
  color: #fff;
  cursor: pointer;
}
.page {
  display: grid;
  grid-template: 
                 "title title title"
                 "subtitle subtitle subtitle"
                 "text text text"
                 "tail tail tail";
  grid-template-rows: min-content min-content min-content min-content;
  gap: 0em 0em;
  background-color: #fff;
}

.page > div {
}

.image {
  grid-area: image;
  background-image: url("https://avatars.mds.yandex.net/i?id=9f61d657e6fb6002c21c46548c0f1c10_l-5274714-images-thumbs&n=13");
  background-size: cover;
  background-position: center;
  display: none;
}

.title {
  display: block;
  padding-top: 100px;
  line-height: 1.2;
}

.subtitle {
  display: block;
  font-size: 16pt;
  color: #fff;
  line-height: 1.5em;
  position: relative;
  z-index: 1;
}

.subtitle::first-letter{
}

.text {
  grid-area: text;
  font-size: 12pt;
  background-color: #fff;
}

.text > p {
  text-indent: 30px;
}

.main {
  grid-area: title;
  font-size: 42pt;
  
  background-size: cover;
  background-position: center;
  
  color: #fff;
  position: relative;
}

.main::after{
  content: "";
  background: #000000;
  background: linear-gradient(0deg,rgba(15, 15, 15, 0.85) 50%, rgba(0, 0, 0, 0.3) 100%);
  
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.main > .info > span {
  display: block;
  text-shadow: 0px 0px 15px #000;
  margin: 0 0 15px 0;
  z-index: 5;
  position: relative;
}

.main > .info > span:last-child {
  margin: 0;
}

.mainTailDivider, .textTailDivider{
  position: relative;
  height: 50px;
  z-index: 10;
}

.mainTailDivider svg, .textTailDivider svg{
  display: block;
  width: 100%;
  height: 100%;
  fill: #fff;
  transform-origin: bottom;
  transform: rotateY(0deg);
}

.textTailDivider svg{
  fill: #000;
  transform-origin: bottom;
  transform: rotateY(180deg);
}

.info {
  max-width: 1024px;
  margin: 0 auto;
  padding: 25px;
  line-height: 1.5;
}

.info > div > iframe{
	width: -moz-available;
	width: -webkit-fill-available;
	width: fill-available;
}

.date, .link{
  display: block;
  font-weight: 100;
  font-size: 12pt;
  color: #fff6;
  padding-left: 0px;
}
.link{}

.tail {
  grid-area: tail;
  grid-row-end: 6;
  background-color: #000;
}

.contacts {
  display: flex;
  width: 100%;
  color: #fff;
  flex-direction: row;
}
.contacts > div {
  flex-grow: 1;
  margin: 15px 0;
  text-align: center;
}

.contacts > div > i:nth-child(1){
  display: inline-block;
  font-size: 32pt;
  color: red;
}

.contacts > div > span {
  display: inline-block;
  color: #A9A9A9;
}

.contacts > div > span:nth-child(2){
  color: #fff;
  font-size: 16pt;
  margin-left: 10px;
}

.contacts > div > span:nth-child(3){
  display: block;
}

.contacts > div:nth-child(2) > span:nth-child(3), .contacts > div:nth-child(2) > span:nth-child(4){
  font-size: 24pt;
}

.contacts > div:nth-child(3) > span:nth-child(3){
	font-size: 16pt;
}

.contacts > div:nth-child(3) > span:nth-child(4){
	display: block;
	font-size: 16pt;
}

.contacts > div:nth-child(3) > span:nth-child(5){
	font-size: 16pt;
	color: #fff;
	display: block;
}

.contacts > div:nth-child(3) > span:nth-child(6){
	font-size: 32pt;
}

@media (max-width: 800px) {
  img{
  	height: auto;
  }
  img, iframe{
  	width: 100%;
  	object-fit: contain;
  }
  .page{
  }
  .main {
    font-size: 32pt;
  }
  .title{
    padding-top: 0;
  }
  .subtitle{
    font-size: 14pt;
    width: auto;
  }
  .text{
    font-size: 12pt;
  }
  .contacts{
    flex-direction: column;
  }
}
