*{
    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;

}
/* Style inputs */
  input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid darkgray;
  border-radius: 4px;
  box-sizing: border-box;
}

form{
    margin: auto;
    margin-top: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 60%;
    display: block;
}

.btn {
  width: 60%;
  background-color: rgb(82, 0, 177);
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: white;
  padding: 14px 20px;
  margin: auto;
  display: block;
  margin-top: 20px;
  border: none;
  border: rgb(82, 0, 177) solid 2px;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover{
  background-color:#ddd;
  color: black;
  border: black solid 2px;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
  padding: 8px;
}

/* Create four equal columns that floats next to each other */
.column {
    margin-top: 40px;
    float: left;
    width: 25%;
}

/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: white;
  padding: 10px;
}

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;
}

footer>address{
  margin: auto;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
  .column {
    width: 50%;
  }
}

@media screen and (min-width: 900px){
  footer{
    position: absolute;
    bottom: 0px;
  }
}
@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;
    text-align: center;
  }
}

@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;
  }
  .toppnav a{
    width: 100%;
  }
  .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;
  }
}