/*------ Responsive------*/
/* bigger than 800px wide*/
@media only screen and (min-width: 800px) {
	main #content {
		margin-left: 22.5%;
		margin-right: 22.5%;
		margin-top: 35vh;
		margin-bottom: 0%;
	}

	p{
		font-size: 28px;
		line-height: 46px;
		margin-bottom: 44px;
	}

	#intro{
		font-size: 80px;
		font-family: 'editorial-medium', serif;
		font-variant-ligatures: discretionary-ligatures !important;
		line-height: 88px;
	}

	.symbol{
		font-size: 80px;
	}

	section{
		margin: 0% 22.5% 0% 22.5%;
		padding-bottom: 50px;
	}
}


/* smaller than 800px wide*/
@media only screen and (max-width: 799px) {
	main #content {
		margin-left: 17%;
		margin-right: 8%;
		margin-top: 30vh;
		margin-bottom: 0%;
	}

	p{
		font-size: 28px;
		line-height: 44px;
		margin-bottom: 44px;
	}

	#intro{
		font-size: 50px;
		font-family: 'editorial-medium', serif;
		font-variant-ligatures: discretionary-ligatures !important;
		line-height: 56px;
	}
	section{
		margin: 50% 15% 15% 15%;
		padding-bottom: 50px;
	}
}

/*------ Type and Links------*/
body {
	background-color: #ffffff;
	color: #000000;
	font-family: 'editorial-reg', serif;
	/*font-variant-ligatures: discretionary-ligatures !important;*/
	text-rendering: geometricPrecision;
	-webkit-font-smoothing: antialiased;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.symbol {
	font-family: 'wingdings', serif;
}

a, a:link, a:visited {
	font-family: 'editorial-ital', serif;
	color: #000000;
	text-decoration: none;
	border-bottom: .1pt solid #000;
	padding-bottom: .04em;
}

.title{
	font-family: 'editorial-ital', serif;
}

a:hover, a:active {
	color: #DFBCDC;
	border-bottom: .1pt solid #DFBCDC;
}

/*------Case Studies------*/
.image img{
	width:100%;
}

.case {
	box-sizing: border-box;
	position: relative;
	background: #FFF;
	text-decoration: none;
	border: 1px solid #ccc;
	padding: 7px 8px 5px 8px;
	white-space: nowrap;
	z-index: 10;
}

.case:hover, .case:focus {
	color: #000;
	z-index: 20;
	border-color: #DFBCDC;
	transition: 260ms ease-out border-color;
}

.case::after {
	content: "";
	opacity: 0;
	pointer-events: none;
	z-index: -1;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center;
	transition: 260ms ease-out opacity;
}

.case:hover::after {
	opacity: 0.9;
	transition: 260ms ease-in opacity;
}

/*-----Responsive Cases-----*/
/* bigger than 800px wide*/
@media only screen and (min-width: 800px) {
	.case::after{
		background-size: 65%;
	}
}


/* smaller than 800px wide*/
@media only screen and (max-width: 799px) {
	.case::after{
		background-size: 95%;
	}
}

.case#instagram::after {
	background-image: url("../../assets/instagram/1.jpg");
}

.case#vine::after {
	background-image: url("../../assets/vine/1.jpg");
}

.case#cornell::after {
	background-image: url("../../assets/cornell/1.jpg");
}

.case#target::after {
	background-image: url("../../assets/target/1.jpg");
}

.case#mondo::after {
	background-image: url("../../assets/mondo/1.jpg");
}

.case#novel::after {
	background-image: url("../../assets/novel/1.jpg");
}

.case#playlists::after {
	background-image: url("../../assets/playlists/1.jpg");
}




/*------ Animation------*/
main {
	overflow-x: hidden;
	-webkit-animation: fadein 2s;
	-moz-animation: fadein 2s;
	-ms-animation: fadein 2s;
	-o-animation: fadein 2s;
	animation: fadein 2s;
}

@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@-moz-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@-webkit-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@-ms-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@-o-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }


/*------- Toggle--------*/
.switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
	margin-bottom: 40px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  border: 1px solid #DFBCDC;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  background-color: #DFBCDC;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #DFBCDC;
}

input:focus + .slider {
  box-shadow: 0 0 1px #DFBCDC;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
	background-color: #fff;
}

/* Rounded sliders */
.slider.round {
  border-radius: 16px;
}

.slider.round:before {
  border-radius: 50%;
}

#switch-state{
	font-family: "untitled-med";
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1.5px;
	margin-left: 5px;
	padding-bottom: 30px;
}


/*-----Footer-----*/
section{
	margin-top: 200px;
	margin-bottom: 0;
	font-size: 20px;
	letter-spacing: -.5px;
}

#rightfooter{
	font-family: "untitled-reg";
	float: right;
}

#email{
	font-family: "untitled-med";
	border-bottom: 2px solid black;
}

#email:hover{
	border-bottom: 2px solid #DFBCDC;
}

.social{
	font-family: "untitled-med" !important;
	border-bottom: 2px solid black !important;
}

.social:hover{
	border-bottom: 2px solid #DFBCDC !important;
}


/*----Site----*/
*, body, main, div, img {
	margin: 0;
	padding: 0;
}

.sitename{
	font-size: 28px;
	margin-left: 24px;
	margin-top: 18px;
	position: fixed;
}
