/*-----------------------------------------------------------------------------
 * Colors
 *---------------------------------------------------------------------------*/
:root{
	--eventhunt-blue:				#74C0FC;
	--eventhunt-green:			#2A966F;
	--eventhunt-light-green:	#E9F4F0;
	--eventhunt-purple:			#8F89FA;
	--eventhunt-red:				#F84F39;

	--melitix-green:	#4D9686;
	--main-black:		#000000;
	--almost-white:	#F5F5F5;
	--almost-black:	#3E3D42;

	--primary-color: var( --eventhunt-blue );
	--on-primary-color: white;
	--secondary-color: var( --melitix-green );
	--on-secondary-color: white;
	--tertiary-color: var( --melitix-green );
	--on-tertiary-color: white;

	--background-color: #F4F3FA;
	--heading-color: #26253B;
}
/*-----------------------------------------------------------------------------
 * Fonts
 *---------------------------------------------------------------------------*/

html{
	font-size: 62.5%;
}

body{
	color: black;
	line-height: 1.5;
	font-family: "Ubuntu", sans-serif;
	font-size: 1.8rem;

	a{
		color: black;
		text-decoration: none;

		&:hover:not(.toggle){
			color: grey;
		}
	}
}

h1,
h2,
h3,
h4,
h5{
	color: var( --heading-color );
	font-family: "Rubik", sans-serif;
	line-height: 100%;

	a{
		color: black;
	}
}

h1{
	text-align: center;
	font-size: 7.6rem;
}

body > header{
	color: black;
	font-size: 1.6rem;
	font-weight: 600;

	a{
		color: black;
	}
}
.tooltip{
	cursor: help;
	color: var( --eventhunt-purple );
}
.btn{
	border-radius: 5px;
	padding: 10px 12px;
	text-decoration: none;
	font-size: 1.6rem;
	font-weight: bold;
	cursor: pointer;

	> .svg-inline--fa{
		margin-right: 0.4em;
	}

	&.primary{
		background-color: var( --primary-color );
		color: var( --on-primary-color );

		&:hover{
			background-color: green;
		}
	}

   &.alt{
     border: 1px solid white;
	  color: white;

		&:hover{
     		border-color: #32363B;
			background-color: #32363B;
		}
   }

	&.github{
		background-color: #1f2328;
	}
}
form.design-a{
	margin: 0 auto;
	width: 70%;

	input,
	select,
	textarea{
		display: block;
		margin-bottom: 10px;
		border-radius: 5px;
		padding: 8px 0;
		width: 100%;
	}

	/* one-line rectangle inputs */
	input,
	select{
		padding-left: 10px;
		height: 40px;
	}

	input[type="text"],
	input[type="email"],
	textarea{
		border: none;

		&:hover{
			border: 1px solid #ABB0B2;
		}
	}
}

.card{
	display: inline-block;
	margin: 0 20px 30px 0;
	border-radius: 10px;
	background-color: white;
	padding: 8px;
	width: 300px;

	&.intro{
		padding: 0;

		header{
			display: flex;
			justify-content: center;
			align-items: center;
			border-top-left-radius: 10px;
			border-top-right-radius: 10px;
			height: 120px;
			font-size: 2.8rem;
		}

		footer{
			padding: 20px;

			h4{
				margin: 0;
			}
		}
	}
}

.card.intro.organize header{
	background-color: var( --eventhunt-blue );
}

.card.intro.attend header{
	background-color: var( --eventhunt-red );
}

.card.intro.open-source header{
	background-color: var( --eventhunt-green );
}
body{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-top: 5px solid var( --primary-color );
	background-color: var( --background-color );
	min-height: 100vh;
}

body > header{
	display: flex;
	justify-content: space-between;
	padding: 25px 40px 25px;
	height: 80px;
	line-height: 30px;

	.site-title{
		margin-right: 25px;
		color: var( --eventhunt-blue );
		font-size: 2.0rem;
		font-weight: bold;

		.site-logo{
			margin-right: 25px;
			height: 30px;
		}
	}


	&>div{
		display: flex;
		height: 30px;
	}

	a.toggle{
		display: none;
	}
}

main hr{
	margin-bottom: 20px;
	border-width: 0;
	color: #DEDEDE;
	background-color: #DEDEDE;
	width: 85%;
	max-width: 500px;
	height: 1px;
}

body > footer{
	.standard{
		display: flex;
		justify-content: space-between;
		background-color: #1C1C1C;
		padding: 5px 20px;
		height: 70px;
		line-height: 60px;

		span{
			display: inline-block;
			width: 33.3%;

			&.small{
				display: none;
			}

			&.site-title{
				text-align: center;
				font-weight: bold;
			}
		}

		ul.menu.social{
			display: flex;
			gap: 10px;
			justify-content: flex-end;
			width: 33.3%;

			li{
				padding: 0 4px;
				height: 56px;
				list-style: none;
			}
		}
	}

	.banner{
		display: flex;
		flex-direction: column;
		gap: 20px;
		justify-content: center;
		align-items: center;
		background-color: var( --eventhunt-purple );
		width: 100%;
		height: 140px;
		font-size: 1.9rem;
		font-weight: bold;
	}
}
