body {
    background-color: #f8f8f8;
    overflow-x: hidden;
}

* {
    transition: all 500ms;
}

div {
    /*    border: 1px solid pink;*/
}

strong {
    font-weight: bold;
    -webkit-text-stroke: 0.35px
}

.slideWrapper {
    width: 96vw;
    margin: 0 auto;
}

.slider {
    width: 90%;
    height: 5vh;
    border: 3px solid var(--mainC);
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    overflow: hidden;
}

.slider span span {
    font-size: 1.7em;
    font-weight: bold;
    color: var(--mainC);
    font-family: "Poppins", sans-serif;
    margin-left: .5vw;
}

.subConfirm {
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    font-weight: bold;
    color: var(--accentC);
    padding-bottom: 2vw;
    opacity: 0;
}

.sliderFocus {
    background-color: var(--mainC);
    color: var(--textC) !important;
    padding-left: 2px;
    padding-right: 2px;
}


.sliderBox {
    animation-name: spanScroll;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    position: absolute;
    right: -30%;
}

@keyframes spanScroll {
    0% {
        right: -50%;
    }

    100% {
        right: 100%;
    }
}

.slider:hover {
    cursor: pointer;
    border-color: var(--accentC);
}

.slider:hover span span {
    color: var(--accentC);
}

.slider:hover .sliderFocus {
    background-color: var(--accentC);
}

/* SUB BOX */

.subWrapper {
    width: 96vw;
    margin: 0 auto;
    transform-origin: 100% 0;
    transition: all 750ms, border-bottom 0s;
}

.subContainer {
    width: 90%;
    margin: 0 auto;
    border: 3px solid var(--accentC);
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.subLeftBox {
    width: 60%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding-left: 5vw;
}

.subInput:first-child {
    margin-top: 4vh;
}

.subInput {
    height: 7vh;
    width: 80%;
    margin-bottom: 2.5vh;
    border: none;
    border-bottom: 3px solid var(--accentC);
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    background-color: transparent;
}

.input_adress_holder {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
}

.sub_row {
    height: 7vh;
    width: 24%;
    margin-bottom: 6vh;
    margin-right: 2vw;
    border: none;
    border-bottom: 3px solid var(--accentC);
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    background-color: transparent;
}

#submitSub {
    width: 80%;
    height: 7vh;
    margin-bottom: 4vh;
    background-color: var(--accentC);
    color: var(--textC);
    font-family: "Poppins", sans-serif;
    font-size: 1.5em;
    border: none;
}

#submitSub {
    cursor: pointer;
}

.subRightBox {
    width: 40%;
}

.subRightHeader {
    padding-left: 2vw;
    color: var(--accentC);
    font-family: "Poppins", sans-serif;
    font-size: 1.5em;
    font-weight: bold;
}

.subRightContentBox {
    margin-top: 2vh;
    padding-left: 2vw;
    padding-right: 3vw;
    font-family: "Poppins", sans-serif;
}

.subRightSubheader {
    margin-top: 4vh;
    margin-bottom: 1vh;
    color: var(--accentC);
    font-family: "Poppins", sans-serif;
    font-size: 1.3em;
    font-weight: bold;
}

/* MAG INFO */

.magInfoWrapper {
    width: 96vw;
    margin: 0 auto;
    margin-top: 5vh;
}

.magInfoContainer {
    width: 90%;
    padding-bottom: 10vh;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 10vh;
}

.magInfoLeftBox {
    width: 55%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 2vw;
    padding-bottom: 2vw;
}

.magInfoLeftHeader {
    color: var(--mainC);
    font-family: "Poppins", sans-serif;
    font-size: 2em;
    font-weight: bold;
    padding-left: 2vw;
}

.magInfoLeftContentBox {
    padding-left: 2vw;
    padding-right: 10vw;
    font-family: "Montserrat", sans-serif;
    font-size: 1.05em;
}

.magInfoRightBox {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    background-color: var(--mainC);
    padding-top: 2vw;
    padding-bottom: 2vw;
}

.magInfoRightHeader {
    color: var(--textC);
    font-family: "Poppins", sans-serif;
    font-size: 2em;
    font-weight: bold;
    padding-left: 4vw;
    margin-bottom: 1.5vw;
}

.magInfoRightRedaktion {
    padding-left: 4vw;
    font-size: 1em;
    font-family: "Montserrat", sans-serif;
    color: var(--textC);
    margin-top: 1vh;
    margin-bottom: 1vh;
}

.magInfoRightRedaktion:first-child {
    margin-top: 0;
}


/* MAG LIST */

.magListWrapper {
    width: 96vw;
    margin: 0 auto;
}

.magListContainer {
    width: 90%;
    margin: 0 auto;
    background-color: var(--mainC);
    padding-bottom: 10vh;
}

.magListHeader {
    padding-left: 2vw;
    padding-top: 4vw;
    color: var(--textC);
    font-family: "Poppins", sans-serif;
    font-size: 2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magListTextBox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2vw;
    padding-right: 15vw;
    padding-left: 15vw;
    font-size: 1em;
    color: white;
    font-family: "Montserrat", sans-serif;
}

