.elementor-5231 .elementor-element.elementor-element-1255c207{--display:flex;--min-height:516px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--overlay-opacity:0.67;}.elementor-5231 .elementor-element.elementor-element-1255c207:not(.elementor-motion-effects-element-type-background), .elementor-5231 .elementor-element.elementor-element-1255c207 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://magicmover.se/wp-content/uploads/2025/02/Begagnade-kontorsmobler.-magic-mover.png");background-position:center center;background-repeat:no-repeat;background-size:100% auto;}.elementor-5231 .elementor-element.elementor-element-1255c207::before, .elementor-5231 .elementor-element.elementor-element-1255c207 > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-1255c207 > .e-con-inner > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-1255c207 > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-1255c207 > .e-con-inner > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-1255c207 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;--background-overlay:'';background-image:linear-gradient(180deg, #000000F7 0%, #000000 100%);}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-5231 .elementor-element.elementor-element-2fdca156 .elementor-heading-title{font-size:36px;font-weight:700;letter-spacing:4px;text-shadow:0px 0px 10px #000000;color:#FFFFFF;}.elementor-5231 .elementor-element.elementor-element-34875b2{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:38px;--padding-bottom:38px;--padding-left:0px;--padding-right:0px;}.elementor-5231 .elementor-element.elementor-element-34875b2:not(.elementor-motion-effects-element-type-background), .elementor-5231 .elementor-element.elementor-element-34875b2 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #E6E6E6 0%, #FFFFFF 100%);}.elementor-5231 .elementor-element.elementor-element-fc25e83{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-5231 .elementor-element.elementor-element-210675d > .elementor-widget-container{padding:0px 50px 0px 0px;}.elementor-5231 .elementor-element.elementor-element-210675d{font-family:"Poppins", Sans-serif;}.elementor-5231 .elementor-element.elementor-element-e87df86{--display:flex;--min-height:0px;--gap:20px 20px;--row-gap:20px;--column-gap:20px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );}.elementor-5231 .elementor-element.elementor-element-cad4700 img{width:100%;max-width:100%;height:376px;object-fit:cover;object-position:center center;border-radius:5px 5px 5px 5px;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );}.elementor-5231 .elementor-element.elementor-element-c53bc7c .elementor-button-content-wrapper{flex-direction:row-reverse;}.elementor-5231 .elementor-element.elementor-element-c53bc7c .elementor-button{fill:#FFFFFF;color:#FFFFFF;}.elementor-5231 .elementor-element.elementor-element-08e0d5e{--display:flex;--overlay-opacity:0.5;--padding-top:60px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}.elementor-5231 .elementor-element.elementor-element-08e0d5e:not(.elementor-motion-effects-element-type-background), .elementor-5231 .elementor-element.elementor-element-08e0d5e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-5231 .elementor-element.elementor-element-08e0d5e::before, .elementor-5231 .elementor-element.elementor-element-08e0d5e > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-08e0d5e > .e-con-inner > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-08e0d5e > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-08e0d5e > .e-con-inner > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-08e0d5e > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:#FFFFFF;--background-overlay:'';}.elementor-5231 .elementor-element.elementor-element-5258e17{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 30px;--row-gap:0px;--column-gap:30px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5231 .elementor-element.elementor-element-957f179{--display:flex;--justify-content:flex-start;}.elementor-5231 .elementor-element.elementor-element-5e44a53 .elementor-heading-title{font-size:36px;font-weight:600;}.elementor-5231 .elementor-element.elementor-element-fe29b46 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-5231 .elementor-element.elementor-element-fe29b46{text-align:left;font-family:"Poppins", Sans-serif;font-size:21px;font-weight:500;color:var( --e-global-color-text );}.elementor-widget-form .elementor-field-group > label, .elementor-widget-form .elementor-field-subgroup label{color:var( --e-global-color-text );}.elementor-widget-form .elementor-field-type-html{color:var( --e-global-color-text );}.elementor-widget-form .elementor-field-group .elementor-field{color:var( --e-global-color-text );}.elementor-widget-form .e-form__buttons__wrapper__button-next{background-color:var( --e-global-color-accent );}.elementor-widget-form .elementor-button[type="submit"]{background-color:var( --e-global-color-accent );}.elementor-widget-form .e-form__buttons__wrapper__button-previous{background-color:var( --e-global-color-accent );}.elementor-widget-form{--e-form-steps-indicator-inactive-primary-color:var( --e-global-color-text );--e-form-steps-indicator-active-primary-color:var( --e-global-color-accent );--e-form-steps-indicator-completed-primary-color:var( --e-global-color-accent );--e-form-steps-indicator-progress-color:var( --e-global-color-accent );--e-form-steps-indicator-progress-background-color:var( --e-global-color-text );--e-form-steps-indicator-progress-meter-color:var( --e-global-color-text );}.elementor-5231 .elementor-element.elementor-element-e1c3b08{width:var( --container-widget-width, 55% );max-width:55%;--container-widget-width:55%;--container-widget-flex-grow:0;--e-form-steps-indicators-spacing:20px;--e-form-steps-indicator-padding:30px;--e-form-steps-indicator-inactive-secondary-color:#ffffff;--e-form-steps-indicator-active-secondary-color:#ffffff;--e-form-steps-indicator-completed-secondary-color:#ffffff;--e-form-steps-divider-width:1px;--e-form-steps-divider-gap:10px;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-group{padding-right:calc( 23px/2 );padding-left:calc( 23px/2 );margin-bottom:30px;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-form-fields-wrapper{margin-left:calc( -23px/2 );margin-right:calc( -23px/2 );margin-bottom:-30px;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-group.recaptcha_v3-bottomleft, .elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-group.recaptcha_v3-bottomright{margin-bottom:0;}body.rtl .elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-labels-inline .elementor-field-group > label{padding-left:10px;}body:not(.rtl) .elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-labels-inline .elementor-field-group > label{padding-right:10px;}body .elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-labels-above .elementor-field-group > label{padding-bottom:10px;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-group > label{font-family:"Poppins", Sans-serif;font-weight:600;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-type-html{padding-bottom:0px;font-family:"Poppins", Sans-serif;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-group .elementor-field, .elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-subgroup label{font-weight:400;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-group .elementor-field:not(.elementor-select-wrapper){border-width:0px 0px 1px 0px;border-radius:0px 0px 0px 0px;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-field-group .elementor-select-wrapper select{border-width:0px 0px 1px 0px;border-radius:0px 0px 0px 0px;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .e-form__buttons__wrapper__button-next{color:#ffffff;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-button[type="submit"]{color:#ffffff;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-button[type="submit"] svg *{fill:#ffffff;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .e-form__buttons__wrapper__button-previous{color:#FFFFFF;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .e-form__buttons__wrapper__button-next:hover{color:var( --e-global-color-accent );}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-button[type="submit"]:hover{color:var( --e-global-color-accent );}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-button[type="submit"]:hover svg *{fill:var( --e-global-color-accent );}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .e-form__buttons__wrapper__button-previous:hover{color:var( --e-global-color-accent );}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .elementor-message{font-family:"Poppins", Sans-serif;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 .e-form__indicators__indicator, .elementor-5231 .elementor-element.elementor-element-e1c3b08 .e-form__indicators__indicator__label{font-weight:600;}.elementor-5231 .elementor-element.elementor-element-3924cb5{--display:flex;--min-height:700px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:64px 64px;--row-gap:64px;--column-gap:64px;--overlay-opacity:1;--margin-top:0px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5231 .elementor-element.elementor-element-3924cb5:not(.elementor-motion-effects-element-type-background), .elementor-5231 .elementor-element.elementor-element-3924cb5 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://magicmover.se/wp-content/uploads/2025/02/Kontorsmobler-goteborg.png");background-position:-34px 0px;background-repeat:no-repeat;background-size:contain;}.elementor-5231 .elementor-element.elementor-element-3924cb5::before, .elementor-5231 .elementor-element.elementor-element-3924cb5 > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-3924cb5 > .e-con-inner > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-3924cb5 > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-3924cb5 > .e-con-inner > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-3924cb5 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;--background-overlay:'';background-image:linear-gradient(270deg, #000000 40%, #FFFFFF00 100%);}.elementor-5231 .elementor-element.elementor-element-ab41258{--display:flex;--min-height:0px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overlay-opacity:1;--overlay-mix-blend-mode:screen;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-5231 .elementor-element.elementor-element-ab41258:not(.elementor-motion-effects-element-type-background), .elementor-5231 .elementor-element.elementor-element-ab41258 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #00000000 100%, #000000CF 100%);}.elementor-5231 .elementor-element.elementor-element-ab41258::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .e-con-inner > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .e-con-inner > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;--background-overlay:'';background-image:linear-gradient(270deg, #000000 33%, #BBBBBB00 100%);}.elementor-5231 .elementor-element.elementor-element-ab41258.e-con{--align-self:center;}.elementor-5231 .elementor-element.elementor-element-9eb42e1{width:100%;max-width:100%;text-align:left;font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );word-spacing:var( --e-global-typography-primary-word-spacing );color:#FFFFFF;}.elementor-5231 .elementor-element.elementor-element-9eb42e1 > .elementor-widget-container{margin:0px 0px 0px 900px;padding:0px 0px 0px 3px;}@media(max-width:1024px){.elementor-5231 .elementor-element.elementor-element-3924cb5:not(.elementor-motion-effects-element-type-background), .elementor-5231 .elementor-element.elementor-element-3924cb5 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:0px 0px;}.elementor-5231 .elementor-element.elementor-element-9eb42e1{font-size:var( --e-global-typography-primary-font-size );word-spacing:var( --e-global-typography-primary-word-spacing );}}@media(max-width:767px){.elementor-5231 .elementor-element.elementor-element-cad4700 img{height:152px;}.elementor-5231 .elementor-element.elementor-element-957f179{--padding-top:0px;--padding-bottom:0px;--padding-left:15px;--padding-right:015px;}.elementor-5231 .elementor-element.elementor-element-5e44a53 .elementor-heading-title{font-size:28px;}.elementor-5231 .elementor-element.elementor-element-fe29b46 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-5231 .elementor-element.elementor-element-fe29b46{text-align:left;}.elementor-5231 .elementor-element.elementor-element-e1c3b08 > .elementor-widget-container{padding:0px 015px 0px 15px;}.elementor-5231 .elementor-element.elementor-element-3924cb5{--flex-direction:row-reverse;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap-reverse;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--overlay-opacity:1;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5231 .elementor-element.elementor-element-3924cb5:not(.elementor-motion-effects-element-type-background), .elementor-5231 .elementor-element.elementor-element-3924cb5 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:0px 0px;}.elementor-5231 .elementor-element.elementor-element-ab41258:not(.elementor-motion-effects-element-type-background), .elementor-5231 .elementor-element.elementor-element-ab41258 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #00000000 0%, #000000CF 5%);}.elementor-5231 .elementor-element.elementor-element-ab41258::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .e-con-inner > .elementor-background-video-container::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .e-con-inner > .elementor-background-slideshow::before, .elementor-5231 .elementor-element.elementor-element-ab41258 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;background-image:linear-gradient(90deg, #000000 13%, #BBBBBB00 85%);}.elementor-5231 .elementor-element.elementor-element-ab41258{--overlay-opacity:1;}.elementor-5231 .elementor-element.elementor-element-9eb42e1 > .elementor-widget-container{margin:24px 0px 0px 0px;}.elementor-5231 .elementor-element.elementor-element-9eb42e1{font-size:var( --e-global-typography-primary-font-size );word-spacing:var( --e-global-typography-primary-word-spacing );}}@media(min-width:768px){.elementor-5231 .elementor-element.elementor-element-1255c207{--content-width:1366px;}.elementor-5231 .elementor-element.elementor-element-34875b2{--content-width:1366px;}.elementor-5231 .elementor-element.elementor-element-fc25e83{--width:50%;}.elementor-5231 .elementor-element.elementor-element-e87df86{--width:50%;}.elementor-5231 .elementor-element.elementor-element-08e0d5e{--content-width:1000px;}.elementor-5231 .elementor-element.elementor-element-5258e17{--content-width:1366px;}.elementor-5231 .elementor-element.elementor-element-957f179{--width:45%;}.elementor-5231 .elementor-element.elementor-element-3924cb5{--content-width:1600px;}.elementor-5231 .elementor-element.elementor-element-ab41258{--width:100%;}}@media(max-width:1024px) and (min-width:768px){.elementor-5231 .elementor-element.elementor-element-957f179{--width:100%;}}/* Start custom CSS for text-editor, class: .elementor-element-9eb42e1 */<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/ScrollTrigger.min.js"></script>

