/* Γενικές Ρυθμίσεις */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

#chatStage {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.chatBack {
    position: absolute;
    background-image: url('../images/chatBack.jpg');
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: zoomInBlur 1s ease-in-out forwards; /* Μείωση διάρκειας animation */
    filter: blur(10px) brightness(0.7); /* Αρχικό εφέ */
    transform: scale(1.2) translateZ(0); /* Επιτάχυνση hardware */
    will-change: transform, filter; /* Ενημέρωση για μελλοντικές αλλαγές */
    backface-visibility: hidden; /* Βελτίωση απόδοσης μετασχηματισμών */
}

/* Εφέ Zoom-In και Καθαρισμού */
@keyframes zoomInBlur {
    0% {
        filter: blur(10px) brightness(0.7); /* Θολή εικόνα με χαμηλό φωτισμό */
        transform: scale(1.2) translateZ(0); /* Ελαφρώς μεγαλύτερο */
    }
    100% {
        filter: blur(0) brightness(1); /* Καθαρή εικόνα με φυσικό φωτισμό */
        transform: scale(1) translateZ(0); /* Κανονικό μέγεθος */
    }
}


/* Στυλ για τον τίτλο */
#banner_top {
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-top: 10px;
    display: block;
    opacity: 0;
    animation: zoomIn 1s ease-in-out forwards; /* Μείωση διάρκειας animation */
    will-change: transform, opacity; /* Ενημέρωση για μελλοντικές αλλαγές */
    backface-visibility: hidden; /* Βελτίωση απόδοσης μετασχηματισμών */
    transform: translateZ(0); /* Επιτάχυνση hardware */
}

/* Εφέ Zoom-In */
@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateZ(0); /* Ξεκινά μικρό */
    }
    100% {
        opacity: 1;
        transform: scale(1) translateZ(0); /* Κανονικό μέγεθος */
    }
}


/* Στυλ για το menu */
.menu {
    position: absolute;
    top: 20%;
    right: 5%;
    z-index: 1000;
}

.rootmenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    position: relative;
    justify-content: center;
    text-align: center;
    font-size: 30px;
    animation: fadeInSlide 2s ease-in-out;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(-50px); /* Ξεκινά από ψηλά */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Τελική θέση */
    }
}


.rootmenu .item {
    
    color: #ecf0f1;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    text-decoration: none;
    margin: auto;
    position: relative;
    justify-content: center;
    text-align: center;
    font-size: 28px;
    font-style: normal;


    list-style: none;
    list-style-type: none;
    color: rgb(0, 255, 255);

    font-weight: normal;
    font-family: "Comic Sans MS", "sans-serif", cursive;
    cursor: pointer;
}

.rootmenu .item:hover {
    background-color: #34495e;
    margin: auto;
    position: relative;
    justify-content: center;
    text-align: center;
    font-size: 30px;
    list-style: none;
    list-style-type: none;
    color: rgb(255, 153, 0);
    font-family: "Comic Sans MS", "sans-serif", cursive;
    font-weight: 500;

}

/* Στυλ για τα buttons */
button.item {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.item:hover {
    background-color: #2980b9;
}
/* ARXIKH STYLE */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;500&display=swap');

/* MENU */
.menu {
    box-shadow: rgb(255, 255, 255) 0px 0px 20px 1px;
    left: 15px;
    height: fit-content;
    width: 300px;
    justify-content: center;
    background-color: rgba(31, 31, 31, 0.9);
    padding: 20px;
    border-radius: 20px;
    border: 0;
    outline: 0;
    float: left;
    position: absolute;

}
.online {
    background-color: rgb(0, 0, 0);
    box-shadow: rgb(255, 255, 255) 0px 0px 20px 1px;
    width: 400px;
    height: 250px !important;
    max-height: 250px !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    position: absolute;
    border-radius: 6px;
    z-index: 999;
}

.rules {
    background-color: rgb(0, 0, 0);
    box-shadow: rgb(255, 255, 255) 0px 0px 20px 1px;
    width: 400px;
    height: 380px !important;
    max-height: 380px !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    position: absolute;
    z-index: 999;
}

.onlinetxt {
    background-color: rgb(0, 0, 0);
    box-shadow: rgb(255, 255, 255) 0px 0px 20px 1px;
    color: rgb(184, 13, 13);
    font-size: 18px;
    width: 100%;
    resize: none;
    height: 220px !important;
    outline: none;
    box-shadow: none;
    bottom: 0;
    overflow: hidden;
    white-space: pre-line;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    overflow-y: scroll;
    scrollbar-width: thin;
    word-break: break-all;
    z-index: 10;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-family: math;
    -webkit-box-shadow: 0 0 0 3px rgba(255, 148, 71, .45);
    box-shadow: 0 0 0 3px rgba(255, 148, 71, .45)
}

.rulestxt {
    background-color: rgb(0, 0, 0);
    box-shadow: rgb(255, 255, 255) 0px 0px 20px 1px;
    color: white;
    font-size: 16px;
    width: 400px;
    height: 350px !important;
    max-height: 350px !important;
    resize: none;
    height: calc(600px - 20px);
    outline: none;
    box-shadow: none;
    bottom: 0;
    scrollbar-width: thin;
    font-family: "Verdana", "Helvetica", Sans-serif;
}

.rulestxt:hover {
    outline: none;
    box-shadow: none;
}

.title {
    height: fit-content;
    padding: 10px;
    text-align: left;
    line-height: 12px;

    font-weight: bold;
    font-size: large;

    background-color: dodgerblue;
    color: white;
}

master {
    text-align: center;
    font-weight: bold;
    font-size: large;
    color: #fff;
    font-family: "Kanit";
    font-size: 40px;
    line-height: 1em;
    margin: 0;
    position: absolute;
    text-align: center;
    transform: translateY(-50%);
    width: 100%;
    text-shadow: 0 1px 0 #111, 0 2px 0 #111, 0 3px 0 #111, 0 4px 0 #111, 0 5px 0 #111, 0 6px 0 #111, 0 7px 0 #111, 0 8px 0 #111, 0 0 5px rgba(230, 139, 139, 0.05), 0 -1px 3px rgba(230, 139, 139, 0.2), 0 9px 9px rgba(230, 139, 139, 0.3), 0 12px 12px rgba(230, 139, 139, 0.3), 0 15px 15px rgba(230, 139, 139, 0.3);
}

#banner_bottom {
    bottom: 100px;
}

#banner_top {
    top: 100px;
    font-weight: bold;
    font-size: 70px;
    text-transform: capitalize;
}

.closeBtn {
    background-image: url('../images/x.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    float: right;
    cursor: pointer;
}
.visually-hidden { 
    position: absolute; 
    width: 1px; 
    height: 1px; 
    padding: 0; 
    margin: -1px; 
    overflow: hidden; 
    clip: rect(0, 0, 0, 0); 
    white-space: nowrap; 
    border: 0; 
}
