/* Magazine CSS */

.section-align-center{

    display: flex;
    align-items: center;
    flex-direction: column;
}
.title-heading{
    font-size: 2.5rem;
    font-weight: bold;
    width: 90%;
    display: flex;
    color: #333;
    border-bottom: thin solid lightgrey;
}
/* Book */
#prev-btn,#next-btn
{
	font-size:50px;
	opacity:50%;
	z-index:1;
	position:relative;
}
#prev-btn:hover,#next-btn:hover
{
	opacity:100%
}

.book_section_container {
    display: flex;   
    align-items: center;    
    flex-direction: row;
}
.book {
    position: relative;
 /*   width: 350px;
    height: 500px;*/
	width:50vw;
	height:72vw;
    transition: transform 0.5s;
}

.paper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    perspective: 1500px;

}

.front,
.back {
    background-color: white;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: left;
    transition: transform 0.5s;
}

.front {
    z-index: 1;
    backface-visibility: hidden;
    border-left: 3px solid #fafafa;
}

.back {
    z-index: 0;
}

.front-content,
.back-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.front-content img,
.back-content img {
  /*  width: 350px;*/
	width:50vw;
    height: 100%;
    object-fit: cover;
}

.back-content {
    transform: rotateY(180deg)
}

/* Paper flip effect */
.flipped .front,
.flipped .back {
    transform: rotateY(-180deg);
}

/* Controller Buttons */
button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin: 10px;
    transition: transform 0.5s;
}

button:focus {
    outline: none;
}

button:hover i {
    color: #636363;
}

i {
    font-size: 50px;
    color: gray;
}

/* Paper stack order */
#p1 {
    z-index: 13;
}

#p2 {
    z-index: 12;
}

#p3 {
    z-index: 11;
}
#p4 {
    z-index: 10;
}

#p5 {
    z-index: 9;
}

#p6 {
    z-index: 8;
}
#p7 {
    z-index: 7;
}

#p8 {
    z-index: 6;
}

#p9 {
    z-index: 5;
}
#p10 {
    z-index: 4;
}

#p11 {
    z-index: 3;
}

#p12 {
    z-index:2;
}
#p13 {
    z-index:1;
}

