/*
Theme Name:     siloueta
Description:    Coca Cola Project
Author:         toolbox

*/

@font-face {
	font-family: 'LiterataTT';
        src: url('./fonts/LiterataTT_var.ttf') 
        format('truetype');  
}

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

:root {
  --main-color: #dec573;  
  --mini-color: #5A7391;
  --checkbox-border-color: #dec573;
  --checkbox-fill-color: #dec573;
  --button-background-color: #2181CB;
  --button-color: #ffffff;
  
  --main-gap: 1.5rem;
  --left-gap: 2.5rem;
}

html{
    font-size: 16px;        
}

body{ 
    background:#000000;
    color:#fff;    
    font-size: 1.4rem;
    text-align: center;
    
    width: 100vw;
    height: 100vh;    
}

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

.center-line{
  position: fixed;      /* μένει σταθερή στην οθόνη */
  top: 0;
  left: 50%;            /* στο κέντρο οριζόντια */
  transform: translateX(-50%);
  
  width: 2px;           /* πάχος */
  height: 100vh;        /* ύψος όσο η οθόνη */
  
  background: red;      /* κόκκινο */
  z-index: 50;
}

.slide{
    width: 786px;
    height: 1397px;
    position: relative;
    display: none;
    background:#000000;    
}

.slide.active{
    display: block;
}

img.background-effect{
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
}

.next, h1.title, .timer{
    display: block;
    position: absolute;
    z-index: 20;
}

#intro .next, #find-position-button, #aura-button, #refresh-button{
    top: 770px;
    left: 213px;    
    width: 360px;
    height: 110px;
    border: 0;
}

#intro .next{
    background-color: transparent;    
    width: 480px;
    left: 153px;    
    height: 200px;
    top: 750px;    
}

#intro .next img{
    width: 100%;
    height: auto;
}

#aura #refresh-button{
    top: 970px;    
}

h1.title{
    width: 100%;
    top: 300px;
    font-size: 3rem;
    line-height: 3.2rem;
    
}

.timer{
    width: 100px;    
    height: 100px;
    font-size: 80px;
    line-height: 80px;    
    padding: 12px 10px 8px 10px; 
    border-radius: 80px;
    top: 300px;
    left: 76px;
    color: var(--checkbox-border-color);
    border: 2px solid var(--checkbox-border-color);
    opacity: 0;
    background-color: #000000;
}

.timer.show-timer{
    opacity: 100;    
}

.overlay-camera{
    position: absolute;    
    display: block;
    z-index: 11;
    width: 100%;
    height: 279px;
    background-color: #000000;
}

.coca-cola-logo{
    position: absolute;
    display: block;
    z-index: 12;
    width: 490px;
    top: 77px;
    left: 148px;  
}

#aura .coca-cola-logo{
    top: 97px;
}

.form-control{
    border: 0;    
    width: 46%!important;
    margin: 0 0 1rem 32%!important;    
    display: grid!important;
    grid-template-columns: 23px auto;
    gap: 23px;    
    position: relative;
    z-index: 30;
    top: 1150px;
}

.form-control input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: transparent;
    /* Not removed via appearance */
    margin: 0;
    
    font: inherit;
    color: transparent;
    width: 23px;
    height: 23px;
    border: 2px solid var(--checkbox-border-color);
    border-radius: 2px;
    transform: translateY(-0.075em);    
    
    display: grid;
    place-content: center;    
    
    position: relative;
    top: 3px;    
}

.form-control .checkbox-text, .form-control .checkbox-text a{
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 20px;
    line-height: 23px;    
}

.form-control .checkbox-text{
    text-align: center;
    position: absolute;
    top: 2px;
    left: 28px;        
}

.form-control .checkbox-text a{
    color: #ffffff;
    text-decoration: none;    
}

input[type="checkbox"]::before {
  content: "";
  width: 20px;
  height: 20px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 20px 20px var(--checkbox-fill-color);
  
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);  
  
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
  
}

/*
 * Spiner
*/

.spinner-area{
    display: block;
    position: absolute;
    z-index: 10;
    left: 368px;
    top: 480px;
    will-change: transform;
    transform: translateZ(0);    
}

.spinner-8{
  width: 50px;
  height: 50px;
  position: relative;
  
}

.spinner-8 span{
  position: absolute;
  left: 50%;
  top: 50%;

  width: 14px;        /* ΠΑΧΟΣ */
  height: 65px;       /* ΜΗΚΟΣ */

  margin-left: -7px;
  margin-top: -25px;

  border-radius: 999px;
  background: #cfcfcf;

  transform-origin: center 60px; /* ακτίνα κύκλου */
  opacity: 0.15;

  animation: fadeSpin 0.9s linear infinite;
  
}

