/* CSS RESET - curtosy of https://piccalil.li/blog/a-modern-css-reset/ */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box; }

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0; }

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none; }

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth; }

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--color-grey-dark-1);
  background-origin: content-box;
  background-image: linear-gradient(to right bottom, var(--baby-powder), var(--aero-light-blue)), url(./img/BackgroundWave.jpg);
  background-size: cover;
  background-repeat: no-repeat; }

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto; }

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block; }

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit; }

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important; } }

/* END RESET */
:root {
  --color-grey-light-1: #faf9f9;
  --color-grey-light-2: #f4f2f2;
  --color-grey-light-3: #f0eeee;
  --color-grey-light-4: #ccc;
  --color-grey-dark-1: #333;
  --color-grey-dark-2: #777;
  --color-grey-dark-3: #999;
  --shadow-dark: 0 2rem 6rem rgba(0,0,0,.3);
  --shadow-light: 0 2rem 5rem rgba(0,0,0,.06);
  --line: 1px solid var(--color-grey-light-2);
  /* CSS HEX */
  --aero-light-blue: #8eb8e5cc;
  --eerie-black: #141414;
  --blue-pantone: #0d21a1;
  --oxford-blue: #011638;
  --baby-powder: #fefffdcc;
  --off-white: #feffef; }

html {
  font-size: 62.5%; }
  @media only screen and (max-width: 68.75em) {
    html {
      font-size: 50%; } }

.container {
  display: grid;
  font-size: 2rem;
  justify-items: center;
  grid-template-columns: 100%;
  grid-row-gap: 1.5rem;
  grid-column-gap: 2rem; }

.flash {
  display: flex;
  align-items: center;
  background-color: #f7f499;
  border: 1px solid #333;
  padding: 2rem;
  font-size: 2rem; }

.flash_hide {
  float: right;
  cursor: pointer;
  font-weight: bold;
  font-size: 3rem;
  background: transparent;
  border: none;
  margin-left: auto; }

nav {
  background: var(--oxford-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  width: 100%; }
  @media only screen and (max-width: 37.5em) {
    nav {
      align-items: baseline; } }

nav a h1 {
  flex: auto;
  margin: 0.5rem;
  color: var(--off-white);
  font-size: 2rem;
  font-weight: 700; }

nav a h1 {
  text-decoration: none;
  padding: 0.25rem 0.5rem; }

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0; }
  @media only screen and (max-width: 37.5em) {
    nav ul {
      flex-direction: column;
      align-content: flex-end; } }

nav ul li {
  text-align: right; }

nav ul li a, nav ul li span, header .action {
  display: block;
  padding: 0.5rem; }

nav ul li a {
  text-decoration: none;
  color: var(--off-white);
  font-size: 1.6rem; }

nav ul li a:hover {
  background: var(--blue-pantone); }

nav .icon {
  display: none;
  color: var(--off-white);
  font-size: 2.5rem; }
  @media only screen and (max-width: 37.5em) {
    nav .icon {
      display: block; } }

.nav_item {
  display: block; }
  @media only screen and (max-width: 37.5em) {
    .nav_item {
      display: none; } }

.home__headshot {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 50%;
  margin-top: 2rem; }

.home__text {
  margin: 0 2rem;
  text-align: center; }

.home__socmed {
  min-width: 150px;
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 1rem; }
  .home__socmed--link {
    color: inherit;
    text-decoration: none; }

.icon-small {
  /*display: inline-block;*/
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor; }

.inv__text {
  margin: 0 2rem; }

.inv__container {
  margin-top: 1rem;
  display: grid;
  font-size: 2rem;
  justify-items: start;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem 2rem; }
  @media only screen and (max-width: 37.5em) {
    .inv__container {
      grid-template-columns: 1fr;
      justify-items: center; } }

.inv__item {
  display: flex;
  flex-direction: row; }

.inv__item_right {
  display: flex;
  flex-direction: row;
  justify-self: end; }
  @media only screen and (max-width: 37.5em) {
    .inv__item_right {
      justify-self: center; } }

.inv__form-group {
  grid-column: 1 / span 2;
  display: flex;
  flex-direction: row;
  justify-content: center; }
  @media only screen and (max-width: 37.5em) {
    .inv__form-group {
      grid-column: 1;
      flex-direction: column;
      justify-self: center; } }

.inv__form-input {
  margin: 1rem 1rem; }

.ui-menu-item {
  font-size: 2rem; }

.inv__form-label {
  text-align: center;
  margin: 1rem 2rem; }

.inv__form-button {
  margin: 1rem; }

.cards__container {
  margin-top: 1rem;
  display: grid;
  font-size: 2rem;
  justify-items: center;
  grid-template-columns: 1fr;
  gap: 1rem; }

.cards__header {
  justify-content: center;
  font-size: 2rem; }

.cards__table {
  border-collapse: collapse;
  width: 95%; }
  .cards__table th {
    text-align: left;
    border-bottom: 1px solid; }
  .cards__table td.center {
    text-align: center; }
  .cards__table th.center {
    text-align: center; }
