*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  --color: #7d00f4;
  --buttonColor: #7d00f4;
}

@font-face {
  font-family: OpenSans;
  src: url(../fonts/OpenSans-SemiBold.ttf);
}
@font-face {
  font-family: OpenSans;
  src: url(../fonts/OpenSans-Regular.ttf);
  font-weight: bold;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: var(--color);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  height: 100vh;
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
  font-family: OpenSans, Sans-Serif;
  flex-direction: column;
}

button {
  background-color: var(--color);
  border-width: 0px;
  padding: 8px 10px;
  border-radius: 5px;
  font-family: OpenSans, Sans-Serif;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.logo {
  width: 50vw;
  max-width: 250px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.intern-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  width: 97%;
  border-radius: 20px 20px 0px 0px;
  height: 100%;
  background-color: #fff;
  text-align: center;
  color: #11275b;
}

.signature-pad {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 10px;
  width: 100%;
  height: 100%;
  max-width: 512px;
  max-height: 288px;
  background-color: #fff;
  border-radius: 4px;
  padding: 16px;
}

input {
  border: none;
  border-bottom: 2px solid var(--color);
  background-color: #f7f7f7;
  padding: 10px 14px;
  border-radius: 3px 3px 0px 0px;
  color: #000000;
  width: 400px;
  font-size: medium;
  text-align: center;
  text-transform: uppercase;
}
input:focus {
  outline: none;
}

h3 {
  margin-bottom: 0px;
}

.twofactor--body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  gap: 10px;
}

.twofactor--body h2 {
  margin: 0;
}
.twofactor--body p {
  margin: 0;
  color: red;
}
.pdf {
  width: 100%;
  border-radius: 20px 20px 0px 0px;
  min-width: 600px;
  height: 100%;
}
.pdf-show {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 768px) {
  .pdf {
    min-width: 100%;
  }
  .pdf-show {
    min-width: 100%;
    min-height: 400px;
  }
  .intern-div {
    min-height: 450px;
  }
  input {
    width: 90vw;
  }
  .buttonDown {
    bottom: 0%;
    position: fixed;
  }
  body {
    justify-content: start;
    flex-direction: column;
  }
}
