/* 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;
}

body {
  display: flex;
  background-color: #b0c173;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.container img {
  width: 80%;
  max-width: 600px;
  min-width: 100px;
  height: 100%;
  object-fit: contain;
}
.qrcode {
  width: 100%;
  height: 100px;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qrcode img {
  height: 80%;
  filter: invert(1);
}

@media only screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
  body {
    overflow: hidden;
  }
  .container {
    height: 100vh;
  }
  .qrcode {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    z-index: 1000;
    background-color: transparent;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .qrcode:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    background-color: black;
    z-index: 1000;
    transform: rotate(45deg);
    position: absolute;
    left: -100%;
    top: -100%;
  }
  .qrcode img {
    height: 65%;
    max-width: 600px;
    position: relative;
    z-index: 1001;
  }
}
@media (min-width: 992px) {
  .qrcode {
    width: 400px;
    height: 400px;
  }
}
