.modal
{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
}

.modal > div
{
  margin: 10px 30px;
  position: relative;
  background-color: var(--bg-color);
  color: var(--text-color);
  width: 100%;
  max-width: 23rem;
  border-radius: 10px;
  padding: 15px;
}

.modal > div.large-modal
{
  margin: 10px 30px;
  position: relative;
  background-color: var(--bg-color);
  color: var(--text-color);
  width: 100%;
  max-width: 30rem;
  border-radius: 10px;
  padding: 15px;
}

.modal-close
{
  position: absolute;
  top: 13px;
  right: 13px;
}

.modal-header
{
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-body
{
	margin-top: 1rem;
}

.modal-text
{
	font-size: 0.8rem;
	font-weight: 100;
	color: var(--secondary-dark-color);
}

.modal-buttons
{
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
  display: flex;
  flex-flow: column;
  row-gap: 15px;
}

.modal-buttons > a
{
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */
}

.modal-buttons > a > div
{
  width: 100%;
  height: 4rem;
  cursor: pointer;
  border-radius: 10px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-buttons img
{
	border-radius: 5px;
}
.modal-telegram
{
  background-color: #00b0ff;
}

.modal-discord
{
  background-color: #501f94;
}

.modal-close
{
	cursor: pointer;
}
