
magazine-viewport {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.magazine-viewport .container {
    position: absolute;
    top: 20%;
    right: 28%;
    margin: auto;
    margin-bottom: 300px;

}

.magazine-viewport .magazine1 {
    width: 922px;
    height: 600px;

    margin: 0 auto;
}

.magazine-viewport .page {
    width: 461px;
    height: 600px;
    background-color: white;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

}

.magazine1 .page {
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.magazine-viewport .page img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
}

.magazine-viewport .shadow {
    -webkit-transition: -webkit-box-shadow 0.5s;
    -moz-transition: -moz-box-shadow 0.5s;
    -o-transition: -webkit-box-shadow 0.5s;
    -ms-transition: -ms-box-shadow 0.5s;

    -webkit-box-shadow: 0 0 20px #ccc;
    -moz-box-shadow: 0 0 20px #ccc;
    -o-box-shadow: 0 0 20px #ccc;
    -ms-box-shadow: 0 0 20px #ccc;
    box-shadow: 0 0 20px #ccc;
}

.cover {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #E7E5E6;

}

.cover h1 {
    font-family: "Bahij-Greta-Arabic-Bold", sans-serif;
    color: #1A202C;
    text-align: center;
}

.cover h5 {
    font-style: normal;
    margin: 10px 40px;
    color:#293245
}

.cover-text {
    display: flex;
    flex-direction: column;
    justify-content: center;align-items: center;
}

.cover img {
    position: absolute;
    width: 490px;
    /*left: 90px;*/
    top: 130px;
    z-index: 1;
}

.title-container {
    margin: 0;
    margin-top: -12px;
    height: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.page-wrap {
    background-color: #E7E5E6 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #111;
    justify-content: center;
    align-items: center;

}


.page-wrap .image-container {
     padding:0px 30px;
 }

.page-wrap .image-container img {
    width: 90%;
    height: 50%;
}

.left-page-overlay,
.right-page-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.left-page-overlay {
    background: linear-gradient(to right, #ffffff00 92%, #ccc 100%);
    border-right: solid 2.5px #bbb;
}

.right-page-overlay {
    background: linear-gradient(to left, #ffffff00 92%, #ccc 100%);
    border-left: solid 2.5px #bbb;
}

.left-page-container {
    padding: 20px 30px 20px 20px;
}

.right-page-container {
    padding: 20px 20px 20px 30px;
}
.test{
    background-image:url("../img/shape.png");
    background-position: center;
    background-size: contain;

}









.header {
    height: 20px;
}

.footer {
    height: 25px;
    background-color: #ffffff00;
}






.page-num-left,
.page-num-right {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    float: right;
    margin: 0px 18px;
    font-weight: bold;
}

.title-page-num {
    position: absolute;
    color: #f9fafe;
    bottom: 6px;
    margin-bottom: 6px;
}

.page-num-left {
    float: left;
}

.page-num-right {
    float: right;
}

.quote-line {
    border-top: 0.5px solid #999;
    width: 170px;
    margin: 10px 5px;
    text-indent: 0;
}

.col1,
.col2 {
    display: table-cell;
    vertical-align: top;
    padding: 10px;
    width: 50%;
}
.col1:before,
.col2:before {
    float: right;
    width: 1px;
    height: 112px;
    content: "";
}
.col2:before {
    float: left;
}
.quote-block {
    float: right;
    clear: right;
    width: 110px;
    height: 210px;
    position: relative;
}
.quote-block img {
    position: absolute;
    left: 10px;
    top: 10px;
}
.col2 p:first-child:before {
    content: "";
    float: left;
    clear: left;
    width: 88px;
    height: 210px;
    margin: 0px 10px 10px -17.5px;
    border-radius: 0 110px 110px 0;
}

.quote-block aside {
    width: 200px;
    height: 200px;
}

.quote-block aside p {
    font-size: 18px;
}

.bottom-quote {
    position: absolute;
    bottom: 10px;
    padding-right: 65px;
}

.bottom-image {
    position: absolute;
    bottom: 70px;
    right: 15px;
    border-radius: 50px;
    z-index: 1;
}

.back-cover {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #c5d6f7;
}
.back-cover img{
    width: 100%;
    height: 100%;
}
.controls{
    display: flex;
    column-gap: 10px;
}
.next-btn,
.prev-btn {
    background-color: #CD211D;;
    border-radius: 5px;
    border: none;
    padding: 8px 16px;
    font-size: 21px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;

}

.next-btn:hover,
.prev-btn:hover {
    background-color: #1A202C;
    cursor: pointer;
}

.next-btn:focus,
.prev-btn:focus {
    outline: none;
}

.controls {
     position:fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

a:focus {
    outline: none;
}

.magazine-content p{
    margin-bottom: 5px!important;
}
.test{
    height: 90%;
}























