@font-face {
    font-family: 'Alef';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/alef/v12/FeVQS0NQpLYglo50H5xQ2J5hm25mww.woff2) format('woff2');
    unicode-range: U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F;
}

:root {
    --theColor: #ffbf00;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    direction: rtl;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: rgba(190, 190, 190, 0.602);
    overflow-x: hidden;
}

a {
    font-family: 'Alef';
    text-decoration: none;
    color: black;
}

li {
    list-style-type: none;
}

hr {
    height: 0px;
    margin-top: 6px;
    border: 1px solid rgba(66, 98, 148, 0.938);
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
}
.container .oneInRow {
    flex-direction: column-reverse;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.centered.diraction {
    flex-direction: column;
}

.text-center {
    text-align: center;
}

.text-shadow {
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.7);
}

.text-decoration {
    text-decoration: underline;
}
.page-header {
    font-size: 45px; 
    color: rgba(80, 160, 180, 1);
}
input[name="question"] , button[name="submitQuestion"], input[type="text"] , button[name="submitComment"], textarea {
    padding: 7px;
    border-radius: 15px;
    border: 3px solid rgba(66, 98, 148, 0.938);
    margin-top: 10px;
    font-size: 16px;
}
.submit-btn_full-color {
    padding: 7px;
    border-radius: 15px;
    border: 3px solid rgba(66, 98, 148, 0.938);
    margin-top: 10px;
    font-size: 16px;
    background-color: rgba(66, 98, 148, 0.938);
    cursor: pointer;
}



/* header */

.header {
    display: flex;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 79PX;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.6);
    z-index: 2;
    transition-duration: 0.15s;
    background-color: rgba(93, 172, 224, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.on-scroll-header-class {
    height: 55PX !important;
    background-color: rgba(93, 172, 224, 0.6)!important;
    backdrop-filter: saturate(80%) blur(8px) !important;
    -webkit-backdrop-filter: saturate(80%) blur(8px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

#PX-header {
    display: none;
    justify-content: center;
}

.header h2 {
    font-size: 30px;
    text-align: center;
}

.header-links-div {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
}

.header-links-div a {
    color: white;
    margin-right: 17px;
    margin-left: 17px;
    text-align: right;
    font-size: 17px;
    font-weight: bold;
}

.TOP-hr {
    display: none;
    opacity: 0.7;
    max-width: 50px;
    margin-left: auto;
    margin-right: auto;
}
    
.header-links-div :hover .TOP-hr {
    display: block;
}

.JS-color {
    transition-duration: 0.15s;
}


/* swipe down navigtionbar */

#nav-conteiner {
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: saturate(50%) blur(7px);
    backdrop-filter: saturate(50%) blur(7px);
    width: 100%;
    height: 0%;
    position: fixed;
    top: 0px;
    z-index: 3;
    transition-duration: 0.3s;
    overflow: hidden;
}

.open-navbar {
    cursor: pointer;
    position: absolute;
    top: auto;
    bottom: auto;
    right: 20px;
    color: rgb(87, 87, 87);
    transition-duration: 0.2s;
}

#close-btn {
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 2%;
    right: 20px;
}

#nav-conteiner i {
    transition-duration: 0.2s;
}

#nav-conteiner a {
    transition-duration: 0.2s;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

#nav-conteiner ul {
    width: 100%;
    position: absolute;
    top: 20%;
    right: 0px;
    text-align: center;
}

#nav-conteiner ul li {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    transition-duration: 0.2s;
}

#nav-conteiner ul li :hover {
    color: rgba(80, 160, 180, 1);
}


/* ------------ */


.container.pic-con {
    height: 100vh;
    align-items: center;
    /*background-image: url(images/כריכה.jpeg);*/
    background-size: 200%;
    background-repeat: no-repeat;
    position: relative;
    /* z-index: -1; */
}

.background-blur-img {
    width: 100vw;
    height: 100%;
    background-image: url('images/כריכה.jpeg');
    background-position: center;
    overflow: hidden;
    filter: blur(35px) brightness(110%);
    -webkit-filter: blur(35px) brightness(110%);
    position: absolute;
    top: 0px;
    right: 0px;
}

.background-blur-img img {
    display: none;
    /* z-index: 1; */
    /* width: 100%; */
    object-fit: cover;
}
.book-pic {
    width: auto;
    height: auto;
    max-height: 90vh;
    max-width: 90vh;
    border-radius: 40px;
    overflow: hidden;
    /* border: black solid 1px; */
    box-shadow: 0 0 100px black;
    transition-duration: 0.1s;
    z-index: 1;
}
.book-pic.change-on-scroll {
    box-shadow: 0 0 20px black;
}


.buyAndPerson_details {
    /* margin-top: -100px; */
    padding: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(100px);
    z-index: 1;
    position: absolute;
    bottom: -100px;
    background-color: rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 1480px) {
    /* header */
    #header {
        display: none;
    }
    #PX-header {
        display: flex;
    }
}
@media only screen and (max-width: 920px) {
    .book-pic {
        max-width: 90%;
    }
}


/* claits recomended */
/* Slideshow container */

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
    text-align: right;
    font-size: 30px;
    min-height: 200px;
    padding: 50px;
}

/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}


/* Position the "next button" to the right */

.next {
    left: 0px;
}

.prev {
    right: 0px;
    border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
    background-color: rgba(163, 163, 163, 0.8);
}


/* The dots/bullets/indicators  */

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

.mySlides a {
    font-size: 15px;
}


/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}



/* questions and answer */
.post {
    display: block;
    width: 100%;
    max-width: 700px;
    /* min-width: 300px; */
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    background-color: white;
    box-shadow: 5px 3px 10px rgba(87, 87, 87, 0.5);
}
.post span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    padding-top: 3px;
    width: 100%;
    height: auto;
    background-color: rgba(126, 198, 216, 0.698);
    box-shadow: 0 5px 9px rgba(112, 112, 112, 0.5);
}
.post span h1 {
    margin-right: 20px;
}
.post span div {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-top: 5px;
    padding-top: 9px;
    border-radius: 50%;
    background-color: rgba(233, 233, 233, 0.685);
}
.post main {
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    text-align: right;
    padding: 20px;
    font-size: 26px;
}
.post main p {
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
}


/* sources */
.source {
    border-radius: 25px;
    padding: 4px;
    background-color: white;
    margin-top: 20px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}
.source.source-chapter {
    background-color: rgba(66, 98, 148, 0.938);
}
.source.source-chapter h2 {
    color: white;
}
.source.source-chapter p, .source.source-chapter br {
    display: none;
}
.source div {
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(80, 160, 180, 1);
}
.source h2 {
    color: rgb(18, 124, 150);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    font-size: 25px;
}
.source p {
    font-size: 19px;
}
.sources-row {
    padding: 10px;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}
.edit-source {
    width: 100%;
}
.edit-source input , .edit-source textarea {
    width: 100%;
    text-align: center;
    border: 1px black solid;
}