@font-face {
	font-family: Aero;
	src: url(assets/typography/Aero.ttf);
}

/* @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); */

:root {
	--blue: #38f7d1;
	--yellow: #ffdb14;
	--grid-gap: 150px;
	--half-grid-gap: 75px;
}

html,
body {
	overflow-x: hidden;
}

html {
	font-size: 100%;
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	color: white;
	background: black;
	background-repeat: no-repeat;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

h1,
h2,
h3,
h4,
h5 {
	font-family: Aero;
}

h1 {
	text-transform: capitalize;
	font-size: 2em;
	margin: 0;
	@media (width >= 600px) {
		font-size: 2.5em;
	}
  @media (width >= 920px) {
		font-size: 3.5em;
	}
	@media (width >= 1400px) {
		font-size: 4.5em;
	}
}

p {
	font-family: "Roboto";
	font-size: 18px;
	line-height: 1.5em;
	padding: 0 40px;
	@media (width >= 920px) {
		padding: 0;
		font-size: 26px;
	}
}

section {
	padding: 25px 0;
	@media (width >= 920px) {
		padding: 50px 100px;
	}
}

button {
	background-color: var(--blue);
	color: black;
	margin: 50px 0;
	padding: 15px 30px;
	border-radius: 30px;
	font-family: Roboto;
	font-weight: 700;
	font-size: 18px;
	border: none;
	@media (width >= 920px) {
		font-size: 24px;
	}

	&:hover {
		background-color: black;
		color: var(--blue);
		cursor: pointer;
		border: 1px solid var(--blue);
	}
}

.content-wrapper {
	max-width: 1920px;
	margin: auto;
	margin-top: 50px;

	@media (width >= 920px) {
		margin-top: 170px;
	}
	text-align: center;
}

.social-wrapper {
	display: none;
	@media (width >= 920px) {
		display: grid;
		height: 50px;
		grid-template-columns: repeat(4, 1fr);
		a {
			margin: 0 10px;
		}
		img {
			width: 50px;
		}
	}
}

header {
	@media (width >= 920px) {
		position: fixed;
		z-index: 2;
		background-color: rgba(0, 0, 0, 0.5);
	}

	width: 100%;
	background-color: black;
	display: flex;
	justify-content: space-between;
	align-content: center;
	padding: 20px 20px 0;
	.logo {
		display: block;
		/* margin-left: auto; */
		margin-right: auto;
    width: 100%;

    @media (width >= 920px) {
		  width: 60%;
    }

    @media (width >= 1400px) {
		  width: 30%;
    }
	}
}

.hero-banner {
	position: relative;
	display: inline-block;
	width: 100%;
  height: calc(100vh - 200px);
  display: grid;
  place-items: center;

	img {
		display: block;
		margin: auto;
		height: 30vh;
		@media (width >= 920px) {
			height: 40vh;
		}
	}

	.hero-text {
		padding: 30px;
		text-align: center;
		width: 100%;
		@media (width >= 920px) {
      /* padding: 100px; */
			margin-top: 20px;
			top: 50%;
		}
	}
}

.mission {
	display: grid;

	#mission-earth {
		grid-row: 4;
	}
	#mission-subtext {
		grid-row: 3;
	}

	@media (width >= 920px) {
		padding-top: 75px;
		grid-template-columns: repeat(5, 1fr);

    #mission-earth {
      grid-row: auto;
    }
    #mission-subtext {
      grid-row: auto;
    }

		#mission-text {
			grid-column: 1 / span 3;
		}
		#mission-rocket {
			justify-self: center;
			grid-column: 4 / span 2;
		}
		#mission-earth {
			justify-content: center;
			grid-column: 1 / span 2;
		}
		#mission-subtext {
			grid-column: 3 / span 3;
		}

		gap: var(--half-grid-gap);
		div {
			align-self: center;
			p {
				text-align: left;
			}
		}
	}

	p {
		margin-bottom: 30px;
	}
}

.checkerboard {
	.container {
		.checkerboard-item {
			display: grid;
			grid-template-columns: 50% 50%;
			align-content: center;
			text-align: left;
			p {
				align-self: center;
				padding: 0 20px;
			}

      img {
        height: 100%;
      }
		}
	}
	.container {
		@media (width >= 920px) {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			gap: 40px;
			justify-content: center;
			.checkerboard-item {
				display: grid;
				grid-template-columns: 1fr;
				grid-template-rows: 3fr 2fr;
				text-align: center;
				p {
					/* align-self: flex-start; */
					order: 1;
					padding: 0;
				}
				img {
					order: 0;
					display: block;
					margin-left: auto;
					margin-right: auto;
					/* border-radius: 10px; */
				}
			}
		}
	}

	padding-bottom: 0;
	@media (width >= 920px) {
		padding-bottom: 25px;
	}
}

.facility {
	p {
		padding: 50px 20px;
		margin: 0;
	}

	padding-top: 0;
	@media (width >= 920px) {
		padding-top: 25px;
	}
}

.vision {
	@media (width >= 920px) {
		margin-top: 100px;
	}

	img {
		display: none;
	}
	.container {
		@media (width >= 920px) {
			display: grid;
			grid-template-columns: 2fr 3fr;
			gap: var(--grid-gap);
			img {
				display: block;
			}
			div {
				align-self: center;
				text-align: left;
			}
		}
	}

	button {
		margin: 30px 0;
	}
}

footer {
	margin: 20px;
	@media (width >= 920px) {
		float: right;
	}
}
