*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

button,
a
{
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

nav
{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    background: #fff;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 30px;
    z-index: 10000;
    box-shadow: 0px 1px 1px rgba(3, 7, 18, 0.00),
                0px 5px 4px rgba(3, 7, 18, 0.00),
                0px 12px 9px rgba(3, 7, 18, 0.01),
                0px 20px 15px rgba(3, 7, 18, 0.01),
                0px 32px 24px rgba(3, 7, 18, 0.01);
}

nav .imagy 
{
    text-decoration: none;
    outline: none;
    border: none;
    width: 100px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 8px;
}


nav .imagy img
{
    max-width: 100%;
}

nav .nav-links 
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

nav .nav-links a
{
    text-decoration: none;
    border: none;
    outline: none;
    color: #333;
    font-family: sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 16px 6px;
    text-transform: capitalize;
    transition: color 0.8s;
}

nav .nav-links a:hover
{
    color: green;
}

nav .nav-links .log
{
    color: #fff;
    background: rgb(105, 195, 105);
    outline: none;
    border: none;
    padding: 12px 6px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: bold;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

nav .nav-links .log:hover
{
    color: #fff;
}

nav .nav-icons
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

nav .nav-icons a
{
    text-decoration: none;
    border: none;
    outline: none;
    letter-spacing: 1px;
    width: 24px;
    height: 24px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.5s;
    position: relative;
}

nav .nav-icons a:hover
{
    background: rgba(0, 0, 0, 0.5);
}

nav .nav-icons a:hover i
{
    color: #fff;
}

nav .nav-icons a i
{
    color: #000;
    transition: 0.5s;
    position: relative;
}

nav .nav-icons a i
{
    color: #000;
    transition: 0.5s;
}

nav .nav-icons a sup
{
    position: absolute;
    color: #fff;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 10px;
    top: -5px;
    right: -5px;
    background: green;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}


nav #menu
{
    display: none;
    color: #000;
    font-family: sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 14px 10px;
    text-decoration: none;
}

@media screen and (max-width: 768px)
{
    nav 
    {
        padding: 0 10px;
    }

    nav .nav-icons #sach
    {
        width: 250px;
        padding: 16px 10px;
        border-radius: 20px;
        border: 1px solid #ddd;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
    }

    nav .nav-icons #sach::before
    {
        content: 'Search.......';
        position: absolute;
        font-size: 13px;
        font-family: sans-serif;
        left: 30px;
        color: grey;
        font-weight: bold;
    }



    nav #menu
    {
        display: block;
    }

    nav .nav-links
    {
       display: none;
    }

    #main.active
    {
        border-top: 1px solid #ccc;
		display: flex;
        flex-direction: column;
		position: absolute;
		top: 100%;
		right: 0;
		height: auto;
		background: #fff;
		width: 200px;
		border-bottom-left-radius: 8px;
        overflow: hidden;
        gap: 0;
        padding: 10px;
        box-shadow: 0px 1px 1px rgba(3, 7, 18, 0.00),
                0px 5px 4px rgba(3, 7, 18, 0.00),
                0px 12px 9px rgba(3, 7, 18, 0.01),
                0px 20px 15px rgba(3, 7, 18, 0.01),
                0px 32px 24px rgba(3, 7, 18, 0.01);
    }

    #main.active a
    {
		width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    #main.active a:last-child
    {
        border-bottom: none;
    }

}


@media screen and (max-width: 490px)
{

    nav .nav-icons #sach
    {
        width: 200px;
    }
}


@media screen and (max-width: 425px)
{
    nav .nav-icons #sach
    {
        width: 170px;
    }
}

@media screen and (max-width: 400px)
{

    nav .nav-icons #sach
    {
        width: 140px;
    }
}


@media screen and (max-width: 375px)
{

    nav .nav-icons #sach
    {
        width: 100px;
    }

    nav .nav-icons #sach::before
    {
        content: 'Search..';
        position: absolute;
        font-size: 13px;
        font-family: sans-serif;
        left: 30px;
        color: grey;
        font-weight: bold;
    }
}