@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900');

* {
  box-sizing: border-box;
}

:root {
  --color-primary: #002A42;
  --color-accent: #FBA841;
  --color-text-light: #ffffff;
  --color-text-dark: black;
  --color-link-dark: #1979B4;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background-color: white;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-size: 14px;
  height: 100%;
}

h1 {
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding-left: 160px;
  padding-right: 20px;
  display: inline-block;
  margin-top: 0;
  margin-bottom: 1em;
}

h2 {
  color: var(--color-primary);
  margin: 0px;
  font-size: 20px;
}

a {
  color: var(--color-text-light);
  text-decoration: underline;
}

a:hover {
  color: var(--color-accent);
}

a.active {
  color: var(--color-accent);
  text-decoration: none;
  cursor: default;
}

.link-button {
  background-color: var(--color-accent);
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
  height: fit-content
}

.link-button a {
  color: var(--color-primary);
  text-decoration: none;
  display: inline-block;
  padding: 12px 20px;
}

.link-button a:hover {
  text-decoration: underline;
}

main {
  width: 100%;
  line-height: 1.6;
  color: var(--color-text-dark);
  flex: 1;
  margin: 0 auto;
  padding-top: 28px;
  background-image: url('../img/background.png');
  background-position: top center;
  background-repeat: no-repeat;
}

@media (min-width: 1600px) {
  main {
    background-image: none;
  }
}

main section {
  margin: 0 160px 0px 160px;
  display: flex;
  gap: 30px;
  flex-direction: column;
  margin-bottom: 30px;
}

main section.wide {
  margin: 0 20px 0 20px;
}

main section > p {
  margin-top: 0;
  margin-bottom: 0;
}

footer {
  margin-top: 40px;
  height: 44px;
  background-color: var(--color-primary);
  flex: 0 0 auto;
}

.panel .header {
  background-color: #002A42;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 15px;
}

.panel .header .title {
  flex: 1;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 24px;
}

.panel .content {
  padding: 0 30px 30px 30px;
  box-sizing: border-box;
  border-left: 1px solid #DCE3EB;
  border-right: 1px solid #DCE3EB;
  border-bottom: 1px solid #DCE3EB;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;
}

.number {
  background-color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
Most styles for site-header are in the site-header stylesheet, but we need this one here
so the site-header takes up the correct amount of space before its JS, CSS, and HTML load.
*/
site-header {
  min-height: 55px;
}