@import url('https://fonts.googleapis.com/css?family=Montserrat:400,400i,800,800i');

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

* {
    margin: 0;
}

#cover {
    background-image: url('img/abandoned-forest-hd-wallpaper-34950-min.jpg');
    background-position: center 90%;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(16px);
    height: 100%;
    opacity: 0.8;
    position: absolute;
    transition: 0.8s ease-out;
    width: 100%;
}

.navigation {
    background-color: white;
    height: 16vh;
    left: 0;
    top: 0;
    width: 100%;
}
.navigation-link {
    cursor: pointer;
    height: 64px;
	position: absolute;
    width: 128px;
} .navigation-link:nth-of-type(2):hover ~ .navigation-underline{
    left: 128px;
} .navigation-link:nth-of-type(3):hover ~ .navigation-underline{
    left: 256px;
} .navigation-link:nth-of-type(4):hover ~ .navigation-underline{
    left: 384px;
}
.navigation-underline {
    background-color: red;
    bottom: 0;
    height: 4px;
    left: 0;
    transition: 0.8s ease-in;
    width: 128px;
}

@font-face {
    font-family: Montserrat;
}

body {
    background-color: white;
    height: 100%;
    width: 100%;
}

h1.home {
    animation: fadeIn 2s ease 1s forwards;
    color: white;
    font-family: Montserrat;
    font-weight: 700;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: scale(1);
    transform: translate(-50%, -50%);
}