/*
Theme Name:     WP Blutroxos 4.0
Description:    Chapter5
Author:         toolbox

*/

:root {
  --main-color: #16201F;  
  --border-color: #16201F;
  
  --form-border-color: #16201F;  
  --main-background-color: #ffffff;
    
  --button-color: #ffffff;
  --button-background-color: #16201F;  
  
  --checkbox-border-color: #16201F;
  --checkbox-fill-color: #16201F;
  
  --popup-background-color: #ffffff;
  --popup-color: #16201F;
}

@font-face {
    font-family: '__DINNextPaneuropean_3fce0f';
    src: url('./fonts/c49253e3d6bc6a57-s.p.woff2')  format('woff2');
}

html{
    font-size: 16px;        
}

body{
    font-family: "__DINNextPaneuropean_3fce0f", sans-serif;
    width: 100vw;
    height: 99vh;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, #27cff6 0%, #1A8AAF 40%, #0d4569 100%);
    display: flex;
    flex-direction: column;        
    overflow: hidden;
}

body *{
    font-family: "__DINNextPaneuropean_3fce0f", sans-serif;    
}

#half-troxos{
    position: relative;
}

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

.img img{
    width: 100%;
    height: auto;
}

.page-wrapper{
    top: 0;
    left: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 58vh;    
    z-index: 10; 
    
}

.page-wrapper.show-gift{
    min-height: 89vh;        
}

.content {
    width: 100%;
    height: 89vh;  
    
}

.winner-area{
    width: 86%;
    margin-top: 3vh;
    margin-left: 7%;
    display: none;
}

.winner-area.active{
    position: relative;
    display: block;    
}

.go-back{
    color: #ffffff;
    position: absolute;
    z-index: 10;
    bottom: 8vh;
    left: 4vw;
    text-decoration: none;
    font-weight: bold;
}

.header{
    width: 40vw;
    margin: 3vw 30vw 6vh 30vw;
    
}

#troxos-area-500{
    margin-top: 0;
    margin-bottom: 0px;    
    margin-left: auto;
    margin-right: auto;
    width: 500px;        
}

#troxos-area-450{
    margin-top: 0;
    margin-bottom: 0px;    
    margin-left: auto;
    margin-right: auto;
    width: 450px;        
}

#troxos-area-800{
    margin-top: 595px;
    margin-bottom: 0px;    
    margin-left: auto;
    margin-right: auto;
    width: 800px;        
}

#troxos-area{
    margin-top: 0;
    margin-bottom: 0px;    
    margin-left: auto;
    margin-right: auto;
    width: 600px;        
}

#canvasContainer {
    position: relative;
    width: 600px;
    z-index: 30;
}

#canvasContainer-500 {
    position: relative;
    width: 500px;
    z-index: 30;
}


#canvasContainer-800 {
    position: relative;
    width: 800px;
    z-index: 30;
}

#canvasContainer-450 {
    position: relative;
    width: 450px;
    z-index: 30;
}

#canvas {
    z-index: 1;
    
}

#prizePointer {
    position: absolute;
    left: 270px;
    top: -57px;
    z-index: 999;
    width: 50px;
}

#prizePointer.class-500{
    left: 225px;
    top: -50px;    
    width: 45px;    
}

#prizePointer.class-450{
    left: 202px;
    top: -50px;    
    width: 45px;    
    
}

#prizePointer.class-800{
    left: 363px;
    top: -60px;
    width: 70px;
    
}

#payButton{
    position: absolute;
    z-index: 800;
    width: 300px;
    height: 300px;
    left: 150px;
    top: 150px;    
}

#payButton.class-500{
    width: 240px;
    height: 240px;
    left: 130px;
    top: 130px;        
    
}

#payButton.class-450{
    width: 190px;
    height: 190px;
    left: 130px;
    top: 130px;        
    
}

#payButton.class-800{
    width: 80px;
    height: 80px;
    left: 355px;
    top: 285px;        
    
}

#payButton.class-800-alt{
    width: 231px;
    height: 230px;
    left: 285px;
    top: 255px;        
    
}

.footer{
    color: #000000;
    background-color: #ffffff;
    padding: 1.6rem 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
}

#half-troxos .footer{
    z-index: 60;
}

.footer img{
    width: 88%;
    
}

.product{
    position: absolute;
    bottom: 0;
    right: 0;   
    z-index: 8;    
    width: 45vw;
    
}

#footer-area{
    font-family: 'Ubuntu', sans-serif;
    width: calc(100% - 2rem);
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    color: var(--blue-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;  
    height: 2vh;
    
}

