@font-face {
    font-family: "UniQAIDAR_Talabat 01";
    src: url("../fonts/UniQAIDAR_Talabat01.woff2") format("woff2"),
        url("../fonts/UniQAIDAR_Talabat01.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Bold.woff2") format("woff2"),
        url("../fonts/Manrope-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Medium.woff2") format("woff2"),
        url("../fonts/Manrope-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Regular.woff2") format("woff2"),
        url("../fonts/Manrope-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-SemiBold.woff2") format("woff2"),
        url("../fonts/Manrope-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-clr: #0d9aab;
    --secondry-clr: #ecf7f8;
    --light-clr: #888888;
    --white-clr: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ::selection {
  background-color: rgb(48, 143, 194);
  color: #fff;
} */

a {
    text-decoration: none;
    display: inline-block;
}

button:focus {
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

img {
    max-width: 100%;
    user-select: none;
}

input:focus,
textarea:focus {
    outline: none;
}

body {
    font-family: "Manrope";
    scroll-behavior: smooth;
}

/* ----------------------utilities------------------ */

/* colors */
.primary-clr {
    color: var(--primary-clr);
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

.primary-clr-hover:hover {
    color: var(--primary-clr);
}

.secondry-clr {
    color: var(--secondry-clr);
    transition: 0.2s;
}

.secondry-clr-hover:hover {
    color: var(--secondry-clr);
}

.primary-back {
    background-color: var(--primary-clr);
    transition: 0.2s;
}

.primary-back-hover:hover {
    background-color: var(--primary-clr);
}

.secondry-back {
    background-color: var(--secondry-clr);
    transition: 0.2s;
}

.secondry-back-hover:hover {
    background-color: var(--secondry-clr);
}

.border-primary {
    border-color: var(--primary-clr) !important;
}

.light-text {
    color: #888888;
    font-weight: 300;
}

/* font sizes */
.font-15 {
    font-size: 15px;
}

.font-18 {
    font-size: 18px;
}
.font-19 {
    font-size: 19px;
}
.font-20 {
    font-size: 20px;
}

.font-22 {
    font-size: 22px;
}

/* shadow */
.shadow-box {
    box-shadow: 0px 20px 30px 1px rgb(0, 0, 0, 3%);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cursor-pointer {
    cursor: pointer;
}

.ltr {
    direction: ltr;
}

p {
    line-height: 30px;
}

.UniQAIDAR_Talabat {
    font-family: "UniQAIDAR_Talabat 01";
}

.btn-hover {
    border: 1px solid var(--primary-clr);
    transition: 0.4s;
}

.btn-hover:hover {
    background-color: transparent;
    color: var(--primary-clr) !important;
}

/* navbar */

.nav-link {
    color: #fff;
    font-weight: 600;
}

.colored .nav-link {
    color: #000;
}

/* 
.nav-link:hover {
  color: var(--primary-clr);
}

.nav-link.active {
  color: var(--primary-clr) !important;
} */

.page-title {
    position: relative;
    min-height: 400px;
    background-image: url("../images/landing_back.webp");
    background-size: cover;
    background-position:center center;
}


.page-title::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: #0d9aab96;
    position: absolute;
    backdrop-filter: blur(9px);
    
}

.page-title svg{
    margin-top:19px;
}

.page-title h1{
    margin-top:19px;
}


.page-title.privacy-policy {
    min-height: 260px;
    padding-bottom:20px;
}

.landing {
    position: relative;
}

.landing::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: calc(100% + 30px);
    background-image: url("../images/landing_back.webp");
    background-size: cover;
}
@media (min-width: 991px) {
    .landing::before {
        padding-top: 30px;
        padding-bottom: 30px;
        height: 600px;
    }
}

.landing-text h1 {
    font-size: 40px;
}

.landing-text p {
}

.landing .input-search,
.page-title .input-search {
    background-color: #93939333;
    width: 532px;
    max-width: 100%;
    height: 50px;
    border: 1px solid #fff;
    border-radius: 14px;
}

.landing .input-search input,
.page-title .input-search input {
    background: none;
    border: 0;
    color: #fff;
    width: 100%;
}

.landing .input-search input::placeholder,
.page-title .input-search input::placeholder {
    color: #fff;
}

.swiper {
    padding: 20px 0;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    border: 6px solid #fff;
    background-position: center;
    background-size: cover;
    border: 8px solid #fff;
    border-radius: 23px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100% !important;
    display: block;
    max-height: 100%;
}

.swiper-slide-next {
    z-index: 3333 !important;
}

.slider-nav {
    padding: 0 100px;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-prev,
.slider-next {
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    color: #fff;
    background-color: var(--primary-clr);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-prev {
}
.slider-next {
}

.book-box {
    border: 1px solid #eeeeee;
    max-width: 220px;
    perspective: 200px;
}



@media(max-width:767px){
    .book-box{
        max-width:165px;
    }
}


.book-box a:first-of-type{
    perspective: 200px;
}    

.book-box img {
    transform: rotateX(7deg);
    width: 80%;
    transition: 0.5s;
}

.book-box:hover img {
    transform: rotateX(0deg);
}

.cate-lang {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 2px;
}

.cate-lang button {
    border: 0;
    background: none;
    cursor: pointer;
    padding: 12px 9px;
    border-radius: 4px;
}

.cate-lang button.active {
    background-color: var(--primary-clr);
    color: #fff;
}

.category-box {
    border: 1px solid #eeeeee;
    width: 220px;
}

@media(max-width:767px){
    .category-box {
        width:165px;
        max-width:100%;
    }
}

.category-box img {
    width: 196px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

@media(max-width:767px){
    .category-box img{
            height: 140px;
    }
}

.english-arabic-books-box.english {
    background-color: #39255b;
}

.english-arabic-books-box.english a {
    color: #39255b;
}

.english-arabic-books-box.arabic {
    background-color: #0d9aab;
}

.english-arabic-books-box.arabic a {
    color: #0d9aab;
}

.random-example {
    background-color: #f8f8f8;
    padding-top: 50px;
    padding-bottom: 50px;
}
@media (min-width: 991px) {
    .random-example-text > h2 {
        max-width: 430px;
    }
}

.random-example-text p {
    color: #686868;
}

.random-example-image {
    position: relative;
}

.random-example-image::before {
    content: "";
    width: 70%;
    height: 82%;
    background-color: var(--primary-clr);
    border-radius: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.random-example-image > * {
    position: relative;
    z-index: 3333;
}

.random-example-image div:first-of-type {
    transform: translateY(-38px);
}

.random-example-image img {
    width: 160px;
    margin-bottom: 15px;
        border: 6px solid #fff;
    border-radius: 15px;
}

.single-book {
    position: relative;
}
@media (min-width: 991px) {
    .single-book::before {
        content: "";
        background-color: var(--primary-clr);
        width: 30%;
        height: 84%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
}

.single-book > * {
    position: relative;
    z-index: 333;
}

.single-book-image {
    perspective: 1200px;
}

.single-book-image img {
    width: 415px;
    max-width: 100%;
        border: 10px solid #fff;
    border-radius: 27px;
}

@media (min-width: 991px) {
    .single-book-image img {
        transform: rotateY(41deg) rotateX(10deg);
    }
}

.single-box-details-box > i {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: var(--primary-clr);
}

.privacy-box {
    border: 2px solid #eeeeee;
    border-radius: 12px;
    position: relative;
}

.privacy-box::before {
    content: url(../images/privacy_box_icon.svg);
    position: absolute;
    left: 40%;
    top: -40px;
    background-color: #fff;
    padding: 20px;
}

.privacy-box::after {
    content: url(../images/privacy_box_icon.svg);
    position: absolute;
    left: 17%;
    bottom: -40px;
    background-color: #fff;
    padding: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    height: 52px;
    border: 1px solid #c5cad1;
    border-radius: 6px;
    background: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-clr);
}

.contact-form textarea {
    min-height: 180px;
    resize: none;
    overflow-y: none;
}

/* footer */
.back-link-box {
    height: 75px;
}
