@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

:root {
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
  --font-heading: "Merriweather", 'Times New Roman', Times, serif;
  --background: #212529;
  --white: #eeede9;
  --blue: #071a8c;
  --cyan: #4caac1;
  --purple: #a24bcf;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 5rem;
}

html {
  font-size: 18px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  margin: 0;

  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--white);
  text-align: center;
  line-height: 1.54;

  background: var(--blue);
  background: linear-gradient(316deg, var(--purple), var(--blue), var(--cyan));
  background-size: 600% 600%;
  -webkit-animation: background-change 45s ease infinite;
  -moz-animation: background-change 45s ease infinite;
  animation: background-change 45s ease infinite;
}

main {
  width: 100%;
  max-width: 680px;
  margin: 15px;
}

header {
  margin-bottom: 30px;
}

img {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  object-fit: cover;
  object-position: center;
}

h1 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: normal;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}

p {
  font-size: var(--text-base);
  margin: 0;
  margin-bottom: 30px;
  padding: 0;
}

ul {
  width: 100%;
  list-style-type: none;
  margin: 0;
  margin-bottom: 100px;
  padding: 0;
}

li {
  height: 3em;
  margin-bottom: 16px;
  font-size: var(--text-sm);
}

li:last-child {
  margin-bottom: 0;
}

a {
  display: flex;
  justify-content: center;
  align-items: center;

  height: 100%;
  color: var(--white);
  text-decoration: none;

  border: 1px solid var(--white);
  transition: background-color 250ms;
}

a:hover,
a:focus {
  background-color: var(--white);
  color: var(--blue);
}

a > b {
    margin: 0 .25rem;
    font-weight: bold;
}

/* hide text, visible to screen readers */
.sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* " + . + background animation + ' .. + */
@-webkit-keyframes background-change {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes background-change {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes background-change {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
