*{
    padding:0px;
    Margin:0px;
    box-sizing: border-box;
}

.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #C9A227;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.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: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  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: black;
  padding: 12px 16px;
  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: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* 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: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.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;
  }
}

.contactbtn{
  margin-left: 42%;
  width: 200px;
  height: 50px;
}

#myBtn {
  display: none; 
  position: fixed; 
  bottom: 20px; 
  right: 30px; 
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: red; 
  color: white; 
  cursor: pointer; 
  padding: 15px; 
  border-radius: 10px; 
  font-size: 18px; 
}

#myBtn:hover {
  background-color: #555;
}

h2{
  text-align: center;
  font-size: 60px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.responsive {
  width: 100%;
  max-height: 600px;
}

@media screen and (max-width: 678px) {
  .responsive{
    max-height: fit-content;
  }
}

div.scroll-container {
  overflow: auto;
  white-space: nowrap;
  padding: 0px;
  margin-left: 50px;
}

div.scroll-container img {
  padding: 0px;
  height: 300px;
  width: 300px;
}

div.scroll-container > .button {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

div.scroll-container > .button1 {
  background-color: white;
  color: black;
  border: 2px solid #04AA6D;
}

div.scroll-container > .button1:hover {
  background-color: #04AA6D;
  color: white;
}

div.scroll-container > .button2 {
  background-color: white;
  color: black;
  border: 2px solid #008CBA;
}

div.scroll-container > .button2:hover {
  background-color: #008CBA;
  color: white;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1800px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

main> table > tbody > tr > th{
  width: 33%;
}

main > table#oppettider{
  width: 50%;
}

main > table{
  width: 80%;
  margin-left: 10%;
  margin-top: 20px;
}

main > table, 
main> table > tbody > tr> td{
  border: black solid 5px;
  border-radius: 12px;
  border-collapse: collapse;
}

@media screen and (max-width: 678px) {
  main > table{
    width: 100%;
    margin-left: 0px;
  }
}

input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* 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) */
}
input[type=button] {
  background-color: #C9A227;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.container {
  border-radius: 5px;
  padding: 20px;
}

div.scroll-container2 {
  overflow: auto;
  white-space: nowrap;
  padding: 0px;
  margin-left: 30%;
}

div.scroll-container2 img {
  padding: 0px;
  height: 100px;
  width: 100px;
}

div.scroll-container2 > .button {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.main-pic{
  width: 90%;
  margin-left: 20%;
  margin-top: 10%;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -1%;
  margin-right: 30%;
}

.rightside > h3 {
  font-size: 40px;
  padding-left: 20px;
}

.rightside > a > .kundvagn{
  margin-left: 10%;
  margin-top: 10%;
  max-width: 250px;
  width: 100%;
  height: 50px;
}

@media screen and (max-width: 900px){
  .container{
    display: flex;
    flex-direction: column;
  }
  .leftside{
    width: 100%;
  }
  .rightside{
    margin-left: 30%;
  }
}

footer{
  margin-top: 30px;
  background-color: #333;
  text-align: center;
}

footer > p{
  text-align: left;
}

footer > .socialmedia{
  margin-right: 2%;
  margin-left: 2%;
}

footer > p{
  color: white;
}