/* || Footer */

.footer {
    position: relative;
    margin: 1rem 0;
    padding: 1rem 0 4rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.social-stock {
    padding: 2rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* || Social Icons */

.social-stock__icons {
    margin: 1rem 0;
}

.social-stock__icons a {
    padding: 0 0.5rem;
    color: #fff;
}

/* || Stock Quote */

.social-stock__quote {
    margin: 1rem 0.5rem;
    padding: 0.5rem;
    font-weight: 900;
    border: 1px solid #fff;
}

.social-stock__quote p {
    font-weight: 900;
}

.social-stock__quote--up {
    color: var(--bright-green);
}

.social-stock__quote--down {
    color: var(--bright-red);
}

/* || Copyright and Disclaimer */

.copyright,
.disclaimer-links {
    display: block;
    padding: 0.5rem 0;
    text-align: center;
}

.disclaimer-links__separator {
    padding: 0 0.5rem;
}

.footer__triangle {
    position: absolute;
    width: 25vw;
    max-width: 10.5rem;
}

/* || Footer Graphic Elements */

.footer__triangle-top {
    top: 0;
    right: -2rem;
}

.footer__triangle-bottom {
    bottom: 0;
    left: -2rem;
    transform: rotate(180deg);
}

/* || flyout */

.flyout {
    position: fixed;
    bottom: -300px;
    right: 1.5rem;
    margin-left: 1rem;
    max-width: 15rem;
    opacity: 0;
    animation-name: flyout;
    animation-delay: 15s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    /* box-shadow: 5px 2px 10px #ccc; */
    z-index: 999;
}

.flyout__header {
    padding: 0.75rem;
    background: var(--orange);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    border-top-left-radius: var(--box-radius-3);
    border-top-right-radius: var(--box-radius-3);
}

.flyout__container {
    padding: 0.75rem;
    background-color: var(--cool-grey-7);
    border-bottom-left-radius: var(--box-radius-3);
    border-bottom-right-radius: var(--box-radius-3);
    border: 1px solid var(--orange);
}

.flyout__container p {
    font-size: 0.7rem;
    margin-bottom: 0;
    color: #fff;
}

.flyout__header-close-btn {
    position: absolute;
    top: 0.3rem;
    right: 0.75rem;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.flyout__header-close-btn:hover {
    color: lightgrey;
}

.flyout a {
    color: #fff;
}

.flyout a:visited {
    color: #fff;
}

/***** End flyout ******/

/***** flyout Animation ******/

@keyframes flyout {
    from {
        bottom: -300px;
        opacity: 0;
    }

    to {
        bottom: 35px;
        opacity: 1;
    }
}

/***** End flyout Animation ******/

/* || End Footer */
