@font-face {
    font-family: 'Satisfy';
    src:  url('../fonts/Satisfy-Regular.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Varela';
    src:  url('../fonts/VarelaRound-Regular.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Acme';
    src:  url('../fonts/Acme-Regular.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.arabic-text {
    direction: rtl;
    text-align: right;
}

.fn-card {
    font-size:22px;
    opacity: 0.7;
    transition: opacity 0.9s ease; /* Тривалість, функція згладжування (ease), можна змінити за потребою */
}

.fn-card-sett {
    font-size:22px;
    opacity: 0.7;
    transition: opacity 0.9s ease; /* Тривалість, функція згладжування (ease), можна змінити за потребою */
}

.fn-card:hover {
    opacity: 1;
}

.fn-left-symbols {
    color: rgba(85,106,133,0.8);
    font-size:14px
}

.logo-header {
    display: inline-block; /* Це зробить посилання блоковим елементом, дозволяючи встановити розмір */
    min-width: 222px;
    min-height: 48px;
    background-image: url(../img/logo.png);

}
.fn-select-language {
    text-align: left;
    padding-left: 60px
}

.fn-authorize {
    text-align: right;
}
.fn-card .js-text {
    padding-left: 0px;
}
@media (max-width: 576px) {
    .logo-header {
        display: inline-block; /* Це зробить посилання блоковим елементом, дозволяючи встановити розмір */
        min-width: 111px;
        min-height: 48px;
        background-image: url(../img/logo_mobil.png);
        margin-left: 0px;
    }
    .fn-select-language {
        text-align: left;
        padding-left: 0px
    }
    .fn-authorize {
        text-align: right;
        padding-right: 0px;
    }
    .fn-card .js-text {
        padding-left: 30px;
    }

}


.lang-in-dd {
    margin-left: 10px;
    text-decoration: none;
    color: #7e7e7e;
}

.alfabet-container {
    font-family: monospace;
    font-size: 18px;
    border-bottom: 2px solid #dedede;
}
.alfabet-container .vokaler {
    color: #d45f65;

    margin-bottom: 25px;
}
.alfabet-container .konsonanter {
    color: #3049a5;

    margin-bottom: 25px;
}

.js-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -2px;
    left: 0px;
    padding:10px;
    width: 100%;
    height: 100%;
    background: #f8f8f8;
}

.js-loader img {
    width: 100px; /* Якщо ви хочете встановити фіксовану ширину картинки */
    height: 50px; /* Автоматична висота для збереження співвідношення сторін */
}



/* SIDEBAR */

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@keyframes pulse {
    0% {
        background-color: #ededed;
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
    }
    50% {
        background-color: #dcdcdc;
        box-shadow: 0 0 7px 7px rgba(0, 0, 0, 0.2);
    }
    100% {
        background-color: #ededed;
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
    }
}

.fn-record {
    cursor: pointer;
    position: absolute;
    top: 110px;
    left: 16px;
    font-size: 24px;
    border-radius: 20px;
    width: 40px;
    height: 40px;

}

.fn-record:hover {
    background: #ededed;
}

.fn-record-unactive {
    color: #adadad;
    margin-left: 12px;
    margin-top: 7px;
}
.fn-record-active {
    animation: pulse 2s infinite;
    border-radius: 20px;
    color: #0625cc;
    font-size: 30px;
    margin-left: 5px;
    margin-top: 5px;
}

.horizontal-container {
    display: flex; /* Активуємо Flexbox */
    flex-direction: row; /* Горизонтальне вирівнювання (за замовчуванням) */
    gap: 10px; /* Відступи між елементами, за бажанням */
    justify-content: right; /* Центрує елементи по горизонталі */
    align-items: center; /* Центрує елементи по вертикалі */
}
.fn-menu-settings {
    font-family: monospace;
    font-size: 18px;
    border-right: 2px solid #dedede;
}
.fn-menu-username {
    font-family: monospace;
    font-size: 18px;
}

.pleace-white {
    opacity: 0;
}
.pleace-white-message {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-family: 'Acme';
    color: #c1c1c1;
}


/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/* SIDEBAR END */


.count-lang-in-sett {
    position: absolute;
    top: 11px;
    left: 7px;
    background: white;
    color: #000000;
    border-radius: 16px;
    width: 27px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
    border: 3px solid #ff0025f5;
}

.flag-land-in-sett {
    border: 1px solid #000000;
}

.sort-tooltip {
    --bs-tooltip-bg: var(--bs-success);
}

.delete-tooltip {
    --bs-tooltip-bg: var(--bs-danger);
}