﻿* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #200e00;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

#wrapper {
  max-width: 750px;
  margin: 16px auto;
  border: 4px solid #e5e5e5;
  background-color: #fff;
  overflow: hidden;
}

.border {
  border: 6px solid #0a0d0e;
  border-left-width: 20px;
  border-right-width: 20px;
  position: relative;
  display: flex;
  padding: 10px;
  align-items: flex-end;
  gap: 20px;
}

header {
  position: absolute;
  top: 16px;
  right: 16px;
}

article {
  padding: 0 16px 0 0;
  flex: 1 1 0;
  border-right: 3px solid #e8e8e9;
}

article p:last-of-type {
  margin: 0;
}

footer {
  width: 280px;
}

.color {
  font-size: 17px;
  line-height: 1.4;
  display: block;
  color: #217ab9;
}

.color a {
  color: #217ab9;
}

p {
  margin: 0 0 22px;
}

h1 {
  margin: 22px 0;
  font-size: 25px;
  line-height: 30px;
  font-weight: 700;
}

h1 small {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  margin: 0 0 6px;
}

h2 {
  margin: 32px 0 64px;
  font-size: 38px;
  line-height: 42px;
  font-weight: 700;
}

h3 {
  margin: 52px 0 0;
  font-size: 19px;
  line-height: 18px;
  font-weight: 700;
  color: #217ab9;
  word-spacing: -2px;
}

a {
  color: #200e00;
  text-decoration: none;
}

ul {
  margin: 0 0 10px;
  list-style: none;
}

ul li {
  padding-left: 20px;
}

li:before {
  content: '\2022';
  color: #200e00;
  float: left;
  font-size: 25px;
  text-indent: -20px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

@media all and (max-width: 750px) {
  #wrapper {
    margin: 0;
    border: none;
    hyphens: auto;
  }

  .border {
    padding: 16px;
    gap: 16px;
  }

  br:not(footer br) {
    display: none;
  }
}

@media all and (max-width: 695px) {
  .border {
    border: none;
    flex-direction: column;
    align-items: center;
  }

  header {
    position: static;
  }

  article {
    border-right: none;
    padding-right: 0;
  }

  :is(h1, h2, h3, p) {
    text-align: center;
  }

  h2 {
    margin: 16px 0 32px;
  }

  h3 {
    margin: 16px 0 0;
  }
}