html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Noto Sans TC', sans-serif;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Lilita One', cursive;
}

#container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	height: 100vh;
	margin: auto;
	width: 100%;
	background-color: #f0f0f0;
}

#header {
	height: calc(100vh - 100px);
	width: 100%;
	flex-shrink: 0;
	background-color: #ffcccc;
	position: relative;
	background-image: url(../assets/fishy_business/header.jpg);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: flex-start !important;
	align-items: flex-start;
	align-items: center;
	text-align: center;
}

#header .header-item {
	width: 100%;
	margin: 0px auto;
}

#main {
	flex-grow: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	background-color: #ccffcc;
}

#footer {
	width: 100%;
	flex-shrink: 0;
	background-color: #f19737;
	background-image: url(../assets/fishy_business/footer_rocks.png);
	background-position: top center;
	background-repeat: repeat-x;
}

#header,
#main,
#footer {
	width: 100%;
}

#container,
#header,
#main,
#footer {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

#items.item {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.item {
	padding: 50px 30px 90px 30px;
	background-repeat: repeat-x;
	background-size: 100% 148px;
}

.item-content {
	padding: 30px;
	border-radius: 15px;
}

.item {
	background-color: #fea03a;
	background-image: url(../assets/fishy_business/game_info_divider.png);
	background-position: 150px calc(100% + 115px);
}

.item > div:first-of-type {
	background-color: rgba(255, 255, 255, 0.3);
}

.item > div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 40px;
}

.left-column, .right-column {
	width: 500px;
}

.fish-image img {
	transform: scaleX(-1);
}

.fish-image {
	animation: bounce-up 3s ease-in-out infinite;
}

.gold-image {
	animation: bounce-down 3s ease-in-out infinite;
}

.worker-image {
	animation: bounce-up 3s ease-in-out infinite;
}

#footer div.item-content {
	text-align: center;
}

@keyframes bounce-up {

	0%,
	100% {
		transform: translateY(12px);
	}

	50% {
		transform: translateY(-12px);
	}
}

@keyframes bounce-down {

	0%,
	100% {
		transform: translateY(-12px);
	}

	50% {
		transform: translateY(12px);
	}
}

.left-column {
	text-align: center;
}

.right-column {
	text-align: left;
}

.item.worker-info {
	background-color: #ffc44c;
	background-image: url(../assets/fishy_business/footer_info_divider.png);
	background-position: 550px calc(100% + 115px);
}

.item.gold-info {
	background-color: #feb13f;
	background-image: url(../assets/fishy_business/worker_info_divider.png);
	background-position: 0px calc(100% + 115px);
}

#socials {
	right: 0;
	top: 0;
	position: absolute;
	z-index: 1000;
	display: flex;
	gap: 10px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 5px;
	animation: fade_in 1s ease-in-out;
}

#socials a {
	color: #333;
	text-decoration: none;
	font-size: 1.5rem;
	opacity: 0;
	transform: translateY(-10px);
	animation: slide_in 0.5s ease-in-out forwards;
}

#socials a:nth-child(1) {
	animation-delay: 0.2s;
}

#socials a:nth-child(2) {
	animation-delay: 0.4s;
}

#socials a:nth-child(3) {
	animation-delay: 0.6s;
}

#socials a:nth-child(4) {
	animation-delay: 0.8s;
}

#socials a:nth-child(5) {
	animation-delay: 1s;
}

#socials a:hover {
	color: #000;
}

.fishy-business-logo {
	height: 500px;
}

.fishy-business-logo img {
	position: absolute;
	top: 330px;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: contain;
}

.fishy {
	width: 220px;
	height: 220px;
}

.fishy-bubble {
	width: 366px;
	height: 366px;
}

.fishy-title {
	width: 500px;
	height: 500px;
}

.google-store-link {
	position: relative;
	top: 340px;
}

.google-store-link:hover img {
	filter: brightness(1.5);
}

.fish-icon {
	width: 100px;
	transform: scaleX(-1);
}

.fish-icon-offset {
	position: relative;
}

@keyframes fade_in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slide_in {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.google-play {
	animation: shockwaveJump 3s ease-out infinite;
}

@keyframes shockwaveJump {
	0% {
		transform: scale(1);
	}

	40% {
		transform: scale(1.003);
	}

	50% {
		transform: scale(0.997);
	}

	55% {
		transform: scale(1.003);
	}

	60% {
		transform: scale(0.997);
	}

	100% {
		transform: scale(1);
	}
}

@media (max-width: 768px) {
	.fishy-business-logo img {
		position: absolute;
		top: 250px;
		left: 50%;
		transform: translate(-50%, -50%);
		object-fit: contain;
	}

	.fishy {
		width: 130px;
		height: 130px;
	}

	.fishy-bubble {
		width: 260px;
		height: 260px;
	}

	.fishy-title {
		width: 380px;
		height: 380px;
	}

	.google-store-link {
		position: relative;
		top: 260px;
	}

	.google-store-link img {
		height: 60px;
	}

	.item > div {
		display: inherit;
	}

	.left-column, .right-column {
		width: auto;
	}

	.fish-image img, .gold-image img, .worker-image img {
		width: 200px;
	}

}

@media (min-width: 2600px){
    .fishy-business-logo img {
        position: absolute;
        top: 650px;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: contain;
    }

    .fishy {
        width: 430px;
        height: 430px;
    }

    .fishy-bubble {
        width: 760px;
        height: 760px;
    }

    .fishy-title {
        width: 1080px;
        height: 1080px;
    }

	.google-store-link {
		position: relative;
		top: 710px;
	}

	.google-store-link img {
		height: 160px;
	}
}