@font-face {
font-family: PosterGothicExCondATF;
src: url("../font-family/PosterGothicCondATF/PosterGothicExCondATF-Medium.otf") format("opentype");
}

@font-face {
font-family: PosterGothicExCondATF-Light;
src: url("../font-family/PosterGothicCondATF/PosterGothicExCondATF-Light.otf") format("opentype");
}

@font-face {
font-family: PosterGothicExCondATF-Bold;
src: url("../font-family/PosterGothicCondATF/PosterGothicExCondATF-Bold.otf") format("opentype");
}

*{
font-family : PosterGothicExCondATF-Light, serif;
opacity:100%;
z-index:0;

letter-spacing: 1;
}


html,body{
	background-image: url(../images/pattern-modify.png);
	background-color:black;
    margin: 0px;
    padding: 0px;
}

#myVideo{
position: fixed;
height: 100%;
width: 100%;
z-index: 0;
object-fit: cover;
filter: brightness(90%);
}

body{
	
width:100%;
height:100%;
display:flex;
flex-direction:column;
justify-content:space-between;
text-align:center;
}


.form-control{
/*max-width: 400px;*/
margin: 5px auto;
}

#html_element{
width:fit-content;
margin:5px auto;
transform:scale(1);
}


h1, h2, h3, label, p, li{
color:white!important;
}

h1{
	font-size: xx-large;
	font-family: PosterGothicExCondATF;
	letter-spacing: 1!important;
	text-align:center;
	line-height:1.6em;
	margin:0em;
}

h2{
	font-family: PosterGothicExCondATF;
	margin:1.5em 0 1em 0;
	letter-spacing: 0.5!important;
	text-align: start;
}

img.img-title {
    width: -webkit-fill-available;
	
}

a{
	color:white!important;
/*font-size: small;*/
line-height: 2;
text-decoration: none;
padding:2px;
}

a:hover{
color:blue !important;
transition: color 0.5s 0s;
}


.btn{
--bs-btn-border-radius:0px;
    padding: 10 50;
    margin: 10px;
}

input{
border-radius:0!important;
}


p, li{
word-break: break-word;
font-size: 1.3em;
}

.icon{
color:white;
position:absolute;
font-size: x-large;
right:0;
top:0;
}

.scan{
color:white;
font-size: xx-large;
}

button.icon, button.scan{
width: fit-content;
height: fit-content;
padding: 10px;
background: transparent;
border: transparent;
z-index: 10;
}
	
.footer{
display: flex;
height: 50px;
background: linear-gradient(0deg, black 80%, transparent 100%);
border-top-width: 5px;
flex-direction: row;
justify-content: space-around;
align-content: center;
flex-wrap: wrap;
align-items: flex-end;
}

.container.info{
text-align: justify;
line-height: inherit;
word-break: break-word;
margin: 10% auto 5% auto;
}
.img-fluid{
	max-width: 100%;
    height: auto;
    max-height: 100%;
    width: auto;
}


.space {
    height: 5%;
}


form#login {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: space-around;
    justify-content: space-around;
    align-items: center;
	height: 100%;
    min-height: fit-content;
}
.img-fluid{
	max-width: 100%;
    height: auto;
    max-height: 100%;
    width: auto;
	display:none;
}	



.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin-bottom: 0;
	max-width: 500px;
}

.custom-file-input {
	color:black;
    position: absolute;
    z-index: 5;
    width: fit-content;
    height: calc(2.25rem + 2px);
    margin: 0;
    line-height: 2em;
    inset-inline-start: 100px;
}

.custom-file-label {
	width: 90%;
    margin: auto;
    position: absolute;
    /*top: 0;*/
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
label {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.custom-file-label::before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(calc(2.25rem + 2px) - 1px * 2);
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    content: "Browse QR code";
    background-color: #e9ecef;
    border-right: 1px solid #ced4da;
	/*font-size: medium;*/
}
.custom-file-input::file-selector-button {
    opacity: 0;
}

button.btn.btn-dark {
    margin: auto;
    width: auto;
    height: 38px;
    text-align: center;
    justify-content: center;
    /*font-size: small!important;*/
    margin: 0 10px;
    height: calc(2.25rem + 2px);
}
button.btn.btn-dark.read {
    position: relative;
    left: -50px;
    height: calc(2.25rem + 3px);
}
.row.custom-input {
    width: 600px;
}

#fileupload_form {
    min-width: 400px;
    width: 75%;
    max-width: 600px;
	min-height: 50px;

}

.row.custom-input {
    width: 520px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: stretch;
    height: fit-content;
	margin : auto;
}

video#preview {
    width: 100%;
    height: auto;
    margin: auto;
	transition: brightness 1s;
}
video[poster]{
	width:100%;
}
.video {
    margin: 0.5em;
	width:400px
}

