/*----Body----*/
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #fcfbfb;;
}
/*----Body----*/

/*------------------------------------------------------------------------------------------*/

/*----RightSide----*/
.OverskrivftH2 {
    font-size: 30px;
    color: black
}
/*----RightSide----*/

/*------------------------------------------------------------------------------------------*/

/*----NavBar----*/
nav {
    background-color: #000000;
    color: white;
    padding: 1px;
    position: relative;
}

.topnav {
    background-color: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topnav a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    border-bottom: 3px solid transparent;
}

.topnav a:hover {
    border-bottom: 3px solid #f4e1e5;
}

.topnav a.active {
    border-bottom: 3px solid #f1cbd3;
}

.open-panel {
    background: none;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
}

.open-panel:hover {
    background-color: rgb(35, 35, 35);
}

/*----SidePanelStil*/
.side-panel {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: black;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    color: white;
    z-index: 1000;
}

/*----SøkeSidePanel----*/
#mySearch {
    width: 100%;
    font-size: 18px;
    padding: 11px;
    border: none;
}
  
#myMenu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#myMenu li a {
    padding: 12px;
    text-decoration: none;
    color: white;
    display: block
}

#myMenu li a:hover {
border-bottom: 3px solid #f4e1e5;
}

.side-panel button {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 20px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
}

.side-panel button:hover {
    background-color: rgb(35, 35, 35);
}
/*----NavBar----*/

/*------------------------------------------------------------------------------------------*/

/*----SplitScreen----*/
.split-screen {
    display: flex;
    height: calc(100vh - 50px);
}

.left, .right {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.left {
    background-color: #fcfbfb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.left figure {
    text-align: center;
}

.left img {
    max-width: 100%;
    height: auto;
    display: block;
}

.right {
    background-color: #f4e1e5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#alertButton {
    padding: 10px 20px;
    background-color: #ffffff;
    color: black;
    border-radius: 1px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
}

button:hover {
    background-color: #ffffff;
}

#alertButton:hover {
    box-shadow: 0 5px 5px 0 rgba(0,0,0,0.24),0 5px 5px 0 rgba(0,0,0,0.19);
}

/*----SplitScreen----*/

/*------------------------------------------------------------------------------------------*/

/*----FullskjermBilde----*/
.FullskjermBilde {
    position: relative;
    width: 100%;
    height: 100vh; /* Full høyde på visningsvinduet */
    overflow: hidden;
}

.FullskjermBilde img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Sørger for at bildet dekker hele området uten å bli forvrengt */
}

/*----TekstBilde----*/
.tekst-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Sentraliserer teksten nøyaktig i midten */
    text-align: center;
    z-index: 10; /* Sørger for at teksten er over bildet */
    
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.575);
}

#H1TesktBilde {
    font-size: 40px;
    color: white;
}

#pTekstBilde {
    color: white;
}
/*----FullskjermBilde----*/

/*------------------------------------------------------------------------------------------*/

  /*----Socials bar----*/
.fa-facebook {
    background-color: #f4e1e5;
    color: white;
    text-decoration: none;
}

.fa-twitter {
    background-color: #f4e1e5;
    color: white;
    text-decoration: none;
}

.fa-instagram {
    background-color: #f4e1e5;
    color: white;
    text-decoration: none;
}

.fa {
    width: 40px;
}
/*----Socials bar----*/

/*------------------------------------------------------------------------------------------*/

/*----OmMeg----*/
.h1Overskrift {
    text-align: center;
    margin-top: 40px;
    font-size: 40px;
    color: white;
    background-color: black;
    font-weight: 700;
}
/*----MegBoks----*/
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin-top: 60px;
    text-align: center;
    background-color: white;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.title {
    color: grey;
    font-size: 18px;
}

#buttonContact {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 95%;
    font-size: 18px;
}

button:hover, a:hover {
    opacity: 0.7;
}

.aCard {
    text-decoration: none;
    font-size: 28px;
    color: black;
    background-color: white;
}

/*.marginOmMeg {
    margin: 20px;
}*/
/*----OmMeg----*/

/*----Generelt stil for seksjonen----*/
.aboutContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
}