.magListSliderContainer {
    margin-top: 10vh;
    outline: none;
}

.magListSlideBox {
    height: 30vh;
    outline: none;
}

.magListItem {
    width: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    outline: none;
}

.magListItemImg:hover {
    cursor: pointer;
}

.magListItemImg {
    background-position: center;
    background-size: contain;
    margin: 0 auto;
    width: 10vw;
    height: 90%;
    border: 1px solid var(--textC);
}

.magListItemTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--textC);
    font-family: "Montserrat", sans-serif;
    font-size: .8em;
    padding-top: .5vh;
    padding-bottom: .5vh;
}


/* MAG PRENSENTER */

.magPresentWrapper {
    width: 96vw;
    margin: 0 auto;
    margin-top: 20vh;
    margin-bottom: 20vh;
    transition: opacity 500ms;
    display: none;
    opacity: 0;
}

.magPresentContainer {
    width: 90%;
    margin: 0 auto;
}

.magPresentHeader {
    padding-left: 2vw;
    color: var(--mainC);
    font-family: "Merriweather", sans-serif;
    font-style: italic;
    font-size: 2em;
    font-weight: bold;
}

.magPresentContentContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-top: 5vh;
}

.magPresentContentLeftBox {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magPresentImgBox {
    width: 80%;
    height: 70vh;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.magPresentContentRightBox {
    width: 50%;
    height: 70vh;
}

.magPresentText {
    padding-left: 2vw;
    margin-top: 2vw;
    font-family: "Montserrat", sans-serif;
    font-size: .9em;
}

.magPresentStaffTitle {
    font-weight: bold;
    padding-right: .5vw;
    transition: all 500ms;
}

.magPresentStaffTitle:hover {
    color: var(--accentC);
}

.magPresentAuthorBox {
    margin-bottom: 4vw;
}

.magPresentStaffCont {
    margin-bottom: 1vh;
}

.magPresentAuthorTitle {
    font-weight: bold;
    transition: all 500ms;
}

.magPresentAuthorTitle:hover {
    color: var(--accentC);
    cursor: pointer;
}

.magPresentStaffName {
    transition: all 500ms;
}

.magPresentStaffName:hover {
    color: var(--accentC);
    cursor: pointer;
}

.magPresentSubHeader {
    color: var(--mainC);
}

.slick-prev:before,
.slick-next:before {
    color: var(--mainC) !important;
    transition: all 500ms;
}

.magEmbedWrapper {
    width: 86.29vw;
    margin-left: 6.8vw;
    margin-top: 3vw;
}


@media (max-width: 420px) {
    body {
        overflow-x: hidden;
    }

    .slider {
        font-size: .7em;
    }

    .slider span span {
        margin-right: 1vw;
    }

    .sliderBox {
        right: -200%;
        animation-name: SmallScroll;
        animation-duration: 10s;
    }

    @keyframes SmallScroll {
        from {
            right: -200%;
        }

        to {
            right: 100%;
        }
    }

    .subWrapper {
        margin-bottom: -80vh;
    }

    .subContainer {
        flex-direction: column-reverse;
    }

    .subRightBox {
        width: 90%;
        margin-top: 5%;
        font-size: .9em;
    }

    .subLeftBox {
        width: 90%;
        margin-left: 10%;
        margin-top: 5%;
        font-size: .9em;
    }

    .subConfirm {
        font-size: .75em;
        margin-bottom: 3vw;
    }

    .magInfoContainer {
        flex-direction: column;
        margin-bottom: 0;
    }

    .magInfoLeftBox,
    .magInfoRightBox {
        width: 100%;
        font-size: .85em;
        overflow-x: hidden;
    }

    .magInfoRightBox {
        margin-top: 15vw;
    }

    .magInfoRightRedaktion {
        font-size: 1.1em;
        margin-top: 2vh;
        margin-bottom: 2vh;
    }

    .magListHeader {
        font-size: 1.3em;
        padding-left: 4vw;
        width: 70%;
        color: var(--mainC);
    }

    .magListTextBox {
        padding-right: 0;
        padding-left: 4vw;
        padding-right: 6vw;
        font-size: .95em;
        color: black;
    }

    .magListContainer {
        background: #f8f8f8;
    }

    .magListItem {
        overflow-y: hidden;
    }

    .magListItemImg {
        width: 40vw;
    }

    .magPresentWrapper {
        margin-top: 0;
    }

    .magPresentContentContainer {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 4vw;
        overflow-x: visible;
    }

    .magPresentContentLeftBox {
        display: none;
    }

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

    .magPresentHeader {
        font-size: 1.5em;
        width: 100%;
    }

    .magPresentStaffBox {
        overflow-x: visible;
        width: 90vw;
    }

    .magPresentStaffName {
        overflow-x: scroll;
        overflow: visible;
        width: 50%;
        word-wrap: normal;
    }

    .magPresentStaffCont {
        width: 110%;
    }

}
