@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&display=swap');

* {
	font-family: "Poppins", sans-serif;
	padding: 0;
	margin: 0;
}

body {
	background: #4682b4 !important;
}

body .container {
	max-width: 1100px;
}

/* -- HEADER ---------------------------------------------------- */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	background-color: #315d7f;
	height: 90px;
	width: 100%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo img {
	height: 75px;
}

#heading {
	background: url('logo-l.png') no-repeat;
	width: 340px;
	height: 65px;
	transition: opacity 1.5s ease;
}

.heading {
	flex-grow: 1;
	text-align: center;
	margin: 0;
	-webkit-text-stroke: 2px #000;
	font-size: 5rem;
	text-align: center;
	color: rgba(0, 0, 0, 0);
	font-family: "Berkshire Swash", serif;
	text-shadow: 5px 1px 0px #dbf000;
	cursor: pointer;
}

@media (max-width: 600px) {
	#heading {
		background: url('logo-s.png') no-repeat;
		width: 111px;
		height: 65px;
	}
}

/* -- FILTER BUTTONS -------------------------------------------- */

#filter-buttons button {
	border-radius: 3px;
	background: #fff;
	border-color: transparent;
}

#filter-buttons button:hover {
	background: #ddd;
}

#filter-buttons button.active {
	color: #fff;
	background: limegreen;
}

#filterable-cards .card {
	width: 200px;
	border: 5px solid transparent;
}

#filterable-cards .card.hide {
	display: none;
}

.card img {
	border-radius: 5px;	
}

.card-text {
	text-decoration: none;
	padding: 5px;
	margin: 5px 0;
	background-color: #b9b9b9;
	color: #222;
	border: 1px solid #ccc;
	border-radius: 4px;
	display: inline-block;
	text-align: center;
	width: 70px;
}

.card-text:hover {
	background-color: #dbf000;
}

.card-body {
	position: relative;
	display: inline-block;
}

/* -- TOP BUTTON ------------------------------------------------ */

#myBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	border: none;
	outline: none;
	background-color: #dbf000;
	color: #000;
	cursor: pointer;
	padding: 15px;
	border-radius: 10px;
	font-size: 18px;
}

#myBtn:hover {
	background-color: #DDD;
}

/* -- IMAGE FLIP ------------------------------------------------ */
.image-container {
	position: relative;
	width: 200px;
	height: 300px;
}

.image-container img {
	position: absolute;
	top: 0;
	left: 0;
	width: 95%;
	height: 100%;
	cursor: pointer;
	display: none;
}

.image-container img.active {
	display: block;
}

/* SUGGESTION MODAL --------------------------------------------- */

#message {
	position: absolute;
	color: #dbf000;
	display: inline-block;
	font-weight: bold;
	top: 90px;
	right: 20px;
}

#openModal {
	z-index: 99;
	border: none;
	outline: none;
	background-color: #dbf000;
	color: #000;
	cursor: pointer;
	padding: 15px;
	border-radius: 10px;
	font-size: 18px;
	width: 125px;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: white;
	margin: 50px auto;
	padding: 25px;
	border-radius: 8px;
	max-width: 400px;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
	color: #ff6f61;
	position: absolute;
	right: 15px;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
}

.close:hover, .close:focus {
	color: #ff4b3a;
}

/* SUGGESTION FORM ---------------------------------------------- */
.request {
	width: 350px;
	margin: 6px auto;
	font-size: 16px;
}

.request-header {
	margin-top: 0;
	margin-bottom: 0;
	background: #28d;
	padding: 20px;
	font-size: 1.4em;
	font-weight: normal;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	position: relative;
}

.request-container {
	background: #ebebeb;
	padding: 12px;
}

.request p {
	padding: 2px 12px;
}

.request input {
	box-sizing: border-box;
	display: block;
	width: 100%;
	border-width: 1px;
	border-style: solid;
	padding: 16px;
	outline: 0;
	font-family: inherit;
	font-size: 0.95em;
	border-radius: 6px;
}

.request input[type="submit"] {
	background: #28d;
	border-color: transparent;
	color: #fff;
	cursor: pointer;
}

.request input[type="submit"]:hover {
	background: #17c;
}

.request input[type="submit"]:focus {
	border-color: #05a;
}

/* COPY BUTTON -------------------------------------------------- */
.copy-link {
	text-decoration: none;
	padding: 5px;
	margin: 5px 0;
	background-color: #b9b9b9;
	color: #222;
	border: 1px solid #ccc;
	border-radius: 4px;
	display: inline-block;
	text-align: center;
	width: 50px;
}

/* LAZY LOAD IMAGES --------------------------------------------- */
img.placeholder {
    filter: blur(5px); /* Blurs the placeholder */
    transition: filter 0.3s ease-in-out;
}

img.placeholder.loaded {
    filter: none; /* Removes the blur once the actual image is loaded */
}
