


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




  
  
    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*/
    
  
   
  
   
  }
  
  
  
  
  
  
  
  
  /*------------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; 
  
  
  
  }
  
  
  
  
  
  
  
  
  
  
  
 
  
  
  
  
  
  
  /*----------------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 */
    }
  }



  /*--------------Om meg Nettside--------------*/
  



  .container {
    max-width: 800px;
    margin: 20px auto;
    background-image: repeating-linear-gradient(rgb(221, 201, 20),rgb(64, 125, 64),rgb(209, 172, 3));
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(162, 100, 100, 0.1);
    border: solid 2px rgb(9, 3, 3);
  }


  .profiltop {
    text-align: center;
    margin-bottom: 20px;



  }
  .bilde {
    border-radius: 50%;
    border: 5px solid #211212;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 200px;
    height: 200px;
    object-fit: cover;



  }


  .profilinfo {
    text-align: center;
    margin-bottom: 20px;
  }


  .profilinfo h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #1a0e0e;
  }



  .profileinfo p {
    font-size: 16px;
    color: #e6cbcb;
  }



  .detaljer {
    background-color: #b7db97;
    padding: 20px;
    border-radius: 23px;
    text-align: center;
  }


  .detaljer h2 {
    font-size: 20px;
    color: #190c0c;
    margin-bottom: 10px;
    
  }



  .detaljer p {
    font-size: 16px;
    color: #1a0909;
    margin-bottom: 5px;
    font-family: Arial, Helvetica, sans-serif;
  }


  .interesser {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }



  .interesser li {
    background-color: #050303;
    color: #f3e2e2;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
  }


  .container {
    overflow: hidden;
  }


  .bilder {
    
    width: 100%;
    margin: auto;
    display: flex;
    box-sizing: border-box;  /*Gjør at elementene klemmer sammen*/
   
  }




  /*Bilder av månen*/

.bilder {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 3px;
  
}



.måne {
  border-radius: 20px;
  
}