@charset "utf-8";
/* CSS Document */


@font-face{
	font-family: 'BPG Glaho';
	src: url("bpg-glaho-master/fonts/bpg-glaho-webfont.ttf");
}

@font-face{
	font-family: 'ALK Life';
	src: url("alk-life-master/fonts/alk-life-webfont.ttf");
}


h1, p, li, button, label, div{
	font-family: "BPG Glaho", sans-serif;
}

body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
	
}

.fb{
  color: white;
  text-decoration: none;
  font-size: 20px;
}


body, html {
  margin: 0;
  padding: 0;
	background-image: /*linear-gradient(rgba(100, 100, 100, 0.5), rgba(0,0,0,0.9)),  */
		linear-gradient(rgba(30, 30, 30, 0.7), rgba(0,0,0,0.9)), url("https://img.freepik.com/premium-vector/money-mafia-colorful-seamless-pattern_153969-206.jpg?w=2000"); /*rgba(150, 150, 150, 0.6), rgba(0,0,0,0.8)*/
	justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
	
		background-size: 50%;
}


/*https://4kwallpapers.com/images/wallpapers/symmetry-geometric-colorful-lines-3840x1080-7716.jpg*/




 h1 {
	color: #333;			
	margin-top: 20px;
			}

.main-container {
  position: relative;
  z-index: 1;
}

.main-content {
	/*background-color: rgba(255, 255, 255, 0.7);*/
  min-height: 100vh;
  padding: 20px;
	
}


/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #191919;
  color: white;
  padding: 2px 20px;
   position: relative;
  overflow: hidden;
}


.navcent{
    float: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-grow: 1; 
}

.navbar-menu li {
  margin: 0 15px;
}




.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
	width:120px;
  max-width: 300px; 
  height:80px;
}

.navbar-menu {
  list-style: none;
  display: flex;
  align-items: center; 
}

.navbar-menu li {
  margin-right: 10px;
}

.navbar-menu a{
    
  text-align: center;
  padding: 14px 6px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
	font-size: 20px;
	letter-spacing: 1px;
}


.navbar-menu a:hover {
   color:#881E1F;  /*#f39c12;*/
}



.btn{
	margin-top: 10px;
}
.btn button{
	margin-top: 5px;
}



.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0px;
}

.card {
  position: relative;
  width: 700px;
  height: 300px;
  perspective: 1000px;
  margin-bottom:10px;
}

.cardInner {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
   /*transform: rotateY(180deg);*/
}

.cardFront,
.cardBack {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
	
}

.cardBack {
  transform: rotateY(180deg);
	
}

.cardBack img{
	 max-width: 300px;
  max-height: 300px;
  margin: 10px auto;
  display: block;
   border-radius: 5px;
  border: 2px solid white;
}

#playerDisplay {
  margin-top: 10px;
  font-size: 30px;
  color: white;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-shadow:
    1px 1px 0 #000,
    -1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000;
}

#characterImage {
  max-width: 300px;
  max-height: 300px;
  margin: 10px auto;
  display: block;
  border-radius: 5px;
  border: 2px solid white;
}






        #controls {
            margin-top: 0px;
			
        }

        .input-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
			/*font-weight: bold;
			letter-spacing: 0.5px;*/
			
			
			/*---*/
			font-size:13px;
			margin-right: 10px;
			padding: 0px 0px 0px 20px;
			height: 36px;
			border:2px solid black;
			border-radius: 20px;
			background-color: #f2f2f2;
			margin-top: 19px;
			
        }

.input-container:hover{
	background-color: #ddd;
	 transition: background-color 0.3s, color 0.3s;
}

        #numPlayers {
            width: 50px;
            padding: 5px;
            font-size: 16px;
            border: 2px solid black;
            border-radius: 5px;
			outline: none;
			text-align: center;
			
            /*---*/
			background-color: #f2f2f2;
			margin-left: 5px;
			padding-left: 7px;
			padding-right: 5px;
			height:24px;
			border-radius: 20px;
			border:1px solid #ddd;
			font-family: "BPG Glaho", sans-serif;
			
			
        }



  #generateButton, #prevButton, #nextButton, #generateButton2, #modali1, #mod2, #but{
            background-color: #f2f2f2;
            color: black;
            border: 2px solid black;
            border-radius: 20px;
            padding: 10px 20px;
            font-size: 15px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        #generateButton:hover, #prevButton:hover, #nextButton:hover, #generateButton2:hover, #modali1:hover, #mod2:hover, #but:hover {
            background-color: #ddd;
        }

        #nextButton {
            margin-left: 10px;
			
        }

        #prevButton[disabled], #nextButton[disabled] {
            background-color: #ddd;
            cursor: not-allowed;
        }

       
        #buttonContainer, #butdv {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
        }

        a {
			text-decoration: none;
        }
        #butdv {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 100px;
			margin-bottom: -50px;
        }

       
        #characterFilter {
            margin-top: 20px;
        }

        #characterFilter label {
            font-weight: bold;
        }

        #characterFilter input[type="checkbox"] {
            margin-right: 5px;
        }
		
		
