body,
html {
    margin: 0;
    overscroll-behavior: none;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.msgDiv {
    position: fixed;
    bottom: 50px;
    right: 20px;
    display: flex;
    align-items: end;
    flex-direction: column-reverse;
    z-index: 1000;
}

.msgBox,
.confirmBox {
    transform: translateX(calc(100% + 40px)) scaleY(0);
    height: 0;
    margin-top: 0;
    padding: 10px 15px;
    color: #fff;
    background-color: #0b0b0b;
    border-left: 4px solid;
    border-radius: 2px;
    transition: all 1s ease;
}

.msgBox.show,
.confirmBox.show {
    transform: translateX(0) scaleY(1);
    height: 40px;
    margin-top: 10px;
}

.msgBox.show {
    height: 40px;
}

.confirmBox.show {
    height: 100px;
}

.buttonConfirmDiv {
    margin-top: 16px;
    display: flex;
    justify-content: space-around;
}

.confirmBox button {
    padding: 8px 24px;
    transition: background-color 0.3s ease, opacity 1s ease, height 1s ease;
    color: #fff;
    border: none;
    border-radius: 8px;
    opacity: 0;
    height: 0;
    font-size: 18px;
}

.confirmBox.show button {
    opacity: 1;
    height: auto;
}

.confirmYesButton {
    background-color: rgba(0, 255, 0, 0.75);
}

.confirmNoButton {
    background-color: rgba(255, 0, 0, 0.75);
}

.confirmYesButton:hover {
    background-color: rgba(0, 255, 0, 1);
}

.confirmNoButton:hover {
    background-color: rgba(255, 0, 0, 1);
}

/* --- SITE FOOTER --- */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-link);
    padding: 3rem 2rem;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    max-width: var(--max-width-content, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    position: relative;
    color: var(--color-footer-link);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
}

/*.footer-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}*/

.footer-link:hover {
    color: var(--color-footer-link-hover);
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 2px;
    background-color: var(--color-footer-link);
    transform: scaleX(0);
    transition: transform 0.3s ease, backgound-color 0.3s ease;
}

.footer-link:hover::after {
    transform: scaleX(1);
    background-color: var(--color-footer-link-hover);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-footer-text);
}