@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500&display=swap');

body {
    margin: auto;
    background-color: #F2F7F8;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
}



/* NAVBAR */
.navbar {
    min-height: 80px;
    background-color: #C0D8E6;
    box-shadow: 0px 0px 5px 0px #888888;
    margin: auto;
}

.navbarContent {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 90%;
    margin: auto;
    max-width: 1665px;
    color: #4E616D;
    font-weight: bold;
}

.activeTab {
    border-radius: 7px;
    padding: 10px;
    background-color: rgba(0, 36, 238, 0.15);
}



.navbar img {
    height: 10vw;
    max-height: 110px;
    min-height: 87px;
    margin: 5px 20px -5px -7px;
}

.navbarLink {
    margin: 20px 0px 0px 35px;
}

.navbarLink a {
    margin: 0px 15px 0px 15px;
}

.navbarLink a:link {
    color: #1d262c;
    text-decoration: none;
}

.navbarLink a:visited {
    color: #1d262c;
    text-decoration: none;
}

.navbarLink a:hover {
    text-decoration: underline;
}

.navbarLink a:active {
    color: #969191;
    text-decoration: none;
}

@media only screen and (max-width:940px){
    .navbarContent {
        flex-direction: column;
    }

    .activeTab {
        padding: 5px;
    }

    .navbar img {
        height: 14vw;
        max-height: 115px;
        min-height: 100px;
        margin: 0px 0px -25px 0px;
    }

    .navbarLink {
        margin: 0px 0px 0px 0px;
        padding: 10px 10px 10px 10px;
    }
    }

    @media only screen and (max-width:465px){
        .navbarContent {
            flex-direction: column;
        }
    
        .navbar img {
            min-height: 90px;
            margin: 0px 0px -25px 0px;
        }
    
        .navbarLink {
            margin: 0px 0px 0px 0px;
            padding: 10px 10px 10px 10px;
        }
    }


/* CONTENT */
.mainContent {
    width: 90%;
    margin: auto;
    min-height: 720px;
    max-width: 1665px;
    background-color: white;
}

.mainContent2 {
    width: 90%;
    margin: auto;
    min-height: 750px;
    max-width: 1665px;
    background-color: white;
}

.mainContent3 {
    width: 90%;
    margin: auto;
    min-height: 940px;
    max-width: 1665px;
    background-color: white;
}

.flex {
    height: 300px;
    display: flex;
    flex-direction: column;
}

.flex2 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.flex3 {
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width:880px){
      .box {

          display: flex;
          margin: auto;
          flex-direction: column;
      }

      .button {
          margin: 0px;
      }

      .flex3 {
        margin-bottom: 10px;
      }
  }

.box {
    margin-top: 30px;
}

.header {
    margin: 25px 30px 0px 45px;
    padding: 25px 0px 0px 0px;
    font-size: 37px;
}

.paragraphContent {
    margin: 20px 30px 10px 50px;
    color: #1d1e1f;
    font-size: 18px;
    max-width: 1300px;
}

.italicsParagraphContent {
    margin: 20px 30px 10px 50px;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 200;
    max-width: 820px;
    font-size: 18px;
}

/*buttons */
.buttons2Stykk {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
    margin-bottom: 15px;
    max-height: 600px;
}

.button {
    background-color: #6AC2E3;
    border: none;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: inline-block;
    margin: 5px 20px 5px 75px;
  }

  .button a {
    font-size: 16px;
    cursor: pointer;
    color: white;
    text-decoration: none;
  }

#marginPicture {
    margin-left: 30px;
}

.center {
    align-self: center;
}

/* table */
td {
    padding: 7px 12px 7px 0px;
  }

/* badeAnd bilde */
.badeAnd {
    background-image: url(../img/snakkeAndTanke.png);
    height: 600px;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
    background-size: 470px;
    margin-top: -465px;
    margin-right: 100px;
  }

  @media only screen and (max-width:1700px){
      .badeAnd {
        background-size: 445px;
        margin-top: -460px;
        }
    }

    @media only screen and (max-width:1280px){
        .badeAnd {
            background-size: 400px;
            margin-top: -440px;
          }
      }
  
      @media only screen and (max-width:1040px){
        .badeAnd {
            background-size: 300px;
            margin-top: -410px;
          }
      }

      @media only screen and (max-width:870px){
        .badeAnd {
            background-size: 200px;
            margin-top: -370px;
          }
      }

      @media only screen and (max-width:870px){
        .badeAnd {
            height: 400px;
            background-size: 180px;
            margin-top: -265px;
          }
      }

      @media only screen and (max-width:610px){
        .badeAnd {
            display: none;
          }
      }


/* FOOTER */
footer {
    min-height: 65px;
    background-color: #4E616D;
    margin: auto;
    padding: 5px 0px 15px 0px;
    text-align: center;
    width: 100%;
}

#indexFooter {
    margin-top: 15px;
}

#sistEndret {
    color: #7D9AA3;
    margin: 7px 0px 13px 0px;
    font-size: 13px;
}

.footerText {
    color: white;
    padding: 6px 0px 5px 0px;
}

.footerText a:link {
    color: white;
    text-decoration: none;
}

.footerText a:visited {
    color: white;
    text-decoration: none;
}

.footerText a:hover {
    color:#D4AF37;
    text-decoration: none;
}

.footerText a:active {
    color: #ad880d;
    text-decoration: none;
}