.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 2rem;
  margin-left: 2rem;
  padding-top: 80px;
  padding-bottom: 80px;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.5rem;
  font-size: 1rem;
}

.about {
  margin-top: 3rem;
}

.about h2 {
  text-align: center;
  font-weight: 400;
  font-size: 1.25rem;
}

.about p {
  margin-top: 1rem;
}

.buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  margin-top: 2rem;
}

.btn-legal {
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 9999px;
  font-size: 1rem;
  color: var(--primary-color);
}

.checkbox {
  margin-top: 1.5rem;
}

.agreement {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
}

.btn-agreement {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  font-size: 1.5rem;
  color: #fff;
}

.btn-agreement:active {
  background-color: #80ad00;
}

/* modal
------------------------------------------------*/

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 105;
  overflow: hidden;
  outline: 0;
  --modal-margin: 0.5rem;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.modal.show {
  display: block;
}

.modal.fadeInOut {
  opacity: 1;
}

.modal-dialog {
  width: auto;
  height: calc(100% - var(--modal-margin) * 2);
  min-height: calc(100% - var(--modal-margin) * 2);
  display: flex;
  align-items: center;
  margin: var(--modal-margin);
  pointer-events: none;
  transform: translate(0, -50px);
  transition: transform 0.3s ease-out;
}

.modal.slideInOut .modal-dialog {
  transform: none;
}

.modal-content {
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.175);
  border-radius: 0.5rem;
  overflow: hidden;
  outline: 0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 1rem;
}

.btn-close {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  padding: 0.25rem;
  background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
    center / 1em auto no-repeat;
  box-sizing: content-box;
  border: 0;
  color: #000;
  opacity: 0.5;
}

.modal-body {
  flex: 1 1 auto;
  padding: 1rem;
  overflow-y: auto;
}

/**
 * backdrop
 */

.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.15s linear;
}

.modal-backdrop.show {
  display: block;
}

.modal-backdrop.fadeInOut {
  opacity: 1;
}

@media (min-width: 576px) {
  .container {
    width: 100%;
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
  }

  .modal-dialog {
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (hover: hover) {
  .btn-legal:hover {
    background-color: rgba(153, 204, 0, 0.05);
  }

  .btn-agreement:hover {
    background-color: #97c900;
  }
}

@media (hover: none) {
  .btn-legal:active {
    background-color: rgba(153, 204, 0, 0.05);
  }

  .btn-agreement:active {
    background-color: #97c900;
  }
}
