:root {
  --base-font: Work Sans, Arial, Helvetica, sans-serif;
  --blue: #004cbe;
  --brown: #794c2c;
  --black: #000;
  --dark: rgba(0, 0, 0, 0.3);
  --gray: #777;
  --green: #2ec27e;
  --highlight: #be7c4d;
  --light: #f8f8f8;
  --medium: #b5bad0;
  --ocre: #be7c4d;
  --radius: 0.4rem;
  --radius2: 1rem;
  --shadow: rgba(0, 0, 0, 0.2);
  --text: #3a3b3f;
  --white: #fff;
  --button: #87a878;
  --dark-green: #87a878;
  --dark-blue: #173359;
}

* {
  box-sizing: border-box;
  font-size: 1rem;
}

html {
  font-size: calc(60% + 0.8vmin);
}

body {
  font-family: var(--base-font);
  margin: 0;
}

h1 {
  color: var(--blue);
  font-size: 2.2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

h1,
h4 {
  margin: 0;
}

a {
  color: var(--dark-blue);
  font-weight: bold;
  text-decoration: none;
}

img {
  max-width: 100%;
}

address {
  font-style: normal;
}

blockquote {
  border-bottom: 2px solid var(--light);
  border-top: 2px solid var(--light);
  color: var(--ocre);
  font-size: 2rem;
  font-weight: bolder;
  margin: 2rem 0;
  padding: 2rem;
  text-align: center;
  width: 100%;
}

p {
  color: var(--text);
  opacity: 0.8;
}

input,
button,
textarea,
select {
  font-family: var(--base-font);
}

.aside {
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.aside section {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
}
.aside h4 {
  opacity: 0.4;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
}
.aside strong {
  color: var(--dark-blue);
}
.aside img {
  object-fit: cover;
  width: 100%;
}
.aside .icon {
  background-position: center;
  background-size: contain;
  border-radius: 3rem;
  height: 3rem;
  width: 3rem;
}
.aside .icp {
  object-fit: contain;
}
.aside .valid {
  background-color: var(--green);
  color: #fff;
  font-size: 1rem;
  margin-top: -1rem;
  padding: 0.5rem 0;
  text-align: center;
  text-transform: uppercase;
}
.aside .barcode {
  background-color: #fff;
}

.info-box {
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  min-height: 400px;
  position: relative;
  width: 55rem;
}
.info-box::before {
  background: url(/images/ide.svg) center;
  background-size: contain;
  content: "";
  display: block;
  height: 6rem;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 6rem;
}
.info-box::after {
  background: transparent;
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.info-box h1 {
  color: var(--dark-blue);
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
  margin: 1rem 0;
}
.info-box h3 {
  margin: 0;
}
.info-box footer {
  font-size: 0.8rem;
}

.footer {
  background: #eee;
  display: flex;
  gap: 1rem;
}
.footer strong {
  font-size: 0.8rem;
}
.footer p {
  font-size: 0.8rem;
  margin: 1rem;
  position: relative;
  text-align: center;
  z-index: 2;
}
.footer p a {
  color: var(--blue);
  font-size: 0.8rem;
}
.footer .buttons {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}
.footer .buttons a {
  align-items: center;
  background: var(--blue);
  color: white;
  display: flex;
  padding: 0.5rem;
  position: relative;
  transition: filter 0.2s;
  z-index: 2;
}
.footer .buttons a:hover {
  filter: brightness(1.1);
}

.home {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: grid;
  height: 100vh;
  place-items: center;
  text-align: center;
  transition: all 0.2s;
  width: 100vw;
}
.home .flex {
  display: flex;
}
.home .content p,
.home .content a {
  color: #fff;
}
.home .content input {
  border: 0;
  font-size: 1.5rem;
  padding: 1rem;
  width: 40rem;
}
.home .content input:focus {
  outline: 2px solid var(--medium);
}
.home .content input::placeholder {
  color: var(--medium);
}
.home .content .button {
  align-items: center;
  display: flex;
  background-color: var(--button);
  color: #fff;
  font-size: 1.25rem;
  padding: 1rem;
  text-transform: uppercase;
  transition: background-color 0.2s;
}
.home .content .button:hover {
  background-color: var(--green);
}
.home .options {
  display: flex;
}
.home .options button {
  background-color: rgba(0, 0, 0, 0.2);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--base-font);
  font-weight: bold;
  padding: 1rem;
  font-size: 1rem;
  transition: background-color 0.2s;
  width: 100%;
}

.page {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  height: 100vh;
  place-items: center;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 2fr;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.invalid {
  display: grid;
  height: 400px;
  max-height: 80vh;
  place-items: center;
  text-align: center;
}
.invalid h1 {
  margin: 0;
}
.invalid i {
  font-size: 15vh;
  opacity: 0.1;
}

.data {
  display: flex;
  flex-direction: column;
}
.data span {
  color: var(--dark-blue);
}
.data strong {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
