/* ------------------------ DIALOG AND SIMPLE BUTTON ------------------------ */

.veryBoldFont {
  font-weight: 900 !important;
}

.uppercase {
  text-transform: uppercase;
}

/* Experiment to try to prevent clipping */
svg {
  overflow: visible !important;
}

/* -------------------------------------------------------------------------- */
/*                                   DIALOG                                   */
/* -------------------------------------------------------------------------- */

.custom-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1999;
}

.custom-dialog {
  background-color: var(--light-colour);
  padding: 4vmin;
  border-radius: 1vmin;
  max-width: 90%;
  min-width: 500px;
  max-height: 95%;
  overflow-y: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.75vmin;
  color: var(--dark-colour);
  text-align: center;
  line-height: 2;
  text-wrap: balance;
  transition: background-color 0.25s ease-in;
}

.with-footer {
  padding: 4vmin 4vmin 0 4vmin !important;
}

.dialog-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-dialog .simpleButton {
  transition: background-color 0.25s ease-in;
}

.custom-dialog p {
  transition: color 0.25s ease-in;
  font-weight: 100;
}

.custom-dialog p:first-of-type {
  font-weight: 500;
  font-size: 2vmin;
}

.custom-dialog p:last-of-type {
  margin-bottom: 2vmin;
  font-size: 1.75vmin;
}

.dialogDivider {
  width: 50%;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 1);
  margin: auto;
  margin-top: 3vmin;
  margin-bottom: 3vmin;
}

.overlayTwoButtons {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 3vmin;
  column-gap: 3vmin;
}

.overlayTwoButtons .simpleButton {
  width: fit-content;
  min-width: 10vw;
  font-weight: 500;
}

.dialogGreenButton {
  background-color: var(--green-colour) !important;
}

.dialogRedButton {
  background-color: var(--red-colour) !important;
}

.dialogLink {
  color: var(--dark-colour);
  text-decoration: none;
  background-color: var(--white-colour);
  padding: 1vmin 2vmin;
  border-radius: 1vmin;
  box-shadow: rgba(0, 0, 0, 0.2) 0px -0.25vmin 0px inset;
}

/* -------------------------------------------------------------------------- */
/*                                SIMPLE BUTTON                               */
/* -------------------------------------------------------------------------- */

.simpleButton {
  background-color: var(--dark-colour);
  color: var(--white-colour);
  text-transform: uppercase;
  font-size: 1.5vmin;
  font-weight: 600;
  width: fit-content;
  height: auto;
  border: none;
  padding: 1vmin 2vmin;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.2) 0px -0.25vmin 0px inset;
  cursor: pointer;
  border-radius: 0.5vmin;
}

.dummyBtn {
  opacity: 0 !important; /* Used for spacing */
}

.simpleButton p {
  color: var(--white-colour);
  font-size: 1.5vmin;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.simpleButton p span {
  font-weight: 200;
}

.simpleButton:hover {
  filter: brightness(1.2);
  box-shadow: rgba(0, 0, 0, 0.5) 0px -0.25vmin 0px inset;
}

.simpleButton svg {
  width: 6vmin;
  height: auto;
  fill: var(--dark-colour);
}

.whiteButton {
  background-color: var(--white-colour);
}

.blueButton {
  background-color: var(--blue-colour);
}

.whiteButton p {
  color: var(--dark-colour);
}

.smallPrint {
  color: var(--black-colour);
  font-size: 1.25vmin !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------- */
/*                                DIALOG FOOTER                               */
/* -------------------------------------------------------------------------- */

.dialog-footer {
  width: calc(100% + 8vmin);
  margin-left: -4vmin;
  margin-right: -4vmin;
  margin-bottom: -4vmin;
  margin-top: 4vmin;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2vmin 4vmin;
  border-top: 1px solid #fff;
  border-radius: 0 0 1vmin 1vmin;
  box-sizing: border-box;
}

/* -------------------------------------------------------------------------- */
/*                                DIALOG IMAGE                                */
/* -------------------------------------------------------------------------- */

.dialog-image {
  width: 12vmin;
  height: auto;
  display: block;
  margin: 1vmin auto 1.5vmin auto;
  animation: trophyPop 0.4s ease;
}

/* -------------------------------------------------------------------------- */
/*                                   DIVIDER                                  */
/* -------------------------------------------------------------------------- */

.horizontalDivider {
  width: 100%;
  height: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid white;
}

.addSpaceAboveBelow {
  margin-top: 2vmin;
  margin-bottom: 2vmin;
}
