@font-face {
  font-family: 'Montserrat';
  src: url('../montserrat.woff2') format('woff2'),
  url('../montserrat.woff') format('woff');
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
}

body {
  overflow-x: hidden;
  background-color: #fff;
  font: 100%/1 'Montserrat' ,sans-serif;
  color: #121212;
}

header {
  margin-bottom: 3rem;
  background-color: #121212;
  text-align: center;
}

h1 {
  padding: 3rem 1rem;
  line-height: 1.4;
  font-size: 1.6rem;
  color: #dae0e0;
}

h1 a {
  color: #ffc629;
}

h1 a:focus,
h1 a:hover {
  outline: 2px dotted;
}

.accordion-group {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 2rem;
}

@media screen and (max-width: 769px) {
  .accordion-group {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
}

.accordion {
  width: 400px;
  margin: 1rem;
  border: 1px solid #dae0e0;
}

@media screen and (max-width: 769px) {
  .accordion {
    width: 100%;
    margin: 1rem 0;
    border-right: 0;
    border-left: 0;
  }
}

.accordion h3 {
  margin: 0;
  padding: 0;
}

.accordion > * + * {
  border-top: 1px solid #dae0e0;
}

.accordion-trigger {
  position: relative;
  width: 100%;
  display: block;
  margin: 0;
  padding: 1rem 1.5rem;
  background: none;
  border-style: none;
  text-align: left;
  font: 100%/1 'Montserrat' ,sans-serif;
  font-size: 1rem;
  font-weight: normal;
  color: #121212;
  outline: none;
  cursor: pointer;
}

.accordion-trigger:focus,
.accordion-trigger:hover {
  position: relative;
  z-index: 2;
  outline: 2px dotted;
  background-color: hsl(0deg 0% 97%);
  color: hsl(216deg 94% 43%);
}

.accordion-trigger::after {
  content: "";
  border: solid currentcolor;
  border-width: 0 2px 2px 0;
  height: 0.5rem;
  pointer-events: none;
  position: absolute;
  right: 2em;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  width: 0.5rem;
}

.accordion-trigger:focus::after,
.accordion-trigger:hover::after {
  border-color: hsl(216deg 94% 43%);
}

.accordion-trigger[aria-expanded="true"] {
  background-color: hsl(0deg 0% 97%)
}

.accordion-trigger[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(-135deg);
}

.accordion button::-moz-focus-inner {
  border: 0;
}

.accordion-title {
  display: block;
  pointer-events: none;
  border: transparent 2px solid;
  border-radius: 5px;
  padding: .25rem;
  outline: none;
}

.accordion-panel {
  margin: 0;
  padding: 2.5rem;
}

.accordion-panel p {
  line-height: 1.3;
}

/* For Edge bug https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4806035/ */
.accordion-panel[hidden] {
  display: none;
}
