body{
    position: relative;
}

#main-subtitle, #main-title{
    font-family: 'Inter';
    display: flex;
    align-items: center;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.6);
}

#main-title{
    font-size: 20px;
    line-height: 24px;
    color: #FFE50C;
    font-style: normal;
    font-weight: 600; 

}

#main-subtitle{
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
    width: 100%;
    text-align: left;

}

#section1{
    background-image: url("../img/Lizenfrei1.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/Lizenfrei1.webp") 2x,
    url("../img/komprimiert/jpg/Lizenfrei1.jpg") 2x,
    url("../img/1200px/webp/Lizenfrei1.webp") 1x,
    url("../img/1200px/jpg/Lizenfrei1.jpg") 1x,
    );
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    background-position: bottom;
    padding: 2rem 0;
    margin-top: 6rem;
}

.divider{
    width: 100%;
    height: 0px;
    /* Line 3 */
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transform: rotate(-0.15deg);
    margin: .5rem 0;

}

h1{
    width: calc(100% - 1rem);
    height: 45px;
    padding: .5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    /* Sie suchen einen erfahrenen Elektriker in Radeberg oder Dresden? */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; 
}

h2{
    width: calc(100% - 1rem);
    height: 45px;
    padding: .5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    /* Sie suchen einen erfahrenen Elektriker in Radeberg oder Dresden? */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; 
}

.yellow {
    background: #FFE723;
    color: #000000;
}

.blue{
    background-color: var(--blue);
    color: white;
}

.img-big{
    height: auto;
    max-width: 25%;
}

.img-small{
    width: 106.06px;
    height: 94.14px;
    border-radius: 15px;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center;
    position: relative;
    filter: drop-shadow(3px 3px 25px rgba(0, 0, 0, 0.5));

}

.img-title{
    position: absolute;
    bottom: 5px;
    width: 100%;
    text-align: center;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 10px;
    line-height: 150.02%;
    /* or 15px */
    color: #FFFFFF;

    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.horizontal-images{
    margin-top: 1rem;
}
.horizontal-images .img-small{
    height: 72px;
}

#img1{
    background-image: url("../img/Radeberg.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/Radeberg.webp") 2x,
    url("../img/komprimiert/jpg/Radeberg.jpg") 2x,
    url("../img/1200px/webp/Radeberg.webp") 1x,
    url("../img/1200px/jpg/Radeberg.jpg") 1x,
  );
}
#img2{
    background-image: url("../img/felix-mittermeier-Ds38KX90Nl4-unsplash.jpg");
	background-image: image-set(
    url("../img/komprimiert/webp/felix-mittermeier-Ds38KX90Nl4-unsplash.webp") 2x,
    url("../img/komprimiert/jpg/felix-mittermeier-Ds38KX90Nl4-unsplash.jpg") 2x,
    url("../img/1200px/webp/felix-mittermeier-Ds38KX90Nl4-unsplash.webp") 1x,
    url("../img/1200px/jpg/felix-mittermeier-Ds38KX90Nl4-unsplash.jpg") 1x,  
    );
}
#img3{
    background-image: url("../img/digital-marketing-agency-ntwrk-g39p1kDjvSY-unsplash.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/digital-marketing-agency-ntwrk-g39p1kDjvSY-unsplash.webp") 2x,
    url("../img/komprimiert/jpg/digital-marketing-agency-ntwrk-g39p1kDjvSY-unsplash.jpg") 2x,
    url("../img/1200px/webp/digital-marketing-agency-ntwrk-g39p1kDjvSY-unsplash.webp") 1x,
    url("../img/1200px/jpg/digital-marketing-agency-ntwrk-g39p1kDjvSY-unsplash.jpg") 1x,
  );
}
#img4{
    background-image: url("../img/tyler-b-kXuDYKZMT7s-unsplash.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/tyler-b-kXuDYKZMT7s-unsplash.webp") 2x,
    url("../img/komprimiert/jpg/tyler-b-kXuDYKZMT7s-unsplash.jpg") 2x,
    url("../img/1200px/webp/tyler-b-kXuDYKZMT7s-unsplash.webp") 1x,
    url("../img/1200px/jpg/tyler-b-kXuDYKZMT7s-unsplash.jpg") 1x,
  );
}
#img5{
    background-image: url("../img/r-architecture-wDDfbanbhl8-unsplash.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/r-architecture-wDDfbanbhl8-unsplash.webp") 2x,
    url("../img/komprimiert/jpg/r-architecture-wDDfbanbhl8-unsplash.jpg") 2x,
    url("../img/1200px/webp/r-architecture-wDDfbanbhl8-unsplash.webp") 1x,
    url("../img/1200px/jpg/r-architecture-wDDfbanbhl8-unsplash.jpg") 1x,
  );
}
#img6{
    background-image: url("../img/jimmy-nilsson-masth-U3GiK1u5j24-unsplash.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/jimmy-nilsson-masth-U3GiK1u5j24-unsplash.webp") 2x,
    url("../img/komprimiert/jpg/jimmy-nilsson-masth-U3GiK1u5j24-unsplash.jpg") 2x,
    url("../img/1200px/webp/jimmy-nilsson-masth-U3GiK1u5j24-unsplash.webp") 1x,
    url("../img/1200px/jpg/jimmy-nilsson-masth-U3GiK1u5j24-unsplash.jpg") 1x,
  );
}
#img7{
    background-image: url("../img/pexels-ksenia-chernaya-5691590.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/pexels-ksenia-chernaya-5691590.webp") 2x,
    url("../img/komprimiert/jpg/pexels-ksenia-chernaya-5691590.jpg") 2x,
    url("../img/1200px/webp/pexels-ksenia-chernaya-5691590.webp") 1x,
    url("../img/1200px/jpg/pexels-ksenia-chernaya-5691590.jpg") 1x,
    );
}
#img8{
    background-image: url("../img/john-barkiple-l090uFWoPaI-unsplash.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/john-barkiple-l090uFWoPaI-unsplash.webp") 2x,
    url("../img/komprimiert/jpg/john-barkiple-l090uFWoPaI-unsplash.jpg") 2x,
    url("../img/1200px/webp/john-barkiple-l090uFWoPaI-unsplash.webp") 1x,
    url("../img/1200px/jpg/john-barkiple-l090uFWoPaI-unsplash.jpg") 1x,
  );
}

