@font-face {
  font-family: 'Dune_Rise';
  src: url('/font/Dune_Rise.woff2') format('woff2'),
       url('/font/Dune_Rise.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
}

.ticker-wrap {
    display: inline-flex;
    align-items: center;
    /* centra verticalmente tutto ciò che sta dentro */
    ;
    width: 100%;
    overflow: hidden;
    background: #176b3b;
    height: 3rem;
    position: relative;
}

.ticker {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    align-items: center;
}

.ticker-card {
    display: flex;
    align-items: center;
    /* testo della card centrato in verticale */
    color: #fff;
    border-radius: .5rem;
    padding: .25rem 1rem;
    margin-right: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    white-space: nowrap;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
