.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100%; /* Ensure this container takes at least the full height of the viewport */
  width: 100%;
  height: 100%;
}

main{
    min-height: calc(100% - var(--footer-height) - var(--navbar-height));
}

footer {
    margin: 0;
    margin-top: auto;
    width: 100%;
    max-height: var(--footer-height);
    display: flex;
    background-color: var(--color-background);
    z-index: var(--index-footer);
}

footer h1 {
    margin-right: 50px;
    margin-left: 50px;
    margin-top: 25px;
    margin-bottom: 25px;
}

footer p {
    text-align: center;
    align-self: center;
}

/* --- This is the scrolling effect without js -- */
.scroll-container {
    border: 3px solid black;
    border-radius: 5px;
    overflow: hidden;

    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 5px;
    margin-right: 5px;

    text-align: center;
    align-items: center;
    justify-content: center;
    align-content: center;

    max-height: 50px;
}

.scroll-text {
    /* animation properties */
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);

    -moz-animation: scrolling 15s linear infinite;
    -webkit-animation: scrolling 15s linear infinite;
    animation: scrolling 15s linear infinite;
}

.scroll-text p {
    color: var(--text-grey);
}

/* for Firefox */
@-moz-keyframes scrolling {
    from {
        -moz-transform: translateX(100%);
    }

    to {
        -moz-transform: translateX(-100%);
    }
}

/* for Chrome */
@-webkit-keyframes scrolling {
    from {
        -webkit-transform: translateX(100%);
    }

    to {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scrolling {
    from {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    to {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}