* {
    font-family: Arial, Helvetica, sans-serif;
    text-rendering: optimizeLegibility;
}

body{
    background-color: #D3E3FC;
    overflow-x: hidden;
}

#wrapper{
    margin:0 auto;
    height:auto;
    max-width: 800px;
    padding:20px;
    background: rgb(255,255,255);
    box-shadow: 0px 0px 10px rgba(0,0,0, .5);
    border-radius: 25px;
}

#testnumber{
    border: 1px solid black;
    border-radius: 5px;
    padding: 0 5px 0 5px    ;
    background-color: lightgray;
}

#testnumberrezultati{
    background: lightgrey;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid darkgrey;
    text-align: center;
}

.sakt {
    color:white;
    padding: 4px 2px 0 2px;
    display: inline-block;
    width:auto;
    height:23px;
    background-color: green;
    font-weight: bold;
}

#restarto{
    width:100%;
    height:80px;
    background:rgb(44, 44, 44);
    color:white;
    border-radius: 20px;
    border:none;
}

.gabim {
    font-weight: bold;
    color:white;
    padding: 4px 2px 0 2px;
    display: inline-block;
    width:auto;
    height:23px;
    background-color: red;
}

.sakt2 {
    border-top: 1px solid lightgrey;
    border-right: 10px solid green;
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
}

.gabim2 {
    border-top: 1px solid lightgrey;
    border-right: 10px solid red;
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
}


#container{
    box-sizing: border-box;
    display: flex;
    justify-content:left;
    flex-wrap: wrap;
    align-items: baseline;
}

.imgcont{
    margin: 5px;
    display: inline-block;
    max-width:150px;
    min-width: 130px;
    height:auto;
    box-sizing: border-box;
    text-align: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.imgcont input[type="number" i] {
    margin: 0 auto;
    width: 40px;
    display: inline;
}

.imgcont>img{
    width:100%;
    max-height:150px;
}

#pyetjet{
    max-width: 80vw;
    margin: 0 auto 5px auto;
    min-height: 300px;
    padding:10px;
    box-shadow: 0 0 8px -4px;
    border-radius: 15px;
    
}

#pyetjet label{
    font-size:1.2rem;
}

input[type="checkbox" i] {
    box-shadow: 0 0 8px -4px;
    width:20px;
    height:20px;
    margin:5px;

}

#pyetjet input[type=number]{
    border:2px solid rgb(71, 126, 255);
    padding:4px;
}

input[type=number]:focus {
    border:2px solid black;
    box-shadow: 0px 0px 5px lightblue;
    border:none;
}

#pergjigjet{
    margin-top:5px;
    padding:10px;
    position: relative;
}

#rezultati{
    padding:20px;
    position:absolute;
    max-width:600px;
    height:auto;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    background-color:white;
    border-radius: 25px;
    top:-400px;
    box-shadow: 0 0 25px 0;
    transition: top ease .5s;
    z-index: 1;
}

#progress-container{
    width:100%;
    height:30px;
    border: solid 2px black;
    margin:10px 0 10px 0;
    border-radius: 10px;
}

#progress{
    text-align: center;
    width:0%;
    height:20px;
    margin: 5px 0 5px 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#close{
    position: absolute;
    right:15px;
    top:15px;
    width:30px;
    height:30px;
    border-radius: 50%;
    background-color:red;
    color:white;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    cursor: pointer;
}

label>img{
    width: auto;
    height: 150px;
}

#almk{
    text-align: center;
    width:100%;
    height:inherit;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#allang{
    border: 0;
    border-radius: 20px;
    padding: 40px 0;
    margin: 5px;
    background-image: url("../Alb.png");
    background-position: 50% 20%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: box-shadow ease .2s;
}

#allang:hover, #mklang:hover{
    box-shadow: 5px 5px 5px rgba(255,0,0, .5);
}

