/*
Theme Name:     Christmas Project
Description:    Dey Christamas
Author:         toolbox

*/
:root {
  --white-color: #ffffff;
  --blue-color: #3a4570;
  --green: #1bcc6b;
  --orange: #ffb32c;
  --dark-orange: #e94d10;
  --border-color: #ffffff; 
  --main-background-color: #3a4570;
  
  --popup-background-color: #3a4570;
  --popup-color: #ffffff;
  
  --keyboard-background-color: #ffffff;
}

@font-face {
	font-family: 'PFHighway';
        src: url('./fonts/PFHighwayGothic-Regular.otf') 
            format("opentype");  
        
}

@font-face {
	font-family: 'Comics';
        src: url('./fonts/Comic Sans MS.ttf') 
            format("truetype");  
        
}

html, body {
    touch-action: none;
}

html{
    font-size: 16px;    
}

body{ 
    background-color: var(--main-background-color);
    font-family: 'Comics', sans-serif;
    font-size: 1rem;   
}

body *{
    font-family: 'Comics', sans-serif;   
    
}

a{
    text-decoration: none;
    color: var(--white-color);
    
}

*:focus {
    outline: none;
    
}

/* width */
::-webkit-scrollbar {
  width: 5px;
  
}

/* Track */
::-webkit-scrollbar-track {
/*  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;*/
    background-color: transparent;    
    
}
 
#form::-webkit-scrollbar-track {
/*  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;*/
    background-color: var(--blue-color);
    
}

.simple::-webkit-scrollbar-track {
/*  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;*/
    background-color: #ffffff;
    
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: transparent; 
  
/*  border-radius: 10px;*/
}

#form::-webkit-scrollbar-thumb {
  background: var(--border-color); 
  
/*  border-radius: 10px;*/
}

.simple::-webkit-scrollbar-thumb {
  background: #000000; 
  
/*  border-radius: 10px;*/
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: transparent; 
  
}

#form::-webkit-scrollbar-thumb:hover {
  background: var(--border-color); 
  
}

.simple::-webkit-scrollbar-thumb:hover {
  background: #000000; 
  
}

img{
    pointer-events: none;
    
}

.full-image img{
    width: 100%;
    height: auto;
}

#main-backgrnd, #res-backgrnd, #list-backgrnd{
    display: none;    
}

#main-backgrnd.active{
    display: block;
    z-index: 4;
}

#res-backgrnd.active{
    display: block;    
    z-index: 5;
}

#list-backgrnd.active{
    display: block;    
    z-index: 6;    
}

.slide{
    display: none;
    width: 1920px; 
    height: 1080px;
    overflow: hidden;  
    position: relative;
    z-index: 6;
}

.katheto .slide{
    height: 1920px; 
    width: 1080px;    
}

.slide.active{
    display: block;
}

#question-test{
    width: 1920px; 
    height: 1080px;
    overflow: hidden;      
}

#question-test.katheto{
    height: 1920px; 
    width: 1080px;    
}

.background-area, .front-area{
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
}

.katheto .background-area, .katheto .front-area{
    height: 1920px; 
    width: 1080px;    
}

.front-area{
    z-index: 10;
}

.start-title{
    width: 582px;
    height: 304px;
    margin: 150px auto 0 auto;
}

.katheto .start-title{
    width: 582px;
    height: 304px;
    margin: 590px auto 0 auto;    
}

#child-name{
    text-align: center;
    border: 3px solid var(--white-color);
    color: var(--white-color);
    font-size: 1.8rem;
    width: 400px;
    display: block;
    margin: 50px auto 0 auto;
    background-color: transparent;
    padding: 10px 0 13px 0;
    border-radius: 50px;
}

.fake-input:empty::before{
    content: attr(data-placeholder);
    color: var(--white-color);
    font-size: 1.8rem;    
}

.fake-input.clicked:empty::before{
    content: '|';
}

#name .action-next{
    display: block;
    width: 461px;
    height: 193px;
    background-color: transparent;
    border: 0;
    margin: 50px auto 0 auto;    
}

.question-title{
    margin-top: 210px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

#q1 .question-title{
    width: 1167px;
    height: 247px;
}

.katheto #q1 .question-title img{
    padding-left: 62px;    
}


#q2 .question-title{
    width: 894px;
    height: 206px;
    margin-top: 208px;    
    margin-bottom: 72px;    
    
    margin-left: 543px;
    margin-right: 483px;    
    
}

.katheto #q2 .question-title img{
    padding-left: 112px;    
}

#q3 .question-title{
    width: 1201px;
    height: 247px;
    
    margin-left: 400px;
    margin-right: 319px;        
}

.katheto #q3 .question-title img{
    padding-left: 52px;    
}

