/*
Theme Name: Eldiehy Theme
Text Domain: eldiehy-theme
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
*/

:root {
	--eldiehy-header: #1f1f1f;
	--eldiehy-main: #f2f2f2;
	--eldiehy-footer: #000;
	--eldiehy-title: #e4e4e4;
	--eldiehy-text: #000;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	overflow-x: hidden;
}

body.eldiehy-certificate-page {
	background: rgb(241, 241, 241);
	background: linear-gradient(90deg, rgba(241, 241, 241, 1) 0%, rgba(227, 227, 227, 1) 38%, rgba(255, 255, 255, 1) 69%);
	color: var(--eldiehy-text);
	font-family: "Poppins", sans-serif;
}

.eldiehy-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
}

.eldiehy-header {
	align-items: center;
	background: var(--eldiehy-header);
	display: flex;
	min-height: 84px;
	justify-content: center;
	padding: 20px 0;
	width: 100%;
}

.eldiehy-header__logo {
	display: block;
	height: auto;
	max-height: none;
	max-width: min(220px, 70vw);
	width: 100%;
}

.eldiehy-main {
	align-items: flex-start;
	background: transparent;
	display: flex;
	flex: 1 0 auto;
	justify-content: center;
	padding: 42px 15px 100px;
	width: 100%;
}

.eldiehy-certificate {
	align-items: center;
	background: transparent;
	display: flex;
	flex-direction: column;
	font-size: 22px;
	margin: 0 auto;
	max-width: 100%;
	padding: 15px;
	text-align: center;
	width: 403px;
}

.eldiehy-title-box {
	align-items: center;
	background: rgb(227, 227, 227);
	background: linear-gradient(90deg, rgba(227, 227, 227, 1) 0%, rgba(241, 241, 241, 1) 38%, rgba(227, 227, 227, 1) 69%);
	display: flex;
	gap: 8px;
	height: auto;
	justify-content: center;
	margin: 0;
	max-width: 100%;
	padding: 0 10px;
	text-align: center;
	width: 100%;
}

.eldiehy-title-box__logo {
	display: block;
	height: auto;
	margin-left: -16px;
	max-height: none;
	max-width: 64px;
	width: auto;
}

.eldiehy-title-box__name {
	color: #020d26;
	font-family: "Poppins", sans-serif;
	font-size: 19px;
	font-weight: 500;
	font-style: normal;
	line-height: 30px;
}

.eldiehy-document-icon {
	display: block;
	height: auto;
	margin: 25px auto 27px;
	max-height: none;
	max-width: 35%;
	width: auto;
}

.eldiehy-view-link {
	color: #000;
	display: block;
	font-family: sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 18px;
	margin: 0 auto;
	min-height: 0;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	text-transform: capitalize;
}

.eldiehy-view-link:hover,
.eldiehy-view-link:focus {
	color: #ea232a;
	text-decoration: none;
}

.eldiehy-footer {
	align-items: center;
	background: var(--eldiehy-footer);
	color: #fff;
	display: flex;
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 400;
	justify-content: center;
	line-height: 22px;
	min-height: 0;
	padding: 15px 20px;
	text-align: center;
	width: 100%;
}

body.eldiehy-under-construction-page {
	background: #000;
	margin: 0;
	min-height: 100vh;
	overflow: hidden;
}

.eldiehy-under-construction {
	align-items: center;
	background: #000;
	display: flex;
	height: 100vh;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 100vw;
}

.eldiehy-under-construction img {
	display: block;
	height: 100vh;
	max-height: 100vh;
	max-width: 100vw;
	object-fit: contain;
	width: 100vw;
}

@media (max-width: 480px) {
	.eldiehy-header {
		min-height: 76px;
	}

	.eldiehy-main {
		padding: 42px 15px 90px;
	}

	.eldiehy-title-box {
		width: 100%;
	}
}
