/*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**/


body {
	background-color: rgb(244, 235, 114);
	font-family: 'rowdies', sans-serif;
	font-weight: 300;
	overflow: hidden;
}

.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;
	height: 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(244, 235, 114);
	padding-top: 20px;
	padding-bottom: 20px;
}

nav a {
	text-decoration: none;
	color:rgb(232, 114, 163);
	align-content: center;
	width: 20%;
}

nav a:hover {
	color:rgb(109, 76, 155);
}

nav img {
	width: 50%;
}


.slide1 {
	width: 100vw;
	height: 91vh;
	margin-top: 9vh;
	display: flex;
    flex-direction: row;
	justify-content: space-around;
	align-items: center;
    background-color: rgb(244, 235, 114);
}

.text {
    height: auto;
    width: 45%;
}

.text h1 {
    color: rgb(232, 114, 163);
	font-size: 2rem;
	padding-bottom: 20px;
	font-weight: 700;
}

.text p {
	font-size: 1.1rem;
	line-height: 24px;
	color: rgb(109, 76, 155);
	padding-bottom: 15px;
}

.text a{
	color: rgb(232, 114, 163);
	font-size: 1.4rem;
	line-height: 27px;
	display: inline-block;
	position: relative;
	text-decoration: none;
	margin-top: 10px;
}

.text a:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: rgb(98, 187, 225);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.text a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.mySlides {
    max-width: 550px;
    height: auto;
    transition: 2s;
}



/* tablet size AND SMALLER stuff here */

@media screen and (max-width: 1250px) {

	.text h1 {
		font-size: 1.8rem;
	}

	.text p {
		font-size: 1rem;
	}

	.text a {
		font-size: 1.2rem;
	}

}

@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: 100vh;
	}

	nav {
		height: 5vh;
	}

	.slide1 {
		height: auto;
		width: 100vw;
		margin-top: 5vh;
		flex-direction: column-reverse;
		justify-content: center;
		align-items: center;
	}

	.mySlides {
		max-width: 500px;
		height: auto;
		/* margin-top: 55vh; */
	}

	.text {
		width: 75%;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		padding-bottom: 7vh;
	}

	.text h1 {
		text-align: center;
		margin-top: 20px;
		width: 65%;
	}

	.text p {
		font-size: .9rem;
		width: 65%;
	}

	.text a {
		width: 60%;
		font-size: .9rem;
	}



}

/* for phones */
@media screen and (max-width: 980px) {

	body {
		overflow: scroll;
	}

	.outer-wrapper {
		height:auto;
	}

    nav{
        justify-content: space-around;
		height: 6vh;
    }

    nav a{
        font-size: 1rem;
    }

    nav img {
        width: 95%;
    }

	.slide1 {
		margin-top: 6vh;
		height: 94vh;
		height: auto;
		justify-content: center;
		align-items: center;
	}

	.mySlides {
		max-width: 350px;
		height: auto;
		margin-top: 10px;
	}

	.text {
		width: 100%;
		padding-bottom: 90px;
	}
	.text h1 {
		width: 88%;
	}
	.text p {
		width: 88%;
	}
	.text a {
		width: 88%;
		font-size: 1.3rem;
	}

}

@media screen and (max-width: 397px) {

    nav a{
        font-size: .9rem;
    }


}




