.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 0px 45px;
	margin-left: 60px;
	margin-right: 60px;
}

/* ОСНОВА САЙТА */

main {
	background-color: var(--substrate);
	height: fit-content;
}

/* ИНТЕРФЕЙС */

.user-agreement {
	color: var(--accent);
}

.user-agreement-footer {
	grid-column: 1 / 8;
	font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;

  font-weight: 600;
  font-size: calc(14px + 2 * (100vw / 1440));
  line-height: 1.1em;
  letter-spacing: 0.06em;
}

#ui {
	z-index: 30;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	pointer-events: none;
}

.loading-circle__background {
	position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 30;
}

.loading-circle {
	display: none;
	opacity: 0;
	position: fixed;
	left: 50%;
	margin-left: -65px;
	top: 40%;
}

/* навигационная панель */

.nav-wrapper {
	grid-column: 12 / 13;
	grid-row: 1 / 4;
}

#nav {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.navmenu {
	display: flex;
	position: relative;
	right: 0;
	flex-direction: column;
	width: fit-content;
}

.navline {
	align-self: center;
	background-color: var(--not-active2);
	height: 13vh;
	width: 2.5px;
	border-top-style: solid;
	border-top-width: 0vh;
	border-top-color: var(--accent);
}

.bracket-line {
	height: 21vh;
}

.navpoint {
	margin-top: -5px;
	margin-bottom: -4px;
	pointer-events: all;
	width: 37px;
	height: 33px;
}

.navstar {
	pointer-events: none;
	width: 37px;
	height: 33px;
}

.nav-description {
	display: none;
}

.nav-description__wrapper {
	text-decoration: none;
	color: var(--main)
}

#point-6 {
	height: 0;
}

/* ЗАГОЛОВОК САЙТА (И ХВОСТ) */

#head {
	padding-top: 190px;
	height: 100vh;
	min-height: 1024px;
	grid-template-rows: auto auto;
	grid-auto-flow: column;
}

#tail {
	height: 100vh;
	max-height: 1024px;
	min-height: 1000px;
}

.tail-coloriser {
	background-color: var(--back);
}

.head-coloriser {
	background-color: var(--back);
	border-radius: 80px;
	margin-top: -80px;
	height: fit-content;
	margin-bottom: 10vw;
}

.title {
	background-color: var(--accent);
	border-radius: 30px;
	margin-left: -1400px;
	grid-column: 7 / 12;
	height: 100%;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}

#tail-title {
	margin-top: 100px;
	height: 70%;
}

.tail__flex-wrapper {
	display: flex;
	justify-content: center;
	grid-column: 1 / 5;
	grid-row: 1 / 3;
	height: 95%;
}

#phone-4 {
	margin-top: 50px;
}

.title > img {
	width: 48.8vw;
	padding-right: 5%;
	padding-left: 2%;
}

.phone-wrapper {
	display: flex;
	justify-content: center;
	grid-column: 1 / 6;
	grid-row: 1 / 3;
	height: 100%;
}

.phone-wrapper__flex {
	position: relative;
	width: 100%;
	max-width: 510px;
}

#phone-1 {
	position: absolute;
	width: 85%;
	top: 50px;
	max-width: 500px;
}

#phone-2 {
	position: absolute;
	width: 74%;
	right: 0;
	top: 280px;
	max-width: 440px;
}

#phones-mobile {
	display: none;
}

.download-wrapper {
	position: relative;
	grid-column: 7 / 12;
	height: fit-content;
	top: 10%;
}

.download-description {
	background-color: var(--substrate);
	border-radius: 22px;
}

#download-2 {
	background-color: var(--substrate);
	border-radius: 22px;
	grid-column: 6 / 12;
	height: 250px;
	display: flex;
	min-width: 530px;
	flex-direction: column;
	justify-content: center;
	row-gap: 30px;
}

#download-2 h2 {
	padding: 0;
	text-align: center;
}

#download__buttons-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	column-gap: 30px;
	row-gap: 15px;

	justify-items: center;
	align-items: center;
	margin-left: 15px;
	margin-right: 15px;
}

.download__button {
	width: 100%;
	max-width: 170px;
	max-height: 51px;
}

.download__image {
	width: 100%;
	height: 100%;
	object-fit: fill;
}

/*#download__buttons-wrapper .download__button:last-child {
	grid-column: 1 / 3;
	grid-row: 2 / 3;
}*/

.download h2 {
	font-family: 'Raleway', sans-serif;
	font-size: calc(20px + 20 * (100vw / 1440)); 
	line-height: 1em;
	letter-spacing: 0.05em;
	font-weight: bold;
	padding-left: 40px;
	padding-top: 40px;
	padding-right: 40px;
}

.download-description > p {
	font-family: 'Raleway', sans-serif;
	font-size: calc(16px + 4 * (100vw / 1440));
	font-weight: 600;
	letter-spacing: 1px;
	padding-top: 20px;
	padding-bottom: 30px;
	padding-left: 40px;
}

.download-anchor {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 10px;
	margin-top: 40px;
	margin-bottom: 0px;
	background-color: var(--accent);
	width: 100%;
	height: 61px;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.download-anchor p {
	color: var(--back);
	font-family: 'Raleway', sans-serif;
	font-size: calc(16px + 8 * (100vw / 1440));
	font-weight: 500;
	letter-spacing: 2px;
	text-align: center;
}

/* ПРЕИМУЩЕСТВА */

/* заголовок */

.overflow-wrapper {
	grid-column: 1 / 11;
	overflow: hidden;
}

.overflow-wrapper h2 {
	font-family: "Wremena Bold", sans-serif;
  font-size: calc(28px + 36 * (100vw / 1440));
  letter-spacing: 0.1em;
  line-height: 1em;
	margin-bottom: 80px;
	opacity: 1;
}

.pre-title {
	display: block;
	font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: calc(15px + 21 * (100vw / 1440));
  letter-spacing: 2px;
  line-height: 1em;
}

/* sticky телефон */

#our-advantage aside {
	grid-column: 1 / 5;
}

#phone-3 {
	position: sticky;
	left: 7%;
	top: 130px;
	height: 70vh;
}

/* плашки с преимуществами */

#advantages {
	display: flex;
	grid-column: 5 / 11;
	flex-direction: column;
	align-items: center;
	row-gap: 20px;
}

#advantages-mobile {
	display: none;
	row-gap: 20px;
	align-items: center;
	flex-direction: column;
}

.description-item,
.description-item-mobile {
	background-color: var(--accent);
	color: var(--substrate);
	border-radius: 22px;
	width: 65%;
}

.description-item dt,
.description-item-mobile dt {
	padding-top: 80px;
	padding-left: 10%;
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
	font-size: calc(20px + 2 * (100vw / 1440));
	letter-spacing: 2px;
	width: 95%;
}

.description-item dt {
	padding-bottom: 1vw;
}

.description-item dd,
.description-item-mobile dd {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: calc(15px + 5 * (100vw / 1440));
	letter-spacing: 2px;
	opacity: 0;
	padding-left: 10%;
	margin-top: -3%;
	width: 95%;
	height: 60px;
}

.see-more-arrow,
.see-more-arrow-mobile {
	padding-left: 10%;
	padding-bottom: 5%;
}

#horn {
	position: relative;
	bottom: 0;
	margin-top: 4vw;
	height: fit-content;
	width: 100%;
	z-index: 0;
}

.rustore {
	grid-column: 1 / -1;
}