.forsidebanner {
  position: relative;
  padding-top: 160px;
  background-image: url("/wp-content/themes/stepuptema/library/img/frontpage-baggrund.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 100vh;
  padding-bottom: 120px;
}
.forsidebanner .blob {
  position: absolute;
  height: 500px;
}
.forsidebanner .blob svg,
.forsidebanner .blob img {
  height: 100%;
}
.forsidebanner .blob.top {
  right: calc(50% - 1040px);
  top: calc(50% - 590px);
  height: 1000px;
}
.forsidebanner .blob.left {
  right: calc(50% - 300px);
  height: 500px;
  top: calc(50% + 20px);
}
.forsidebanner .blob.middle {
  right: calc(50% - 660px);
  top: calc(50% + 110px);
  height: 300px;
}
.forsidebanner .blob.bottom {
  right: calc(50% - 1080px);
  top: calc(50% + -140px);
  height: 700px;
}
.forsidebanner .blob.bottom svg,
.forsidebanner .blob.bottom img {
  -webkit-filter: brightness(100);
          filter: brightness(100);
}
.forsidebanner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/stepuptema/library/img/blobs.svg");
  background-repeat: no-repeat;
  background-position: right;
  bottom: 0;
  right: 0;
}
.forsidebanner .container {
  padding-bottom: 7%;
  position: relative;
}
.forsidebanner .container .scrollArrow {
  position: absolute;
  width: 10px;
  height: 72px;
  bottom: 0;
  left: 15px;
  background-image: url("/wp-content/themes/stepuptema/library/img/arrow-scroll.svg");
  background-repeat: no-repeat;
  background-position: center top;
  -webkit-transition: 250ms;
  -o-transition: 250ms;
  transition: 250ms;
}
.forsidebanner .container .scrollArrow:hover {
  bottom: -3px;
}
.forsidebanner .container .row {
  position: relative;
}
.forsidebanner .container .row .col-md-5 .textWrapper {
  margin-bottom: 24px;
}
.forsidebanner .container .row .col-md-5 .textWrapper h1 {
  color: #050C3E;
  font-size: 80px;
  line-height: 95px;
  margin-bottom: 24px;
}
.forsidebanner .container .row .col-md-5 .textWrapper p {
  font-size: 20px;
  margin-bottom: 12px;
}
.forsidebanner .container .row .col-md-5 .textWrapper p:last-of-type {
  margin-bottom: 0;
}
.forsidebanner .container .row .col-md-5 .textWrapper a {
  color: #2c3853;
  font-weight: bold;
  text-decoration: underline;
  -webkit-transition: 250ms ease;
  -o-transition: 250ms ease;
  transition: 250ms ease;
}
.forsidebanner .container .row .col-md-5 .textWrapper a:hover {
  color: #F4AF17;
}
.forsidebanner .videoWrapper {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  overflow: hidden;
  width: 50%;
  border-radius: 10px 0 0 10px;
  -webkit-box-shadow: 5px 20px 30px rgba(0,0,0,0.16);
          box-shadow: 5px 20px 30px rgba(0,0,0,0.16);
  max-width: 955px;
}
.forsidebanner .videoWrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(41, 53, 80, 0.12);
  z-index: 1;
  pointer-events: none;
}
.forsidebanner .videoWrapper video {
  height: auto;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  position: relative;
}
.forsidebanner .videoWrapper .mejs-controls {
  display: none;
}

