/* --------- home --------- */

/* image slider */
#carouselContainer {
    padding: 0px;
    display: none;
}
.carousel-control-prev, .carousel-control-next {
    display: none;
}
.w-100 {
    width: 100% !important;
    max-height: 1080px;
}
.mobilebackground img{
    width: 100%;
    height: auto;
}

/*teaser*/
.attribute {
    text-align: center;
    margin: 0px;
    font-weight: normal;
    font-size: 2rem;
}
.teaser {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    top: 30%;
    font-size: 2.5em;
}
.teaser a {
    display: block;
    color: #fcea12;
    font-weight: bold;
}
.teaser img {
    width: 30px;
    margin-right: 25px;
}
#label {
    background-color: white;
    color: black;
    display: inline-block;
    padding: 4px 13px;
    font-size: 0.4em;
    transform: rotate(20deg);
    position: absolute;
    right: -10px;
    top: -12px;
}

/* info elements */
#infoelements {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -350%);
    color: white;
    font-weight: 700;
    font-size: medium;
}

/* tablet */
@media (min-width: 992px) {
    /* image slider */
    #carouselContainer {
        display: block;
    }
    .teaser {
        top: 30%;
    }/*
    .w-100 {
        max-height: 600px;
    }*/
    .attribute {
        font-size: 1rem;
    }
    .mobilebackground img {
        display: none;
    }
    #infoelements {
        transform: translate(-50%, -200%);
    }

    /* info elements */
    #infoelements {
        max-width: 80%;
    }
}

/* desktop */
@media (min-width: 1200px) {
    /* image slider */
    #carouselContainer {
        width: 100%;
    }
    .teaser {
        top: 35%;
    }
    /* info elements */
    #infoelements {
        max-width: 80%;
    }
}