﻿@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: local(''), url('../fonts/inter-v12-latin-regular.woff2') format('woff2'), url('../fonts/inter-v12-latin-regular.woff') format('woff');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: local(''), url('../fonts/inter-v12-latin-700.woff2') format('woff2'), url('../fonts/inter-v12-latin-700.woff') format('woff');
}

:root {
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Inter', Arial, sans-serif;
  color: #707071;
  text-align: left;
  font-weight: 400;
}

#wrapper {
  position: relative;
  max-width: 865px;
  margin: 0.75rem auto;
  border: 1px solid #707071;
  padding: 0;
  overflow: hidden;
  background-color: #fff;
}

h1 {
  margin: 1rem 0;
  font-size: 1.6875rem;
  line-height: 1.25;
  font-weight: 700;
  color: #005F89;
}

h1 strong {
  display: block;
  font-size: 5.25rem;
  line-height: 1;
}

h2 {
  margin: 0.1875rem 0;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: #005F89;
}

h3 {
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.25rem;
  padding: 0;
}

p:last-of-type {
  margin-bottom: 0rem;
}

header {
  margin: 0;
  padding: 0;
}

article {
  margin: 0;
  padding: 2.625rem 4.125rem;
  position: relative;
}

footer {
  margin: 0;
  padding: 0.75rem 1rem;
  text-align: center;
  background-color: #005F89;
  color: #fff;
  text-align: center;
}

aside {
  position: relative;
}

aside figure {
  position: absolute;
  top: 0.3125rem;
  right: 0.3125rem;
  margin: 0;
}

footer span {
  white-space: nowrap;
}

footer a {
  color: #fff;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: #707071;
  text-decoration: none;
  white-space: nowrap;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 0 0 0.875rem;
  padding: 0;
  text-align: left;
  list-style: none;
}

ul li {
  background: url('../images/icon.jpg') 0 8px no-repeat;
  padding-left: 1.375rem;
}

@media all and (max-width:865px) {
  #wrapper {
    margin: 0;
    padding: 0;
    border: none;
  }

  h1 {
    font-size: 1.5625rem;
  }

  h1 strong {
    font-size: 10vw;
  }

  br {
    display: none;
  }

  footer br {
    display: inline;
  }
}

@media all and (max-width:47.9375rem) {
  article {
    margin: 0;
    padding: 1.25rem 1rem;
    position: relative;
  }

  aside figure {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 1.25rem 0;
  }

  h1 {
    font-size: 1.25rem;
  }
}