@font-face {
    font-family: OpenSans;
    src: url(/assets/fonts/OpenSans-Regular.woff2);
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: OpenSans;
    src: url(/assets/fonts/OpenSans-Bold.woff2);
    font-weight: bold;
    font-display: swap;
}

body {
    color: hsl(0, 0%, 29%);
    font-family: OpenSans, Helvetica, Arial, sans-serif;
    margin: 0;
}

header {
    background-color: #294D73;
    color: #fcfcfc;
    padding: .75rem 1.25rem;
}

header > div {
    margin: auto;
    max-width: 740px;
    width: auto;
  }

header > img {
    max-width: .50vw;
}

main, footer {
  margin: auto;
  max-width: 740px;
  padding: 2rem 1.25rem;
  width: auto;
}

.results {
  margin-bottom: 2rem;
}

.results.error {
  color: red;
}

.results.mullvad {
  background-image: url("/assets/images/check-mark.svg");
  background-repeat: no-repeat;
  background-size: 3rem;
  min-height: 3rem;
  padding-left: 4rem;
}
.results.not-mullvad {
  background-image: url("/assets/images/cross-mark.svg");
  background-repeat: no-repeat;
  background-size: 3rem;
  min-height: 3rem;
  padding-left: 4rem;
}

.results p {
  margin: 0;
}

a {
    color: #fcfcfc;
}

.button {
    padding: 1rem;
    display: inline-block;
    text-decoration: none;
    font-size: 1.3rem;
    background-color: #44AD4D;
    color: #fcfcfc;
    border-radius: 5px;
    box-shadow: 0 0.7rem 0 -0.3rem rgba(0, 0, 0, .05);
    font-weight: bold;
}

.button:hover {
    background-color: #3b9943;
}
