* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 80px;
}

header .logo-container {
    display: flex;
    align-items: center;
}

header .logo {
    width: 20rem;
    margin-left: 30px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.1);
}
header nav {
    display: flex;
    align-items: center;
}

header nav .menu {
    margin-left: 2rem;
}

header nav .menu a {
    margin-right: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 2000px) {
    .menu-icon {
        font-size: 2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        border: none;
        transition: transform 0.3s ease;
    }
   
    .menu-icon:hover {
        transform: scale(1.2);
    }
   
   
    .dropdown-menu {
        position: absolute;
        top: 80px;
        right: 10px;
        background: #58c2ff;
        width: 25%;
        border: 1px solid #58c2ff;
        border-radius: 1px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
        z-index: 1000;
        padding: 0.5rem;
        animation: dropdown-animation 0.3s ease forwards;
        overflow: hidden;
    }
   
   
    .dropdown-menu a {
        padding: 0.5rem 1rem;
        text-decoration: none;
        color: #333;
        font-size: 1rem;
        border-bottom: 1px solid #eee;
        transition: background-color 0.2s ease;
    }
   
   
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
     
    .dropdown-menu a:hover {
        background-color: #f9f9f9;
    }
}

@keyframes dropdown-animation {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    display: flex;
}

.forside {
    color: #111111;
    padding: 0.5rem 1rem;
    margin: 1rem;
    font-size: 1rem;
    position: absolute;
    top: 60px;
    left: 0.5rem;
    z-index: 500;
    text-decoration-line: underline;
}

.forside:hover {
    text-decoration-line: none;
    color:#2092d3
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(to bottom, #92ddff, #0084d1);
    color: #fff;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 1000px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

main {
    flex-grow: 1;
}

section {
    margin: 2rem 0;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #444;
}

footer {
    background: #007fb9;
    color: #ffffff;
    padding: 2rem 1rem;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    text-align: center;
}

.footer-column {
    padding: 1rem;
}

.footer-column h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 5px solid #ffffff;
    width: 70%;
}

@media (max-width: 768px) {
    .footer-column h2 {
        width: 50%;
        margin: 0 auto;
    }
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    text-decoration-line: underline;
}

.footer-column .insta {
    width: 100px;
    height: auto;
    border-radius: 8px;
    margin-top: 0.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-column .insta:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-column .insta {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .footer-column .insta {
        width: 50px;
    }
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
    background-color: #363636;
    color: #e4e4e4;
    font-size: 0.9rem;
    margin: 0;
    box-sizing: border-box;
    bottom: 0;
}

section {
    margin: 2rem auto; 
    max-width: 800px;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.grid-wrapper {
    background-color: #007fb9;
    padding: 2rem 0;
    width: 100%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    background-color: transparent;
}

.grid-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1.5px solid #999999;
    padding: 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item1 {
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1.5px solid #999999;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

.grid-item1 img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

.grid-item h3 {
    margin: 0.5rem 0 0.3rem;
    font-size: 1.2rem;
    color: #333;
}

.grid-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item h3 {
        font-size: 1.1rem;
    }

    .grid-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .grid-item h3 {
        font-size: 1rem;
    }

    .grid-item p {
        font-size: 0.8rem;
    }
}

.parent{
    display: flex;
   justify-content: space-around;
   flex-wrap: wrap;
   gap: 20px;
}

.child1, .child2, .child3 {
    width: 300px;
    height: 300px;
    background-color: #0084d1;
    text-align: center;
    padding: 10px;
    margin: 10px;
    color: #fff;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: Arial, sans-serif;
}

.child1 a:hover, .child2 a:hover, .child3 a:hover  {
    background: linear-gradient(135deg,
        #e0e0e0 0%,  
        #c0c0c0 25%,
        #a8a8a8 50%,
        #c0c0c0 75%,
        #ffffff 100% );
}

.child1:hover, .child2:hover, .child3:hover {
    background-color: #2092d3;
    transform: translateY(-10px);
}

.paragrafklistremerker {
    font-family: Arial, sans-serif;
    color: #eee;
    background: linear-gradient(135deg,
    #e0e0e0 0%,  
    #c0c0c0 25%,
    #a8a8a8 50%,
    #c0c0c0 75%,
    #ffffff 100% );
    height:100px ;
    width: 90%;
    text-align: center;
    margin-left: 50px;
}

.paragrafklistremerker h2{
    padding: 25px;
}

@media (max-width: 768px) {
    .parent {
        flex-direction: column;
        align-items: center;
    }

    .child1, .child2, .child3 {
        width: 100%;
        height: auto;
        max-width: 300px;
    }

    .paragrafklistremerker {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .child1, .child2, .child3 {
        max-width: 90%;
    }
}

.kontakt {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 90%;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
}
 
.kontakt-image {
    width: 20%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
 
.kontakt-text {
    flex-grow: 1;
    text-align: left;
}
 
.kontakt-text h2 {
    font-size: 1.8rem;
    color: #001060;
    margin-bottom: 10px;
}
 
.kontatk-text p {
    font-size: 1rem;
    color: #001060;
}
 
@media (max-width: 768px) {
    .kontakt {
        flex-direction: column;
        text-align: center;
    }
 
    .kontakt-image {
        width: 100%;
    }
 
    .kontakt-text {
        text-align: center;
    }
}

.om-oss-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 0 10%;
  }
  
  .om-oss-container {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .om-oss-tekst {
    background-color: #f9f9f9;
    padding: 20px;
    flex: 1;
  }
  
  .om-oss-bilde {
    width: 100%;
    height: auto;
  }
  
  .om-oss-bilde img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  @media (max-width: 768px) {
    .om-oss-wrapper {
      padding: 0 20px;
    }
  
    .om-oss-container {
      flex: 1 1 100%;
    }
  
    .om-oss-bilde {
      height: 300px;
    }
  }
  