/* -----------------------------------------------------------------------------
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;
}



/* -----------------------------------------------------------------------------
Asian Comics Header
----------------------------------------------------------------------------- */
#header-asian-comics {
	position: fixed;
	width: 100%;
	height: 75px;
	z-index: 10;
	margin-bottom: 40px;
}

#container-asian-comics {
	display: flex;
	justify-content: center;
}

#flex-asian-comics {
	display: flex;
	width: 720px;
	height: 75px;
}

#logo-asian-comics {
	position: relative;
	display: inline-block;
	margin-right: 361px;
}

#logo-asian-comics #asian-comics-image-hover {
	background-repeat: no-repeat;
	display: none;
	position: absolute;
	left: 0;
	cursor: pointer;
}

#logo-asian-comics:hover #asian-comics-image-hover {
	background-repeat: no-repeat;
	background-color: rgba(58, 134, 255, 0.65);
	display: inline;	
}

#asian-comics-link {
	font-family: Poppins;
	font-size: 20px;
	color: white;
	text-decoration: none;
	padding: 21px;
}

#asian-comics-link:hover {
	background-color: rgba(58, 134, 255, 0.65);
	color: black;
	padding: 21px;
}

/* ------------------- Asian Comics Header - Media Queries ------------------ */
@media screen and (max-width: 720px) {
	#flex-asian-comics {
		justify-content: center;
	}

	#logo-asian-comics {
		margin-right: 0px;
	}
}

@media screen and (max-width: 373px) {
	#asian-comics-link {
		display: none;
	}	
}



/* -----------------------------------------------------------------------------
Slide Show
----------------------------------------------------------------------------- */
#container-slide-show {
	display: flex;
	justify-content: center;
	padding-top: 95px;
	height: 530px;
	margin-bottom: 40px;
}

#flex-slide-show {
	display: flex;
	justify-content: center;
	width: 720px;
}

#slide-show {
	display: flex;
	justify-content: center;
	padding-right: 40px;
}

#slide-show li {
	position: absolute;
	list-style-type: none;
	animation-name: slide-showFadeInOut;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-duration: 10s;
}

@keyframes slide-showFadeInOut {
	0% {
		opacity:1;
	}
	17% {
		opacity:1;
	}
	25% {
		opacity:0;
	}
	92% {
		opacity:0;
	}
	100% {
		opacity:1;
	}
}
  
#slide-show li:nth-of-type(1) {
	animation-delay: 8s;
}

#slide-show li:nth-of-type(2) {
	animation-delay: 6s;
}

#slide-show li:nth-of-type(3) {
	animation-delay: 4s;
}

#slide-show li:nth-of-type(4) {
	animation-delay: 2s;
}

#slide-show li:nth-of-type(5) {
	animation-delay: 0s;
}



/* -----------------------------------------------------------------------------
Search
----------------------------------------------------------------------------- */
#container-asian-comics-search {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

#flex-asian-comics-search {
	display: flex;
	justify-content: center;
	width: 720px;
	overflow: hidden;
}

#myInput {
	width: 277px;
	border: 3px solid #8338ec;
	border-right: none;
	padding: 5px;
	height: 20px;
	border-radius: 5px 0 0 5px;
	outline: none;
	color: #D1B4F8;
}

#myInput:focus {
	color: #8338ec;
}

.search-comics {
	width: 40px;
	height: 36px;
	border: 1px solid #8338ec;
	background: #8338ec;
	text-align: center;
	color: #fff;
	border-radius: 0 5px 5px 0;
	font-size: 20px;
}

#container-search-results {
	display: flex;
	justify-content: center;
}

#flex-container-search-results {
	display: flex;
	justify-content: center;
	width: 720px;
}

#container-no-results {
	display: flex;
	justify-content: center;
	position: absolute;
}

#no-results {
	display: none;
	width: 678px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #f3ecfd;
	border: 1px solid #8338ec;
	margin-bottom: 2px;
}

#container-all-titles {
	display: flex;
	justify-content: center;
	position: absolute;
	margin-bottom: 18px;
}

#container-all-titles-list {
	width: 720px;
	list-style-type: none;
	padding: 0px;
}

