.rotating-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    overflow: hidden;
    font-size: clamp(1.5rem, 5vw, 3rem);
    text-align: center;
    perspective: 400px;
    background-color: white;
    color: black;
}
.rotating-text {
    display: inline-block;
    white-space: nowrap;
    transition: transform 0.3s ease;
}
.rotating-text.is-rotating {
    animation: rotateAndChange 0.6s ease-in-out;
}
@keyframes rotateAndChange {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    49% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    50% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .rotating-text-container {
        font-size: 1.8rem;
    }
}
@media (max-width: 480px) {
    .rotating-text-container {
        font-size: 1.5rem;
    }
}