#q4 .question-title{
    width: 909px;
    height: 247px;
    
    margin-left: 536px;
    margin-right: 475px;            
}

.katheto #q4 .question-title img{
    padding-left: 90px;    
}

#q5 .question-title{
    width: 1042px;
    height: 247px;
    
    margin-left: 499px;
    margin-right: 379px;            
}

.katheto #q5 .question-title img{
    padding-left: 90px;    
}

#q6 .question-title{
    width: 968px;
    height: 247px;
    
    margin-left: 526px;
    margin-right: 426px;            
}

.katheto #q6 .question-title img{
    padding-left: 108px;    
}

.katheto .question-title{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    width: 100% !important;
    height: 379px !important;
    margin: 580px auto 150px auto!important;
}

.restart{
    color: var(--white-color);
    background-color: transparent;
    border: 0;
    font-size: 2rem;
    position: absolute;
    z-index: 10;
    top: 10px;
    right: 30px;
    padding: 20px;
}

.answer-area{
    width: 900px;
    margin: 0 auto;
    display: flex;
}

.answer-area button{
    width: 350px;
    height: 258px;
    border: 0;
    text-align: center;
    background-color: transparent;
    border: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.katheto .answer-area button{
    width: 450px;    
}

.answer-area .right-margin{
    margin-right: 095px;
}

.answer-area img{
    display: none;
}

.answer-area .not-selected img.not-selected, .answer-area .selected  img.selected{
    display: block;
    margin: 0 auto;
}

.answer-area .no.selected{
    height: 204px;
}

.figure, .figure-title{
    display: none;
    width: auto;
}

.figure.active, .figure-title.active{
    display: block;
}

.figure.angel{
    margin-top: 215px;
    margin-left: 200px;
}

.katheto .figure.angel{
    margin-top: 1235px;
    margin-left: 20px;
    width: 550px;
    height: auto;
}

.figure.xaritomenos{
    margin-top: 290px;
    margin-left: 256px;
}

.katheto .figure.xaritomenos{
    margin-top: 1258px;
    margin-left: 38px;
    width: 380px;
    height: auto;
}

.figure.kalikantzaros{
    margin-top: 290px;
    margin-left: 256px;
}

.katheto .figure.kalikantzaros{
    margin-top: 1318px;
    margin-left: 88px;
    width: 380px;
    height: auto;
}

.result-title{
    display: flex;
    justify-content: center;
    width: 850px;
    position: absolute;
    top: 150px;
    left: 900px;
    z-index: 20;
}

.katheto .result-title{
    top: 470px;
    left: calc(50% - 450px);    
    width: 900px;    
}

.katheto .result-title img{
    height: 62px;
    width: auto;
}

#final .rating-effect-area{
    display: block;
    position: absolute;
    z-index: 15;
    top: 270px;
    left: 1140px;
    width: 398px;    
}

.katheto #loading .rating-effect-area{
    display: block;
    top: 780px;
    left: calc(50% - 199px);
    width: 400px;
    height: 290px;
}

.katheto #loading .loadingName{
    top: 750px;
    font-size: 3.5rem;
    color: var(--white-color);    
    position: relative;
    text-align: center;
}

.katheto #final .rating-effect-area{
    top: 630px;
    left: calc(50% - 199px);   
}

#final .rating-effect{
    width: 398px;
    height: 150px;
    background-color: transparent;
    position: relative;
}

#final .arrow{
    background-color: transparent;
    width: 19px;
    left: 189px;
    top: -20px;
    height: 213px;
}

#loading .arrow-loading{
    display: block;    
    position: absolute;
    z-index: 5;    
    background-color: transparent;    
    
    transform-origin: bottom center; /* ΣΗΜΑΝΤΙΚΟ */    
    
    width: 20px;
    left: 189px;
    top: 0px;
    height: 225px;
}

#final h2{
    color: #ffffff;
    font-size: 4.5rem;
    text-align: center;
    position: absolute;
    z-index: 15;
    width: 800px;
    left: 950px;
    top: 500px;
}

.katheto #final h2{
    width: 800px;
    left: calc(50% - 400px);   
    top: 890px;    
}

#final .score{
    position: absolute;    
    z-index: 15;
    width: 800px;
    text-align: center;    
    left: 950px;
    top: 600px;  
    font-size: 7.4rem;    
}

.katheto #final .score{
    left: calc(50% - 400px);   
    top: 1000px;      
}

.green{
    color: var(--green);
}

.bg-green{
    background-color: var(--green);
}

.orange{
    color: var(--orange);
}

.bg-orange{
    background-color: var(--orange);
}

.dark-orange{
    color: var(--dark-orange);
}

.bg-dark-orange{
    background-color: var(--dark-orange);
}

/*
 * Keyboard
*/