#mklang{

    border: 0;
    border-radius: 20px;
    padding: 40px 0;
    margin: 5px;
    background-image: url("../Mac.png");
    background-position: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: box-shadow ease .2s;
}

#categoryB, #categoryC, #categoryD {
    min-width:100px;
    min-height: 50px;
    margin:2px;
}


#stage2{
    text-align: center;
}

#stage2>button{
    width:100px;
    height:35px;
    margin:5px;
}




#banner{
    position: relative;
    margin: 0 auto;
    max-width: 80vw;
    height:80px;
    box-sizing: border-box;
    background-color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#history{
    user-select: none;
    cursor: pointer;
    width:100px;
    height:40px;
    background: darkred;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    color:white;
    border-radius: 15px;
    text-align: center;
    line-height: 35px;
}

#history i{
    font-size: 15px;
    line-height: 40px;

}

#historia-rezultat{
    width:300px;
    max-height:100vh;
    display: block;
    position:absolute;
    overflow-y: scroll;
    overflow-x: hidden;
    right: -500px;
    z-index: 1;
    transition: all ease-in-out .4s;
    top:0;
}

.cookie-pass{
    background-color:green;
}

.cookie-fail{
    background-color:red;
}

.historyCookie{
    border: 5px solid red;
    width:50%;
    float: right;
    height:auto;
    display: block;
    background-color:white;
    margin: 5px;
    padding: 15px;
    border-radius: 10px;
    box-shadow:inset 0px 1px 3px 0px #91b8b3;
}

.historyCookie1{
    border: 5px solid green;
    width:50%;
    float: right;
    height:auto;
    display: block;
    background-color:white;
    margin: 5px;
    padding: 15px;
    border-radius: 10px;
    box-shadow:inset 0px 1px 3px 0px #91b8b3;
}

#logo{
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    background-image: url("../logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    max-width: 300px;
    height:inherit;
    overflow: hidden;
    cursor: pointer;
}

#return{
    position:absolute;
    width: 100%;
    height: 100%;
    bottom: -87%;
    background-color: rgba(0, 0, 0, .8);
    transition: all .3s ease-in-out;
    text-align: center;
    color: white;
    line-height: 75px;
    font-size: 15px;
    cursor:pointer;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}




#timerbutonat{

    margin: 0 auto 5px auto;
    display: flex;
    flex-direction: row;
    width:auto;
    height:auto;
}

#timeri{
    flex-grow: 4;
    height:inherit;
}

#questionButtons{
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin:0 auto;
    height:inherit;

}



.btn {
    user-select: none;
	margin: 2px;
	width: 38px;
	box-shadow:inset 0px 1px 3px 0px #91b8b3;
	background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%);
	background-color:#768d87;
	border-radius:5px;
	border:1px solid #566963;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Courier New;
	font-size:15px;
	font-weight:bold;
	padding: 8px 0px;
	text-decoration:none;
	text-shadow:0px -1px 0px #2b665e;
	text-align: center;
}
.btn:hover {
	background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
	background-color:#6c7c7c;
}
.btn:active {
	position:relative;
	top:1px;
}

#next {
	margin: 2px;
	width: 71px;
	box-shadow:inset 0px 1px 3px 0px #91b8b3;
	background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%);
	background-color:#768d87;
	border-radius:5px;
	border:1px solid #566963;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Courier New;
	font-size:15px;
	font-weight:bold;
	padding: 8px 0px;
	text-decoration:none;
	text-shadow:0px -1px 0px #2b665e;
	text-align: center;
}
#next:hover {
	background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
	background-color:#6c7c7c;
}
#next:active {
	position:relative;
	top:1px;
}

.red{
    color:red;
}

.green{
    color:green;
}

