/* -----------------------------------------------------------------------------
Fonts
----------------------------------------------------------------------------- */
@font-face {
    font-family: Anders;
    src: url(https://www.horpereng.org/wp-content/themes/horpereng/fonts/Anders.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: CaviarDreams;
    src: url(https://www.horpereng.org/wp-content/themes/horpereng/fonts/CaviarDreams.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Century-Gothic;
    src: url(https://www.horpereng.org/wp-content/themes/horpereng/fonts/Century-Gothic.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: nightwear_0;
    src: url(https://www.horpereng.org/wp-content/themes/horpereng/fonts/nightwear_0.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Poppins;
    src: url(https://www.horpereng.org/wp-content/themes/horpereng/fonts/Poppins.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: riesling;
    src: url(https://www.horpereng.org/wp-content/themes/horpereng/fonts/riesling.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: TangoBT;
    src: url(https://www.horpereng.org/wp-content/themes/horpereng/fonts/TangoBT.ttf);
    font-weight: normal;
    font-style: normal;
}



/* -----------------------------------------------------------------------------
Body
----------------------------------------------------------------------------- */
* {
	margin: 0;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: CaviarDreams;
}



/* -----------------------------------------------------------------------------
Container
----------------------------------------------------------------------------- */
.container-comic-reader {
    display: flex;
	justify-content: center;
}

.flex-comic-reader {
    display: flex;
	justify-content: center;
    width: 720px;
    overflow: hidden;
}

.image-overlay-class {
    position: absolute;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.9);
    width: 720px;
    height: 1000px;
    transition: 0.5s;
}


/* -----------------------------------------------------------------------------
Header and Footer
----------------------------------------------------------------------------- */
#toggle-header {
    display: flex;
	justify-content: center;
    background: rgba(26, 26, 26, .9);
    position: fixed;
    width: 720px;
    height: 60px;
    opacity: 1;
    z-index: 2;
    transition: 0.3s;
}

.fixed-header p {
    color: white;
    font-size: 20px;
    padding-top: 18px;
}

#toggle-footer {
    display: flex;
	justify-content: center;
    background: rgba(26, 26, 26, .9);
    position: fixed;
    bottom: 0;
    width: 720px;
    height: 80px;
    opacity: 1;
    z-index: 2;
    transition: 0.3s;
}

.fixed-header, 
.fixed-footer {
    opacity: 0;
}

.fixed-footer a,
.fixed-footer i {
    height: 80px;
    cursor: auto;
}

.fa.fa-bars {
    margin-top: 0;
}

.fixed-footer i {
    color: white;
    font-size: 20px;
    margin-left: 60px;
    margin-right: 60px;
    margin-top: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.fixed-footer a i:hover,
.fixed-footer i:hover {
    color: #8338EC;
}

/* ------------------- Asian Comics Header - Media Queries ------------------ */
@media screen and (max-width: 420px) {
    .fixed-footer a i,
    .fixed-footer i {
        margin-left: 40px;
        margin-right: 40px;
    }
}



/* -----------------------------------------------------------------------------
Images
----------------------------------------------------------------------------- */
#comic-reader-images {
    list-style-type: none;
    overflow: hidden;
    padding-left: 0;
    z-index: 1;
}

#comic-reader-images li img {
    display: block;
}



/* -----------------------------------------------------------------------------
Menu - Overlay
----------------------------------------------------------------------------- */
.overlay {
    display: flex;
	justify-content: center;
	position: fixed;
	width: 0; /* Starts from nothing. */
    height: 100%;
	z-index: 2;
	left: 0; /* Menu starts showing up from the left. */
	top: 0; /* Menu starts showing up from the top. */
	background-color: rgba(0, 0, 0, 0.9);
	overflow-x: hidden;
    opacity: 0;
	transition: 0.5s;
}

.close-button i {
    position: absolute; /* To place the button on the right side */
    right: 20px; /* To place the button on the right side */
    color: white;
    font-size: 20px;
    text-decoration: none;
    top: 20px;
    transition: 0.3s;
}

.close-button i:hover {
    color: #8338EC;
}



/* -----------------------------------------------------------------------------
Menu - Content - All Chapters
----------------------------------------------------------------------------- */
.content {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

#flex-content {
    height: 70px;
}

.ascending {
    display: flex;
    flex-wrap: wrap;
}

#flex-content p {
    position: relative;
    text-align: center;
    border-radius: 50%;
    border: none;
    background-color: #353538;
    margin: 5px;
    transition: .5s;
}

#flex-content p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #8338EC;
    transform: scale(.9);
    z-index: -1;
    transition: .5s;
}

#flex-content p:hover {
    color: #8338EC;
    box-shadow: 0 0 5px #8338EC;
    text-shadow: 0 0 5px #8338EC;
}

#flex-content p:hover::before {
    transform: scale(1.1);
    box-shadow: 0 0 15px #8338EC;
}

.all-chapters {
    font-size: 20px;
    color: white;
    text-decoration: none;
    cursor: pointer;

    /* Animation in "numbers" inside the circle is included when hovered. */
    display: inline-block;
    width: 60px;
    height: 42px;
    padding-top: 18px;
    transition: .5s;
}

.all-chapters::before {
    background: #8338EC;
    transform: scale(.9);
    transition: .5s;
}

.all-chapters:hover {
    color: #8338EC;
}

.all-chapters:hover::before {
    transform: scale(1.1);
    box-shadow: 0 0 15px #8338EC;
}

.fas.fa-sort {
    color: #FFBE0B;
    display: flex;
    font-size: 25px;
    width: 25px;
    height: 25px;
    padding: 0px;
    margin-left: 40px;
    margin-top: 40px;
}

.fas.fa-sort:hover {
    color: #8338EC;
    cursor: pointer;
}



/* -----------------------------------------------------------------------------
Pop-ups ► Previous and Next
----------------------------------------------------------------------------- */
.popup-overlay1,
.popup-overlay2 {
    opacity: 0; /* Hidden by default */
    display: none;
    position: fixed;
    width: 280px;
    height: 150px;
    border-radius: 15px;
    z-index: 3;
    background: white;
    transition: 0.5s;

    /*center all items*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*center all items*/
}

.first-line {
    margin-left: 15px;
    margin-top: 18.5px;
    margin-bottom: 15px;
}

.second-line {
    text-align: center;
    margin-bottom: 15px;
}

.popup-overlay1 .okay1,
.popup-overlay2 .okay2 {
    background-color: #8338ec;
    text-align: center;
    width: 50px;
    padding: 10px 20px;
    margin-left: 93px;
    cursor: pointer;
    border: 2px solid #2c095d;
    border-radius: 10px;
    opacity: 1; /* Hide "Okay" button when clicked. */
    transition: 0.5s;

    /*text*/
    color: white;
}

.okay1:hover,
.okay2:hover {
    background-color: #2c095d;
}