#QR
{
    display: flex;
flex-direction: column;
    align-items: center;
    justify-content: center;
	margin: 20px 0px;
}

#video_overlays{
	  display: inline-block;
  position: relative;
  width: 100%;
}

#video_overlays::before{
display: block;
    content: '';
    position: absolute;
	top: 25%;
    right: 25%;
    bottom: 25%;
    left: 25%;
    border: 0.5rem dashed black;
}


.custom-file-label::before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(calc(2.25rem + 2px) - 1px * 2);
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    content: "QR code";
    background-color: #e9ecef;
    border-right: 1px solid #ced4da;
	font-size: inherit;
}
#fileupload_form {
    width: 100%;
}

.custom-file-input {
    position: relative;
    z-index: 5;
    width: fit-content;
    height: calc(2.25rem + 2px);
    margin: 0;
    line-height: 2em;
    
	/*font-size: small;*/
	inset-inline-start: 0px;
}
.scan {
    color: white;
    font-size: xx-large;
}

.submitwallet {
    font-size: auto;
    height: fit-content;
    padding: 1% 2%;
}
#fileupload_form {
    min-width: 100px;
    width: 75%; 
    max-width: 600px;
}
button.btn.btn-dark {
    height: fit-content;
    /*font-size: 4vw !important;*/
    line-height: 0;

}


.video {
    margin: 0.5em;
	width:90%;
}


div#group-logo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    /* cursor: pointer; */
}

/* HIDE RADIO */
[type=radio] { 
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
/* IMAGE STYLES */
[type=radio] + label img {
  cursor: pointer;
  opacity:0.5;
}

/* CHECKED STYLES */
[type=radio]:checked + label img {
  opacity:1;
}
.bg-dark {
    background-color: rgba(0,0,0,0.60) !important
}

form{
    height: fit-content;
}

.card-header {
    /*padding: 3rem 1em 2rem;*/
	    padding-bottom: 1.2em;
}

.card{
--bs-card-border-radius: 0px;	
}
.card {
    padding: 3em 2em 0px 2em;
}


img{
	width:100%;
}

.row.row-logo {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: stretch;
}

.logo-image {
    /* margin: auto 0; */
    padding: 5px 0px;
    /* align-self: center; */
    width: 100%;
    height: 100%;
}

.logo img {
    max-height: 100px;
    cursor: pointer;
    width: 100%;
}

.wallet-name{
	font-family : PosterGothicExCondATF-Bold, PosterGothicExCondATF-Light, serif;
	
}





.container.card{
	max-height:80%;
}
.container.info.card{
	max-height:fit-content;
}


.card-body{
	min-height:fit-content;
	    height: 100%;
}


/***************** Media ***************************/


/**Width**/
@media (max-width: 360px){
#html_element {
    width: fit-content;
    /* margin: 5px auto; */
    transform: scale(0.7);
    -webkit-transform-origin-x: 0;
    -webkit-transform-origin-y: 0;
    height: 20%;
	transform-origin: 0 0;
}
}

@media (max-width: 576px){
	*{
		font-size: 3vw;
	}
}

@media (min-width: 576px){
	*{
		font-size: 2.35vw;
	}
}

@media (min-width: 768px){
	*{
		font-size: 1.53vw;
	}
	.card {
    padding: 2em 2em 0px 2em;
}
}


@media (min-width: 992px){
	*{
		font-size: 1.35vw;
	}
}

/*More than 1190px*/
@media (min-width: 1200px){
	*{
		font-size: 1.07vw;
	}
}


/**Height**/



@media (max-height: 600px){
.container-logo{
display:none;
}

.space{
	max-height:5%;
}

.card{
	padding: 5vh 5vw 0;
    margin: 0 auto 0 auto;
}

/* *{ */
	/* font-size:min */
/* } */
}





@media (max-height: 500px){
.card-header {
    padding: 0;
}
#html_element {
    width: fit-content;
    /* margin: 5px auto; */
    transform: scale(0.7);
    -webkit-transform-origin-x: 140px;
    -webkit-transform-origin-y: 0;
    height: 24%;
	transform-origin: 140px 0;
}
input, label, .btn, input#Password {
	margin : 1px auto;
}


	
.card-body {
    min-height: fit-content;
    height: 100%;
    padding: 5px 0 0;
}
}

@media (max-height: 400px){

.space{
	display:none;
	height:0;
}
.container.card {
    height: 85.8%;
    min-height: 72%;
}
input, label, .btn, input#Password {
	margin : 0 auto;
}

form#login {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: space-around;
    justify-content: space-between;
    align-items: center;
    height: 86%;
    min-height: fit-content;
}
}



@media (max-height: 300px){
	.container.card {
    max-height: 85%;
    margin-top: 0;
}
}
