* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Assistant", Arial, sans-serif;
}

html, body {
    height: 100%;
}

body {
    border-radius: 35px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    gap: 25px;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

li {
    list-style: none;    
}

a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

a:hover {
    color: orange;
}

header {
    position: relative;
    padding: 0 2rem;
}

.navbar {
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    background-color: blue;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn {
    background-color: orange;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}

.action_btn:hover {
    scale: 1.05;
    color: #fff;
}

.action_btn:active {
    scale: 0.95;
}

.navBtn {
    background-color: darkgreen;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
}

.dropdown_menu {
    display: none;
    position: absolute;
    background-color: #e0e0e0;
    left: 2rem;
    top: 60px;
    width: 300px;
    /* background: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    height: 0;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dropdown_menu.open {
    display: block;
    height: 240px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
}

.title_center {
    justify-content: center;
    align-items: center;
    font-size: 6rem;
}

.multi_color_text {
    font-size: 6rem;
    font-weight: 700;
    background: linear-gradient(90deg,
            #ff0000,
            #ff7b00,
            #ffee00,
            #00ff00,
            #00c8ff,
            #2400ff,
            #ff00ea);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow 8s linear infinite;
}



footer {
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 18px;
    color: #ccc;
}

.mytext {
    width: 800px;
    font-size: 2rem;
    margin: auto;
}

.mytext p {
    text-align: center;
}

/* reg/login */

.form {
    direction: rtl;                /* Иврит + справа-налево */
    text-align: center;
    width: 580px;
    margin: 20px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    font-family: "Assistant", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 16px;
    text-align: center;
    color: #333;
    margin-bottom: -8px;
}

input[type="tel"] {
    direction: rtl;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="number"],
select.role,
textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    text-align: center;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    outline: none;
    transition: 0.6s;
    background: #fafafa;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select.role:focus,
textarea:focus {
    border-color: #4a90e2;
    background: #fff;
    box-shadow: 0 0 6px rgba(74, 144, 226, 0.3);
}

/* .button {
    padding: 12px;
    font-size: 15px;
    border: none;
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.6s;
    justify-content: space-between;
} */

.button {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.button button {
    padding: 12px;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.6s ease;
    width: 100px;
    margin: 20px 4px;
}

button[type="submit"] {
    background: #4a90e2;
    color: #fff;
}

button[type="submit"]:hover {
    background: #3577c1;
}

button[type="reset"] {
    background: #e0e0e0;
    color: #333;
}

button[type="reset"]:hover {
    background: #d5d5d5;
}

/* end reg/login */

.login-no-style form {
    border-radius: unset !important;
    box-shadow: unset !important;
}

.card {
    direction: rtl;                /* Иврит + справа-налево */
    width: 480px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    font-family: "Assistant", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.warr {
    font-size: 24px;
    margin: auto;
    color: red;
}

.inf {
    font-size: 24px;
    margin: auto;
    color: #2400ff;
}

@media (max-width: 800px) {
    .navbar .links,
    .navbar .action_btn {
        display: none;
    }
    .navbar .toggle_btn {
        display: block;
    }
}

@media (max-width: 576px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}

@keyframes rainbow {
    0% {
        background-position: 0%
    }

    100% {
        background-position: 400%
    }
}