.aboutCard {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aboutCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.aboutIcon {
    font-size: 50px;
    color: #000000;
    margin-bottom: 15px;
}

.aboutCard h3 {
    font-size: 20px;
    color: #333333;
    margin-bottom: 15px;
    font-weight: 600;
}

.aboutCard p, .aboutCard ul {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
}

.aboutCard ul {
    list-style: none;
    padding: 0;
}

.aboutCard ul li {
    margin: 8px 0;
    position: relative;
}

.aboutCard ul li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    margin-right: 8px;
}

/* Responsivt design */
@media (max-width: 768px) {
    .aboutCard {
        padding: 15px;
    }

    .aboutIcon {
        font-size: 40px;
    }

    .aboutCard h3 {
        font-size: 18px;
    }

    .aboutCard p, .aboutCard ul {
        font-size: 14px;
    }
}
/*------------------------------------------------------------------------------------------*/

/*----MineProsjekter1 og 2----*/
.bgimg1, .bgimg2, .bgimg3 {
    position: relative;
    opacity: 0.7;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  
  }
  .bgimg1 {
    background-image: url("/MineProsjekter/MinNettside/InnholdSider/FotoAlbum.html/Rådhusplassen.jpg");
    min-height: 400px;
  }
  
  .bgimg2 {
    background-image: url("/MineProsjekter/MinNettside/InnholdSider/FotoAlbum.html/Rådhusplass-busser.jpg");
    min-height: 400px;
  }
  
  .bgimg3 {
    background-image: url("/MineProsjekter/MinNettside/InnholdSider/FotoAlbum.html/VannNord.jpg");
    min-height: 400px;
  }
  
  .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Sentraliserer teksten nøyaktig i midten */
    text-align: center;
    z-index: 10; /* Sørger for at teksten er over bildet */
    
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.954);
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.caption2 {
    background-color:transparent;
    font-size:25px;
    color: #f7f7f7;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Sentraliserer teksten nøyaktig i midten */
    text-align: center;
    z-index: 10; /* Sørger for at teksten er over bildet */
}
  
  #h3Para {
    letter-spacing: 5px;
    text-transform: uppercase;
    font: 20px "Lato", sans-serif;
    color: #111;
    text-align: center;
  }

  .PosisjonR {
    position: relative;
  }

  .StyleSection {
    color: #777;
    background-color: white;
    text-align: center;
    padding: 50px 80px;
    text-align: justify;
  }

  .MinePa {
    text-align: center;
  }

/*----Termin2----*/

.bgimg1-2, .bgimg2-2, .bgimg3-2 {
    position: relative;
    opacity: 0.7;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  
  }
  .bgimg1-2 {
    background-image: url("/MineProsjekter/MinNettside/InnholdSider/FotoAlbum.html/StrandNord.jpg");
    min-height: 400px;
  }
  
  .bgimg2-2 {
    background-image: url("/MineProsjekter/MinNettside/InnholdSider/FotoAlbum.html/NordNatur.jpg");
    min-height: 400px;
  }
  
  .bgimg3-2 {
    background-image: url("/MineProsjekter/MinNettside/InnholdSider/FotoAlbum.html/Rådhusplassen.jpg");
    min-height: 400px;
  }
  
  /* Turn off parallax scrolling for tablets and phones */
  /*@media only screen and (max-device-width: 1024px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
      background-attachment: scroll;
    }
  }*/
/*----MineProsjekter1 og 2----*/

/*------------------------------------------------------------------------------------------*/

/*----MinTimeplan----*/
table, td, tr {
    border: 1px black solid;
    border-collapse: collapse;
}

.Naturfag {
    background-color: rgb(240, 162, 186);
}

.YFF {
    background-color: rgb(190, 190, 218);
}

.PH {
    background-color: rgb(198, 250, 250);
}

.KP {
    background-color: rgb(207, 247, 237)
}

.Tekno_forståelse {
    background-color: rgb(255, 212, 251);
}

.Engelsk {
    background-color: rgb(237, 243, 201);
}

.Matte {
    background-color: rgb(254, 255, 218);
}

.Gym {
    background-color: rgb(207, 176, 233);
}

#SentreTimeP {
    margin-left: auto;
    margin-right: auto;
}
/*----MinTimeplan----*/

/*------------------------------------------------------------------------------------------*/

/*----MinListe----*/

/*----MinListe----*/

/*------------------------------------------------------------------------------------------*/

/*----KontaktMeg----*/

/*----KontaktMeg----*/

/*------------------------------------------------------------------------------------------*/