/* NAVBAR */

/* Add a black background color to the top navigation */

.topnav {
    background-color: rgb(0, 0, 0);
    overflow: hidden;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}



/* Change the color of links on hover */
.topnav a:hover {
  background-color: rgb(87, 87, 87);
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #d1c62a;
  color: white;
}

/* Right-aligned section inside the top navigation */
.topnav-right {
  float: right;
}

body, html {
    height: 100%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* HERO */

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("bild.jpg");

  /* Set a specific height */
  height: 75%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-attachment: fixed;
}

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

button.test {
    background-color: rgba(255, 255, 255, 0.39); 
    color: rgb(255, 255, 255); 
    border: 2px solid #424242;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 15px 50px 30px 5px;
  }
  
  button.test:hover {
    background-color: #313131;
    color: white;
  }

  .container{
      width: 90%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      grid-gap: 20px;
  }

  .box{
    height: 200px;
    color: black;
    border: 2px solid black;
    position: relative;
    margin-top: 20px;
  }

h2{
  text-transform: uppercase;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}