﻿html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0; /* הסרת המרווחים הסטנדרטיים */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    padding-top: 80px; /* מוסיף רווח בין התפריט לתוכן */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* Bold weight for headings */
}

/* Navbar styling */
.navbar {
    background-color: #ffffff !important; /* Ensure navbar background is white */
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    width: 100%; /* Ensure navbar takes full width */
    display: flex;
    justify-content: center; /* Center the navbar */
    position: fixed; /* Fixed position to stick on top */
    top: 0;
    z-index: 1000; /* Make sure it stays above other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Subtle lighter shadow */
}

    /* Navbar list styling */
    .navbar ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex; /* Align items horizontally */
        justify-content: center; /* Center the items horizontally */
    }

        /* Navbar list items styling */
        .navbar ul li {
            margin: 0 15px; /* Space between menu items */
        }

            /* Navbar links styling */
            .navbar ul li a {
                text-decoration: none;
                color: #000 !important; /* Ensure text is black and overrides any other styles */
                font-size: 16px;
                font-weight: bold;
                transition: color 0.3s, background-color 0.3s; /* Hover effect */
                padding: 10px 15px;
                border-radius: 5px; /* Rounded corners */
            }

                /* Navbar link hover effect */
                .navbar ul li a:hover {
                    color: #fff !important; /* White text color on hover */
                    background-color: #04AA84; /* Green background on hover */
                }

/* General styling for links */
a {
    text-decoration: none;
    color: #258cfb;
    transition: color 0.3s ease;
}

    a:hover {
        color: #0056b3;
    }

/* Form controls */
.form-control {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
}

    .form-control:focus {
        border-color: #258cfb;
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

/* Footer styling */
footer {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    margin-top: auto; /* ensure footer is at the bottom */
}

    footer a {
        color: #258cfb;
        text-decoration: none;
    }

        footer a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

/* Responsive adjustments */
@media (max-width: 767px) {
    .navbar ul {
        flex-direction: column; /* מסדר את הפריטים אחד מתחת לשני במובייל */
        width: 100%;
    }

        .navbar ul li {
            margin: 10px 0; /* ריווח בין הפריטים במובייל */
        }

            .navbar ul li a {
                font-size: 14px; /* גודל גופן קטן יותר במובייל */
            }

    .navbar {
        padding: 10px; /* פחות ריווח במובייל */
    }
}