.flex-title-class {
	display: none;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #f3ecfd;
	border: 1px solid #8338ec;
	margin-bottom: 2px;
}

.flex-title-class:hover {
    background-color: #FF85BA;
	cursor: pointer;
}

.image-div-class img {
	height: 75px;
	padding-right: 10px;
}

.title-div-class {
	font-family: CaviarDreams;
	color: black;
	flex-direction: column;
	justify-content: center;
	display: flex
}



/* -----------------------------------------------------------------------------
All Titles
----------------------------------------------------------------------------- */
#all-titles {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

/* Image */
#container-flip-box {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}

#flex-flip-boxes {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 720px;
}

.flip-box {
	display: flex;
	flex-direction: column;
	width: 220px;
	height: 280px;
	margin-bottom: 20px;
	perspective: 1000px;
}

.flip-box-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}
  
.flip-box:hover .flip-box-inner {
	transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
  
.flip-box-front {
	color: black;
}
  
.flip-box-back {
	transform: rotateY(180deg);
}

/* Genres and Button */
.flip-box p {
	margin-top: 10px;
}

.read-button {background-image: linear-gradient(to right, #FF006E 0%, #8338EC  51%, #FF006E  100%);}

.read-button {
	width: 100px;
	margin-top: 10px;
	padding: 10px;
	text-align: center;
	color: white;
	font-weight: bold;
	box-shadow: 0 0 10px #8338ec;
	transition: 0.5s;
	background-size: 200% auto;
	border-radius: 10px;
	display: block;
	text-decoration: none;
}

.read-button:hover {
	background-position: right center; /* change of the direction of the gradient */
	color: black;
	text-decoration: none;
}



/* -----------------------------------------------------------------------------
About Us
----------------------------------------------------------------------------- */
#container-about-us {
	display: flex;
	justify-content: center;
	padding-top: 95px;
	margin-bottom: 50px;
}

#flex-about-us {
	display: flex;
	justify-content: center;
	width: 720px;
}

#about-us {
	width: 720px;
}



/* -----------------------------------------------------------------------------
Cookie Policy
----------------------------------------------------------------------------- */
#container-cookie-policy {
	display: flex;
	justify-content: center;
	padding-top: 95px;
	margin-bottom: 70px;
}

#flex-cookie-policy {
    display: flex;
	justify-content: center;
	overflow: hidden;
	width: 720px;
    border-radius: 15px 15px 0px 0px;
    background-color: #f3ecfd;
}

#flex-cookie-policy ul {
    list-style-type: none;
    padding-left: 0px;
    overflow: hidden;
}

.cookie-policy-section {
    padding: 0px;
}

.cookie-policy-title {
    font-family: TangoBT;
    font-size: 30px;
    color: white;
    background-color: #8338ec;
	padding-left: 20px;
	margin-bottom: 20px;
}

.cookie-policy-paragraph {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
    text-align: justify;
}

.cli_user_consent_state {
    padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
    text-align: justify;
}



/* -----------------------------------------------------------------------------
Footer
----------------------------------------------------------------------------- */
hr {
	border: 0;
	border-top: 1px solid #8338ec;
}

footer {
	text-align: center;
	padding: 1px;
	margin-top: 50px;
	padding-bottom: 50px;
}

footer a {
	color: black;
	text-decoration: none;
}

footer a:hover {
	color: #8338ec;
}

footer p {
	margin-bottom: 5px;
	margin-left: 10px;
	margin-right: 10px;
}

#email {
	width: 34px;
	height: 30px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	background-image: linear-gradient(to right, #FF006E 0%, #8338EC  51%, #FF006E  100%);
	text-align: center;
	font-size: 20px;
	border: 3px solid #D1B4F8;
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 50%;
	padding-top: 6px;
	z-index: 0;
}

#email:hover {
	cursor: pointer;
}

#email i {
	position: relative;
	color: #D1B4F8;
	transition: .5s;
	z-index: 0;
}

#email:hover i {
	color: white;
	transform: rotateY(360deg);
}

#email:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	background: #3C609C;
	transition: .5s;
	z-index: 0;
}
  
#email:hover:before {
	top: 0;
}


