:root 
{
    --bg-color: #ffffff;
    --text-color: #000000;
    --primary-color: #f0f0f0;
    --link-color: #007bff;
    --border-light-color: #e2e2e2;
    --hovered-item-color: #e2e2e2;
    --gray: #808080;
}

[data-theme="dark"]
{
    --bg-color: #121212;
    --text-color: #f1f1f1;
    --primary-color: #1e1e1e;
    --link-color: #66b2ff;
    --border-light-color: #1b1b1b;
    --hovered-item-color: #1b1b1b;
    --gray: #303030;
}

* 
{
    transition: none !important;
}

body
{
    margin: 0px;
    color: var(--text-color);
    background-color: var(--bg-color);
}

header
{
    font-size: medium;
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light-color);
    height: 85px;
}

footer p
{
    border-top: 1px solid var(--border-light-color);
    margin-top: 15px;
    padding-top: 50px;
    padding-bottom: 25px;
    color: var(--gray);
    text-align: center;
}

.content
{
    width: 80%;
}

.title, .phone-title
{
    user-select: none;
}

.phone-title
{
    display: none;
    margin-top: 15px;
}

@media (max-width: 992px) 
{
    .content
    {
        width: 100%;
    }

    header
    {
        font-size: medium;
    }

    .nav-container .title {
        display: none;
    }

    .phone-title
    {
        display: inline-block;
        width: 100%;
        padding-top: 8px;
        text-align: center;
        font-size: large;
    }
}

 @media (max-width: 860px) 
    {
        .nav-link
        {
            font-size: small;
            padding-left: 10px;
            padding-right: 10px;
        }
    }
    @media (max-width: 430px) 
    {
        .nav-link
        {
            font-size: 12px;
            padding-left: 8px;
            padding-right: 8px;
        }
    }

@media (max-width: 470px)
{
    .content
    {
        width: 100%;
    }

    h1
    {
        font-size: 30px;
    }

    h3
    {
        font-size: 24px;
    }

    h4
    {
        font-size: 20px;
    }

    h5
    {
        font-size: 15px;
    }

    .px-4
    {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    header
    {
        position: sticky;
    }

    #theme-toggle
    {
        display:none;
    }

    .dropdown-toggle
    {
        padding-left: 4px;
        padding-right: 4px;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
    background-color: #dddddd;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 5px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #007BFF;
}

input:checked + .slider:before {
    transform: translateX(14px);
}

body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dropdown-toggle
{
    color: var(--text-color);
    background-color: var(--bg-color);
}

.dropdown-menu
{
    background-color: var(--bg-color);
    border-color: var(--border-light-color);
}

.dropdown-item
{
    color: var(--text-color);
}

.dropdown-item:hover
{
    color: var(--text-color);
    background-color: var(--hovered-item-color);
}
