
/*

    Diese Datei beinhaltet alle Styles der Komponenten.
    Jede Komponente wird am Beginn mit der Bezeichnung in Uppercase gestartet.
    Jede Zeile muss mit dem HTML Element und der Komponenten-Bezeichnung ( zb a.tf-button ) beginnen.

*/


/* INTEREST SELECT */

div.tf-interest-select {
    
}

div.tf-interest-select[data-interest-select-mode="all"] *[data-interest-select-id]:not( [data-interest-select-id='all'] ),
div.tf-interest-select[data-interest-select-mode="lesen"] *[data-interest-select-id]:not( [data-interest-select-id='lesen'] ),
div.tf-interest-select[data-interest-select-mode="musik"] *[data-interest-select-id]:not( [data-interest-select-id='musik'] ),
div.tf-interest-select[data-interest-select-mode="theater"] *[data-interest-select-id]:not( [data-interest-select-id='theater'] ) {
    display: none;
}

div.tf-interest-select .interest-select-selector {
    background-color: white;
    border-bottom: var( --border-thinline-black );
}

div.tf-interest-select .interest-select-selector > .wrapper {
    position: relative;
    margin: auto;
    width: min( 90vw, 1400px );
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    gap: 2rem;
}

div.tf-interest-select .interest-select-selector > .wrapper > .column {
    display: flex;

}

div.tf-interest-select .interest-select-selector > .wrapper > .column.headline {
    border-right: var( --border-thinline-black );
    max-width: 340px;
    flex-direction: column;
    justify-content: center;
}

div.tf-interest-select .interest-select-selector > .wrapper > .column.headline p {
    opacity: .5;
}

div.tf-interest-select .interest-select-selector > .wrapper > .column.headline h3 {
    font-size: 1.5rem;
    line-height: 1.875rem;    
    text-wrap: balance;
    margin-top: 1.5rem;
}

div.tf-interest-select .interest-select-selector > .wrapper > .column.selector {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-direction: row;
    align-items: center;
    flex-grow: 1;
}

div.tf-interest-select .interest-select-selector > .wrapper > .column.selector li {
    flex-basis: 0px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

div.tf-interest-select .interest-select-selector > .wrapper > .column.selector li img {
    width: 5rem;
    aspect-ratio: 1;
    transition: scale .2s;
}

div.tf-interest-select .interest-select-selector > .wrapper > .column.selector li:has( .tf-button:hover ) img {
    scale: 1.05;
}

div.tf-interest-select .interest-select-selector > .wrapper > .column.selector li .tf-button {
    width: 100%;
    justify-content: space-between;
}

div.tf-interest-select .tf-interest-select-video-cloud-notice {
    margin-top: 4rem !important;
}

div.tf-interest-select .tf-interest-select-video-cloud-notice p {
    height: 34px;
    display: flex;
    align-items: center;
    width: fit-content;
    border-radius: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    background-color: var( --background-grey );
    font-size: 1rem;
    line-height: 1.2em;
    font-weight: 500; 
}

div.tf-interest-select .tf-interest-select-video-cloud {
    position: relative;
    aspect-ratio: 2 / 1;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

div.tf-interest-select .tf-interest-select-video-cloud .circle {
    position: absolute;
    aspect-ratio: 1;
    transition: opacity .2s;
}

div.tf-interest-select .tf-interest-select-video-cloud .circle video {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: var( --box-shadow-card );
    pointer-events: none;
    transition: scale .2s, box-shadow .2s;
}

div.tf-interest-select .tf-interest-select-video-cloud .circle:hover video {
    scale: 1.4;
    z-index: 100;
    box-shadow: 0px 0px 50px rgba( 0, 0, 0, 0.5 );
}

div.tf-interest-select .tf-interest-select-video-cloud .circle .label {
    position: absolute;
    left: -10%;
    width: 120%;
    top: calc( 120% - 2rem );
    background-color: var( --main-color );
    color: white;
    border-radius: 1rem;
    padding: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    box-shadow: var( --box-shadow-card );
    opacity: 0;
    translate: 0px -2rem;
    scale: 0.8;
    pointer-events: none;
    z-index: 101;
    transition: opacity .2s, translate .2s, scale .2s;
    transition-delay: 0s;
}

div.tf-interest-select .tf-interest-select-video-cloud .circle:hover .label {
    opacity: 1;
    translate: 0px 0px;
    scale: 1;
    transition-delay: 0.15s;
}

div.tf-interest-select .tf-interest-select-video-cloud:has( .circle:hover ) .circle:not( :hover ) {
    opacity: .6;
}

div.tf-interest-select .tf-interest-select-video-cloud .circle .label p {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2em;
}


@media only screen and (max-width: 1100px) {
    
    div.tf-interest-select .interest-select-selector > .wrapper {
        flex-direction: column;
    }
    
    div.tf-interest-select .interest-select-selector > .wrapper > .column.headline {
        width: 100%;
        max-width: unset;
        border-right: none;
        text-align: center;
    }

}

@media only screen and (max-width: 850px) {
    
    div.tf-interest-select .interest-select-selector > .wrapper > .column.selector {
        flex-direction: column;
    }
        
    div.tf-interest-select .tf-interest-select-video-cloud {
        aspect-ratio: 1 / 2;
    }
    
    div.tf-interest-select .tf-interest-select-video-cloud .circle .label p {
        hyphens: auto;
    }

}