@import url("https://meyerweb.com/eric/tools/css/reset/reset.css");


/****************************************************************
 *
 *  GLOBAL
 *  
 ****************************************************************/


html {
	font-size: 62.5%; 
}

body {
	
	font-family: 'Rubik', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Noto Sans", "Ubuntu", "Droid Sans", "Helvetica Neue", sans-serif;

	font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;

	-webkit-font-feature-settings: "kern";
  font-feature-settings: "kern";
  -webkit-font-kerning: normal;
  font-kerning: normal;
  font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  
  text-shadow:1px 1px 1px rgba(0,0,0,.004);
  text-rendering: optimizeLegibility;
  
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;

	color: white;
	background: #1446A0;
	min-height: 100vh;
	overflow-x: hidden;	

}


/****************************************************************
 *
 *  HELLO
 *  
 ****************************************************************/


/* Первый экран: секция во всю высоту, левый текст + правый блок
   в обычном потоке — скроллятся вместе, футер идёт следом. */
.home {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 4vw;
	padding: 10rem 7vw 6rem;
	overflow: hidden;
}

.home canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background: #1446A0;
}

.hello {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-width: 0;
	color: white;
}

.hello > div {
	max-width: 100%;
}

.hello__title {
	font-size: clamp(2.6rem, 8vw, 6.4rem);
	font-weight: 600;
	margin-bottom: 3.6rem;
}

.hello__title span {
	border-radius: 0.2rem;
	border-top: 1rem solid #7E9ACB;
}

.hello__description {
	font-size: clamp(1.7rem, 2.4vw, 2.4rem);
	max-width: 34rem;
}

/****************************************************************
 *
 *  APPS LIST
 *  
 ****************************************************************/


.apps-list {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 40vw;
	min-width: 32rem;
	max-width: 44rem;
	border-radius: 2.4rem;
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	background: white;
	color: black;
}

.apps-list__item {
	width: 100%;
	text-align: center;
	padding: 3.6rem 0;
	margin: 0 3.6rem;
	border-bottom: 0.1rem solid #E5E5EA;
}

.apps-list__item:last-child { 
	border: 0; 
}

.apps-list__app-icon {
	border-radius: 1.2rem;
	margin-bottom: 2.2rem;
	width: 9.6rem;
	height: 9.6rem;
}

.apps-list__title {
	font-size: 2.4rem;
	font-weight: 500;
	line-height: 1.1;
	margin-bottom: 0.8rem;
}

.apps-list__description {
 	color: #8E8E93; 
	margin-bottom: 1.8rem;
}

.apps-list__link {
	display: block;
	margin-top: 1.8rem;
}

.apps-list__store-badge {
	height: 4.8rem;	
	margin: 0.6rem;
}

.apps-list a {
	color: #1446A0;
	text-decoration: none;
}

.apps-list a:hover { 
	text-decoration: underline; 
}


/****************************************************************
 *
 *  MEDIA QUERIES
 *  
 ****************************************************************/


@media screen and (max-width: 60em) {
	.home {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0;
		min-height: 0;
	}
	.hello {
		flex: none;
		text-align: center;
		padding: 13rem 6vw 7rem;
	}
	.hello__description {
		max-width: none;
	}
	.apps-list {
		flex: none;
		width: 100%;
		max-width: none;
		min-width: 0;
		border-radius: 0;
	}
}
