@font-face {
    font-family: 'evonik_prokyonbold';
    src: url('../fonts/evonikprokyon-bold-webfont.woff2') format('woff2'),
        url('../fonts/evonikprokyon-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'evonik_prokyonregular_italic';
    src: url('../fonts/evonikprokyon-italic-webfont.woff2') format('woff2'),
        url('../fonts/evonikprokyon-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'evonik_prokyonlight';
    src: url('../fonts/evonikprokyon-light-webfont.woff2') format('woff2'),
        url('../fonts/evonikprokyon-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'evonik_prokyonlight_italic';
    src: url('../fonts/evonikprokyon-lightitalic-webfont.woff2') format('woff2'),
        url('../fonts/evonikprokyon-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'evonik_prokyonmedium';
    src: url('../fonts/evonikprokyon-medium-webfont.woff2') format('woff2'),
        url('../fonts/evonikprokyon-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'evonik_prokyonregular';
    src: url('../fonts/evonikprokyon-regular-webfont.woff2') format('woff2'),
        url('../fonts/evonikprokyon-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* COLOR VARIABLES */ 
:root {
    --c-purple: #981881;
    --c-purple-hover: #6A0C5D;
    --c-white: #fff;
    --c-lighttext: #fff;
    --c-black: #000;
    --c-darktext: #000;
    --c-grey: #EFEEEA;
}


body, html {
    font-family: 'evonik_prokyonlight';
    font-size: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: transparent;
    background: transparent;
    height: 100%; 
}

b, strong {
    font-family: 'evonik_prokyonbold';
}

/* HEADLINES */
.headline_1 {
    font-family: 'evonik_prokyonbold';
    font-size: 1.750rem;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}


/* BOX */
.box {
    padding: 30px 20px;
    display: block;
    width: 100%;
}

.box--flex {
    display: flex;
}
@media (max-width: 768px) {
    .box--flex {
        flex-wrap: wrap;
    }
}

.box--purple {
    background: var(--c-purple);
    color: var(--c-lighttext);
}
.box--white {
    background: var(--c-white);
    color: var(--c-darktext);
}

.box--maincontent {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .box--maincontent {
        padding-top: 80px;
        position: relative;
    }
}


/* BUTTON */ 
.button {
    padding: 2px 10px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    text-decoration: none;
}
.button--white {
    background: var(--c-white);
    color: var(--c-purple);
}

.button--purple {
    background: var(--c-purple);
    color: var(--c-white);
}
.button--purple:hover {
    background: var(--c-purple);
    color: var(--c-white);
    text-decoration: none;
}
@media (hover:hover) and (min-width: 1024px) {
    .button--purple:hover {
        background: var(--c-purple-hover);
    }
}

.button--back {
    margin-right: 30px;
    height: 30px;
}

.button--back svg {
    margin-right: 10px;
}

.button--large {
    padding: 20px;
    padding-right: 30px;
    font-family: 'evonik_prokyonbold';
    font-size: 1.375rem;
    line-height: 1.4rem;
    letter-spacing: 0.05em;
    margin-right: 20px;
}
@media (max-width: 768px) {
    .button--large {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
        font-size: 1.2rem;
    }
}

.button--large svg {
    padding-right: 20px;
    width: 50px;
    box-sizing: content-box;
}
@media (max-width: 768px) {
    .button--large svg {
        width: 30px;
        flex: 0 0 30px;
    }
}


/* EVO-HEADER */
@media (max-width: 768px) {
    .evo-header .headline_1 {
        margin-top: 20px;
    }
}


/* SIDEBAR */ 
.sidebar--videos {
    flex: 0 0 30%;
}
@media (max-width: 768px) {
    .sidebar--videos {
        flex: 0 0 100%;
        position: absolute;
        top: 20px;
        width: calc(100% - 40px);
        z-index: 300;
        display: flex;
        flex-direction: column;
    }

    .sidebar--videos:after {
        position: absolute;
        right: 15px;
        top: 20px;
        width: 30px;
        height: 30px;
        z-index: 200;
        background: url('../img/icon-arrow-down.svg') center center no-repeat;
        background-size: contain;
        content: '';
        display: block;
        pointer-events: none;
    }

    
}

.sidebar__button {
    padding: 20px;
    background: var(--c-grey);
    color: var(--c-darktext);
    margin-bottom: 20px;
    font-family: 'evonik_prokyonmedium';
    font-size: 1.375rem;
    cursor: default;
    position: relative;
}
@media (max-width: 768px) {
    .sidebar__button {
        margin-bottom: 0;
        cursor: pointer;
        padding-right: 50px;
    }
    .sidebar__button:not(.video--active) {
        display: none;
        order: 2;
    }
    .sidebar--active .sidebar__button {
        display: block;
    }
}
.sidebar__button:last-child {
    margin-bottom: 0;
}

.sidebar__button.video--active {
    background: var(--c-purple);
    color: var(--c-lighttext);
}

@media (hover:hover) and (min-width: 1024px) {
    .sidebar__button:not(.video--active):hover {
        cursor: pointer;
        background: var(--c-purple-hover);
        color: var(--c-lighttext);
    }
}
@media (max-width: 768px) {
    .sidebar__button.video--active {
        cursor: pointer;
        order: 1;
    }    
}

.sidebar__button.video--active:after {
    position: absolute;
    width: 30px;
    height: 30px;
    content: '';
    background: var(--c-purple);
    transform: translateY(-50%) rotate(45deg);
    top: 50%;
    right: -10px;
}

@media (max-width: 768px) {
    .sidebar__button.video--active:after {
        display: none;
    }
}


/* VIDEOS */ 
.content--videos {
    flex: 0 0 70%;
    padding-left: 20px;
    box-sizing: border-box;
    position: relative;
}
@media (max-width: 768px) {
    .content--videos {
        flex: 0 0 100%;
        padding-left: 0;
    }
}

svg.video__playicon {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    z-index: 200;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

svg.video__playicon  {
    width: 60px;
    height: 60px;
}


.video--active {
    display: block;
}

#videoContainer {
    position: relative;
    padding-top: 54%;
    width: 100%;
    margin: 0;
}

#video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
}

#video-controls {
    position: absolute;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: space-between;
}

video {
    outline: none;
    cursor: pointer;
    display: block;
}

video::-webkit-media-controls-start-playback-button {
    display: none;
}

.videocontainer {
    position: relative;
    width: -moz-fit-content;
    width: fit-content;

}

.controls {
    padding: 0;
    margin: 0;
    overflow:hidden;
	width:100%;
	height: 0; /* of figure's height */
    position:absolute;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 7px;
    box-sizing: border-box;
}
.controls .controls > * {
    padding:0;
    margin:0;
}

.controls [data-state=hidden] {
    display:none;
}
.controls [data-state=visible] {
    display:flex;
}

.controls > *:first-child {
    margin-left:0;
}
.controls .progress {
    cursor:pointer;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
}

.controls button {
    text-align:center;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    border:none;
    cursor:pointer;
    text-indent:-99999px;
    background:transparent;
    background-size:contain;
    background-repeat:no-repeat;
    width: 15px;
    height: 15px;
    background-position: left;  
    outline: none;
    display: none;
}
.controls button[data-state="play"] {
    background-image: url('../img/icon-play-basic.svg');
}
.controls button[data-state="pause"] {
    background-image: url('../img/icon-pause.svg');
}
.controls .controls__wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.controls .controls__volume {
    padding-right: 30px;
}

.controls progress {
    display:block;
    width:100%;
    height: 5px;
    margin-top:2px;
    margin-top:0.125rem;
    border:none;
    overflow:hidden;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: var(--c-purple); /* Internet Explorer uses this value as the progress bar's value colour */
}
.controls progress [data-state="fake"] {
    background:#e6e6e6;
    height:100%;
}
.controls progress span {
    width:0%;
    height:100%;
    display:inline-block;
    background:var(--c-purple);	
}

.controls progress::-moz-progress-bar {
    background:var(--c-purple);
}
/* Chrome requires its own rule for this, otherwise it ignores it */
.controls progress::-webkit-progress-bar {
    background-color: var(--c-grey);
}
.controls progress::-webkit-progress-value {
    background: var(--c-purple);
}