footer {
    padding-top: 50px;
    box-shadow: 0 6px 16px rgba(100, 94, 81, 0.418);
}

footer h5 {
    color: var(--black);
    font-weight: 500;
}

footer p {
    color: #70675f;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid #d8d8d8;
    padding: 10px 0;
    margin: 40px 5% 0;
}

.designed {
    font-size: 1rem;
    letter-spacing: 1px;
    color: #70675f;
    text-align: center;
    margin: 0;
}

.orgs {
    display: flex;
    gap: 32px;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
}

.org {
    height: 32px;
    width: auto;
    display: block;
}

.orgs > a {
    display: inline-block;
}

.ouorange {
    color: #70543a;
    font-weight: bold;
}

.ouorange:hover {
    color: #7cb740;
}

.house-decorate {
    width: 120px;
    position: absolute;
    bottom: -20px;
    right: 0;
}

.train-scene.scene-footer {
    right: 0;
    bottom: 50px;
}

.train-dark {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 50px;
    z-index: 2;
}

.smoke-container {
    position: absolute;
    bottom: 0;
    right: 0;
}

.smoke.smoke-footer {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--black);
    animation: smokeUp 4s ease-out infinite;
}

#scroll a {
    background: linear-gradient(145deg, #bbd5ac, #75a34b);
    transition: all 0.2s ease;
    box-shadow: 8px 8px 16px rgba(147, 216, 90, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.1);
}

#scroll a:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 24px rgba(147, 216, 90, 0.4), -12px -12px 24px rgba(255, 255, 255, 0.15);
}

.footer-host-title > a {
    display: inline-block;
}

@media (width <=1399px) {
    .train-scene.scene-footer {
        display: none;
    }

    .house-decorate {
        right: 20px;
    }

    .orgs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
@media (width <=1199px) {
    .house-decorate {
        width: 100px;
        right: 10px;
    }

    .orgs {
        gap: 20px;
    }
}

@media (width <=991px) {
    .house-decorate {
        display: none;
    }

    .footer-host-title {
        margin-bottom: 24px;
    }

    .footer-host-title p {
        margin-bottom: 16px;
    }
}

@media (width <=767px) {
    .designed {
        font-size: 0.85rem;
    }
}

@media (width <=576px) {
    .orgs {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (width <=375px) {
    .designed {
        font-size: 0.8rem;
    }
}
