*{
    padding:0px;
    margin:0px;
    box-sizing: border-box;
}

h1{
    font-family:Verdana, Tahoma, sans-serif;
    font-size: 35px;
    text-align: center;
    margin: 10px 10px ;
}

.hemknapp{    
    margin: auto;
    flex-direction: row;
}

.hemknapp a {
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-decoration: none;
    font-size: 40px;
    text-align: center;
    display: block;
    color:#ddd;
    width: 360px;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.bg-img{
  background-image:url(https://t4.ftcdn.net/jpg/02/40/63/55/360_F_240635575_EJifwRAbKsVTDnA3QE0bCsWG5TLhUNEZ.jpg);


  /* Center and scale the image nicely */
  background-position:center;
  background-repeat: no-repeat;
  background-size:cover;

  /* Needed to position the navbar */
  position: relative;
  margin: auto;
  display: flex;

}
/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float:left;
  flex-direction: row;
  display: block;
  color:#ddd;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  max-height: 48px;
  border:#333 solid 2px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
  border: black solid 2px;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color:rgb(82, 0, 177);
  color:#ddd;
  border: rgb(82, 0, 177) solid 2px;
}

.topnav a.active:hover {
  background-color:#ddd;
  color:black;
  border:black solid 2px;
}

.topnav a:active{
  background-color: lightslategray;
}

.topnav a.active:active{
  background-color: lightslategray;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;

}
.topnav a.icon {
  background-color: rgb(82, 0, 177) ;
  height: 48px;
  border: rgb(82, 0, 177) solid 2px;

}

h2{
  text-align: center;
  margin-top: 20px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border:darkgrey solid 1px; /* Gray border */
  border-radius: 5px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
.btn{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background-color: rgb(82, 0, 177);
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: auto;
  display: block;
  width: 60%;
}

/* When moving the mouse over the submit button, add a darker green color */
.btn:hover {
  background-color:#ddd;
  border:black solid 2px;
  color: black;
}

.btn:active{
  background-color: lightslategray;
}

form > label{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
form > input{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

footer{
  width: 100%;
  background-image:url(https://t4.ftcdn.net/jpg/02/40/63/55/360_F_240635575_EJifwRAbKsVTDnA3QE0bCsWG5TLhUNEZ.jpg);
  background-position:center;
  background-repeat: no-repeat;
  background-size:cover;
  position: relative;
  margin: auto;
  display: flex;
  color: #ddd;
  text-align: center;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: large;
  text-decoration: none;
  text-align: center;
  display: flex;
  margin-top: 65px;
}

footer>address{
  margin: auto;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .column {
    width: 100%;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: flex;
    text-align: left;
  }
  .toppnav{
    background-color: #333;
    overflow: hidden;
    margin: auto;
    flex-direction: row;
    display: flex;
  }
  .hemknapp{
    width: 220px;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .hemknapp a {
    font-size:  25px;
    width: 220px;
    margin: auto;
    flex-direction: row;
    display: block;
    text-align: center;
  }
}

@media screen and (min-width: 600px ) {

  .topnav {
    background-color: #333;
    overflow: hidden;
    margin: auto;
    flex-direction: row;
    display: flex;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float:left;
    text-decoration: none;
    font-size: 17px;
    flex-direction: row;
    display: block;
    margin: auto;
    width: 400px;
  }
}

