* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

html {
    font-family: "proxima-nova", sans-serif;
}
        
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}




main {
    background-image: url(../img/background_gradient.png);
    background-repeat: no-repeat;
    background-size: cover;
}


.header{
    top: 0; /* Stick to the top of the viewport */
    left: 0;
    right: 0;
    z-index: 1000; /* Adjust the z-index as needed */
    position: fixed;
    transition: background-color 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out, position 0.3s ease-in-out, box-shadow 0.6s ease-in-out;
    padding-top: 15px;
    padding-bottom: 25px;
}


.navbar {
    max-width: 1500px;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

.navbar-container {
    margin-left: 25px;
    margin-right: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: solid 1px rgba(255, 255, 255, 0);
    padding: 20px 30px;
    border-radius: 15px;
    background: rgba(12, 37, 61, 0);
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0 );
    backdrop-filter: blur( 11px );
    -webkit-backdrop-filter: blur( 11px );
    transition: all 0.3s ease-in-out;
}

.navbar-container.scrolled {
    box-shadow: 0 8px 32px 0 rgba(17, 18, 29, 0.17);
    border: solid 1px rgba(255, 255, 255, 0.3);
}

.nav-items {
    display: flex;
    align-items: center;
    margin-left: auto;
    color: #ffffff;
}


.navbar img {
    width: 180px; 
    height: auto;
    margin-right: 10px;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
    border-radius: 10px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.nav-item:last-child {
    margin-right: 2.5rem;
}

.nav-item i {
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.2s ease-in-out;
}

.nav-item a {
    font-weight: 500;
    font-size: 18px;
    transition: color 0.2s ease-in-out;
}

#active-underpage {
    text-decoration: underline;
    text-decoration-color: #7F5CE9;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.nav-item a:focus {
    color: #7F5CE9;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
    transition: transform 0.2s ease-in-out; 
}

.nav-item:hover .nav-link {
    color: #7F5CE9;
}

.nav-link {
    font-weight: 500;
    font-size: 18px;
    transition: color 0.2s ease-in-out;
}

.nav-link:hover {
    color: #7F5CE9;
}

#active {
    text-decoration: underline;
    text-decoration-color: #7F5CE9;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}


#nav-mobile-only {
    display: none;
}



.dropdown-menu {
    display: none;
    position: absolute;
    background: rgba(12, 37, 61);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    border-radius: 6px;
}
  
.dropdown-menu a {
    color: rgb(255, 255, 255);
    padding: 20px 30px;
    display: block;
    white-space: nowrap;
    border-radius: inherit;
    text-align: left;
    transition: none;
}
  

.dropdown-menu a:hover {
    background-color: #0f2a3f;
    color: #7F5CE9;
}
  

.nav-item:hover .dropdown-menu {
    display: block;
}








.header-cta-container {
    display: flex;
    margin-left: 2.5rem;
}

.header-cta {
    background-color: #7F5CE9;
    color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
}

.header-cta a {
    font-size: 16px;
    font-weight: 600;
    padding: 15px 25px;
    display: inline-block;
}


.header-cta:focus {
    background-color: #6548bd;
    color: #fff;
}

.header-cta:hover {
    background-color: #6548bd;
    color: #fff;
}



.header-cta i {
    margin-left: 5px;
    font-size: 15px;
}

















.main-section-container {
    padding-top: 40px;
    padding-bottom: 50px;
    color: #fff;
}

.main-section-container:last-of-type {
    padding-bottom: 120px; /* Adjust as needed */
}

.main-section-container:first-of-type {
    padding-top: 80px; /* Adjust as needed */
}



.section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    margin-left: 25px;
    margin-right: 25px;
}


.section-headline-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.section-headline-container h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
}

.section-headline-container p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 25px;
}




.section-main-content {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    flex-wrap: wrap;
}













.page-intro-container {
    background-image: url(../img/background_gradient.png);
    background-repeat: no-repeat;
    background-size: 100% auto;  
    object-fit: cover;
    color: #fff;
    padding-top: 180px;
    padding-bottom: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
}


