
.terms--complete {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(35,35,35, .95);
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 100000;
}

.terms--complete .block--container {
  background-color: white;
  padding: 4rem;
  border-radius: .5rem;
  width: 100%;
  max-width: 1280px;
  flex-direction: column;
}

.button + .button {
  margin-left: 1rem;
}

.button {
  padding: .75rem 1rem;
  box-shadow: none;
  border-radius: .25rem;
}

  .button:hover {
    box-shadow: none;
    background: var(--contrast);
    color: var(--compare-more);
  }

a.button {
  background: var(--color-6);
  color: var(--compare-more);
}


@media screen and (max-width: 480px) {
  .terms--complete {
    max-height: 100vh;
  }

  .terms--complete .block--container {
    transform: none;
    max-height: calc(85vh - 4rem);
    padding: 0;
    overflow-y: auto;

  }

  .terms--complete .block--container > * {
    padding: 1rem;
  }

  .terms--complete .block--container > div:last-of-type {
    position:sticky;
    width: 100%;
    bottom: 0;
    right: 0;
    left: 0;
    padding: .5rem;
    background: var(--compare-more);
    box-shadow: 0px -1px 3px rgba(35, 35, 35, .26);
    }
}

.terms--complete .block--container{
  max-height:80vh;
}

.terms--complete .department {
  overflow-y: auto;
}