.dropdown {
    position: relative;
    display: inline-block;
	margin-bottom: -10px;
}

.dropbtn {
    background-color:#f2f2f2;
    color:black;
    border: 2px solid black;
    border-radius: 20px;
    padding: 10px 20px;
    
    cursor: pointer;
    transition: background-color 0.3s;
  
	margin-bottom: 2px;
	
	   /*-----*/
	        font-size:13px;
			margin-right: 10px;
			padding: 0px 20px 0px 20px;
			height: 39px;
			border:2px solid black;
			border-radius: 20px;
			background-color: #f2f2f2;
			
	
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    max-height: 300px; 
    overflow-y: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 5px;
    z-index: 1;
	border:1px solid #747474;
	
}


.dropdown-content label {
    display: flex;
    align-items: center;
    padding: 10px;
}

.dropdown-content input[type="checkbox"] {
    margin-right: 5px;
}

.dropdown-content label:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #ddd;
}

		
		.scroll-container {
    padding: 10px;
}

.scroll-container label {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.scroll-container input[type="checkbox"] {
    margin-right: 5px;
}


.tavi{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.varlist {
    display: inline-block;
    margin-bottom: 0px; 
	
}

.varlist label {
    display:none; 
}
			

.imageVariant {
	text-align: center;
    padding: 7px;
    font-size: 16px;
	background-color: #f2f2f2;
	outline:none;
	  border: 2px solid black;
    border-radius: 20px;
    padding: 7px 2px;
	padding-left: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	
	font-family: 'ADLaM Display', sans-serif; 
	letter-spacing: 0.5px;              
}

.btn{
	font-family: 'ADLaM Display', sans-serif; 
}
			

.imageVariant:hover {
    background-color: #ddd;
}
			 
.imageVariant option {
    background-color: #f2f2f2 ;
	color:black;

	border-radius: 10px !important;
	text-align: left;
	 font-size: 15px;
	
}

.imageVariant :active{
    background-color: yellow !important; 
}

 

.varlist select::after {
    content: '\25BC'; 
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}
		

@media screen and (max-width: 768px) {
 .navbar {
    flex-direction: column;
	  padding-bottom: 10px ;
  }

  .navbar-menu {
    margin-top: 80px;
	   margin-bottom: 10px;
	  margin-right: 0px;
	  margin-left: -10px;
  }
  
	.navbar-menu a{
		font-size: 15px;
	}
  
	.navbar-menu li {
  margin-right: 0px;
}
	.navbar-logo {
  display: flex;
  align-items: center;
	margin-bottom: 50px;
}
 .footer-text-right span{
	font-size: 14px;
	letter-spacing: 0.7px;
}
  .nm{
	font-size: 13px !important;
	
	}

}


@media screen and (max-width: 360px) {
	.tavi{
		 flex-direction: column;
	}
	
	.dropdown-content{
		margin-left: -30px;
	}
}


@media screen and (max-width: 315px) {
		.navbar-menu {
  list-style:none;
  display:block;
  align-items: center; 
		margin-top: 70px;
	   margin-bottom: 10px;
	
	margin-right: 10px;
}
	 .navbar-logo {
  display: flex;
  align-items: center;
		margin-bottom: 100px;
}
	.navbar-menu li{
		margin-bottom: 10px;
	}
	.navbar-menu ul{
		margin-bottom: 0px;
		
	}

	.navbar-menu a{
        padding: 0px 6px;
}
	.dropdown-content{
		margin-left: -20px;
	}
	
	.dropbtn {
    padding: 5px 5px;
	margin-bottom: 2px;
    font-size:12px;
	margin-right: 10px;
	height: 39px;
			
}
	
	.dropdown-content {
   
    min-width: 150px;
    max-height: 300px; 
   font-size: 12px;
}
	
	.dropdown-content label {
   
    padding: 0px;
}

.dropdown-content input[type="checkbox"] {
    margin-right: 0px;
}
	
	
	
.card {

  width: 200px;
  height: 200px;
  perspective: 1000px;

}

.cardBack img{
   max-width: 200px;
  max-height: 200px;
	}

.cardInner {
  position: absolute;
  width: 200px;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.8s;
   /*transform: rotateY(180deg);*/
}

.cardFront,
.cardBack {
  
  max-width: 200px;
  max-height: 200px;
  backface-visibility: hidden;
}

.cardBack {
  transform: rotateY(180deg);
}

#playerDisplay {
  margin-top: 10px;
  font-size: 30px;
  color: white;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-shadow:
    1px 1px 0 #000,
    -1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000;
}

#characterImage {
  max-width: 200px;
  max-height: 200px;
  margin: 10px auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 5px;
  border: 2px solid black;
}

	
}

