/* 
  http://meyerweb.com/eric/tools/css/reset/ 
  v2.0 | 20110126
  License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
  display: block;
}

/* END CSS RESET */

:root {
  --background-color: #022E5F;
  --heading-highlight: #EE4D3B;
  --text-color: #FFFFFF;
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-size: 20px;
  font-family: 'Kanit', Arial, Helvetica, sans-serif;
  font-weight: 300;
  min-width: 320px;
  line-height: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-weight: 600;
  font-size: 4rem;
  line-height: 4.6rem;
}

.highlight-heading {
  color: var(--heading-highlight);
}

.logo {
  margin: 48px 48px 0 48px;
  align-self: flex-start;
}

.main-container {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: auto;
  gap: 24px;
  margin: 60px;
  padding-bottom: 32px;
}

.right-column,
.left-column {
  flex: 1;
  width: 100%;
}

.right-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.description {
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.9;
}

.links {
  display: flex;
}

.links>* {
  flex: 1;
}

.links>*+* {
  margin-left: 32px;
}

.qr-code-wrapper>img {
  mix-blend-mode: lighten;
}

.img-link {
  max-width: 100%;
  height: auto;
}

.img-phone {
  object-fit: contain;
  max-width: 90%;
}

.store-buttons {
  flex-direction: column;

  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.mt {
  margin-top: 2rem;
}

.support {
  display: inline-block;
  color: var(--text-color);
  text-decoration: none;
  opacity: 0.5;
}

.support:hover {
  text-decoration: underline;
}

.background-container {
  position: fixed;
  z-index: -1;
  right: -50vh;
  width: 100vh;
  height: 100vh;
}

.store-link {
  max-height: 65px;
}

@media only screen and (min-width: 2000px) {
  .main-container {
    max-width: 1200px;
  }

  #qrcode {
    width: 200px;
    height: 200px;
  }

  .img-phone {
    height: 650px;
    width: 350px;
  }

  .store-link {
    max-height: initial;
  }
}

@media only screen and (max-width: 1150px) {
  .left-column {
    flex: 3;
  }

  .right-column {
    flex: 2;
  }
}

  @media only screen and (max-width: 650px) {
  body {
    font-size: 1rem;
    line-height: 1.6rem;
    overflow: hidden;
  }

  h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .logo {
    margin: 24px 24px 32px 24px;
    align-self: flex-start;
  }

  .main-container {
    margin: 0 24px;
  }

  .right-column,
  .left-column {
    flex: 0;
    flex-basis: 100%;
  }

  .right-column {
    margin-bottom: 32px;
    height: 60%;
    overflow-y: hidden;
    align-items: flex-start;
  }

  .links > * + * {
    margin-left: 16px;
  }

  .mt {
    margin-top: 1rem;
  }

  .img-phone {
    object-fit: contain;
    object-position: top;
  }

  .background-container {
    bottom: -70vh;
    right: auto;
  }
}