:root {
    --main-color: #2f8f91;
    --light-color: #B1E4E3;
    --color-shadow: #0b686b;
    --highlight: #ff3e3e;
    --shadow: #24242423;
    --gray: #222223;
}

.blendin {
    opacity: 0;
    transition: 0.5s opacity;
    transition-delay: 0.5s;

    &.visible {
        opacity: 1;
    }
}

b {
    font-weight: 700 !important;
}

a {
    text-decoration: inherit;
    color: inherit;
}

* {
    font-family: "Work Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    color: var(--gray);

    scroll-behavior: smooth;
}

.html, body {
    padding: 6rem 0 0 0;
    margin: 0;
    background-color: white;
    position: absolute;
}

body {
    width: 100%;
}

.parallax {
    top: 0;
    opacity: 0.75;
    z-index: -20;
    position: fixed;
    width: 100%;
    height: 100%;

    & img {
        transform: scale(1);
        position: absolute;
        overflow: hidden;
    }
}

.navbarholder {
    position: fixed;
    top: 0;

    z-index: 140;

    height: 4rem;
    width: calc(100% - 24rem);

    padding: 1rem 12rem;

    background-color: white;

    transform: translateY(0);
    transition: transform 0.5s ease-out;

    box-shadow: #24242423 0 0 5rem 0rem;

    &.hide {
        transform: translateY(-100%);
    }

    .logo {
        height: 100%;
        justify-self: start;
    }

    .navbar {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;

        & div {
            height: 3rem;

            display: flex;
            justify-content: center;
            align-items: center;

            & h2 {
                color: var(--gray) !important;
                transition: color 0.25s;
            }

            &.selected h2 {
                color: var(--main-color) !important;
            }

            &:hover h2 {
                color: var(--main-color) !important;
            }
        }
    }

    .navbarcall {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        & h2 {
            color: var(--gray) !important;
        }
    }
}

.sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    box-shadow: var(--shadow) 0 0 1rem 0;
    z-index: 100;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    & .sidebarlinks {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        
        & div {
            font-size: 2.5rem;
            margin: 1rem 2rem;
            
            & * {
                color: var(--gray);
            }
        }
    }

    & .sidebarcall {
        position: absolute; 
        top: 8rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        border-radius: 10px; 
        background-color: var(--main-color); 
        padding: 1rem 2rem;

        & h2 {
            font-size: 4rem;
        }

        & h3 {
            font-size: 2.5rem;
        }
    }
}

.salebanner {
    position: fixed;
    top: 6rem;
    width: 100%;
    height: 3rem;
    background-color: var(--highlight);
    background-size: cover;
    z-index: 120;
    box-shadow: #24242423 0 0 5rem 0rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    & button {
        border-radius: 5px;
        font-size: 1rem; 
        padding: 1px 1rem; 
        height: 2rem;
        background-color: white;
        color: var(--highlight);
    }
}

.phonebanner {
    cursor: pointer;
    display: none;
    position: fixed;
    top: 6rem;
    width: 100%;
    height: 3rem;
    background: var(--highlight);
    z-index: 120;
    box-shadow: #24242423 0 0 5rem 0rem;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    & span {
        color: var(--highlight);
        background-color: white;
    }
}

.header {
    font-size: 4rem;
    font-weight: 900;
    color: var(--main-color);
}

p {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray);
}

ul {
    margin: 0;
}