.page-intro-wrapper {
    display: flex;
    justify-content: center;
    margin-left: 25px;
    margin-right: 25px;
}

.page-intro-content-container {
    max-width: 1250px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}


.page-intro-top h1 {
    font-size: 80px;
    text-align: center;
}


.page-intro-bottom ul {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.page-intro-bottom ul li {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
}









.project-box-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}


.project-box {
    width: calc(33% - 10px);
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.1s ease-in-out;
}

.project-box:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.project-box-main {
    height: 100%;
}

.project-box-main img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.project-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
}

.project-tag {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 600;
}


.project-box-main h3 {
    font-size: 26px;
    margin-top: 10px;
    margin-bottom: 10px;
}


.box-read-more-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 25px;
}

.box-read-more-button i {
    font-size: 12px;
}


















.two-pictures-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.two-pictures-container img {
    display: flex;
}

.picture-container {
    display: flex;
    flex-direction: column;
}

.picture-container img {
    width: 80%;
    border-radius: 10px;
}

.picture-container iframe{
    width: 80%;
    height: 600px;
    border-radius: 10px;
}

.picture-container:nth-child(odd) {
    flex-direction: row;
}

.picture-container:nth-child(even) {
    flex-direction: row-reverse;
}


.typography-container {
    width: 80%;
}

.typography-container img {
    width: 100%!important;
}

.typography-container h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 60px;
    padding: 5px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    border-radius: 6px;
}


#typography-box {
    padding: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

#typography-box img {
    border-radius: 0;
}





.one-picture-container {
    width: 100%;
}


.one-picture-container img {
    width: 100%;
    border-radius: 10px;
}





.three-images-container {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.three-images-container img {
    width: 100%;
    border-radius: 10px;
}


.two-image-box {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
}

.two-image-box img {
    max-width: calc(50% - 10px);
    border-radius: 6px;
}










.fremhevet-bilde-box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.fremhevet-bilde-box {
  flex: 0 1 calc(50% - 10px);
  max-width: calc(50% - 10px);
  border-radius: 8px;
  cursor: pointer;
  transition: flex-basis .3s ease-in-out, max-width .3s ease-in-out;
  overflow: hidden;
}

.fremhevet-bilde-box img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.fremhevet-bilde-box.expanded {
  flex: 1 1 100%;
  max-width: calc(100% - 10px);
}









.portrettbilder-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}


.portrett-box {
    max-width: calc(33% - 10px);
}


.portrett-box img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}












































footer {
    background-image: url(../img/background_gradient.png);
    background-size: cover; 
    color: #ffffff;
}


.footer-wrapper-main {
    margin-left: 25px;
    margin-right: 25px;
}


.footer-top {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding-top: 80px;
    padding-bottom: 120px;
    gap: 80px;
}

.footer-logo-container {
    max-width: 280px;
}

.footer-logo-container img {
    width: 234px;
    margin-bottom: 35px;
}

.footer-logo-container p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.footer-cta {
    margin-top: 35px;
    display: inline-block;
    background-color: #7F5CE9;
    color: #fff;
    padding: 18px 0px;
    border-radius: 5px;
    transition: background-color 0.1s ease-in-out 0s;
}

.footer-cta:hover {
    background-color: #6548bd;
}

.footer-cta a{
    padding: 25px;
    font-size: 16px;
    font-weight: 500;
}

.footer-cta i {
    margin-left: 5px;
}





.footer-box {
    max-width: 500px;
    white-space: nowrap;
}

.footer-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}


.footer-box a {
    font-size: 18px;
    font-weight: 400;
    display: block; 
    margin-bottom: 15px;
    color: inherit;
}

.footer-box p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
}

.footer-box a:hover {
    text-decoration: underline;
}

.footer-box a:focus {
    text-decoration: underline;
}

.contact-info-footer {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
}

.contact-info-footer i {
    color: #7F5CE9;
    margin-right: 15px;
}

.address-container p{
    margin-bottom: 0;
}

#social-icons-headline {
    margin-top: 0px;
}

.social-icons {
    display: flex;
}

