@charset "utf-8";

/* ################################################## GENERAL ################################################## */
:root {
    --container-max-width: 100%;
    --header-height: 100px;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
    padding: 0;
}

section[id],
div[id] {
    scroll-margin-top: var(--header-height);
}

html,
body {
    max-width: none;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video fills the container without distorting aspect ratio */
    top: 0;
    left: 0;
}

.unbreakable {
    white-space: nowrap;
}

.cover {
    width: 100%;
    height: 100%;
    margin: 0;
    top: 0;
    left: 0;
}

.cover img,
.cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content *:last-child {
    margin-bottom: 0;
}

.btn-icon .fa-stack {
    font-size: 2rem;
    width: 2em;
}

.overlay {
    position: relative;
}

.overlay::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(27, 26, 26);
    background: linear-gradient(90deg, rgba(27, 26, 26, 0.7035189075630253) 97%, rgba(31, 24, 24, 0.15730042016806722) 100%);
    top: 0;
}

.bg-stone {
    background-color: #181818;
}

/* ################################################## Custom styling start ########################################## */
#page-header img {
    height: 60px;
}

#page-header .nav-item {
    margin-left: 2rem;
    font-size: 1.1rem;
}

.hero {
    height: 100vh;
    padding: 2rem 0;
    position: relative;
}

.hero-image {
    height: 100%;
    object-fit: cover;
}

.hero-background-text {
    position: absolute;
    top: 55%;
    z-index: -1;
}

.hero-background-text h1 {
    font-size: 120px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #f0f0f0;
}

.some-wrapper {
    padding: 7.5px 15px 7.5px 7.5px;
}

.some-icon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.some-icon-wrapper i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.aspect-long {
    object-fit: cover;
}

.content-over-image {
    position: absolute;
    left: 35px;
    bottom: 40px;
    padding-right: 35px;
}

.dark-overlay {
    position: relative;
    display: block; /* sikrer at ::after fungerer riktig */
    overflow: hidden;
}

.dark-overlay::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 2.03%, rgba(0, 0, 0, .9) 80%);
}

.content-over-image-2 {
    position: absolute;
    left: 35px;
    bottom: 135px;
    padding-right: 35px;
}

.object-cover {
    object-fit: cover;
}

.testimonial-box {
    background-color: rgba(0, 0, 0, .63);
    border-radius: 24px;
    left: 40px !important;
}

.social-box {
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.social-box.stone img {
    display: none;
}

.social-box .social-box-top i {
    transition: all .3s ease 0s;
    z-index: 10;
}

.social-box:hover .social-box-top i {
    transform: translateY(-10px);
    transition: all .3s ease 0s;
}

.social-box-top {
    flex-grow: 1;
    /* Fills the remaining space */
    width: 100%;
    background-color: #1f6128;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px 32px 0 0;
}

.social-box-top.stone {
    background-color: black;
}

.social-box-top.social-box-darker {
    background-color: #1a5021;
}

.social-box-top.social-box-darker.stone {
    background-color: #00000079;
}

.social-box-bottom {
    width: 100%;
    background-color: white;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 32px 32px;
    z-index: 2;
}

.rellax-padding {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.social-bg-bush {
    position: absolute;
    z-index: 1;
    bottom: -10px;
    width: 40%;
}

/* Image Slider */
#before-after-slider {
    width: 100%;
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 3px solid white;
    border-radius: 2rem;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

#before-after-slider img {
    width: 100%;
    display: block;
}

#after-image {
    display: block;
    width: 100%;
    border-radius: 40px 0 0 40px;
}

#before-image {
    position: absolute;
    height: 100%;
    width: 50%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 2;
    object-fit: cover;
}

#resizer {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 5;
    top: 0;
    left: 50%;
    height: 100%;
    width: 4px;
    background: white;
    /*Stop vertical scrolling on touch*/
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

#resizer:after {
    background: #39b54a;
    font-family: "Font Awesome 6 Pro";
    content: '\f337';
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;

}



/* ################################################## MEDIA QUERIES ################################################## */
/* Below small devices (standard values) */

/* Small devices (landscape phones, 576px and up) */
/* Bootstrap: -sm */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
/* Bootstrap: -md */
@media (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown>.dropdown-toggle:active {
        /*Without this, clicking will make it sticky*/
        pointer-events: none;
    }

    #page-header.scrolled {
        display: none;
    }
}

/* Large devices (desktops, 992px and up) */
/* Bootstrap: -lg */
@media (min-width: 992px) {
    .aspect-long {
        max-height: 600px;
    }

    .content-over-image {
        left: 75px;
        padding-right: 75px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
/* Bootstrap: -xl */
@media (min-width: 1200px) {}

/* HD devices (extra large desktops, 1540px and up) */
@media (min-width: 1540px) {}