
@import 'hero.css';
@import 'trends.css';
@import 'textgrid.css';

/* Styles A.N.D less Text */
.and-endless-text-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    position: relative;
}

.and-endless-text {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: scrollText 15s linear infinite; /* Geschwindigkeit hier anpassen */
}

.and-endless-text span {
    display: inline-block;
    padding-right: 50px;
    
     padding-top: 10px;
     padding-bottom: 10px;/* Abstand zwischen Wiederholungen */
    font-size: var(--and-xxl);
    font-weight: bold;
    min-width: auto; /* Jeder Block nimmt volle Breite */
    
}

@keyframes scrollText {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Styles A.N.D Cute Headline */
.cute-headline-icon-size-basic {height: 0.8em;
    width: auto; vertical-align: -0.025em;}

.cute-headline-icon-size-large {height: 1em;
    width: auto; vertical-align: -0.125em;}

.svg-preview {vertical-align: middle;}


/* A.N.D Text Image Grid */


.and-text-image-img {width: 100%;
	aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    object-position: center center;}

.and-text-image-item:nth-child(2n) .and-image-wrapper {order: 2;}

.and-text-wrapper {display: flex;
    flex-direction: column;
    justify-content: center;
	padding: var(--and-space-2xl);}

.and-text-image-grid {
border-radius: var(--border-rad-30);
    overflow: hidden;
}

