﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

img {
  max-width: 100%;
}

#wrapper {
  position: relative;
  max-width: 465px;
  margin: 12px auto;
  border: 1px solid #015399;
  padding: 16px;
  overflow: hidden;
  text-align: left;
  font-size: 16px;
  line-height: 20px;
  color: #200E00;
  font-family: 'Roboto', sans-serif;
  background: #fff url('background.jpg') no-repeat bottom left;
  background-size: 100%;
}

header {
  position: absolute;
  top: 16px;
  right: 16px;
}

article {
  margin: 0;
  padding: 0;
}

footer {
  margin: 0;
  padding: 0;
}


p {
  margin: 0 0 0;
  padding: 0;
}

h1,
h3 {
  margin: 12px 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.25;
  color: #2442A2;
}

h2 {
  margin: 0 0 16px 0;
  font-size: 19px;
  line-height: 1.3;
  color: #03539C;
}


h4 {
  font-size: 19px;
  line-height: 1.3;
  font-style: italic;
  margin-top: 9px;
  color: #03539C;
}

a {
  color: #200E00;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.qrcode {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.qrcode div {
  flex: 1 1 0;
}

@media all and (max-width:465px) {
  #wrapper {
    padding: 16px;
    border: none;
  }

  header {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 9px;
  }

  br {
    display: none;
  }

  footer br {
    display: inline;
  }
}

@media all and (max-width:365px) {
  .qrcode {
    flex-direction: column;
    align-items: center;
  }
}