#keyboard-area{
    width: 900px;
    height: 350px;
    position: absolute;
    top: 740px;
    z-index: 40;
    left: calc(50% - 450px);
    background-color: transparent;    
    padding-left: 10px;
    display: none;
}

.katheto #keyboard-area{
    top: 1240px;    
}

#keyboard-area #en, #keyboard-area #el{
    display: none;
}

#keyboard-area .active-keyboard{
    display: grid!important;
}

#keyboard-area.active{
    display: block;
}

.field-output{
    font-size: 2rem;
}

.keyboard-base {
    max-width: 880px;
    padding: 0;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(30, 30px);
    grid-template-rows: repeat(5, 60px);
    grid-gap: 1px;
}


.key, .inactive {
    background-color: var(--keyboard-background-color);
    border: 2px solid var(--blue-color);
    border-radius: 5px;
    grid-column: span 2;
    font-size: 20px;
    text-align: center;
    padding-top: 17px;    
    color: var(--blue-color);
}

.key:hover {
  border: 1px solid #eeeeee;
  
}

.delete {
    grid-column: span 4;
}

.tab, .inactivetab {
    grid-column: span 3;
}

.backslash, .inactivebackslash {
    grid-column: span 3;
}

.capslock {
    grid-column: span 4;
}

.label-caps, .label-low{
    display: none;
    text-transform: none;    
}

.uppercase .label-caps{
    display: block;
}

.lowercase .label-low{
    display: block;
}

.lowercase{
    text-transform: lowercase;
}

.uppercase{
    text-transform: uppercase;
}

.return, .inactivereturn {
    grid-column: span 4;
}

.leftshift, .lang {
    grid-column: span 5;
}

.rightshift, .okkey, .inactiverightshift {
    grid-column: span 5;
}

.leftctrl {
    grid-column: span 3;

}

.command {
    grid-column: span 3;
    font-size: 14px;

}

.space {
    grid-column: span 13;
    width: 864px;

}

.keyboard-overlay, .video-overlay, .empty-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}

.keyboard-overlay.active, .video-overlay.active, .empty-overlay.active{
    opacity: 1;   
    visibility: visible;
}

.video-overlay.active .replay{
    display: block;
    margin-left: 1200px;
    margin-top: 860px;
} 

#empty{
    background-color: #000000;
}

input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px white inset !important;
}

/*
 * Rating Effect
*/

.full-screen{
    width: 528px;
    height: 176px;
    position: absolute;
    top: 0;
    left: 0;
}

#second-screen .slide, #second-screen .background-area, #second-screen .front-area{
    width: 528px;
    height: 176px;        
}

#second-screen .figure.angel{
    margin-top: 33px;
    margin-left: 44px;
    width: 117px;
    height: 133px;
}

#second-screen .figure.xaritomenos{
    margin-top: 48px;
    margin-left: 52px;    
    width: 74px;    
    height: 120px;    
}

#second-screen .figure.kalikantzaros{
    margin-top: 58px;
    margin-left: 60px;    
    width: 75px;    
    height: 102px;    
}

#second-screen .result-title{
    top: 27px;
    left: 140px;
    width: 300px;
}

#second-screen .result-title img.angel{
    width: 238px;
    height: auto;
}

#second-screen .result-title img.xaritomenos{
    width: 230px;
    height: auto;
}

#second-screen .result-title img.kalikantzaros{
    width: 213px;
    height: auto;
}

#second-screen #result-area .rating-effect-area{
    display: block;
    position: absolute;
    top: 60px;
    left: 250px;
    z-index: 20;
    width: 80px;
    height: 52px;
}

#second-screen #result-area .rating-effect{
    width: 80px;
    height: 52px;    
}

#second-screen #result-area .arrow{
    height: 52px;
    width: 5px;    
    left: 38px;
    top: -10px;
}

#second-screen #result-area h2{
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    position: absolute;
    z-index: 15;
    width: 300px;
    left: 135px;
    top: 115px;
}

#second-screen #result-area .score{
    position: absolute;    
    z-index: 15;
    width: 300px;
    text-align: center;    
    left: 147px;
    top: 140px;  
    font-size: 1.1rem;    
}

#second-screen #player-one .rating-effect-area{
    display: block;
    position: absolute;
    top: 35px;
    left: 174px;
    z-index: 20;
    width: 180px;
    height: 79px;
}

#second-screen #player-one .rating-effect{
    width: 180px;
    height: 79px;    
}

#second-screen #player-one .arrow{
    height: 89px;
    width: 8px;    
    left: 86px;
    top: -10px;
}

#second-screen #player-one .name{
    text-align: center;
    position: absolute;
    width: 100%;
    top: 130px;
    display: block;
    font-size: 1.5rem;
    color: var(--white-color);
}

