header{
    /* background-color: #F3D3BD; */
    /* background-color: hsl(224, 69%, 85%); */
    background-color: #2E3440;
    color: #2E3440;
    width: 100%;
    height: auto;
    display: block;
    padding: 5px 0;
    border-bottom: 3px dashed #FFFFFF;
}
nav{
    width: 1441px;
    margin: 0 auto;
    position: relative;
}
nav a{
    text-decoration: none;
    color: #ECEFF4;
    padding: 10px;
}
nav a:hover{
    text-decoration: none;
    color: #4C566A;
}
.selected {
    color: #2E3440;
    background-color: #00ACEE;
    border-radius: 30px;
    padding: 5px 20px 0 20px;
    transition: 300ms;
}
.selected:hover {
    background-color: #4C566A;
    color: #ECEFF4;
    border-radius: 30px;
    padding: 5px 20px 0 20px;
}
.notification{
    width: 1411px;
    margin: 0 auto;
    background-color:#4C566A;
    padding: 5px 15px;
    color: #ECEFF4;
    font-weight: 300;
    font-size: 0.9rem;
    border-radius: 25px;
    margin-bottom: 10px;
}
#myprofile{
    color: #EBCB8B;
    text-decoration: underline;
}
#myprofile:hover{
    color: #4C566A;
}

.search{
    display: inline;
    float: left;
    margin-left: 40px;
    margin-top: -30px;
    position: relative;
    /* border: 1px dashed ; */
}
.search:focus{
    outline: none;
}

.search input[type=text] {
    width: 175px;
    box-sizing: border-box;
    border: 0;
    border-radius: 30px;
    font-size: 14px;
    background-color: #EEF1F8;
    font-family: "Vazir","JetBrains Mono", sans-serif;
    background-image: url('../icons/search-512.png');
    background-position: 10px 10px; 
    background-repeat: no-repeat;
    padding: 4px 65px 4px 5px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
  }
  
  .search input[type=text]:focus {
    width: 300px;
    outline: none;
  }

  .search input[type=submit] {
    text-align: center;
    width: 65px;
    box-sizing: border-box;
    border: 0;
    font-size: 14px;
    background-color: #00ACEE;
    padding: 4px 5px;
    position: absolute;
    right: -5px;
    border-radius: 30px;
    font-family: "Vazir","JetBrains Mono", sans-serif;
    cursor: pointer;
    transition: 200ms;
  }
  .search input[type=submit]:hover{
    background-color: #333;
    border: 0;
    color: #00ACEE;
  }

.theme{
    font-size: 1.4rem;
    width: 30px;
    height: 30px;
    background-color: #EEF1F8;
    color: #4C566A;
    display: inline;
    float: left;
    padding: 0 3px;
    border-radius: 30px;
    border: 0;
    margin-top: -30px;
    margin-right: 2px;
    cursor: pointer;
    transition: 150ms;
}
.theme:hover{
    background-color: #222222;
    color: #EEF1F8;
}
@media screen and (max-width: 480px) {
    header{
        width: 100%;
        height: auto;
        display: block;
        padding: 5px 0;
        border-bottom: 3px dashed #d8dee9;
    }
    nav{
        width: 98% !important;
        margin: 0 auto;
        padding:0 0 45px 0;
        display: block;
        position: relative;
    }
    nav a{

        padding-right: 10px;
    }
    nav a:hover{
        text-decoration: underline;
        color: #4C566A;
    }
    .notification{
        width: 94% !important;

        padding: 5px 2%;
        margin: 0px 1% 10px 1%;
    }
    .search{
        position: absolute;
        margin-top: 15px !important;
        margin-right: 5px;
        /* border: 1px dashed ; */
    }
    .search:focus{
        outline: none;
    }
    .theme{
        position: absolute;
        margin-top: 15px !important;
        display: inline;
        left: 3px;
        padding: 0 5px;
    }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
    header{
        width: 100%;
        height: auto;
        display: block;
        padding: 5px 0;
        border-bottom: 3px dashed #d8dee9;
    }
    nav{
        width: 98% !important;
        margin: 0 auto;
        padding:0 0 45px 0;
        display: block;
        position: relative;
    }
    nav a{

        padding-right: 10px;
    }
    nav a:hover{
        text-decoration: underline;
        color: #4C566A;
    }
    .notification{
        width: 94% !important;

        padding: 5px 2%;
        margin: 0px 1% 10px 1%;
    }
    .search{
        position: absolute;
        margin-top: 15px !important;
        margin-right: 5px;
        /* border: 1px dashed ; */
    }
    .search:focus{
        outline: none;
    }
    .theme{
        position: absolute;
        margin-top: 15px !important;
        display: inline;
        left: 3px;
        padding: 0 5px;
    }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
    header{
        width: auto;
        height: auto;
        display: block;
        padding: 5px 0;
        border-bottom: 3px dashed #d8dee9;
    }
    nav{
        width: auto !important;
        margin: 0 5px;
        display: block;
        position: relative;
    }
    nav a{
        padding-right: 10px;
    }
    nav a:hover{
        text-decoration: underline;
        color: #4C566A;
    }
    .notification{
        width: auto !important;
        padding: 5px 10px;
        margin: 0px 5px 10px 5px;
    }
    .search{
        margin-left: 40px;
        /* border: 1px dashed ; */
    }
    .theme{
        position: absolute;
        display: inline;
        left: 0;
        padding: 0 5px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1460px) {

    header{
        width: auto;
        height: auto;
        display: block;
        padding: 5px 0;
        border-bottom: 3px dashed #d8dee9;
    }
    nav{
        width: auto !important;
        margin: 0 5px;
        display: block;
        position: relative;
    }
    nav a{
        padding-right: 10px;
    }
    nav a:hover{
        text-decoration: underline;
        color: #4C566A;
    }
    .notification{
        width: auto !important;
        padding: 5px 10px;
        margin: 0px 5px 10px 5px;
    }
    .search{
        margin-left: 40px;
        /* border: 1px dashed ; */
    }
    .theme{
        position: absolute;
        display: inline;
        left: 0;
        padding: 0 5px;
    }
}