@font-face {
	font-family: 'default';
	src: url(fonts/font.eot);
	src: url(fonts/font.eot?#iefix) format('embedded-opentype'),
		 url(fonts/font.otf) format('otf'),
		 url(fonts/font.woff) format('woff'),
		 url(fonts/font.woff2) format('woff2');
}

html {
	scroll-behavior: smooth;
}

body {
    margin: 0;
    margin-top: 50px;
    font-family: 'default';
}

main h1, h2, h3, p{
	opacity: 0;
	animation: reveal 1s forwards var(--d);
}

@keyframes reveal {
	from { transform: translateY(20px); }
	to { opacity: 1; transform: none; }
}

header {
	z-index: 1;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    line-height: 50px;
    background-color: #000000;
}

.nav {
	color: #FFFFFF;
}

header * {
    display: inline;
    height: 50px;
}

header ul {
    padding: 0;
}

header li {
    margin-left: 20px;
}

section {
    height: 100vh;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#home .profile-img {
    width: 300px;
    border-radius: 50%;
}

#home h1 {
    font-size: 2.5em;
	color: #FFFFFF;
}

section h2 {
    font-size: 2.5em;
	color: #FFFFFF;
}

section h3 {
    font-size: 1.5em;
	color: #FFFFFF;
}

section p {
	color: #FFFFFF;
}

header a {
    text-decoration: none;
    color: black;
}

.text {
	color: #FFFFFF;
}

.text a {
	color: #FFFFFF;
	text-decoration: none;
}

#home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75),rgba(0, 0, 0, 0.75)), url(images/back-1.jpg);
}

#about {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75),rgba(0, 0, 0, 0.75)), url(images/back-2.jpg);
}

#contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75),rgba(0, 0, 0, 0.75)), url(images/back-3.jpg);
}