<script>
document.addEventListener('DOMContentLoaded', function () {
  gsap.registerPlugin(ScrollTrigger);

  // Function to split text into spans
  function splitTextIntoSpans(.elementor-5231 .elementor-element.elementor-element-9eb42e1) {
    const elements = document.querySelectorAll(.elementor-5231 .elementor-element.elementor-element-9eb42e1);
    elements.forEach(element => {
      const text = element.innerText;
      element.innerHTML = ""; // Clear existing content
      text.split("").forEach(char => {
        const span = document.createElement("span");
        span.style.display = "inline-block";
        span.style.opacity = "0";
        span.style.filter = "blur(8px)";
        span.style.transform = "translateX(-100px)";
        span.innerText = char === " " ? "\u00A0" : char; // Non-breaking space for spaces
        element.appendChild(span);
      });
    });
  }

  splitTextIntoSpans("h1");

  document.querySelectorAll("h1").forEach(h1 => {
    gsap.fromTo(h1.querySelectorAll("span"), {
      x: '-100%',
      filter: 'blur(8px)',
      opacity: 0,
    }, {
      x: '0%',
      filter: 'blur(0)',
      opacity: 1,
      duration: 1.5,
      ease: "power4.out",
      stagger: 0.05,
      scrollTrigger: {
        trigger: h1,
        start: "top 90%", // Adjust if necessary
        end: "top 20%", // Ensures animation completes
        toggleActions: "restart none none reset",
        scrub: 1,
        markers: false
      },
    });
  });
});
</script>/* End custom CSS */