:root {
	color: black;
	background-color: white;
	font-size: 16px;
	font-family: "helvetica-neue", sans-serif;
	--text-primary: #b6b6b6;
	--text-secondary: #ececec;
	--bg-primary: #23232e;
	--bg-secondary: #141418;
	--transition-speed: 600ms;
}

*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scrollbar-width: none;
}

body {
	margin: 0;
	padding: 0;
}

h1 {
	padding: 1em;
	text-align: center;
	vertical-align: center;
}

::selection {
	/*color: #ffb3b3; pink*/
	color: #ff4d6b; /*red*/
}

aside {
	display: grid;
	grid-template-columns: calc(100vw - 5rem);
	grid-template-rows: minmax(1fr, 57.5vh);
	margin-left: 5rem;
	text-align: center;
}

aside h2,
aside p {
	/* position: absolute;
	top: 25vh;
	left: 32.5%; */
	object-position: 50% 50%;
}

aside h2 {
	margin-top: .75em;
	font-size: 4em;
	font-family: 'Staatliches';
	/* text-transform: uppercase; */
}

aside p {
	top: 32.5vh;
	left: 35%;
	font-size: 2em;
	font-family: 'Raleway';
}

aside img {
	object-position: 50% 50%;
	object-fit: cover;
	width: 100%;
	overflow: hidden;
}

main {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	width: calc(100vw - 5rem);
	height: 100%;
	margin-left: 5rem;
	margin-bottom: 3.5em;
	padding-top: 2em;
	padding-left: 44px;
	padding-right: 44px;
	padding-bottom: 2em;
	/* background: url(https://charliemcquigg.io/images/pineappleOG.svg); */
	background-size: 40px;
	overflow-x: hidden;
}
 
main div {
	width: 100%;
	padding: 1em;
}

main:nth-of-type(1) div div {
	max-height: 65px;
}

main div div div h3 {
	color: rgb(251, 74, 157);
	text-transform: uppercase;
}

main div picture img {
	display: block;
	width: 100%;
	padding-left: 20vw;
	padding-right: 20vw;
}

main div picture img:hover {
	padding-left: 15vw;
	padding-right: 15vw;
}

main svg {
  	width: 10%;
}

main h3 {
	font-size: 12px;
	text-align: center;
	vertical-align: center;
}

main p:nth-of-type(1) {
  	margin-top: 5em;
}

main p:nth-of-type(9) {
  	margin-bottom: 5em;
}

main p {
  	padding: 1em;
  	margin-right: 2.5em;
}

/*NAV*/

.navbar {
	width: 5rem;
	height: 100vh;
	position: fixed;
	background-color: var(--bg-primary);
	transition: width 200ms ease;
}

.navbar-nav {
	display: flex;
	list-style: none;
	flex-direction: column;
}

.nav-link {
	display: flex;
	align-items: center;
	height: 5rem;
	color: var(--text-primary);
	text-decoration: none;
	filter: grayscale(100%) opacity(0.7);
	transition: var(--transition-speed);
}

.link-text {
	display: none;
	margin-left: 1em;
	text-align: right;
}

nav svg {
	color: #FFF;
  	width: 4em;
	padding: .5em;
	margin-left: .5em;
}

.navbar:hover {
	width: 16rem;
}

.logo:hover {
	width: 16rem;
}

.navbar:hover .link-text {
	display: block;
}

nav img {
	padding: .5em;
	width: 3.5em;
	margin-left: .5em;
}

.home {
	margin-left: .75em;
}

a {
	text-decoration: none;
}

.nav-link:hover {
	filter: grayscale(0) opacity(1);
	background: var(--bg-secondary);
	color: var(--text-secondary);
}

main:nth-of-type(2) svg {
	width: 25%;
}

/* MOBILE */

@media only screen and (max-width: 600px) {
	.navbar {
		bottom: 0;
		width: 100vw;
		height: 5rem;
	}

	.navbar-nav {
		flex-direction: row;
	}

	.navbar:hover {
  		width: 100vw;
	}

 	.nav-item {
 	  	height: 5em;
 	}
  
	nav svg {
		width: 3em;
    	margin-left: .5em;
    	margin-right: .5em;
	}
  
  	nav li:hover {
  		max-width: 3.75em;
  	}

  	.link-text {
  		font-size: 12px;
  		padding-right: 1em;
  	}

  	nav img {
  		width: 2.5em;
  		margin-left: .5em;
  		margin-right: .5em;
  	}
  
	.nav-link {
    	flex-direction: column;
		justify-content: center;
	}

	aside {
		grid-template-columns: 1fr;
		grid-template-rows: 10.5vh;
		margin-top: .75em;
		margin-left: 0;
	}

	aside div div h2,
	aside div div p {
		margin-left: .25em;
	}

	aside div div h2 {
		font-size: 2em;
	}

	aside div div p {
		font-size: 1em;
	}

	main {
    	width: 100vw;
	  	height: calc(100vh - 5rem);
		grid-template-columns: 1fr;
		grid-template-rows: repeat(4, 1fr);
		padding-bottom: 3em;
		padding-left: 0;
		padding-right: 0;
		margin-left: 2.5em;
		margin-bottom: 6em;
    	overflow-x: hidden;
	}

	main div picture img {
		padding-left: 0;
		padding-right: 0;
	}

	main div picture img:hover {
		padding-left: 0;
		padding-right: 0;
	}
}

/* TABLET */

@media only screen and (max-width: 700px) {
	main {
    	width: calc(100vw - 5rem);
	  	height: 100vh;
		grid-template-columns: 1fr;
		grid-template-rows: repeat(4, 1fr);
	}
}

/* MOBILE // LANDSCAPE */

@media only screen and (orientation: landscape) {

	/*NAV*/

	.logo {
		width: 4em;
	}

	nav img {
		width: 3em;
	}
}

/* DESKTOP to TABLET */

@media only screen and (min-width: 600px) and (max-width: 1080px) {
	main div picture img {
		padding-left: 12.5vw;
		padding-right: 12.5vw;
	}

	main div picture img:hover {
		padding-left: 5vw;
		padding-right: 5vw;
	}
}

/* LARGE SCREENS */

@media only screen and (min-width: 1080px) {
  	.navbar {
  	  top: 0;
  	  width: 5rem;	
  	  height: 100vh;
  	}

  	.navbar:hover {
  	  width: 16rem;
  	}

  	.navbar:hover .link-text {
  	  display: inline;
  	}
}