.anim_body :is(#main_nav, .social_media_link, .link_icons, .main_page, footer) {
    /* display: none; */
    opacity: 0;
}

.anim_body {
    overflow: hidden;
    height: 100vh;
}

.anim_start .into_anim {

    animation: slideT 0.4s 1.6s ease-out forwards,
        slideL 0.4s 2.8s ease-out forwards;
}

@keyframes slideT {

    0% {
        height: 100vh;
        transform: scale(1);
    }

    100% {
        height: 14vh;
        transform: scale(0.4);
    }
}

@keyframes slideL {

    0% {
        width: 100vw;
        height: 14vh;
        top: 0px;
        /* height: 14vh;
        transform: scale(0.4); */
    }

    100% {
        width: 24vw;
        height: 0vh;
        top: 40px;
        /* height: 14vh;
        transform: scale(0.4); */
    }
}

html .anim_start {
    animation: scrollH 0.1s 3.5s ease-out forwards;
}

html .anim_start .main_page {
    animation: fadeIn 0.6s 1.6s ease-out forwards;
}

html .anim_start :is(#main_nav, .social_media_link, .link_icons, footer) {
    animation: fadeIn 0.6s 3.5s ease-out forwards;
}

@keyframes scrollH {

    0% {
        overflow: hidden;
        height: 100vh;
    }

    /* 100%{
        opacity: 1;
    } */

    100% {
        overflow: visible;
        height: auto;
    }
}

@keyframes fadeIn {

    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.anim_start .logo_text {
    /* right: 20%; */
    margin-right: -428px;
    opacity: 1;
}

.anim_start .logo_icon {
    /* right: 17%; */
    margin-right: 500px;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    /* background: #d7d7d7;  */
    background: #7EBBE2;
    border-radius: 100px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #A9D2EB;
}

.stop_scroll {
    height: 100vh;
    overflow: hidden;
}

.body_overlay {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3;
    width: 100vw;
    height: 100vh;
    background: rgba(34, 50, 99, 0.4);
}

.active_overlay .body_overlay {
    visibility: visible !important;
}