::-webkit-scrollbar {
    width: 10px;

}

::-webkit-scrollbar-thumb {
    background-color: gold;
    border-radius: 9px;
}


* {
    color: white;

}

button {
    all: unset;
}

body {
    background-color: black;


}

.navbar {
    background-color: #4C4C4C;
    width: 100%;
    height: 70px;
    border-radius: 0px 0px 70px 70px;
    position: fixed;
    top: 0px;
    left: 0px;
}

.icon {
    width: 50px;
    position: fixed;
    left: 50px;
    top: 10px;
    animation-name: iconanimation;
    animation-duration: 3s;
    animation-iteration-count: infinite;


}

@keyframes iconanimation {
    0% {
        transform: rotate(0deg);
        transition: rotate 0.1s;
    }

    25% {
        transform: rotate(-45deg);
        transition: rotate 0.1s;
    }

    50% {
        transform: rotate(0deg);
        transition: rotate 0.1s;
    }

    75% {
        transform: rotate(45deg);
        transition: rotate 0.1s;
    }

    100% {
        transform: rotate(0deg);
        transition: rotate 0.1s;
    }
}

.nav {
    position: absolute;
    top: 12px;
    right: 50px;
    direction: rtl;
    display: flex;
    align-items: center;
}

.navlinks {
    text-decoration: none;
    margin-left: 20px;
    font-size: 20px;

}

.search {
    position: absolute;
    height: 44px;
    border-radius: 22px;
    background-color: white;
    right: 50%;
    transform: translate(50%, -50%);
    top: 50%;
    transition: all ease 0.5s;
    overflow: hidden;
}

.search_img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 5px;
    box-sizing: border-box;
    visibility: visible;
}

.search_close_img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 5px;
    box-sizing: border-box;
    visibility: visible;
    position: fixed;
    left: 0px;
    top: 50%;
    transform: translate(0%, -50%);
}

.search_button {
    position: fixed;
    right: 0px;
    top: 54%;
    transform: translate(0%, -50%);

}

.search_input {
    all: unset;
    color: black;
    font-size: 20px;
    text-align: center;
    width: 210px;
    height: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px black inset;
}

.searchinput:focus {

    outline: none;
}

@media screen and (max-width:375px) {



    * {
        color: white;

    }

    body {
        background-color: black;


    }

    .navbar {
        background-color: #4C4C4C;
        width: 100%;
        height: 40px;
        border-radius: 0px 0px 70px 70px;
        position: fixed;
        top: 0px;
        left: 0px;

    }

    .icon {
        width: 20px;
        position: fixed;
        left: 50px;
        top: 10px;
        animation-name: iconanimation;
        animation-duration: 3s;
        animation-iteration-count: infinite;
        visibility: hidden;

    }

    .nav {
        position: fixed;
        right: 50px;
    }

    .navlinks {
        text-decoration: none;
        margin-left: 20px;
        font-size: 20px;
        position: relative;
        top: 25px;
        visibility: hidden;

    }

    .searchimage {
        width: 40px;
        height: 40px;
        background-color: white;
        border-radius: 50%;
        padding: 5px;
        box-sizing: border-box;
        visibility: hidden;

    }

    .search {
        height: 46px;
        width: 20%;
        right: 30%;
        position: fixed;
        top: 12px;
        display: flex;
        transition: width 1s ease-in-out;
    }

    .search:hover {
        position: fixed;
        background-color: white;
        width: 30%;
        right: 35%;
        border-radius: 20px;


    }

    .search:hover .searchimage {
        margin-top: 3px;

    }

    .searchinput {
        visibility: hidden;
        color: black;
        font-size: 20px;
        text-align: center;
    }

    .search:hover .searchinput {
        visibility: visible;
        width: 100%;
        border: 0px solid white;
        border-bottom-right-radius: 20px;
        border-top-right-radius: 20px;
    }

    .searchinput:focus {

        outline: none;
    }
}