body {
    font-family: "vazir";
    margin: 0;
}

/**! -------------------header------------------- */

div.fix {
    position: sticky;
    top: 0;
    z-index: 100;
}

header {
    background-image: linear-gradient(to right, rgb(146, 146, 250), rgb(248, 168, 168), rgb(146, 146, 250));
    border: 1px solid gray;
    box-shadow: 0px 0px 10px rgb(0, 97, 0);
    width: 100%;
}

/** -------------------top header------------------- */
div.header-top {
    display: flex;
    width: 100%;
    height: 80px;
    align-items: center;
    padding: 0px 30px;
}

/* ---logo--- */
img.mikhak {
    width: 60px;
    height: 60px;
    border-radius: 40px;
    padding: 10px;
    cursor: pointer;
}

/* ---logo--- */


/* ---search--- */
div.searchbar {
    display: flex;
    height: 50px;
    flex: 1;
}

div.search {
    display: flex;
    position: relative;
    width: 80%;
}

label.search {
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: end;
}

img.search {
    width: 40px;
    z-index: 1;
    margin: 5px;
    cursor: pointer;
    position: sticky;
}

input.search {
    background-color: aquamarine;
    font-family: "vazir";
    padding: 4px 20px;
    width: 100%;
    z-index: 1;
    border-radius: 30px 8px 8px 30px;
    font-size: 18px;
    font-weight: bold;
    border: solid aquamarine;
    outline: aquamarine;
    transition: all 0.7s;
}

input.search:focus {
    background-color: white;
}

/* ---search--- */


/* ---left menu--- */
div.left-menu {
    display: flex;
    align-items: center;
    width: 300px;
}

img.store {
    padding: 7px;
    border-radius: 5px;
    transition: all 0.7s;
    cursor: pointer;
}

img.store:hover {
    background-color: brown;
}

div.sign-up {
    display: flex;
    align-items: center;
    margin-right: 10px;
    padding: 1px 7px;
    border-radius: 5px;
    transition: all 0.7s;
    cursor: pointer;
}

div.sign-up:hover {
    background-color: brown;
}

/* ---left menu--- */

/** -------------------top header------------------- */


/** -------------------bottom header------------------- */

div.header-bottom {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 50px;
    width: 100%;
}

ul {
    display: flex;
    margin: 0;
}

img.icon {
    width: 40px;
    height: 40px;
    margin-left: 5px;
}

a.icon {
    color: black;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px 20px;
    font-weight: bold;
    flex-shrink: 1;
    font-size: 18px;
    height: 100%;
    text-wrap: nowrap;
    position: relative;
}

a.icon::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: brown;
    transition: all .5s ease;
    transform: translateX(-50%);
    left: 50%;
}

a.icon:hover::after {
    width: 100%;
}

/** ------------------bottom header--------------- */

/**! --------------------header----------------- */

/**! -------------------main------------------- */
div.top-main {
    display: flex;
    margin-top: 40px;
    justify-content: space-around;
}

img#mikhak {
    width: 18%;
    border-radius: 20px;
}

div#slider {
    width: 70%;
    height: 400px;
    position: relative;
}

div#slider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}

/** .............arrows.............. */

div#go-right,
div#go-left {
    height: 60px;
    width: 60px;
    border-radius: 30px;
    background-color: rgba(255, 0, 21);
    opacity: 50%;
    position: absolute;
    top: 43%;
    transition: all .3s;
}

div#go-right {
    right: 10px;
}

div#go-left {
    left: 10px;
}

div#right-arrow {
    height: 28px;
    width: 28px;
    border-top: 6px solid #ecf0f1;
    border-right: 6px solid #ecf0f1;
    border-radius: 5px;
    position: absolute;
    transform: rotate(45deg);
    top: 21%;
    right: 18px;
}

div#left-arrow {
    height: 28px;
    width: 28px;
    border-top: 6px solid #ecf0f1;
    border-left: 6px solid #ecf0f1;
    border-radius: 5px;
    position: absolute;
    transform: rotate(-45deg);
    top: 21%;
    left: 18px;
}

div#go-right:hover {
    background-color: yellow;
}

div#go-right:hover div {
    border-color: purple;
}

div#go-left:hover {
    background-color: yellow;
}

div#go-left:hover div {
    border-color: purple;
}

.right-arrow-move {
    animation: move-right 1s;
}

.left-arrow-move {
    animation: move-left 1s;
}

@keyframes move-right {
    0% {
        right: 18px;
        opacity: 1;
    }

    50% {
        right: -70px;
        opacity: 0;
    }
}

@keyframes move-left {
    0% {
        left: 18px;
        opacity: 1;
    }

    50% {
        left: -70px;
        opacity: 0;
    }
}

/** .............arrows.............. */
