@font-face {
    font-family: Sorkhpust;
    src: url(/font/Sorkhpust.ttf);
}

@font-face {
    font-family: Vazirmatn;
    src: url(/font/Vazirmatn.ttf);
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Vazirmatn;
    font-size: 1rem;
    overflow-x: hidden;
    color: #000000;
    background: #FFFFFF;
    direction: rtl;
}

header {
    position: fixed;
    z-index: 999;
    top: 2rem;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    padding: 1rem;
    transform: translateX(-50%);
    border-radius: 10rem;
    background: #FFFFFF7F;
    box-shadow: 0 0 3rem #00BFFF7F;
    backdrop-filter: blur(1rem);
}

.logo {
    font-family: Sorkhpust;
    font-size: 2rem;
    display: flex;
    align-items: center;
    color: #000000;
    gap: 1rem;
}

.logo img {
    width: 5rem;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: bold;
    position: relative;
    transition: .25s;
    text-decoration: none;
    color: #000000;
}

nav a:after {
    position: absolute;
    right: 0;
    bottom: -.5rem;
    width: 0;
    height: .25rem;
    content: "";
    transition: .25s;
    background: #00BFFF;
}

nav a:hover {
    color: #00BFFF;
}

nav a:hover:after {
    width: 100%;
}

.submit {
    font-weight: bold;
    padding: 1rem;
    transition: .25s;
    text-decoration: none;
    color: #FFFFFF;
    border-radius: 10rem;
    background: #003F7F;
    margin: .5rem;
}

.submit:hover {
    transform: translateY(-.5rem);
}

footer {
    position: relative;
    margin-top: 2rem;
}

.footerBook {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-radius: 4rem 4rem 0 0;
    background: #FFFFFF;
    box-shadow: 0 -1rem 2rem #00BFFF7F;
}

.footerBook:before {
    position: absolute;
    top: 0;
    left: 50%;
    width: .25rem;
    height: 100%;
    content: "";
    transform: translateX(-50%);
    background: #7FBFBF;
}

@media(max-width:768px) {
    header,
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}