@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap");

:root {
  --black:  #333333;
  --gray75: #666666;
  --gray50: #999999;
  --gray25: #cccccc;
  --gray10: #eaeaea;
  --white:  #ffffff;
}

* {
  box-sizing: border-box;
	margin: 0;
  padding: 0;
}

html {
	font-size: 62.5%; /*base 10px*/
  height: 100%;    /*sticky footer*/
}

body  {
  display: flex;          /*sticky footer*/
  flex-direction: column; /*sticky footer*/
  height: 100%;          /*sticky footer*/
  font-family: Raleway, sans-serif;
	font-size: 1.5rem;
  font-weight: 300;
	line-height: 1.6;
	color: var(--black);
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 8.5rem;
  overflow: hidden;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray25);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main {
  flex: 1 0 auto; /*sticky footer*/
  text-align: justify;
  margin-top: 8.5rem;
}

main a {
  color: inherit;
  text-decoration: none;
  padding-bottom: .1rem;
  border-bottom: .1rem dotted var(--black);
  transition: opacity .5s;
}

main a:visited,
main a:hover,
main a:focus {
  opacity: .5;
}

footer {
  flex-shrink: 0; /*sticky footer*/
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
  background-color: var(--black);
}

nav ul,
footer ul {
  list-style: none;
  margin: 1rem 0;
}

nav ul li,
footer ul li {
  display: inline;
}

nav ul li a {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 .25rem;
  margin-left: 1.5rem;
  padding-bottom: .2rem;
  border-bottom: .1rem solid transparent;
  transition: border-bottom 1s;
}

nav ul li a:visited,
nav ul li a:hover,
nav ul li a:focus {
  border-bottom: .1rem solid var(--black);
}

footer ul li a {
  color: inherit;
  font-size: 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 .25rem;
  margin-left: 1rem;
  padding-bottom: .2rem;
  border-bottom: .1rem solid transparent;
  transition: border-bottom 1s;
}

footer ul li a:visited,
footer ul li a:hover,
footer ul li a:focus {
  border-bottom: .1rem solid var(--white);
}

footer ul.icons li a,
footer ul.icons li a:visited,
footer ul.icons li a:hover,
footer ul.icons li a:focus {
  color: inherit;
  font-size: 2rem;
  padding: 0 1rem;
  text-decoration: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.25;
  text-align: left;
  margin: 3rem 0;
}

h1 {
  font-size: 5rem; /*50px*/
  margin-top: 3rem;
}

h2 {
  font-size: 4.5rem; /*45px*/
}

h3 {
  font-size: 4rem; /*40px*/
}

h4 {
  font-size: 3.5rem; /*35px*/
}

h5 {
  font-size: 3rem; /*30px*/
}

h6 {
  font-size: 2.5rem; /*25px*/
}

p {
  margin: 0 0 2rem 0;
}

strong {
	font-weight: 700;
}

code {
  padding: .25rem .5rem;
  border-radius: .25rem;
  background-color: var(--gray10);
}

.container {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 0 0 2.5rem 0;
}

.row > * {
  flex: 1 1 25%;
  text-align: left;
  padding: 1rem;
  border: .1rem solid var(--gray25);
}

.logo {
  font-size: 5rem;
  margin-top: .5rem;
}

.lead {
  font-style: italic;
  font-size: 2.5rem;
  text-align: left;
  line-height: 1.4;
}

.error {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fadein {
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
     -moz-animation: fadein 2s; /* Firefox < 16 */
      -ms-animation: fadein 2s; /* Internet Explorer */
       -o-animation: fadein 2s; /* Opera < 12.1 */
          animation: fadein 2s;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 1200px) {}

@media (max-width: 992px) {}

@media (max-width: 768px) {}

@media (max-width: 576px) {
  .row {
    flex-direction: column;
  }
}