.social-icons img {
    width: 45px;
    margin-right: 8px;
}



.footer-bottom-wrapper {
    background-color: #091A28;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

.footer-bottom-wrapper a {
    text-decoration: underline;
}











@media only screen and (max-width: 768px) {
    
    


    .header-cta-container {
        display: none;
    }

    
    .header {
        padding: 0;
        transition: all 0.3s ease-in-out;
    }

    .header.scrolled {
       
    }

    .header.menu-open {
        backdrop-filter: none;
        background-image: url(img/background_gradient.png);
        height: 100%;
         backdrop-filter: blur( 11px );
        -webkit-backdrop-filter: blur( 11px );
        transition: all 0.3s ease-in-out;
    }





    .navbar {
        border-radius: 0;
    }

    .navbar-container {
        margin: 0;
    }

   
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 4.4rem;
        flex-direction: column;
        width: 100%;
        height: 100%;
        text-align: left;
        transition: 0.2s all ease-in-out;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .nav-menu.active {
        left: 0;
        justify-content: flex-start;
        text-align: left;
        display: inline;
    }

    .nav-item {
        padding: 0.2rem 30px;
        justify-content: space-between;
    }

    .nav-item:first-child {
        padding: 0.2rem 30px;
    }

    .nav-item a {
        font-size: 30px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-item a.scrolled {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-item i {
        display: none;
    }

    .dropdown-menu {
        display: none;
    }

    .nav-item:focus .dropdown-menu {
        display: block; 
        display: none;
    }

    .nav-item:hover .dropdown-menu {
        display: none;
    }

    .nav-logo img {
        width: 140px;
    }

    .nav-link {
        font-size: 30px;
        border: none;
    }

    #active {
        border: none;
    }

    #nav-mobile-only {
        display: flex;
    }


    .navbar-container {
        padding: 30px 30px;
    }


    .navbar-container {
        backdrop-filter: blur( 0px );
        border-radius: 0;
    }

    .navbar-container.scrolled {
        box-shadow: none;
        border: solid 1px rgba(255, 255, 255, 0);
        backdrop-filter: blur( 11px );
    }


    

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }



















    .main-section-container:first-of-type {
        padding-top: 50px;
    }


    .main-section-container {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .section-headline-container {
        margin-bottom: 35px;
    }

    .section-headline-container h2 {
        font-size: 40px;
    }












    .page-intro-container {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    
    .page-intro-top h1 {
        font-size: 45px;
    }


    .page-intro-content-container {
        gap: 30px;
    }




    .page-intro-bottom ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .page-intro-bottom ul li {
        white-space: nowrap;
        font-size: 16px;
        padding: 4px 10px;
    }






    .project-box-container {
        flex-direction: column;
    }

    .project-box {
        width: 100%;
    }


















    .fremhevet-bilde-box-container {
        flex-direction: column;
        width: 100%;
    }

    .fremhevet-bilde-box {
        max-width: 100%;
        width: 100%;
        flex: 0 1 calc(100%);
    }

    .fremhevet-bilde-box.expanded {
        flex: 1 1 100%;
        max-width: calc(100%);
    }








     .two-image-box {
        flex-direction: column;
        gap: 15px;
    }

    .two-image-box img {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
    }







    .portrett-box {
        max-width: calc(50% - 10px);
    }







    .typography-container {
        width: 100%;
    }

    .typography-container h3 {
        font-size: 16px;
        padding: 3px 10px;
        margin-bottom: 25px;
    }


    #typography-box {
        padding: 20px;
    }














   
   .footer-wrapper-main {
        display: flex;
        align-items: center;
    }


    .footer-top {
        flex-wrap: wrap;
        flex-direction: column;
        margin: 0;
        gap: 20px;
        padding-bottom: 160px;
        padding-top: 60px;
    }

    .footer-logo-container {
        max-width: 100%;
        margin-bottom: 45px;
    }


    .footer-logo-container img {
        width: 180px;
    }


    .footer-cta {
        margin-bottom: 0px;
    }


    .footer-box {
        max-width: 100%;
        margin-top: 0;
    }




}