*{
    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;

}
/* Container needed to position the button. Adjust the width as needed */
.container {
  position: relative;
  width: 100%;
}

/* Make the image responsive */
.container img {
  width: 100%;
  height: auto;
}

/* Style the button and place it in the middle of the container/image */
.container .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
   background-color: rgb(82, 0, 177);
  color:#ddd;
  font-size: 35px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-decoration: none;
  padding: 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.container .btn:hover {
  color: black;
  background-color: #ddd;
  border: black solid 2px;
}

.container .btn:active{
  background-color: lightslategray;
}

section{
  width: 80%;
  max-width: 700px ;
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
}

p{
  text-align: center;
  font-size: large;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

footer{
  margin-top: 20px;
  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: 50px;
}

footer>address{
  margin: auto;
}
@media screen and (max-width:938px) {
  .container .btn {
    font-size: 25px;
  }
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    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;
  }
  .container .btn {
    font-size: 17px;
      max-height: 50px;
  }
  footer{
    position: absolute;
    bottom: 0px;
  }
}
@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;
  }
  section > p{
  width: 80%;
  max-width: 700px ;
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
}
}