/* 8 ακτίνες (45deg η κάθε μία) */
.spinner-8 span:nth-child(1){ transform: rotate(0deg)   translateY(-50px); animation-delay: -0.875s; }
.spinner-8 span:nth-child(2){ transform: rotate(45deg)  translateY(-50px); animation-delay: -0.75s; }
.spinner-8 span:nth-child(3){ transform: rotate(90deg)  translateY(-50px); animation-delay: -0.625s; }
.spinner-8 span:nth-child(4){ transform: rotate(135deg) translateY(-50px); animation-delay: -0.5s; }
.spinner-8 span:nth-child(5){ transform: rotate(180deg) translateY(-50px); animation-delay: -0.375s; }
.spinner-8 span:nth-child(6){ transform: rotate(225deg) translateY(-50px); animation-delay: -0.25s; }
.spinner-8 span:nth-child(7){ transform: rotate(270deg) translateY(-50px); animation-delay: -0.125s; }
.spinner-8 span:nth-child(8){ transform: rotate(315deg) translateY(-50px); animation-delay: 0s; }

@keyframes fadeSpin{
  0%   { opacity: 1; }
  100% { opacity: 0.15; }
}

/*
* Spiner
*/

#message{
    width: 427px;
    position: absolute;
    z-index: 40;
    bottom: 0;
    right: 0;
    display: none;
}

#qrcode{
    position: absolute;
    z-index: 10;
    top: 953px;
    left: 270px;
    width: 244px;
    height: 244px;
    
}

/* wrapper που πιάνει όλη την οθόνη */
#stage, #stage-final{
  position: fixed;
  inset: 0;
  background: black;
  
}

/* Δεν μας νοιάζει το video να φαίνεται */
#video{
  position: absolute;
  inset: 0;
  width: 786px;
  height: 1397px;
  display: block;
  z-index: 5;
/*  transform: scale(1.3) scaleX(-1);*/
  transform: scale(1.3) scaleX(-1);  
}


#final-image{
  width: 786px;
  height: 1397px;
  display: block;
  top: 0;
  left: 0;
  position: absolute;    
  z-index: 20;  
}

/* Το τελικό output είναι πάντα full screen */

.fix-black-line{
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #000000;
}

#canvas, #previewAvra{
  position: absolute;
  inset: 0;
  width: 786px;
  height: 1397px;
  display: block;
  z-index: 6;
  
}

.black-overlay{
    top: 0;
    left: 0;
    position: absolute;    
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #000000;
}

#background-video{
  position: absolute;
  width: 786px;
  height: 1397px;
  display: block;
  z-index: 4;    
  top: 0;
  left: 0;
  background-color: #000000;
}

#bottle, #bottle-layer{
  position: absolute;    
  display: block;  
  z-index: 20;  
  width: 160px;
  height: 320px;
  top: 980px;
  left: 50px;
  
}

#bottle{
    display: none;
}

#bottle-layer{
    z-index: 40;
}

#canvas, #background-video {
  display: none;
  background-color: transparent;
}

#debugBox{
  position: fixed;
  bottom: 10px;
  left: 0px;
  background: rgba(0,0,0,0.7);
  color: #00ffcc;
  font-size: 14px;
  padding: 10px;
  z-index: 9999;
  font-family: monospace;
  width: 100%;
}


button {
    margin-top:10px;
    padding:10px 20px;
    font-size:16px;
}

#restart {
    position: absolute;
    z-index: 11;
    background-color: transparent;
    border: 0;
    top: 80px;
    width: 550px;
    height: 200px;
    left: 130px;
}

.video-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;    
}

.btn-download-video, .share-download-video{
    border: 0;
    background-color: #ffffff;
    color: #000000;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;    
    margin: 10px;
}

.jconfirm .jconfirm-holder{
    width: 80%;
    margin: 0 auto;
}

.jconfirm *{
    font-family: 'LiterataTT';
}

.jconfirm-box{text-align: center;}
.jconfirm.jconfirm-light .jconfirm-box{background-color: #000000!important; color: var(--main-color);}
.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content, .jconfirm .jconfirm-box div.jconfirm-content-pane.no-scroll{
    padding-top: 20px;
    min-height: 80px;
    font-size: 30px;
    line-height: 33px;    
}
.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default{
    color: #000000 !important; 
    background-color: var(--main-color) !important;
    font-size: 40px;
    margin-left: auto;
    margin-right: auto;    
    border-radius: 5px;
}

.jconfirm .jconfirm-box .jconfirm-buttons{
    float: inherit!important;
}

.jconfirm-title-c{display: none!important;}
.jconfirm-content{color: var(--main-color);}

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

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

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

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

.simple-content strong{
    font-weight: bold;
}

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








































