html {
    box-sizing: border-box;
  }
  *,
  *:before,
  *:after {
    box-sizing: inherit;
  }
  /*General styling body section of each webpage*/
  body {
    font-family: verdana;
    color: rgb(4, 5, 6); /*Darkblue*/
    background-color: rgb(241 231 231);
    font-size: 14px;
    line-height: 1.3;
    padding: 0;
    margin: 0 3vw;
    max-width: 95vw;
    background-image: url("file:///C:/Users/tomst/OneDrive/Jesper/nordische kreuzer.jpg");
    background-repeat: no repeat;
    background-size: cover;
  }
  @media screen and (max-width: 500px) {
    body,label,legend {
      font-size: 75%;
    }
  }
  @media screen and (min-width: 501px) and (max-width: 800px) {
    body,label,legend {
      font-size: 85%;
    }
  }
 /*General styling grid container for larger screens (general lay-out structure)*/
  @media screen and (min-width: 801px) {
    .general_layout {
      display: grid;
      max-width: 95vw;
      margin: 0 auto;
      font-size:100%;
      grid-template-columns: repeat(2, 50%);
      grid-template-rows: repeat(4, auto);
      /*justify-content: space-evenly;
      /* justify-items: center;*/
      grid-row-gap: 10px;
      grid-column-gap: 20px;
      grid-template-areas:
        "header header"
        "LeftColumnMain RightColumnMain"
        "LeftColumnSite RightColumnSite"
        "footer footer"; /*These area-names are used in every webpage*/
    }
  }
  header {
    grid-area: header;
  }
  .RightColumnMain {
    grid-area: RightColumnMain;
    margin-top:30px;
    margin-left: 30px;
    margin-right: 30px;
    padding-left:15px;
    padding-right:15px;
    font-weight: bold;
    background-color: beige;
  }
  .LeftColumnMain {
    grid-area: LeftColumnMain;
    margin-top:30px;
    margin-left: 30px;
    margin-right: 30px;
    padding-left:15px;
    padding-right:15px;
    font-weight: bold;
    background-color: beige;
    }
  .LeftColumnSite {
    grid-area: LeftColumnSite;
    margin-top:30px;
    margin-left: 30px;
    margin-right: 30px;
    padding: auto;
    font-weight: bold;
    background-color: beige;
    }
  .RightColumnSite {
    grid-area: RightColumnSite;
    margin-top:30px;
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 15px;
    font-weight: bold;
    background-color: beige;
    }
  footer {
    grid-area: footer;
  }
  /*General styling header*/
header {
    text-align: center;
  }
#upperleft{
    position: absolute;
    top: 40%;
    left: 10%;    
}
#upperleftcenter{
    position: absolute;
    top: 40%;
    left: 30%;    
}
#upperrightcenter{
    position: absolute;
    top: 40%;
    right: 30%;    
}
#upperright{
    position: absolute;
    top: 40%;
    right: 10%;    
}
#lowerleft{
    position: absolute;
    top: 80%;
    left: 10%;    
}
#lowerleftcenter{
    position: absolute;
    top: 80%;
    left: 30%;    
}
#lowerrightcenter{
    position: absolute;
    top: 80%;
    right: 30%;    
}
#lowerright{
    position: absolute;
    top: 80%;
    right: 10%;    
}
h1 {
  font-family: Monospace;
  color: beige;
  font-size: 5em;
  margin: auto;
  text-shadow: 2px 2px 5px darkblue;
}
button,.buttonstyle{
    width: 20%;
    display: inline-block;
    font-family: inherit;
    border-radius: 40px;
    background-color: beige;
    color: black;
    padding: 25px;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
    font-variant: small-caps;
    border: 1px solid black;
    box-shadow: 1px 2px 6px darkblue;
    transition: all 0.25s ease-in;
    cursor: pointer;
    text-align: center;
    opacity:0.5;
}
li{
  display: inline-block;
}
.navstyle {
  width: 15%;
  
  font-family: inherit;
  border-radius: 40px;
  background-color: beige;
  color: black;
  padding: 16px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  font-variant: small-caps;
  border: 1px solid black;
  box-shadow: 1px 2px 6px black;
  transition: all 0.25s ease-in;
  cursor: pointer;
  text-align: center;
  opacity:0.5 
}
a:hover{
  background-color: #BFB38D
}
