html, body {
    margin: 0;
    padding: 0;
    height: 200vh;
}
    
#background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to top, #00000070, #79808054),
                url('images/forside.jpg') no-repeat center top;
    background-size: cover;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

h1,h2,h3,h4,h5,p{
	color: #333446;
}

.topnav {
  background-color: #333446;
  overflow: visible;
  position: fixed;
  width: 100%;
  z-index: 1;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #EAEFEF;
  text-align: center;
  padding: 19px 24px;
  text-decoration: none;
  font-size: 20px;
}

.topnav .login {
	float: right;
	color: #EAEFEF;
	text-align: center;
	padding: 20px 16px;
	text-decoration: none;
	font-size: 18px;
}

#logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 70px;
    width: 400px;
    z-index: 2;
}

.topnav .icon {
	display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
	float: left;
	overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
	font-size: 20px;
	border: none;
	outline: none;
	color: white;
	padding: 19px 24px;;
	background-color: inherit;
	font-family: inherit;
	margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #333446;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
	float: none;
	color: #EAEFEF;
	padding: 12px 50px;
	text-decoration: none;
	display: block;
	text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
	background-color: #46485f;
	color: #EAEFEF;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
	background-color: #46485f;
	color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
	display: block;
}

.hometext {
	position: relative;
	text-align: center;
	font-size: 25px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	width: 1600px;
	height: 1000px;
	align-items: center;
	padding: 30px;
}

.img {
    width: 400px;
}

.text {
	text-align: center;
	padding: 30px 100px;
}

.text h1 {
	font-family: 'Josefin Sans', sans-serif;
}

.text p {
	text-align: left;
    font-size: 25px;
}

.text img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 600px;
}

.text .smallText {
    font-size: 12px;
}

@media screen and (max-width: 1000px) {
    .hometext {
	    position: relative;
	    text-align: center;
	    border-color: #22263d;
	    border-style: dotted solid;
	    font-size: 25px;
	    display: block;
	    margin-top: 50px;
	    margin-left: auto;
	    margin-right: auto;
    	width: 90%;
    	height: 60%;
    	display: flex;
    	align-items: center;
    	padding: 30px;
	}
	
	.img {
	    width: 300px;
	}
	
	    
    #historie {
        outline: auto;
        outline-color: lightgray;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 1000px) {
	.topnav a:not(:first-child), .dropdown .dropbtn {
		display: none;
	}
	.topnav a.icon {
		float: right;
		display: block;
	}

	.text {
		text-align: center;
		padding: 5px;
	}
	
	.text img {
	    display: block;
	    margin-left: auto;
	    margin-right: auto;
	    width: 90%;
	}
	
	#forside-bilde {
	    display: none;
	}
	
	#forside-bilde2 {
	    display: block;
	    width: 90%;
	    margin-left: auto;
	    margin-right: auto;
	}
	
	
    #historie {
        outline: auto;
        outline-color: lightgray;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
	
	.hometext {
	    position: relative;
	    text-align: center;
	    border: none;
	    font-size: 25px;
	    display: block;
	    margin-top: 50px;
	    margin-left: auto;
	    margin-right: auto;
    	width: 90%;
    	height: 60%;
    	display: flex;
    	align-items: center;
	}
	
	.table tr:nth-child(even) {
       background-color: #D6EEEE;
    }

    .table {
        border-collapse: collapse;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .table th, td {
        text-align: left;
        font-size: 12px;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1000px) {
	.topnav.responsive {position: fixed;}
	.topnav.responsive .icon {
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	.topnav.responsive a {
	  float: none;
	  display: block;
	  text-align: left;
	}
	.topnav.responsive .dropdown {float: none;}
	.topnav.responsive .dropdown-content {position: relative;}
	.topnav.responsive .dropdown .dropbtn {
	  display: block;
	  width: 100%;
	  text-align: left;
	}
}