.scrol_btn {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9;
    opacity: 0;
    transition: 0.3s ease all;
    transform: translateY(40px) rotate(180deg);
}

.scrol_btn img {
    max-width: 80px;
    transition: 0.3s ease all;
}

.scrol_btn img:hover {
    transform: scale(0.8);
}

.scrollTopblock {
    opacity: 1;
    transform: translateY(0) rotate(180deg);
}

.boxbtn_scroll {
    width: auto;
    height: auto;
    position: relative;
}

.box_border,
.scroll-down-arrow {
    position: absolute;
    left: 0;
    top: 0;
    height: auto;
    width: auto;
    margin: 0;
    opacity: 0;
    transform: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.scroll-down-arrow {
    left: -1px;
    top: -1px;
    z-index: 100;
    cursor: pointer;
    transition-delay: 0.3s;
}

.animate {
    transform: translate(0, 20px);
    opacity: 1;
}

.afteranimate {
    transform: translate(0, 40px);
    opacity: 0;
}
