@use "vars";

@font-face {
	font-family: "PatuaOne";
	src: url("PatuaOne-Regular.ttf") format("opentype");
	font-style: normal;
	font-weight: normal;
}

@font-face {
	font-family: "FreeSans";
	src: url("FreeSans.otf") format("opentype");
	font-style: normal;
	font-weight: normal;
}

html body {
	font-family: 'PatuaOne', 'Times New Roman';
	background: url("background/interlaced/interlaced.png") repeat;
	margin: 0;
}

h1 {
	color: white;
}

h2, h3 {
	color: black;
	font-family: "PatuaOne";
}

a {
	text-decoration: none;
}

nav {
	position: absolute;
	width: 100%;
	top: 10px;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
	// background-color: transparent;
}

nav h1 {
	margin: 4px 10px 0;
}

.formal-font {
	font-family: "FreeSans";
}

nav #logo {
	margin-right: 50px;
}

nav form {
	display: flex;
	flex-wrap: wrap;
}

nav form div {
	margin: 0 10px;
}

nav form button {
	min-width: 5em;
}

nav form input,label {
	opacity: 0.7;
}

@media (max-width: 720px) {
	nav { display: block; }

	nav form {
		display: block;
		width: 190px;
		margin-left: auto;
		margin-right: auto;
		align-items: center;
	}
	nav form div {
		margin: 10px auto;
	}
	nav div label,input {
		display: block;
	}
	nav .register-button {
		margin: 8px 0;
	}
}

div.landing-hero {
	top: 0;
	height: 60vh;
	background-color: #ff4e00;
	// background-image: linear-gradient(to right bottom, #ff4e00, #fc6200, #f87200, #f58100, #f18e00, #f19507, #f09c0f, #f0a317, #f3a620, #f6a927, #f8ad2e, #fbb034);
	background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
}

div.hero-filter {
	width: 100%;
	height: 100%;
}

div.hero-filter h2 {
	color: black;
	opacity: 0.7;
	width: 10em;
	font-size: 2.4em;
	position: absolute;
	top: 15%;
	margin-left: 5%;
}

div.hero-filter p {
	position: absolute;
	top: 27%;
	margin-left: 5%;
	font-size: 20px;
	width: 10em;
	opacity: 0.7;
}

div.errors {
	background-color: #ececec;
	color: vars.getColor("red-alert");
	border: 2px solid vars.getColor("red-alert");
	border-radius: 4px;
	min-height: 50px;
	position: absolute;
	left: 50%;
	margin-right: -50%;
	top: 100px;
	min-width: 30em;
	transform: translate(-50%, -50%);
}

.errors ul {
	margin: auto;
}

form.login {
	// font-weight: bold;
	color: white;
}

form.login input {
	margin-left: 2px;
	color: white;
	background-color: transparent;
	border: 2px solid white;
	border-radius: 2px;
	outline-color: orange
}

form.login .login-btn {
	font-family: "PatuaOne";
	border: none;
	// background-image: radial-gradient(circle, #63b521, #5fad21, #5ba421, #579c20, #539420);
	border-radius: 4px;
	padding: 3px;
	color: white;
	// background-color: vars.getColor("light-blue");
	background-color: #045de9;
	// background-image: linear-gradient(315deg, #045de9 0%, #09c6f9 74%);
	background-image: linear-gradient(315deg, vars.getColor("blue-alternate") 0%, #09c6f9 74%);
	// background-image: linear-gradient(315deg, #045de9 0%, #09c6f9 74%);
	// background-image: radial-gradient(circle, #045de9, #007cf8, #0097fd, #00b0fd, #00c6f9);
}

.hero-filter .register-btn {
	text-align: center;
	display: block;
	position: relative;
	width: 7em;
	top: 60%;
	margin-left: auto;
	margin-right: auto;
	font-size: 20px;
	border: 2px solid white;
	border-radius: 4px;
	padding: 10px;
	background-color: transparent;
	color: white;
	// background-image: radial-gradient(circle, #63b521, #5fad21, #5ba421, #579c20, #539420);
	&:hover {
		background-color: white;
		color: vars.getColor("orange");
	}
}

section.about-us {
	margin: 70px 0;
}

section.about-us p {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

section.services-cards .cards{
	display: flex;
}

section.services-cards h2 {
	text-align: center;
}

section.services-cards .card {
	width: 280px;
	margin-left: 20px;
	margin-right: 20px;

}