@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz@6..96&family=Noto+Sans&family=Sanchez&family=Stint+Ultra+Expanded&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400&display=swap');


.h1, .h2, .h3, h1, h2, h3, .col-*{
    margin-top: 0px;
    margin-bottom: 0px;
    padding-right: 0px;
    padding-left: 0px;
}

h1 {
	font-family: 'Red Hat Display', sans-serif;
	font-weight: 400;
	letter-spacing: .11em;
	margin-bottom: .75em;
}

h2,
.rs-paragraph,
a {
	font-family: 'Red Hat Display', sans-serif;
	font-weight: 200;
}

body {
	width: 100%;
	height: 100%;
	font-size: 1.33vw;
	background-color: #4bc7ff;
}

.rs-background {
	position: absolute;
	top: 0;
	left: 0;
	opacity: .2;
	background: url('../images/nycmahjongg-background-scaled.jpg');
	background-size: cover;
	background-position-y: -5em;
	width: 100vw;
	height: 100vh;
	filter: grayscale(30%);
	-webkit-filter: grayscale(30%);
}

#main-section,
#text-section {
	position: relative;
	display: flex;
}

body {
	font-size: 2.9vw;
}

#text-section {
 	justify-content: center;
 	flex-flow: column;
 	text-align: center;
}

#text-section h1,
#text-section h2,
#text-section p {
	/*flex-basis: 100%;*/
}

.rs-sub,
a {
	letter-spacing: .2em;
	margin-bottom: 1.75em;
}

a:hover {
	opacity: .8;
}

.rs-all-caps {
	text-transform: uppercase;
}

#main-section {
  width: 77%;
  padding: 10% 8%;
  margin: 4% auto;
  background: #fff;
	justify-content: center;
	color:  #000;
	font-size: 1em;
}

#text-section {
  width: 100%;
}

.rs-background {
  background-size: contain;
  height: 350%;
  background-repeat: repeat;
}

#text-section h1, 
#text-section h2, 
#text-section p {
  line-height: 1.4em;
  font-size: 1.25em;
}

h2,
.rs-paragraph,
a {
	font-family: 'Red Hat Display', sans-serif;
	font-weight: 200;
}

a {
	color: #6e9d32;
	background: #fff;
	padding: 1em 1.75em;
	border-radius: 0.625em;
	display: inline-block;
	margin: 0 1em;
	font-family: 'Red Hat Display', sans-serif;
	/*font-family: 'Sanchez', sans-serif;*/
	font-weight: 400;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
}

#text-section h1 {
	font-size: 1.25em;
	letter-spacing: .11em;
	margin-bottom: .75em;
	margin-left: auto;
  margin-right: auto;
}

#portrait {
	margin-right: auto;
	margin-bottom: 2.5em;
	border-radius: 0.625em;
}

#text-section .rs-paragraph, a {
  font-size: 1.4em;
  line-height: 1.6em;
  margin-bottom: 2.75em;
}

a {
	padding: 1em 1em;
	margin: 0;
	margin-bottom: 1em;
	letter-spacing: 0.05em;
}

.links-section {
	width: 100%;
  margin: auto;
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
}

p span:nth-of-type(odd) {
  margin-left: -0.55em;
}

#rs-learn-text {
	width: 12em;
  margin: auto;
  margin-bottom: 2em;
}

.rs-vis-mobile {
	display: block;
}

.rs-no-mobile {
	display: none;
}

p span {
  font-size: 3em;
  position: absolute;
  font-family: serif;
  margin-top: 0.2em;
}

p span:nth-of-type(odd) {
  margin-left: -0.6em;
}

p span:nth-of-type(even) {
  margin-left: 0.17em;
}

a span {
	font-size: .75em;
	display: block;
	margin-bottom: .75em;
	letter-spacing: auto;
}

#logo {
	width: 10em;
	height: auto;
	margin-bottom: 1em;
}



@media only screen and (min-width: 768px) {

	.rs-vis-mobile {
		display: none;
	}

	.rs-no-mobile {
		display: block;
	}

	#main-section {
		width: calc(100% - 8em);
		font-size: .75em;
		padding: 2em;
    margin: 2em;
	}

	#text-section h2,
	#text-section .rs-paragraph,
	#text-section a {
		font-size: .6em;
		width: 26em;
    margin-left: auto;
    margin-right: auto;
	}

	#portrait {
		margin-right: 3em;
	}

	p {
		line-height: 1.65em;
		margin-bottom: 3.75em;
		letter-spacing: .05em;
	}

	.links-section {
	  flex-direction: row;
	  justify-content: center;
	}

	.links-section a:nth-of-type(odd) {
	  margin-right: 1em;
	}

	#rs-learn-text {
		width: 19em;
	}

}

@media only screen and (max-width: 767px) {
	#logo {
    width: 16em;
    margin-bottom: 3em;
	}

	#text-section h1 {
    font-size: 1.85em;
    margin-bottom: 1.5em;
	}

	#text-section .rs-paragraph {
		width: 16em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75em;
	}
}