body {
	font-size: 15px;
	padding: 1rem;
	font-family: Arial;
}
a, a:visited {
	color: rgb(0, 132, 255);
}
#text p {
	margin-left: 1.25rem;
}
#text ul {
	margin-left: 2rem;
	padding-left: 0;
}

#companyAndProducts {
	display: flex;
	align-items: center;
}
#company {
	flex-basis: calc(100%/3);
}
#products {
	flex-basis: calc(100%/3);

	display: flex;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	margin-bottom: 1rem;
	text-align: center;
}
#products span {
	padding: 1rem;
	text-wrap: nowrap;
	background-color: #EDEDED;
}
#products span:hover {
	cursor: pointer;
	background-color: #CBCBCB;
}
#products span.divider {
	padding: 0;
	height: 3rem;
	border-left: 1px solid #ccc;
}
#products span.selected {
	background-color: #FFF5D0;
}
#products span.selected:hover {
	background-color: #CBCBCB;
}
.product a {
	display: block;
	padding-bottom: 0.25rem;
}
#other {
	flex-basis: calc(100%/3);

	display: flex;
	justify-content: right;
	gap: 1rem;
}
#navigation {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1rem;
	border-top: 2px solid rgb(194, 194, 194);
	border-bottom: 2px solid rgb(194, 194, 194);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}
#navigation span {
	flex-grow: 1;
	font-weight: bold;
}
#content {
	display: flex;
	justify-content: center;
}
#footer {
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 2px solid rgb(194, 194, 194);

	text-align: center;
}
#footer span {
	display: inline-block;
	padding-top: 0.5rem;
}

#screenshots {
	max-width: 35vw;
}
#screenshots img {
	width: 100%;
	box-shadow: 0.125rem 0.125rem 0.25rem #CCCCCC;
	border: 1px solid #CCCCCC;
}
#screenshots div img:not(:first-of-type) {
	margin-top: 1rem;
}
#screenshot-main {
	display: none;
}
.mini-hr {
	display: block;
	border-bottom: 2px solid #EEEEEE;
	width: 50%;
	margin-left: 25%;
	margin-top: 1rem;
	margin-bottom: 1rem;
	height: 2px;
}
.highlight {
	padding: 0.5rem;
	background-color: #FFF5D0;
	margin-bottom: 1rem;
}
.highlight h1 {
	padding-left: 0.75rem;
	margin-top: 0.5rem;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}
ul {
	margin-top: 0.5rem;
}

#description {
	display: flex;
	gap: 1.5rem;
	flex-direction: row;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* MEDIA QUERIES */

/* Phones/iPad Mini in portrait mode */
@media only screen and (max-width: 768px) {
	#companyAndProducts {
		flex-wrap: wrap;
		align-items: start;
	}
	#company {
		flex-basis: 50%;
		margin-bottom: 0.5rem;
		order: 1;
	}
	#products {
		flex-basis: 100%;
		gap: 0.5rem;
		margin-top: 0.5rem;
		margin-bottom: 0.5rem;
		order: 3;
	}
	#products span {
		padding: 0.5rem;
		text-wrap: wrap;
	}
	#products span.divider {
		display: none;
	}
	#other {
		flex-basis: 50%;
		order: 2;
	}
	#navigation {
		justify-content: center;
	}
	#navigation span {
		display: none;
	}

    #content {
		flex-direction: row;
        flex-wrap: wrap;
    }
    #content div.highlight {
    	order: 1;
    }
    #content div#screenshots {
    	max-width: 100%;
    	order: 2;
    }
    #content div {
    	order: 3;
    }

    #screenshots {
    	display: none;
    }
    #screenshot-main {
    	display: unset;
    }
	img {
		width: 95vw;
	}
}