li {
    margin-right: 0 !important;
    margin-bottom: 1rem;
    margin-top: .5rem;
}

li:before {
    display: block;
    flex-shrink: 0;
    width: 33px;
    height: 33px;
    margin-right: 10px;

    vertical-align: middle;

    background: url('../img/Marker1.png') no-repeat left center;
   	background-image: image-set(
    url("../img/komprimiert/webp/Marker1.webp") 2x,
    url("../img/komprimiert/png/Marker1.png") 2x,
    url("../img/1200px/webp/Marker1.webp") 1x,
    url("../img/1200px/png/Marker1.png") 1x,
    );
    background-size: contain;

    content: '';
}

#section10{
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/Lizenzfrei2.jpg");
   	background-image: image-set(
    url("../img/komprimiert/webp/Lizenzfrei2.jpg.webp") 2x,
    url("../img/komprimiert/jpg/Lizenzfrei2.jpg.jpg") 2x,
    url("../img/1200px/webp/Lizenzfrei2.jpg.webp") 1x,
    url("../img/1200px/jpg/Lizenzfrei2.jpg.jpg") 1x,
    );
  background-size: cover;
}

.widget{
    height: 229px;
    width: 90%;
    background: #FFFFFF;
    border-radius: 25px;
    padding: 1rem;
}

.widget img{
    width: 146px;
    height: 161px;
}

.widget-title{
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;
}

#kontakt{
    justify-content: flex-start;
    text-align: left;
}

.widget-text{
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    display: flex;
    align-items: center;
    color: #000000;
}

.desktop{
    display: none;
}

.arrow{
    position:  absolute;
    top: 45%;
    height: 10%;
}

#left{
    left: 0;
    transform: rotate(180deg);
}

#right{
    right: 0;
}

.arrow:hover{
    opacity: .8;
}

.arrow:active{
    opacity: .5;
}

.mr{
    margin-right: 4rem;
}

.ml{
    margin-left: 4rem;
}

