@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;600&display=swap');

/*! reset */

a, p, h1, h2, h3, input, textarea, select, button, ul, li {
	background-color: transparent;
	border: 0;
	border-collapse: collapse;
	color: inherit;
	list-style: none;
	margin: 0;
	outline: none;
	padding: 0;
	text-decoration: none;
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

img {
	display: block;
	max-width: 100%;
}

/*! variables */

:root {
	--font-family: "Barlow";
	--font-size: calc(1.2rem + 0.2vw);
	--font-size-h1: calc(var(--font-size) * 3);
}

/*! base */

body {
	display: flex;
	flex-direction: column;
	scroll-behavior: smooth;
	font-family: var(--font-family);
	font-size: var(--font-size);
	padding: 0;
	margin: 0;
	height: 100vh;
}

header, main, footer {
	padding: 20px;
}

/*! header */

header {
	align-items: center;
	background-color: fuchsia;
}

/*! main */

main {
	flex: 1;
}

h1 {
	font-size: var(--font-size-h1);
	background-image: linear-gradient(270deg, #8bc249, #03a9f4, #673ab7, #9c27b0, #e73052, #f44336, #ffc107);
	background-size: 1400% 1400%;
	animation: colors-bg 20s ease infinite;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

@keyframes colors-bg {
	0%{background-position:0% 50%}
	50%{background-position:100% 50%}
	100%{background-position:0% 50%}
}

/*! footer */

footer {
	background-color: cornflowerblue;
}


@media only screen and (max-width : 800px) {

}