#second-screen #player-one .score-line{
    text-align: center;
    position: absolute;
    display: block;    
    color: var(--white-color);
    width: 160px;
    z-index: 20;
    top: 13px;
    right: 0;
}

#second-screen #player-one .score-line .line-title{
    font-size: 0.8rem;
    padding-bottom: 5px;
}

#second-screen #player-one .score-line .line-score{
    font-size: 2rem;    
}

#second-screen #all-names .top-title{
    width: 180px;
    margin: 10px auto 2px auto;
}

#question-test #all-names .top-title{
    width: 750px;
    margin: 280px auto 80px auto;
}

#second-screen #myList {
    display: flex;
    gap: 30px;
    margin-left: 29px;
}

#question-test #myList {
    display: flex;
    gap: 150px;
    margin-left: 160px;
}

.katheto#question-test #myList{
    display: block;
    margin-left: 175px;    
}

#second-screen #myList .col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#question-test #myList .col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.katheto#question-test #myList .col.left{
    margin-bottom: 40px;
}

#second-screen #myList li {
    color: var(--blue-color);
    font-size: 0.6rem;
    list-style: none;
    padding: 3px 10px 4px 10px;
    border-radius: 20px;
    width: 200px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#question-test #myList li {
    color: var(--blue-color);
    font-size: 1.8rem;
    list-style: none;
    padding: 15px 10px 15px 10px;
    border-radius: 40px;
    width: 700px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-weight: bold;    
}

#second-screen #myList li.shorter-characters .line-name{
    font-size: 0.4rem;    
}

#question-test #myList li.shorter-characters .line-name{
    font-size: 1.4rem;    
}

#second-screen #myList li .line-name{
    font-weight: bold;
    display: block;
    width: 70px;
    height: 13px;
    text-align: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
    
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
} 

#question-test #myList li .line-name{
    font-weight: bold;
    display: block;
    width: 270px;
    height: 53px;
    text-align: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
    
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
} 

#second-screen #myList li .line-result{
    display: block;
    width: 130px;    
    text-align: center;    
    position: relative;
    z-index: 10;    
} 

#question-test #myList li .line-result{
    display: block;
    width: 430px;    
    text-align: center;    
    position: relative;
    z-index: 10;    
} 

.rating-effect-area{
    display: none; 
    width: 300px;
    height: 200px;
    position: relative;    
}

.rating-effect-area.active{
    display: block;    
}

.rating-effect{
    display: block; 
    width: 300px;
    height: 150px;
    background-color: transparent;
    position: relative;
}

.katheto #loading .rating-effect{
    width: 400px;
    height: 290px;    
}

.color-pallet{
    display: block;
    width: 250px;
    height: 100px;
    position: absolute;
    z-index: 5;
    background-color: transparent;
    top: 25px;
    left: 25px;
}

.arrow{
    display: block;    
    height: 150px;
    width: 10px;
    position: absolute;
    z-index: 5;    
    background-color: transparent;    
    left: 140px;
    top: 0;
    
    transform-origin: bottom center; /* ΣΗΜΑΝΤΙΚΟ */
}

/*
 * Jconfirm
*/

.jconfirm .jconfirm-holder{
    width: 50%;
    margin: 0 auto;
}
.jconfirm-box{text-align: center;}
.jconfirm.jconfirm-light .jconfirm-box{background-color: var(--popup-background-color) !important; border: 1px solid color: var(--popup-color);}
.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content, .jconfirm .jconfirm-box div.jconfirm-content-pane.no-scroll{ min-height: 20px;}
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default{color: var(--popup-color) !important; background-color: transparent !important;}
.jconfirm-title-c{font-family: 'Comics', sans-serif; line-height: 1.5; font-weight: 400; color: var(--popup-color);}
.jconfirm-content{font-family: 'Comics', sans-serif; font-weight: 400; color: var(--popup-color);}

.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons{
    width: 100%;
    float: left;
}

/*
 * Fancy Box Area
*/

.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content{
    width  : 70%!important;
    height : 70%!important;
    max-width  : 70%!important;
    max-height : 70%!important;
    margin: 0;
}

.fancybox__iframe html,
.fancybox__iframe body{
    background-color: #ffffff;    
}

body.simple{ 
    background-color: #ffffff;
    color: #000000; 
    font-family: 'Comics', sans-serif;
    font-size: 1.2rem;       
    width: 96%; 
    top: 0px;
    height: auto;
    padding: 2%;
}

.simple p{
    padding-bottom: 1rem;
    text-align: justify;
}

.simple strong{
    font-weight: bold;
}

.simple a{
    font-weight: bold;    
    color: #000000;     
    
}

/*
 * Fancy Box Area
*/