






/*------------------------------------STANDARD EGENSKAPER-------------------------------------------*/



.now {
    background-color: black;
  }
  
  
    body{
    margin: 0; /*Nullstiller margin og padding til 0*/
    padding: 0;
    background-color: rgb(44, 41, 41);
    background-image: repeating-linear-gradient(rgb(189, 207, 54),rgb(76, 171, 8)); /*Overgang av farger*/
    background-repeat: no-repeat;
    
  
   
  
   
  }
  
  
  
  
  
  
  
  
  /*------------NAVBARD ,-----index-----------------*/
  
  
  .logo h1{
    
    
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; /*Skrifttype*/
    font-variant: small-caps;
    font-size: 38px; /*Størrelse*/
  
   
  
  
    text-shadow: -1px 0 rgb(222, 212, 212), 0 1px rgb(210, 198, 198), 1px 0 rgb(101, 43, 43), 0 -1px rgb(193, 47, 47); 
  
  
    
  
   
   
  }
  
  
  
  
  
  nav{
  
  
    min-height: 10px;
    border-bottom: #96930b 4px solid;
  
    padding: 9px 30px;
    display: flex; /*Sier ifra om bruk av flex*/
    align-items: center; /*Justerer de i midten*/
    justify-content: space-between; /*Lage plass i mellom*/
  
    
  
  
  
   
        background-image: repeating-linear-gradient(rgb(178, 165, 20),rgb(5, 119, 131)); /*Bakgrunnsgradient på nav*/
        
  
       
    
    
  }
  
  
  
  
  
  nav li{ /*Redigering av listene i nav*/
    text-transform: uppercase;
  }
  
  
  nav ul{ 
  
    display: flex;
    gap: 3px; /*Mellomrom*/
  
  
  
  
  }
  
  
  nav ul li{
    list-style-type: none; /*ingen dekorasjoner*/
  }
  
  
  
  nav ul li a{
    text-decoration: none;
    color: rgb(243, 252, 252);
  }
  
  li a:hover { /*Hva som skjer når du har musepekeren over*/
    background-color: #b68d12;
  }
  
  li a { /*Selve teksten*/
    display: block; /*Gjør at nav bar blir trykkbar*/
   
    text-align: center; /*Sentrerer i midten*/
    padding: 12px 16px;
    text-decoration: none; /*Tar vekk understrekene til lenkene*/
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    border: solid 3px rgb(255, 223, 12);
    border-radius: 10px;
  }
  
  
  
  
  
  
  
  
  
  
  
  /*------------------------Hoveddel  del av nettsiden---------------------*/
  
  .container{ /*Selve container til hovedellen*/
  
  
    width: 80%; /*Maks 80 prosent*/
    margin: auto; 
    overflow: hidden; 
  
  
  
  }



  * {
    box-sizing: border-box;
  }
  
  /* Position the image container (needed to position the left and right arrows) */
  .container {
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: rgb(255, 8, 255);
    font-weight: bold;
    font-size: 50px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* 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);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #0b0a08a0;
    font-size: 20px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    width: 16.66%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
 
  
  
  
  

  
 
  
  /*----------------responsivitet-------------------------------*/
  
  
  /* Standard styles for navbar */
  nav {
    /* Your existing styles */
  }
  
  /* Styles for larger screens */
  @media screen and (min-width: 768px) {
    nav ul {
      /* Additional styles for larger screens */
    }
  }
  
  /* Styles for smaller screens */
  @media screen and (max-width: 767px) {
    nav {
      flex-direction: column; /* Stack items vertically */
    }
    nav ul {
   
      flex-direction: column;
      background-color: rgba(154, 195, 33, 0.9); /* Background color for mobile nav */
      position: absolute;
      top: 60px; /* Adjust this value as needed */
      left: 0;
      width: 100%;
      padding: 10px;
    }
    nav ul.active {
      display: flex; /* Show the list when active */
    }
    nav li {
      margin-bottom: 10px; /* Spacing between menu items */
    }
  }
  