<style>
	.up-arrow {
	  position: fixed;
	  width: 3vw;
	  height: 3vw;
	  top: 80vh;
	  right: 5vw;
	  cursor: pointer;
	}
	@media screen and (max-width: 800px) {
		.up-arrow {
    	  width: 70px;
    	  height: 70px;

		}
	}
</style>

<script>
	function scroll() {
		window.scrollTo({top: 0, behavior: 'smooth'});
	}
</script>

<div class="up-arrow" on:click="{scroll}">
	<img src="/svg/up-arrow.svg" alt="up arrow">
</div>