#half-troxos #footer-area{
    z-index: 60;
    
}

#footer-area a, #footer-area .like-link{
    font-family: 'Ubuntu', sans-serif;    
    font-size: 0.8rem;
    line-height: 0.8rem;
    text-decoration: none;
    display: block; 
    color: #000000;
    
}

.align-right{
    width: 50%;       
    text-align: center;
}

#half-troxos .align-right{
    width: 50%;       
}

.align-left{
    width: 50%;    
    text-align: center;
}

#half-troxos .align-left{
    width: 50%;       
}

.align-center{
    width: 50%;    
    text-align: center;
}

#half-troxos .align-center{
    width: 60%;       
}

.center{
    text-align: center;
}

.hide-area{
    display: none;
}

.error-message{
    color: red;
    font-size: 2rem;
    font-weight: bold;
    line-height: 2.5rem;
    padding-bottom: 1rem;
    position: relative;
    z-index: 2; 
}

.popup-area.extra-class{
    background-color: white;
    border-radius: 10px;
    padding: 2rem 0;
    position: relative;    
    z-index: 2;     
}

/*------------------------------------------------------------------------------*/

.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: 'Source Sans Pro', sans-serif; line-height: 1.5; font-weight: 400; color: var(--popup-color);}
.jconfirm-content{font-family: 'Source Sans Pro', sans-serif; font-weight: 400; color: var(--popup-color);}

/*
 * Fancy Box Area
*/

.fancybox-slide--iframe .fancybox-content {
    width  : 85%;
    height : 85%;
    max-width  : 85%;
    max-height : 85%;
    margin: 0;
    background: #b32024;
}

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

body.simple{ 
    background-color: #ffffff;
    background: linear-gradient(55deg, #ffffff 0%, #ffffff 60%, #ffffff 100%);
    color: #000000; 
    font-family: 'Georgia', sans-serif;
    font-size: 1.2rem;       
    width: 96%; 
    top: 0px;
    height: auto;
    padding: 2%;
    overflow: auto;
}

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

.simple strong{
    font-weight: bold;
}

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


@media screen and (max-width:897px){
    
    .jconfirm .jconfirm-holder{
        width: 90%;
        margin: 0 auto;
    }   
    
    .logo{
        width: 80vw;
    }
    
    .form-control{
        width: 80vw;        
    }
    
    .form-area{
        width: 100%;
    }
}


            .pop-up {
              position: fixed;
              top: 0;
              left: 0;
                width: 100%;
                height: 100%; /* full screen */
              background: rgba(0, 0, 0, 0.4); /* απαλό γκρι/μαύρο φόντο */
              align-items: center;
              justify-content: center;
              z-index: 9999;
              pointer-events: auto; /* επιτρέπει click μόνο στο popup */
              display: none;
            }

            .pop-up.active{
              display: flex;                
            }
            
            .pop-up .hide{
                display: none;
            }
            
            .pop-up::before {
              content: "";
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: rgba(0, 0, 0, 0.4); /* το ημιδιαφανές overlay */
              pointer-events: none; /* δεν μπλοκάρει το popup */
            }

            .pop-up button.close-popup {
              position: relative;
              z-index: 2; /* πάνω από το overlay */
              background: white;
              border: none;
              padding: 10px 20px;
              border-radius: 6px;
              font-size: 16px;
              cursor: pointer;
              box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            }

            .pop-up button.close-popup:hover {
              background: #f0f0f0;
            }     
            
            .popup-area{
                width: 60%;
                text-align: center;
            }
            
            .full-image{
                width: 100%;
            }
            
            .full-image img{
                width: 100%;
                height: auto;
            }

            .popup-area h2{
                font-size:3rem; color: #ffffff; font-weight: bold;                
            }
            
            
            .image-wrapper {
              position: relative;
              display: inline-block;
            }

            .winning-image {
              display: block;
              width: 300px; /* παράδειγμα */
              height: auto;
              transition: opacity 0.3s;
            }

            .image-wrapper.loading .winning-image {
              opacity: 0.5; /* δείχνει ότι φορτώνει */
            }

            .loader {
              position: absolute;
              top: 50%;
              left: 50%;
              width: 30px;
              height: 30px;
              margin: -15px 0 0 -15px;
              border: 4px solid #ccc;
              border-top-color: #333;
              border-radius: 50%;
              animation: spin 1s linear infinite;
              display: none;
            }

            .image-wrapper.loading .loader {
              display: block;
            }

            @keyframes spin {
              0% { transform: rotate(0deg); }
              100% { transform: rotate(360deg); }
            }
            
            
            