@media only screen and (min-width: 85rem){
    .desktop{
        display: block;
    }

    .mobile{
        display: none;
    }

    .width-container{
        position: relative;
    }

    .text{
        font-family: 'Inter';
        font-style: normal;
        font-weight: 400;
        font-size: 24px;
        line-height: 36px;
        display: flex;
        align-items: center;
        text-align: justify;
    }

    h1{
        font-family: Inter;
        font-size: 24px;
        font-weight: 600;
        line-height: 29px;
        letter-spacing: 0em;
        text-align: center;
    }
  
    h2{
        font-family: Inter;
        font-size: 24px;
        font-weight: 600;
        line-height: 29px;
        letter-spacing: 0em;
        text-align: center;
    }
  
    .divider{
        box-shadow: none;
    }

    .img-big{
        width: 70%;
        height: auto;
    }

    .img-title{
        font-family: Inter;
        font-size: 24px;
        font-weight: 600;
        line-height: 36px;
        letter-spacing: 0em;
        text-align: justified;
    }

    #section1{
        height: 663px;
    }

    #section1 .width-container{
        flex-direction: column;
        justify-content: start;
        position: relative;
    }

    #main-title{
        /* Elektroinstallationen, Modernisierung & Wartung */
        margin-top: 50px;

        font-family: 'Inter';
        font-style: normal;
        font-weight: 600;
        font-size: 55px;
        line-height: 67px;
        display: flex;
        align-items: center;
        text-align: center;

        color: #FFE50C;

        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.6);

    }

    #main-subtitle{
        /* Ihr kompetenter Partner für: */
        margin-top: 102px;

        font-family: 'Inter';
        font-style: normal;
        font-weight: 600;
        font-size: 48px;
        line-height: 58px;
        display: flex;
        align-items: center;

        color: #FFFFFF;

        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.6);
    }

    #section3 .width-container{
        position: relative;
        padding: 1rem;
        width: 83rem;
    }

    #section3-bg{
        position: absolute;
        z-index: -2;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-image: url("../img/oliver-guhr-9YUsgVnnsTk-unsplash.jpg");
	   	background-image: image-set(
        url("../img/komprimiert/webp/oliver-guhr-9YUsgVnnsTk-unsplash.webp") 2x,
        url("../img/komprimiert/jpg/oliver-guhr-9YUsgVnnsTk-unsplash.jpg") 2x,
        url("../img/1200px/webp/oliver-guhr-9YUsgVnnsTk-unsplash.webp") 1x,
        url("../img/1200px/jpg/oliver-guhr-9YUsgVnnsTk-unsplash.jpg") 1x,
        );
        background-position: center;
        background-blend-mode: luminosity;
        filter: blur(2.5px) grayscale(100%);
        backdrop-filter: blur(10px);
        border-radius: 25px;
    }

    #section3-text-bg{
        background: #FFFFFF;
        filter: blur(11.5px);
        border-radius: 25px;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        padding: .5rem;
    }

    #section3 .text{
        position: relative;
    }

    #img1, #img2{
        height: 215px;
        width: 215px;
        margin-right: 1rem;
    }

    #img2{
        margin-top: 6rem;
    }

    #section4 .row{
        justify-content: end;
    }

    #img3, #img4, #img5{
        height: 194px;
        width: 194px;
        margin-left: 2rem;
    }

    #section4-bg{
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(51, 174, 245, 0.5);
        z-index: -1;
        filter: blur(150px);
    }

    #img6, #img7, #img8{
        height: 281.470703125px;
        width: 422px;
        border-radius: 15px;
    }

    #section6-bg{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(51, 174, 245, 0.25);
        filter: blur(150px);
    }

    li::before{
        height: 56px;
        width: 56px;
    }

    #section8-bg{
        position: absolute;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
        background: rgba(51, 174, 245, 0.5);
        filter: blur(70px);
    }

    .widget-title{
        font-family: Inter;
        font-size: 32px;
        font-weight: 600;
        line-height: 39px;
        letter-spacing: 0em;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }

    #widget-t-c{
        display: flex;
        justify-content: center;
        margin-top: 0;

    }

    .widget-text{
        font-family: Inter;
        font-size: 22px;
        font-weight: 400;
        line-height: 27px;
        letter-spacing: 0em;
        text-align: left;
    }

    .widget img{
        height: 509px;
        width: 509px;
        margin-left: 2rem;
    }

    .widget{
        height: auto;
        width: 100%;
    }
}


#back{
    width: 10rem;
    background-color: #0079bf;
    border-radius: 1rem;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

#back:hover{
    opacity: .8;
}