#previous {
	margin: 2px;
	width: 71px;
	box-shadow:inset 0px 1px 3px 0px #91b8b3;
	background:linear-gradient(to bottom, #768d87 5%, #6c7c7c 100%);
	background-color:#768d87;
	border-radius:5px;
	border:1px solid #566963;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Courier New;
	font-size:15px;
	font-weight:bold;
	padding: 8px 0px;
	text-decoration:none;
	text-shadow:0px -1px 0px #2b665e;
	text-align: center;
}
#previous:hover {
	background:linear-gradient(to bottom, #6c7c7c 5%, #768d87 100%);
	background-color:#6c7c7c;
}
#previous:active {
	position:relative;
	top:1px;
}

.answered{
    background:chocolate;
}

/* butoni finish */

.active{
    color:black;
    background:#e2e2e2;
}

.hide{
    display: none;
}

.pergjigje {
    user-select: none;
    display: block;
    padding: 5px;
    background-color:#ddffff;
    margin:7px;

}

.border{
    border: 1px solid lightgrey;
}

.pergjigje:hover{
    background-color:#e3e3e3;
}

#tikimg{
    text-align: center;
    width:auto;
    max-height:300px;
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 30px;
}

#tikimg>img{
    padding:10px;
    box-shadow: 0 0 5px 0;
    border:1px solid rgba(0,0,0, .2);
    max-height:300px;
    width:auto;

}



/* #next{
        box-shadow: 0px 5px 0px 1px #b8deff;
        background:linear-gradient(to bottom, #a8d6ff 5%, #0daaff 100%);
        background-color:#a8d6ff;
        border-radius:27px;
        border:4px solid #ffffff;
        display:inline-block;
        cursor:pointer;
        color:#ffffff;
        width:90px;
        height:45px;
        font-family:Trebuchet MS;
        font-size:17px;
        text-decoration:none;
    }
#next:hover {
        background:linear-gradient(to bottom, #0daaff 5%, #a8d6ff 100%);
        background-color:#0daaff;
}

#next:focus{
    outline: none;
}

#previous{
    box-shadow: 0px 5px 0px 1px #b8deff;
    background:linear-gradient(to bottom, #a8d6ff 5%, #0daaff 100%);
    background-color:#a8d6ff;
    border-radius:27px;
    border:4px solid #ffffff;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    width:90px;
    height:45px;
    font-family:Trebuchet MS;
    font-size:17px;
    text-decoration:none;
}
#previous:hover {
    background:linear-gradient(to bottom, #0daaff 5%, #a8d6ff 100%);
    background-color:#0daaff;
}

#previous:focus{
    outline: none;
} */

/* #fund{  box-shadow: 0px 5px 0px 1px #ffbaba;
        background:linear-gradient(to bottom, #ffa8a8 5%, #ff0f0f 100%);
        background-color:#ffa8a8;
        border-radius:27px;
        border:4px solid #ffffff;
        display:inline-block;
        cursor:pointer;
        color:#ffffff;
        width:180px;
        height:45px;
        margin:5px;
        font-family:Trebuchet MS;
        font-size:17px;
        text-decoration:none;
    }
#fund:hover {
        background:linear-gradient(to bottom, #ff0f0f 5%, #ffa8a8 100%);
        background-color:#ff0f0f;
    }

    #fund:focus{
        border: none;
        outline: none;
    } */

    #fund {
        margin: 2px;
        width: 150px;
        box-shadow:inset 0px 1px 3px 0px #91b8b3;
        background: linear-gradient(to bottom, #ff1a1a 5%, #990000 100%);
        background-color:#ff1a1a;
        border-radius:5px;
        border:1px solid #5c0000;
        display:inline-block;
        cursor:pointer;
        color:#ffffff;
        /* font-family: Arial, Helvetica, sans-serif; */
        font-size:15px;
        font-weight:bold;
        padding: 8px 0px;
        text-decoration:none;
        text-shadow:0px -1px 0px #2b665e;
        text-align: center;
    }

    #fund:hover {
        background:linear-gradient(to bottom, #990000 5%, #ff1a1a 100%);
        background-color:#990000;
    }
    #fund:active {
        position:relative;
        top:1px;
    }


