@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');


/******************************************
/* CSS
/*******************************************/
* {
	box-sizing: border-box;
}

body{
	font-size: 1.250rem; /* 20px */
	background-color: #f1f1f1;
}


h1{
	font-family: 'Inter', sans-serif;
	margin-bottom: 0; /* No space between poem title and author */
	font-weight: bold;
	color: #231f20;
}

span{
	font-family: 'Inter', sans-serif;
	font-weight: bold;
	opacity: 80%;
}

h1.mainTitle {
	font-size: 3vw; 
	margin: 0 10vh;
}


/*  Title and desciption p */
p.major{
	font-size: 1.3vw; 
	text-align: justify;
	line-height: 1.4;
	width: 50%;
	font-family: 'Inter', sans-serif;
	opacity: 80%;
	margin: 0 10vh;
}

/* Poems paragraph */
.flex-item-right:nth-child(2n) p{
	text-align: justify;
	font-size: 1.250em;
	font-family: 'Inter', sans-serif;
	opacity: 80%;
	color: #000;
}

img {
	max-width: 50%;
}


.flex-container {
	display: flex;
	flex-wrap: wrap;
}

.flex-item-left {
	padding: 10px;
	flex: 45%; /* Poems section */

transition: opacity 0.75s ease-in-out, transform 0.75s ease-in-out;
animation: fadeIn 205s;
-webkit-animation: fadeIn 5s;
-moz-animation: fadeIn 5s;
-o-animation: fadeIn 5s;
-ms-animation: fadeIn 5s;
animation: 1.2s fadeRight 0s;
}

.flex-item-right {
	/* border: chocolate 1px solid; */
	padding: 10px;
	flex: 55%; /* Poems section */
	display: inline-block;
}




/* Keyframes - Fade-right effect */

@keyframes fadeRight {
	from {
		opacity: 0;
		transform: translate3d(-30%, 0,0);
	}
	to {
		opacity: 1;
		transform: translate3d(0,0,0);
		
	}
}

@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}



/* Media Queries */


/* On screens that are 480px wide or less, make the columns stack on top of each other instead of next to each other */
 @media screen and (max-width: 480px) {
	.flex-item-right, .flex-item-left {
		flex: 100%;
}
} 


/* On screens that are 768px wide or less, make the columns stack on top of each other instead of next to each other */
 @media screen and (max-width: 768px) {
	.flex-item-right, .flex-item-left {
		flex: 100%;
}
} 

/* On screens that are 1024px wide or less, make the columns stack on top of each other instead of next to each other */
 @media screen and (max-width: 1024px) {
	.flex-item-right, .flex-item-left {
		flex: 100%;
}
} 



/* Button*/
.button-80 {
	opacity: 80%;
	margin-left: 2.8vw;
	background: #f1f1f1;
	backface-visibility: hidden;
	border-radius: 2rem;
	border-style: solid;
	border-width: .125rem;
	box-sizing: border-box;
	color: #202020;
	cursor: pointer;
	display: inline-block;
	font-family: Circular,Helvetica,sans-serif;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.3;
	padding: .875rem 1.125rem;
	position: relative;
	text-align: left;
	text-decoration: none;
	transform: translateZ(0) scale(1);
	transition: transform .2s;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
}

.button-80:not(:disabled):hover {
	transform: scale(1.05);
}

.button-80:not(:disabled):hover:active {
	transform: scale(1.05) translateY(.125rem);
}

.button-80:focus {
	outline: 0 solid transparent;
}

.button-80:focus:before {
	content: "";
	left: calc(-1*.375rem);
	pointer-events: none;
	position: absolute;
	top: calc(-1*.375rem);
	transition: border-radius;
	user-select: none;
}

.button-80:focus:not(:focus-visible) {
	outline: 0 solid transparent;
}

.button-80:focus:not(:focus-visible):before {
	border-width: 0;
}

.button-80:not(:disabled):active {
	transform: translateY(.125rem);
}