/* =========
Reset
===========*/

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

:root {
	/* Colors Primary*/
	--red: hsl(0, 78%, 62%);
	--cyan: hsl(180, 62%, 55%);
	--orange: hsl(34, 97%, 64%);
	--blue: hsl(212, 86%, 64%);

	/* Colors Neutral*/
	--very-dark-blue: hsl(234, 12%, 34%);
	--grayish-blue: hsl(229, 6%, 66%);
	--very-light-gray: hsl(0, 0%, 98%);
}

/* =========
Typography
===========*/

body {
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: var(--grayish-blue);
	background: var(--very-light-gray);
}

h1,
h2 {
	color: var(--very-dark-blue);
	font-weight: 600;
}

h1 {
	font-size: 1.5rem;
	font-weight: 200;
}

span {
	font-weight: 600;
}

h2 {
	font-size: 1.1rem;
}

.header p {
	font-size: 18px;
}

/* =========
Layout
===========*/

.container {
	/* border: 1px solid red; */
	width: 90%;
	max-width: 1024px;
	margin: 3em auto;
}

.header {
	text-align: center;
}

.title {
	margin-bottom: 1em;
}

.main {
	margin: 3em 0;
}

.card {
	border-top: 5px solid red;
	border-radius: 10px;
	padding: 2em;
	margin: 2em 0;
	background-color: white;
	box-shadow: 1px 7px 25px 3px hsl(229, 6%, 66%, 0.75);
	position: relative;
}

img {
	max-width: 50px;
	margin: 0;
	padding: 0;
	/* display: block; */
	position: absolute;
	bottom: 2em;
	right: 2em;
}

.card h2 {
	margin-bottom: 0.5em;
}

.card p {
	margin-bottom: 80px;
}

#supervisor {
	border-top: 5px solid var(--cyan);
}
#team-builder {
	border-top: 5px solid var(--red);
}
#karma {
	border-top: 5px solid var(--orange);
}
#calculator {
	border-top: 5px solid var(--blue);
}

/* =========
Media Queries
===========*/

@media screen and (min-width: 1023px) {
	.header p {
		margin: 0 auto;
		width: 55ch;
	}

	.main {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 30px;
	}

	.flex-item {
		min-width: 33.33%;
	}

	.card p {
		margin-bottom: 100px;
	}

	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.2rem;
	}
}
