@import url("https://fonts.cdnfonts.com/css/guthen-bloots-personal-use");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--backgroundColor: #f1faee;
}

body {
	font-family: "Guthen Bloots Personal Use", sans-serif;
	background-color: var(--backgroundColor);
	color: #1d3557;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	overflow: hidden;
	letter-spacing: 2px;
}

nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 5%;
	padding-top: 10px;
	font-size: 1.3rem;
	font-weight: 900;
	width: 100%;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	top: 5%;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.swiper {
	width: 97%;
	height: 65%;
}

.swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

img {
	object-fit: cover;
	width: inherit;
	height: inherit;
	transition: transform 0.7s cubic-bezier(0.73, -0.09, 0.14, 0.81);
	transform: scale(1.2) rotate(0deg);
}

img:hover {
	transform: scale(1.1) rotate(1deg);
}

.text {
	position: absolute;
	bottom: 10%;
	font-size: 6rem;
	font-weight: 900;
	left: 45%;
}
#hover-text {
	letter-spacing: 8px;
}

footer {
	font-size: small;
	width: 100%;
	padding: 0 60px;
	position: relative;
	z-index: 10;
	height: 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.links {
	display: flex;
	gap: 20px;
	transition: transform 1s cubic-bezier(0.73, -0.09, 0.14, 0.81);
}

a:hover {
	transform: rotate(-5deg);
}

a {
	text-decoration: none;
	color: inherit;
}

@media screen and (max-width: 768px) {
	.swiper {
		overflow-y: auto !important;
		overflow-x: hidden !important;
		flex-direction: column !important;
		height: 95% !important;
		display: flex;
		width: 95%;
		justify-content: center;
		align-items: center;
		gap: 10px;
	}

	.swiper-wrapper {
		flex-direction: column !important;
		transform: none !important;
		width: 100%;
		gap: 10px;
	}

	.swiper-slide {
		width: 100% !important;
		padding: 10px 50px !important;
		display: flex;
		justify-content: center;
		align-items: center;
		overflow: hidden;
	}

	img {
		object-fit: cover;
		width: inherit;
		height: inherit;
		transition: transform 0.7s cubic-bezier(0.73, -0.09, 0.14, 0.81);
		transform: scale(1.2) rotate(0deg);
	}

	img:hover {
		transform: scale(1.1) rotate(1deg);
	}

	.text {
		font-size: 2rem !important;
		text-align: center !important;
		background: rgba(255, 255, 255, 0.3);
		bottom: 20%;
		z-index: 10;
		width: 100%;
		left: 0;
		transition: all 0.5s ease-in-out;
	}

	.text:not(:empty) {
		padding: 10px;
	}

	footer {
		font-size: small;
		width: 100%;
		padding: 0 10px;
		z-index: 10;
		background: var(--backgroundColor);
		height: 5%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.hide {
		display: none;
	}
}