@media screen and (max-width: 242px) {
 .input-container {
           
            margin-bottom: 10px;
			
			font-size:12px;
			margin-right: 10px;
			padding: 0px 0px 0px 2px;
			height: 36px;
			border:2px solid black;
			border-radius: 20px;
			background-color: #f2f2f2;
			margin-top: 19px;
			
        }
	
	    #numPlayers {
            width: 40px;
            padding: 0px;
            font-size: 12px;
			margin-left: 0px;
			padding-left: 7px;
			padding-right: -5px;
			height:34px;	
			
        }
}


.nm{
	font-family: 'ADLaM Display', sans-serif; 

}

	  /* Preloader styles */
    .preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
		
    }

    .spinner {
      width: 50px;
      height: 50px;
      border: 5px solid #333;
      border-top-color: transparent;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
		

/* new */

	   .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
             overflow: auto;
        }


       

        .roleListsContainer {
            display: flex;
            justify-content: center !important;
        }
	   

        .roleList, .chosenRoleList {
            list-style: row;
            padding: 0;
            max-height: 200px; 
            overflow-y: auto; 
            border: 1px solid #747474;
            border-radius: 3px;
            margin-right: 10px;
			margin-bottom: 15px;
        }

        .listTitle {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .roleList li, .chosenRoleList li {
            padding: 5px;
            margin: 5px;
            border-bottom: 1px solid #747474;
            display: flex;
            justify-content: space-between;
            align-items: center;
			
        }

        .roleList li::before, .chosenRoleList li::before {
            content: '';
            margin-right: 5px;
			
        }

        .roleList li .addButton {
            cursor: pointer;
            color: green;
        }

        .chosenRoleList li .deleteButton {
            cursor: pointer;
            color: red;
        }

        .quantityInput {
            width: 30px;
            margin-left: 5px;
        }
   
/*
.roleList span, .chosenRoleList span{
	transition: 0.3s;
}
       .roleList span:hover{
             transform: scale(1.25);
        }*/



/* Modal St */
.modal1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index:100;
}

.modal1-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
    height:400px;
    
}


.close {
    position: absolute;
    top: 2px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
    color: #333; 
	transition: 1.0s;
}

.close:hover {
    color: #ff0000; 
	
}

.modal2-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
    height:400px;
     background: white;
            display: flex;
            flex-direction: column;
            max-width: 400px;
            width: 100%;
             overflow: auto;
}

@media only screen and (max-width: 480px) {
    .modal1-content {
        width: 80% !important;
    }
     .modal2-content {
            max-width: 80%; 
        }
}



@media (max-width: 480px) {
        .roleListsContainer {
            flex-direction: column;
        }

        .roleList, .chosenRoleList {
            margin-right: 0;
            margin-bottom: 10px;
        }
    }


.roleList::-webkit-scrollbar, .chosenRoleList::-webkit-scrollbar, .modal2-content::-webkit-scrollbar, .dropdown-content::-webkit-scrollbar {
    width: 10px; 
	height: 10px;
}

.roleList::-webkit-scrollbar-thumb, .chosenRoleList::-webkit-scrollbar-thumb, .modal2-content::-webkit-scrollbar-thumb, .dropdown-content::-webkit-scrollbar-thumb {
    background-color: #212222; 
    border-radius: 6px; 
}

 .roleList::-webkit-scrollbar-track, .chosenRoleList::-webkit-scrollbar-track, .modal2-content::-webkit-scrollbar-track, .dropdown-content::-webkit-scrollbar-track {
    background-color: transparent; 
    border-radius: 6px;
}

.roleList::-webkit-scrollbar-thumb:hover, .chosenRoleList::-webkit-scrollbar-thumb:hover, .modal2-content::-webkit-scrollbar-thumb:hover, .dropdown-content::-webkit-scrollbar-thumb:hover {
    background-color: #555; 
}



body::-webkit-scrollbar {
    width:10px;
	height:10px;
	
}

body::-webkit-scrollbar-thumb {
    background-color: #881E1F; 
    border-radius: 6px; 
}

body::-webkit-scrollbar-track {
    background-color:#191919; 
    border-radius: 0px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #a11515; 
}

/**/
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  color: #fff;

  background-color: #191919;
	font-weight: 550;
	margin-top: 50px;
  padding: 20px 0;
  font-size: 14px;
  
}



.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  text-align: center;
  padding: 0 5px;
}

.footer-text-left, 
.footer-text-right {
  display: inline-block;
  margin: 0 20px; 
}

.footer-line {
  border-top: 1px solid #fff;
  margin: 10px;
 
    width: 1px;
    height: 30px;
    background-color: white;
    
 
}

.fb {
  text-decoration: none;
  color: #fff;
}

.fb i {
  font-size: 20px;
}

.fb{
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.c{
	
	font-size: 14px;
	/*font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";*/
	
}
.t{
	font-size: 1.1rem;
	letter-spacing: 0.7px;
	font-family: 'Rubik Burned', sans-serif;
	
}

.wb{
  font-family: cursive;
}
.wb2{
  font-family: 'Rubik Burned', sans-serif;
  font-size: 1.1rem;
}

a{
  text-decoration: none;
  color: white;
}