@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@600;800&display=swap") * {
	box-sizing: border-box;
}

body {
	font-family: "Open Sans", sans-serif;
	height: 100vh;
	overflow: hidden;
	margin: 0;
}

a {
	text-decoration: none;
	text-align: center;
}

h1 {
	font-weight: 800;
	font-size: 3rem;
	text-align: center;
}

.main {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: white;
	height: 100vh;
}

.split {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
	height: 100vh;
	width: 100%;
	background-size: cover;
	background-position: center center;
	background-blend-mode: overlay;
}



.left {
	background-image: url("https://theyard.pt/the_yard_vng.webp"),
		-webkit-linear-gradient(#dddddd, #dedede);
}

.right {
	background-image: url("https://theyard.pt/the_yard_tagus.webp"),
		-webkit-linear-gradient(#dddddd, #dedede);
}

.btn {
	color: black;
	border: 2px solid black;
	border-radius: 2px;
	padding: 15px 50px;
	background: none;
	font-weight: 600;
	font-size: 12px;
}

.btn-left:hover {
	color:white;
	background-color: #000000;
	border-color: #000000;
}

.btn-right:hover {
	color:white;
	background-color: #000000;
	border-color: #000000;
}

@media (min-width: 600px) {
	h1 {
		font-size: 2rem;
	}

	.main {
		flex-direction: row;
	}

	.split {
		width: 50%;
		transition: width 1s ease;
	}

	.hover-left .left {
		width: 70%;
	}

	.hover-left .right {
		width: 30%;
	}

	.hover-right .left {
		width: 30%;
	}

	.hover-right .right {
		width: 70%;
	}
}