/*portfolio css*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


* {
    /* moves padding and border to inside the "div" */
    box-sizing: border-box;
}
/*********************************************************************************************************************/

/**okay code below please**/

html {
    scroll-behavior: smooth;
}

body {
	background-color: rgb(109, 76, 155);
	font-family: 'rowdies', sans-serif;
	font-weight: 300;
	overflow: hidden;
	/* padding-top: 7vh; */
}

.outer-wrapper {
	width: 100vh;
	height: 100vw;
	overflow: auto;
	transform: rotate(-90deg) translateX(-100vh);
	transform-origin: top left;
	overflow-y: scroll;
	overflow-x: hidden;
	position: absolute;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
}

.wrapper {
	display: flex;
	flex-direction: row;
	width: 100vw;
	transform: rotate(90deg) translateY(-100vh);
	transform-origin: top left;
	scroll-snap-align: center;
}

nav {
	width: 100vw;
	height: 9vh;
	font-size: 17px;
	display: flex;
	justify-content:center;
	align-items: center;
	position: fixed;
	text-align: center;
	top: 0;
	z-index: 10;
	background-color: rgb(109, 76, 155);
	padding-top: 20px;
	padding-bottom: 20px;
}

nav a {
	text-decoration: none;
	color:rgb(244, 235, 114);
	align-content: center;
	width: 20%;
}

nav a:hover {
	color:rgb(98, 187, 225);
}

nav img {
	width: 50%;
}

.slide1 {
	width: 100vw;
	height: 91vh;
	margin-top: 9vh;
	background-color: rgb(109, 76, 155);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
}

.slide1 h2 {
	width: auto;
	font-size: 30px;
	color: rgb(244, 235, 114);
	margin-bottom: 30px;
	text-align: center;
}

.gallery {
	width: 100vw;
	height: 65vh;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-bottom: 30px;
}


/* GRID */

.gallery a {
	width: 240px;
	height: 240px;
	display: block;
	text-decoration: none;
}



.image-1, .image-2, .image-3, .image-4, .image-5, .image-6, .image-7, .image-8, .image-9, .image-10, .image-11, .image-12{
	width: 240px;
	height: 240px;
	transition: 0.5s;
	background-position: center;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.image-1 p, .image-2 p, .image-3 p, .image-4 p, .image-5 p, .image-6 p, .image-7 p, .image-8 p, .image-9 p, .image-10 p, .image-11 p, .image-12 p {
	opacity: 0;
	transform: scale(0);
	transition: 0.8s;
	font-size: 19px;
	color: rgb(244, 235, 114);
	font-weight: 700;
	text-decoration: none;
}

.gallery a:hover, .image-1:hover, .image-2:hover, .image-3:hover, .image-4:hover, .image-5:hover, .image-6:hover, .image-7:hover, .image-8:hover, .image-9:hover, .image-10:hover, .image-11:hover, .image-12:hover{
	box-shadow: 0 0 0 200px rgba(109, 76, 155, 0.8) inset;
}

.image-1:hover p, .image-2:hover p, .image-3:hover p, .image-4:hover p, .image-5:hover p, .image-6:hover p, .image-7:hover p, .image-8:hover p, .image-9:hover p, .image-10:hover p, .image-11:hover p, .image-12:hover p {
	opacity: 1;
	transform: scale(1);
}

.image-12{
	background-image:url(working/relaxednoodles_sq.jpg);
}

.image-11{
	background-image:url(working/ava_logo.jpg);
}

.image-10{
	background-image: url(working/flesh_2_sq.jpg);
}

.image-9{
	background-image: url(working/twofaced_mockup1.jpg);
}

.image-8{
	background-image: url(working/Lorde-Gig-Poster-sq.jpg);
}

.image-7{
	background-image: url(working/melange_sq.jpg);
}

.image-6{
	background-image: url(working/Pink1-sq.jpg);
}

.image-5{
	background-image: url(working/fashion_sq.jpg);
}

.image-4{
	background-image: url(working/marc_mockup2_sq.jpg);
}

.image-3{
	background-image: url(working/victor_illustration.jpg);
}

.image-2{
	background-image: url(working/nair_sq.jpg);
}

.image-1{
	background-image: url(working/ec1_sq.jpg);

}

/* i cri */


/* tablet size AND SMALLER stuff here */
@media screen and (max-width: 1150px) {
	
	body {
		overflow: hidden;
	}
	
	.outer-wrapper { 
		transform: none;
		width: 100vw;
		height: auto;
	}
	
	.wrapper {
		transform:none;
		display: flex;
		flex-direction: column;
		width: 100vw;
		height: auto;
	}

	.slide1{
		height: auto;
        margin-top: 9vh;
	}

    .slide1 h2 {
        padding-top: 40px;
        padding-bottom: 30px;
    }

}

/* for phones */
@media screen and (max-width: 980px) {

	body {
		overflow: scroll;
	}

	.outer-wrapper {
		height:auto;
	}
	.wrapper {
		justify-content: center;
		align-items: center;
		/* height: auto; */
	}

    nav{
        justify-content: space-around;
    }

    nav a{
        font-size: 1rem;
    }

    nav img {
        width: 95%;
    }
}

@media screen and (max-width: 397px) {

    nav a{
        font-size: .9rem;
    }

	.slide1 {
		height: auto;
	}

	.gallery {
		margin-bottom: 70px;
	}


}