.forsidebanner .videoWrapper .mejs-container,
.forsidebanner .videoWrapper .mejs-container video {
  pointer-events: none;
}
.forsidebanner .videoWrapper .wp-video video {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.forsidebanner .videoWrapper .wp-video {
  width: 100% !important;
}
.forsidebanner .container .row .col-md-5 .graphicShowcase{
  display: none;
}
@media (max-width: 1920px) {
  .forsidebanner::before {
    background-size: 57.45%;
  }
}
@media (max-width: 1640px) {
  .forsidebanner h1 {
    font-size: 70px;
    line-height: 80px;
  }
}
@media (max-width: 1400px) {
  .forsidebanner {
    overflow: hidden;
    background-position: bottom -60px right -50px;
  }
  .forsidebanner .container .row .col-md-5 .textWrapper h1 {
    font-size: 60px;
    line-height: 68px;
  }
}
@media (max-width: 1280px) {
  .forsidebanner .blob.top {
    right: calc(50% - 560px);
    top: calc(50% - 390px);
    height: 550px;
  }
  .forsidebanner .blob.bottom {
    right: calc(50% - 840px);
  }
  .forsidebanner .blob.left {
    right: calc(50% - 200px);
    height: 490px;
    top: calc(50% + -40px);
  }
  .forsidebanner .blob.middle {
    right: calc(50% - 410px);
    top: calc(50% + 80px);
  }
  .forsidebanner .container .row .col-md-5 .textWrapper h1 {
    font-size: 50px;
    line-height: 56px;
  }
}
@media (max-width: 1120px) {
  .forsidebanner {
    background-size: 80% 100%;
  }
}
@media (max-width: 992px) {
  .forsidebanner {
    background: none;
    min-height: auto !important; 
    padding-top: 220px; 
    padding-bottom: 150px; 
  }
  .forsidebanner::before {
    display: none; 
  }
  .forsidebanner .blob.middle {
    right: calc(50% - 340px);
    top: calc(50% + -120px);
  }
  .forsidebanner .blob.left {
    right: calc(50% - 180px);
    top: calc(50% + -20px);
  }
  .forsidebanner .blob.left svg,
  .forsidebanner .blob.left img {
    -webkit-filter: brightness(110%);
            filter: brightness(110%);
  }
  .forsidebanner .blob.bottom {
    right: calc(50% - 710px);
  }
  .forsidebanner .blob.top {
    right: calc(50% - 400px);
    top: calc(50% - 400px);
    height: 400px;
  }
  .forsidebanner .container {
    padding-bottom: 0;
  }
  .forsidebanner .container .row .col-md-5 .textWrapper h1 {
    font-size: 45px;
    line-height: 48px;
  }
  .forsidebanner .container .row .col-md-5 .textWrapper p {
    font-size: 17px;
  }
  .forsidebanner .container .scrollArrow {
    display: none;
  }
  .forsidebanner .videoWrapper {
    display: none;
  }
  .forsidebanner::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
  }
  .forsidebanner .container {
    z-index: 2;
  }
  .forsidebanner .container .row .col-md-5 .graphicShowcase{
    display: block;
    width:100%;
    height: 120px;
    position: relative; 
    pointer-events: none;
  }
  .forsidebanner .container .row .col-md-5 .graphicShowcase img{
    position: absolute;
    width:calc(100% + 40%);
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 0px -75px;
       object-position: 0px -75px;
    left: -20%;
  }
  .forsidebanner .container .row .col-md-5 .buttonsWrapper{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width:100%;
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .forsidebanner .container .row .col-md-5 .buttonsWrapper::before{
    content: "";
    position: absolute;
    width:calc(100% + 50%);
    height: 100%;
    left:-25%;
    background-color: #fff;
    top:0px;
    -webkit-box-shadow: 0px -10px 10px rgba(0,0,0,0.1);
            box-shadow: 0px -10px 10px rgba(0,0,0,0.1);
  }
  .forsidebanner .container .row .col-md-5 .buttonsWrapper a{
    width: 100%;  
  }
}
@media (max-width: 768px) {
  .forsidebanner {
    min-height: auto !important; 
    padding-top: 110px; 
    padding-bottom: 50px; 
  } 
  .forsidebanner .container .row .col-md-5 {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .forsidebanner .container .row .col-md-5 .textWrapper h1 {
    font-size: 40px;
    line-height: 50px;
  }
}
@media (max-width: 480px) {
  .forsidebanner {
    display: block;
    padding-top: 100px;
    padding-bottom: 10px;
  }
  .forsidebanner .container .row .col-md-5 .textWrapper {
    margin-bottom: 00px;
  }
  .forsidebanner .container .row .col-md-5 .textWrapper h1 {
    font-size: 34px;
    line-height: 42px;
    margin-bottom: 10px;
  }
  .forsidebanner .container .row .col-md-5 .textWrapper p {
    font-size: 14px;
  }
  .forsidebanner .container .row .col-md-5 .buttonsWrapper {
    width: 100%;
    gap: 10px;
    padding-bottom: 10px;
  }
  .forsidebanner .container .row .col-md-5 .buttonsWrapper .button {
    width: 100%;
  }
  .forsidebanner .container .row .col-md-5 .graphicShowcase{
    height: 90px;
  }
  .forsidebanner .container .row .col-md-5 .graphicShowcase img{
    -o-object-position: 0px -50px;
       object-position: 0px -50px;
  }
  @supports (-webkit-touch-callout: none) {
    .forsidebanner .container .row .col-md-5 .buttonsWrapper .button {
      margin-bottom: 24px;
    }
    .forsidebanner .container .row .col-md-5 .buttonsWrapper .button:last-of-type {
      margin-bottom: 0;
    }
  }
}
/* Holder første sætning i overskriften på én linje: skriften følger kolonnebredden på desktop. */
@media (min-width: 1121px) {
  .forsidebanner .container .row .col-md-5 .textWrapper h1 {
    font-size: min(64px, calc((37.5vw - 30px) / 9.3));
    line-height: 1.19;
  }
}