li {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5 {
    color: var(--main-color);
    font-weight: 600;
    margin: 0;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
}

h3 {
    font-size: 2.25rem;
    font-weight: 900;
}

.highlight {
    background-color: var(--highlight);
    padding: 1px 8px 2px 8px;
    font-weight: 800;
    color: white;
    border-radius: 5px;
    white-space: nowrap;

    &.white {
        background-color: white;
        color: var(--main-color);
    }
}

.aboutholder {
    border-top: #aaa 1px solid !important;
    margin: 0 12rem;
    padding: 5rem 0 5rem 0;
    
    display: flex;
    flex-direction: row;
    justify-content: center;

    & p {
        text-align: justify;
    }

    & ul li {
        text-align: justify;
    }

    

    &.visible .aboutcol {
        opacity: 1;
        transform: translateY(0);
    }

    & .aboutcol {
        transition: 0.5s;
        opacity: 0;
        transform: translateY(2rem);

        width: 50%;

        padding: 2rem 0rem 2rem 6rem;

        &:first-child {
            padding: 2rem 6rem 2rem 0rem;
            border-right: solid var(--gray) 4px;
        }

        & img {
            width: 100%;
            margin: 1rem 0;
        }

        & h1 {
            margin-bottom: 1rem;
        }

        & h3 {
            font-size: 1.75rem;
            font-weight: 600;
        }
    }
}

.servicepageholder {
    padding: 8rem 12rem 4rem 12rem;

    & p {
        text-align: justify;
    }

    & .servicepagevert {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 4rem;

        & .textcol {
            padding: 1rem 0;
            & h1 {
                margin-bottom: 1rem;
            }
    
            & h3 {
                font-size: 1.75rem;
                font-weight: 600;
            }
        }
    
        & .imagecol {
            min-width: 40%;
            & img {
                border-radius: 10px;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}

.processholder {
    margin: 0 12rem;
    padding: 4rem 0;

    border-bottom: #aaa 1px solid;

    & .header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    & .processes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;

        & .process {
            display: flex;
            gap: 1rem;
            flex-direction: row;
        
            & .processnumber {
                flex-basis: 4rem;
                min-width: 4rem;
                height: 4rem;
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: var(--main-color);

                & h1 {
                    color: white;
                }
            }

            & .processdesc {
                & h2 {
                    font-size: 2rem;
                    font-weight: 900;
                }
                & h3 {
                    text-align: left;
                    font-size: 1.75rem;
                    font-weight: 500;
                }
            }
        }
    }
}

.servicesholder {
    background-color: var(--main-color);
    padding: 6rem 12rem 4rem 12rem;
    
    text-align: center;

    & h1 {
        transition-duration: 0.5s;
        transition-timing-function: ease-out;
        transition-property: opacity;
        opacity: 0;

        &.visible {
            opacity: 1;
        }
    }
    
    .services {
        margin: 2rem 0 3rem 0;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-rows: 1fr 1fr;

        gap: 2rem;

        transition-duration: 1s;
        transition-timing-function: ease-out;
        transition-property: transform opacity;

        transform: translateY(2rem);
        opacity: 0;
    
        &.visible {
            transform: translateY(0);
            opacity: 1;
        }

        & .service {
            box-sizing: border-box;
            height: 100%;
            border-radius: 20px;
            background-color: white;
            padding: 2rem 2rem 1.5rem 2rem;
            
            transition-duration: 0.25s;
            transition-timing-function: ease-out;
            transition-property: transform opacity;

            cursor: pointer;

            opacity: inherit;

            &:hover {
                transform: translateY(-1rem);

                & h2 {
                    color: var(--main-color);
                }
            }

            & img {
                height: 6rem;
                margin-bottom: 1rem;
            }

            & h2 {
                transition: color 0.25s;
                font-size: 2rem;
                font-weight: 900;
                margin-bottom: 0.5rem;
                color: var(--gray);
            }

            & h3 {
                width: 100%;
                border-top: 1px solid #eee;
                padding-top: 1rem;
                font-size: 2rem;
                color: var(--main-color);
            }
        }
    }

    .servicesdesc {
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        text-align: right;
        width: 60%;
    }
}

.roletyholder {
    background-color: var(--main-color);
    padding: 6rem 12rem 4rem 12rem;
    
    text-align: center;

    & h1 {
        transition-duration: 0.5s;
        transition-timing-function: ease-out;
        transition-property: opacity;
        opacity: 0;

        &.visible {
            opacity: 1;
        }
    }
    
    .rolety {
        margin: 2rem 0 3rem 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 1fr 1fr;

        gap: 2rem;

        transition-duration: 1s;
        transition-timing-function: ease-out;
        transition-property: transform opacity;

        transform: translateY(2rem);
        opacity: 0;
    
        &.visible {
            transform: translateY(0);
            opacity: 1;
        }

        & .roleta {
            display: flex;
            background-size: cover;
            background-repeat: no-repeat;
            box-sizing: border-box;
            height: 100%;
            border-radius: 20px;
            background-color: white;
            padding: 2rem;
            gap: 10rem;
            flex-direction: column;
            justify-content: space-between;

            & h2 {
                transition: color 0.25s;
                font-size: 2.5rem;
                font-weight: 900;
                margin-bottom: 0.5rem;
                color: var(--gray);
            }

            & h3 {
                font-weight: 500;
                text-align: left;
                width: 100%;
                border-top: 1px solid var(--gray);
                padding-top: 1rem;
                font-size: 1.75rem;
                color: var(--gray);
            }
        }
    }
}

.exampleholder {
    background-color: var(--main-color);
    padding: 6rem 12rem 4rem 12rem;
    
    text-align: center;

    & h1 {
        transition-duration: 0.5s;
        transition-timing-function: ease-out;
        transition-property: opacity;
        opacity: 0;

        &.visible {
            opacity: 1;
        }
    }
    
    .examples {
        margin: 2rem 0 3rem 0;
        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 2rem;

        transition-duration: 1s;
        transition-timing-function: ease-out;
        transition-property: transform opacity;

        transform: translateY(2rem);
        opacity: 0;
    
        &.visible {
            transform: translateY(0);
            opacity: 1;
        }

        & .example {
            display: flex;
            background-size: cover;
            background-repeat: no-repeat;
            box-sizing: border-box;
            height: 100%;
            flex-direction: column;
            justify-content: space-between;

            & h2 {
                padding-top: 1rem;
                transition: color 0.25s;
                font-size: 2.5rem;
                font-weight: 900;
                margin-bottom: 0.5rem;
                text-align: left;
                color: white;
            }

            & .exampleimg {
                background-color: white;
                border-radius: 20px;
                position: relative;

                & img {
                    background-color: white;
                    object-fit: cover;
                    object-position: 0 -4rem;
                    width: 100%;
                    height: 30rem;
                    border-radius: 20px;
                }

                & h3 {
                    display: none;
                    text-align: left;
                    box-sizing: border-box;
                    padding: 2rem 3rem;
                    z-index: 2;
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    background-color: #222223cc;
                    color: white;
                    border-radius: 20px;
                    opacity: 0;
                    font-weight: 500;
                    backdrop-filter: blur(0);
                    -webkit-backdrop-filter: blur(0);
                    font-size: 1.75rem;
                    
                    transition: opacity 0.25s;
                }

                /*&:hover h3 {
                    opacity: 1;
                    
                    backdrop-filter: blur(4px);
                    -webkit-backdrop-filter: blur(4px);
                }*/
            }
        }
    }
}

.button {
    border-radius: 10px;
    background-color: var(--main-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border: none;
    outline: none;
    padding: 1rem 1.5rem;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.25s;
    transform: translateY(0);

    &:hover {
        transform: translateY(-0.25rem);
    }

    &.white {
        color: var(--gray);
        background-color: white;
    }
}

.reviewsholder {
    overflow: hidden;
    text-align: center;
    padding: 4rem 12rem;
    background-color: var(--main-color);

    & .subtitle {
        margin-bottom: 2rem;
    }
    & .reviews {
        & .reviewbutton {
            width: 5rem;
            height: 5rem;
            border-radius: 50%;
            background-color: white;
            box-shadow: var(--color-shadow) 0 0 1rem 0rem;
            z-index: 10;
            position: absolute;
            top: calc(50% - 2rem);
            cursor: pointer;
        }
        
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
        height: 14rem;
        margin-bottom: 2rem;

        & .review {
            background-color: white;
            position: absolute;
            height: 12rem;
            width: 30%;
            border-radius: 20px;
            padding: 1rem;
            box-shadow: var(--shadow) 0 0 1rem 0rem;
            text-align: left;
            transition: 0.5s transform;
            overflow: hidden;

            &.hidden {
                transform: translateX(0) scale(0.6);
                z-index: 1;
            }
            &.first {
                transform: translateX(calc(-100% - 3rem)) scale(0.8);
                z-index: 2;
            }
            &.second {
                transform: translateX(calc(-100% + 3rem)) scale(0.9);
                z-index: 3;
            }
            &.third {
                transform: translateX(0) scale(1);
                z-index: 5;
            }
            &.fourth {
                transform: translateX(calc(100% - 3rem)) scale(0.9);
                z-index: 4;
            }
            &.fifth {
                transform: translateX(calc(100% + 3rem)) scale(0.8);
                z-index: 2;
            }

            & .reviewheader {
                display: flex;
                justify-content: left;
                gap: 1rem;

                & .nameandstars {
                    display: flex;
                    flex-direction: column;

                    & h3 {
                        margin-top: 0.1rem;

                        & img {
                            width: 1.75rem;
                            height: 1.75rem;
                            padding-right: 0.2rem;
                        }
                    }
                }

                & .pfp {
                    border-radius: 50%;
                    height: 4rem;
                    width: 4rem;
                    object-fit: cover;
                }
            }

            & .description {
                margin: .5rem 0;
                font-weight: 400;
            }
        }
    }
}

.contactholder {
    padding: 4rem 12rem;
    text-align: center;

    transition-duration: 0.5s;
    transition-timing-function: ease-out;
    transition-property: transform opacity;

    transform: translateY(2rem);
    opacity: 0;

    &.visible {
        transform: translateY(0);
        opacity: 1;
    }

    & .header {
        margin-bottom: 1rem;
    }

    & form {
        margin: auto;
        margin-top: 3rem;
        box-shadow: var(--shadow) 0 0 1rem 0rem;
        border-radius: 20px;
        padding: 1rem 2rem 2rem 2rem; 
        width: 60%;


        & .formrow {
            position: relative;
            display: flex;
            gap: 1rem;

            & label {
                color: var(--main-color);
                padding: 1rem 1rem 0.5rem 1rem;
                text-align: left;
                display: block;
                font-size: 1rem;
            }

            & input, textarea, select {
                padding: 1rem 1.5rem;
                outline: none;
                border: #aaa 1px solid;
                border-radius: 20px;
                font-size: 1.25rem;
                width: 100%
            }

            & textarea {
                resize: vertical;
            }
        }

        & .accept {
            text-align: left;
            margin-top: 1rem;
            color: var(--main-color);
        }
    }

    & .callus {
        margin-top: 4rem;
        padding-top: 3rem;
        border-top: #aaa 1px solid;
    }
}

.costholder {
    padding: 4rem 12rem;
    text-align: center;
    position: relative;
    
    & .cost {
        margin-top: 2rem;
        display: flex;
        flex-direction: row;
        gap: 2rem;

        & .smallcol, .largecol {
            background-color: #2f8f91;
            padding: 2rem 1rem;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border-radius: 10px;

            transition-duration: 1s;
            transition-timing-function: ease-out;
            transition-property: transform opacity;

            transform: translateY(2rem);
            opacity: 0;     

            &.visible {
                transform: translateY(0);
                opacity: 1;
            }
        }

        & .smallcol {
            width: 40%;
            /*background-image: url("./images/skutvik-zima.png");*/
            background-color: var(--highlight);
            background-repeat: no-repeat;
            background-size: cover;
            background-position-y: bottom;
        }

        & .largecol {
            width: 60%;
        } 
    }
    
    .servicesdesc {
        margin: auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        text-align: right;
        width: 60%;
    }
}

.footerholder {
    background-color: var(--main-color);
    padding: 4rem 12rem;

    & .footer {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        padding-bottom: 2rem;
        margin-bottom: 1rem;
        border-bottom: white 1px solid;
        
        & div {
            & h2 {
                font-weight: 900;
                font-size: 1.5rem;
            }

            & h3 {
                font-weight: 500;
                font-size: 1rem;
            }
        }
    }

    & h4 {
        font-size: 1rem;
    }
}

.hamburger {
    display: none;
    padding: 1rem;
    cursor: pointer;

    & div {
        background-color: black;
        width: 2rem;
        height: 0.4rem;

        &:not(:first-child) {
            margin-top: 0.4rem;
        }
    }

    transition: transform 0.25s ease-in-out;

    &.active {
        transform: rotate(90deg);
    }
}

select::-ms-expand {
    display: none;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
  }

::placeholder {
    font-weight: 400;
    font-style: italic;
    color: #aaa;
}

::-webkit-resizer {
    display: none;
}

.white {
    color: white;
}

.arrowleft {
    border: solid black;
    border-width: 0 0.5rem 0.5rem 0;
    display: inline-block;
    padding: 0.5rem;
}
.arrowright {
    border: solid black;
    border-width: 0 0.5rem 0.5rem 0;
    display: inline-block;
    padding: 0.5rem;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
  }
  
  .right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  
  .left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
  }
  
  .up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  
  .down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }

@media only screen and (max-width: 850px) {
    html {
        font-size: 12px;
    }
    .navbarholder {
        padding: 1rem !important;
        width: calc(100% - 2rem) !important;
        
        & .navbar, .navbarcall {
            display: none !important;
        }
    }
    .salebanner {
        display: none;
    }
    .aboutholder {
        margin: 0 2rem;
        padding: 3rem 0 4rem 0 !important;
        flex-direction: column !important;
        gap: 4rem;
    }
    .servicepageholder {
        padding: 2rem 2rem 4rem 2rem !important;
    }
    .servicepageholder .servicepagevert {
        flex-direction: column !important;
        gap: 2rem;
    }
    .servicesholder, .contactholder, .reviewsholder, .costholder, .exampleholder {
        padding: 4rem 2rem !important;
    }

    .servicesholder {
        padding-top: 6rem !important;
    }

    .footerholder {
        padding: 2rem 2rem !important;
    }

    .aboutholder, .servicepageholder {
        gap: 3rem !important;
    }
    .aboutcol {
        width: 100% !important;
        padding: 0 !important;
        border: none !important;

        & h3 {
            text-align: justify;
        }

        &:last-child {
            border-top: #aaa 1px solid !important;
            padding-top: 3rem !important;
        }
    }

    .services {
        gap: 2rem !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-auto-rows: 1fr 1fr 1fr !important;

        & *:last-child {
            grid-column: 1 / span 2;
        }
    }

    .examples {
        gap: 2rem !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .contactholder form {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .review {
        width: 70% !important;

        &:not(.third, .second, .fourth) {
            display: none;
        }

        &.second {
            transform: translateX(-100vw) scale(0.9) !important;
            z-index: 3;
        }
        &.fourth {
            transform: translateX(100vw) scale(0.9) !important;
            z-index: 4;
        }
    }
    .reviewbutton {
        width: 4rem !important;
        height: 4rem !important;
        &.rbleft {
            left: 0 !important;
        }
        &.rbright {
            right: 0 !important;
        }
    }

    .cost {
        flex-direction: column !important;
        gap: 1rem !important;
        
        & .smallcol, .largecol {
            width: 100% !important;
        }
    }

    .servicesdesc {
        flex-direction: column !important;
        width: 100% !important;
        text-align: center !important;
    }

    .header {
        font-size: 3rem;
    }
    
    p {
        font-size: 1.25rem;
    }
    
    h1, h2, h3, h4, h5 {
        font-weight: 600;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }

    .footer {
        flex-direction: column !important;
    }

    .service h2 {
        font-size: 1rem !important;
    }

    .phonenumber {
        font-size: 3.75rem !important;
    }

    .phonebanner {
        display: flex !important;
    }

    .button {
        width: 100%;
    }

    .hamburger {
        display: block !important;
    }
    .sidebar {
        display: flex !important;
        transform: translateX(calc(100% + 1rem));
        transition: 0.5s ease-in-out transform;
        &.open {
            transform: translateX(0);
        }
    }
    
    .processholder {
        margin: 0 4rem;
        padding: 2rem 0;
    }

    .processes {
        grid-template-columns: 1fr !important;

        & * {
            text-align: left !important;
        }
    }
}