:root{
	--blue:#277fff;
	--gray:#191919;
}

*{
	font-family: 'Varela Round', sans-serif;
	color: var(--blue);
}

nav{
	padding: 0px 10px;
	padding-top: 5px; 
}

nav .logo{
	height: 32px;
}

body{
	margin: 0;
	min-height: 100vh;
	background-color: var(--gray)
}

.hero{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 250px;
	background-image: url("./public/background.png");
	background-position: center;
  	background-size: cover;
  	position: relative;
  	text-align: center;
}

.hero img{
	position: absolute;
	bottom:0;
	transform: translateY(60%);
}

h1{
	font-size: 4.5rem;
	font-weight: 400;
}

h2{
	margin:0;
	font-weight: 400;
	font-size: 1.3rem;
}

p{
	margin: 0;
	font-size: 1.1rem;
	margin-bottom: 27px;
}

p.nospace{
	margin-bottom: 0; 
}

main{
	padding: 15px;
	display: flex;
	justify-content: space-between;
}

main div{
	max-width: calc(50% - 115px);
}

a{
	text-decoration:none;
}

.fade.delay{
	animation: fadeInDelay ease 1500ms;
}

.fade.logo{
	animation: fadeInLogo ease 1s;
}

@media only screen and (max-width: 600px) {
	main{
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-top: 170px;
	}

	main div{
		max-width: fit-content;
	}
}

@media only screen and (max-width: 770px) {
	h1{
		font-size: 3rem;
	}
}


@media only screen and (max-width: 500px) {
	h1{
		font-size: 2rem;
	}
}


@keyframes fadeInDelay {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    33%{
    	opacity: 0;
    	transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
     }
}

@keyframes fadeInLogo {
    0% {
        opacity: 0;
        transform: translateY(calc(60% + 40px));
        
    }
    100% {
        opacity: 1;
        transform: translateY(60%);
     }
}