@import url('https://fonts.googleapis.com/css2?family=Grandstander:wght@300&family=Henny+Penny&family=Luckiest+Guy&display=swap');

body {
	background-image: url("img/stars.gif");
	background-color: black;
	font-family: 'Grandstander';
	font-size: 20px;
	font-weight: 300;
	color: white;
}

a, a:visited {
	color: yellow;
	text-decoration: none;
}

.container {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px;
}

header {
	display: flex;
	align-items: center;
	text-align: center;
	gap: 50px;
	max-width: 960px;
	padding-bottom: 20px;
}

.title1 {
	font-family: 'Luckiest Guy';
	font-size: 36px;
	line-height: 1.5;
	color: yellow;
}

.title2 {
	font-family: 'Henny Penny';
	font-size: 54px;
	line-height: 1.5;
	color: #f08;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 800px;
}

.textbox {
	background-color: #306;
	padding: 20px 40px;
	margin: 50px 0;
  position: relative;
  z-index: 1;
}
.textbox:before {
  background: inherit;
  top: 0;
  content: '';
  display: block;
  height: 50%;
  left: 0;
  position: absolute;
  right: 0;
  transform: skewY(1.5deg);
  transform-origin: 100% 0;
  z-index: -1;
}
.textbox:after {
  background: inherit;
  bottom: 0;
  content: '';
  display: block;
  height: 50%;
  left: 0;
  position: absolute;
  right: 0;
  transform: skewY(-1.5deg);
  transform-origin: 100%;
  z-index: -1;
}

.textbox p {
	line-height: 1.3em;
	margin: 10px;
}

@media screen and (max-width: 480px) {
  header {
		flex-direction: column;
	}
	.textbox {
		width: 100%;
	}
}
