: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;
}

.title {
	color: var(--bg-primary);
	text-transform: uppercase;
	padding-top: .25em;
	text-align: center;
}

h1 {
	font-size: 4em;
	text-transform: uppercase;
	color: var(--bg-primary);
	text-align: center;
	vertical-align: center;
	margin-top: .4em;
	/*padding: 1em;*/
}

p {
	color: #000;
	font-size: 1em;
	word-wrap: break-word;
}

a {
	color: #23232e;
	font-style: italic;
}

a:hover, a:active {
	color: #ffc6c6;
}

::selection {
	color: #ffb3b3;
}

/*BANNERS*/

main {
	display: grid;
	grid-template-columns: 100vw;
	grid-template-rows: 100vh;
	overflow-x: hidden;
	background: #ee9ca7;  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #ffdde1, #ee9ca7);  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #ffdde1, #ee9ca7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

main div div div {
	/*height: 33.33vh;*/
	background: url(https://charliemcquigg.io/images/pineappleOG.svg);
	background-repeat: repeat;
	background-size: 100px;
	border-radius: 1em;
	/*margin: 2em;*/
	/*margin-top: 3em;*/
	padding: 1em;
	overflow-x: wrap;
}

main div div div:nth-of-type(1) {
	margin-right: 2em;
	margin-top: 2em;
	margin-left: 2em;
}

main div div div:nth-of-type(3) {
	margin-bottom: 2em;
}

main div div:nth-of-type(2) img {
	width: 10vw;
	float: right;
}

main div div:nth-of-type(3) img {
	width: 12.5vw;
	float: right;
}

.contacts {
	display: grid;
	grid-template-columns: 100vw;
	grid-template-rows: repeat(4, 1fr);
	/*height: 100vh;*/
	border-radius: 1em;
	margin-bottom: 5em;
}

main div div:nth-of-type(1) div {

}

main div div:nth-of-type(2) div:nth-of-type(1) {
	/*margin: 2em;*/
}

main select {
	height: 2.5em;
	width: 75%;
	padding-left: 2em;
	padding-right: 2em;
	margin-left: 10vw;
}

/*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);
}

/*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 {
		display: grid;
		grid-template-columns: 100vw;
		grid-template-rows: calc(100vh - 5rem);
		margin-left: 0;
		margin-bottom: 5rem;
	}

	aside div:nth-of-type(1) {
		background-size: 75px;
	}

	aside div:nth-of-type(3) {
		background-size: 75px;
		padding-top: 25vh;
	}

	aside img {
		margin-left: 15%;
		margin-top: 12.5vh;
	}

	main {
		grid-template-columns: 100vw;
		grid-template-rows: calc(100vh - 5em);
		height: 100vh;
		margin: 0;
		margin-left: 0;
		padding-bottom: 15em;
	}

	.contacts {
		display: grid;
		grid-template-columns: 100vw;
		grid-template-rows: repeat(4, 1fr);
		/*height: 100vh;*/
		border-radius: 1em;
	}

	main select {
		width: 100%;
		margin-left: 2.5em;
		padding-left: 1em;
	}

	h1 {
		font-size: 2em;
		margin-top: 1.4em;
	}

	p {
		font-size: 1.5em;
		margin-bottom: 1em;
		margin-left: 1.6em;
	}
}

/* MOBILE // LANDSCAPE (halfway) */

@media only screen and (min-width: 600px) {
	aside div:nth-of-type(3) img {
		margin-top: 30vh;
	}
}

@media only screen and (max-width: 800px) {
	p {
		font-size: 1em;
	}
}

/* MOBILE // LANDSCAPE */

@media only screen and (orientation: landscape) {
	/*NAV*/

	.logo {
		width: 4em;
	}

	nav img {
		width: 3em;
	}

	aside img:first-child {
		width: 40%;
		margin-left: 25vw;
	}

	aside div:nth-of-type(1) img {
		padding-top: 7.5vh;
		margin-left: 27.5vw;
	}

	aside div:nth-of-type(2) img {
		margin-top: 15vh;		
		margin-left: 27vw;
		width: 40%;
	}

	aside div:nth-of-type(3) img {
		margin-top: 30vh;
		margin-left: 25%;
		width: 50%;
	}
}

/*LANDSCAPE*/

@media only (orientation: landscape) {
	.contacts {
		display: grid;
		grid-template-columns: calc(100vw - 5rem);
		grid-template-rows: 50vh 60vh 70vh;
		height: 100vh;
	}
}

/* Large screens */
@media only screen and (min-width: 715) {
  	.navbar {
  	  	top: 0;
  	  	width: 5rem;	
  	  	height: 100vh;
  	}

  	.navbar:hover {
  	  	width: 16rem;
  	}

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

