nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    z-index: 100;
    transition: all .3s linear;
    -o-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -webkit-transition: all .3s linear;
}

nav.scrollnav,
.dark-mode nav{
    background-color: rgba(0, 0, 0, 0.795);
    transition: all .3s linear;
    -o-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -webkit-transition: all .3s linear;
}

nav .logo {
    position: absolute;
    left: 10px
}

.logo .logo-name {
    display: inline-block
}

.logo a {
    display: flex;
    align-items: center
}

.logo a img {
    max-width: 100%;
    width: 200px;
    margin: 0;
    color: #fff
}

@font-face {
    font-family: Nautilus;
    src: url(../fonts/Nautilus.otf)
}

@font-face {
    font-family: Jamal;
    src: url(../fonts/Jamal.ttf)
}
ul:not(.browser-default) {
    padding-left: 0;
    list-style-type: none
}

nav ul {
    margin: 0 auto;
    transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

nav li {
    margin-right: 10px;
    list-style: none;
    display: inline;
    border-radius: 15px;
    transition: all .2s linear;
    -o-transition: all .2s linear;
    -ms-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -webkit-transition: all .2s linear;
}

nav a {
    width: 100%;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.795);
    font-family: Nautilus;
    padding: 10px;
    transition: all .3s ease-in-out 0;
    -o-transition: all .3s ease-in-out 0;
    -ms-transition: all .3s ease-in-out 0;
    -moz-transition: all .3s ease-in-out 0;
    -webkit-transition: all .3s ease-in-out 0;
}

.scrollnav li a,
.scrollnav i.change-mode,
.dark-mode nav li a {
    color: #fff
}

.scrollnav li:hover a,
.dark-mode nav li:hover {
    color: #fff
}

.nav-link.active,
.nav-link:hover {
    border-top: 3px solid #9acd32!important;
    transition: all 1s linear;
    -o-transition: all 1s linear;
    -ms-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -webkit-transition: all 1s linear;
    transition: border-height 3s linear;
    -o-transition: border-height 3s linear;
    -ms-transition: border-height 3s linear;
    -moz-transition: border-height 3s linear;
    -webkit-transition: border-height 3s linear;
}

.menu {
    display: none
}

header.inspration {
    margin: 10px;
    text-align: center;
    transition: all 1s linear;
    -o-transition: all 1s linear;
    -ms-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -webkit-transition: all 1s linear;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.543);
}

.inspration h2 {
    font-family: Nautilus;
    font-size: 30px
}

header span {
    font-size: 24px;
    
}

.inspration .ayah {
    font-weight: bolder;
    font-size: 68px;
    color: #9acd32;
    font-family:Jamal;
}

header.inspration {
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.700);
    color: #fff;
    width: auto;
    height: auto;
    margin: 10px;
    margin-top: 90px;
    margin-bottom: 0;
    padding: 30px;
    border-radius: 0 60px 0 60px;
}


/* dark mode style */

.change-mode {
    cursor: pointer;
}

.change-mode.fa-sun {
    color: orange;
}

.change-mode.fa-moon {
    color: black;
}

.dark-mode header{
    background-color: #242526;
    color: white;
}

.dark-mode main{
    border-radius: 60px 0 0 0;
}
/* --------cookies message style */

.storage-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #f9f9f9;
    color: #333;
    padding: 12px 16px;
    border: 1px solid #9ACD32;
    border-radius: 5px;
    z-index: 9999;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display:none;
}

.dark-mode .storage-notice {
    background-color: #1e1e1e;
    color: #7ca725;
}

.storage-notice p {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight:bold;
}

.storage-notice button {
    background: #9ACD32;
    color: #fff;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 3px;
}