#result {
        margin: 2px;
        width: 150px;
        box-shadow:inset 0px 1px 3px 0px #91b8b3;
        background: linear-gradient(to bottom, #ff1a1a 5%, #990000 100%);
        background-color:#ff1a1a;
        border-radius:5px;
        border:1px solid #5c0000;

        cursor:pointer;
        color:#ffffff;
        /* font-family: Arial, Helvetica, sans-serif; */
        font-size:15px;
        font-weight:bold;
        padding: 8px 0px;
        text-decoration:none;
        text-shadow:0px -1px 0px #2b665e;
        text-align: center;
    }

    #result:hover {
        background:linear-gradient(to bottom, #990000 5%, #ff1a1a 100%);
        background-color:#990000;
    }
    #result:active {
        position:relative;
        top:1px;
    }

#butonat{
    text-align: center;
}

.hidden{
    display: none;
}

.keq{
    font-weight: bold;
    color:red;
    border: 4px solid;
    padding: 6px;
    border-color: red;
    border-radius: 10px;
}

.pass{
    font-weight: bold;
    color:darkgreen;
    border: 4px solid;
    padding: 6px;
    border-color: darkgreen;
    border-radius: 10px;

}

@font-face {
    font-family: 'oswald';
    src: url('../openn.ttf');
}

#back-black{
    position: fixed;
    width:100vw;
    height:100vh;
    background-color: rgba(0,0,0, .5);
    content: " ";
    z-index: 1;
    top:0;
    left:0;
    -webkit-backdrop-filter: blur(1.3px);
    backdrop-filter: blur(1.3px);
}

#sure{
    display : none;
    z-index: 2;
    padding:10px;
    border-radius: 30px;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    min-width: 150px;
    height:150px;
    background-color: white;
    box-shadow: 0 0 5px 0;
    text-align: center;
    opacity: 0;
    transition: all .7s ease-in-out;

}

#confirm{
    display: inline-block;
    width:50px;
    height:50px;
    border-radius: 50%;
    background-color:green;
    color:white;
    line-height:50px;
    font-size: 1.5rem;
    box-shadow: 0 0 5px #888888;
    border: 5px solid white;
}

div#confirm-wrapper {
    display: flex;
    justify-content: space-around;
}


#no{
    display: inline-block;
    width:50px;
    height:50px;
    border-radius: 50%;
    background-color:red;
    color:white;
    line-height:50px;
    font-size: 1.5rem;
    box-shadow: 0 0 5px #888888;
    border: 5px solid white;
}

/* #timer{
    font-family: 'oswald';
    padding: 10px;
    color: rgb(44, 44, 44);
    width: 100px;
    margin: 0 auto;
    font-size: 35px;
    height: 50px;
}

#timer-wrapper{
    text-align: center;
} */

@media only screen and (max-width: 600px) {
    body{
        overflow-x: hidden;
    }

    #history{
        user-select: none;
        cursor: pointer;
        width:100px;
        height:40px;
        background: darkred;
        display: block;
        position: absolute;
        top: -13px;
        left: -31px;
        color:white;
        border-radius: 15px;
        text-align: center;
        line-height: 35px;
        content: icon;
        z-index: 3;
    }

    #rezultati{
        width: 85vw;
        z-index: 1;
    }

    #tikimg>img{
        padding:0;
        box-shadow: 0 0 5px 0;
        border:none;
        max-height:300px;
        max-width:100%;
    }

    #pergjigjet>label{
        margin: 2px 0 2px 0;
    }

    *{
        font-size: 12px;
    }

    #pyetjet{
        border: 1px solid lightblue;
        max-width: 94vw;
        margin: 0 auto;
        min-height: 300px;
        padding:0;
        box-shadow: 0 0 8px -4px;
    }

    #wrapper{
        padding:5px;
    }
  }