
.head-section {
    margin-bottom: 100px;
}
.head-desc {
    margin-top: 20px;
    color: #BABEC4;    
}

.light .head-desc {
    color: #717171;
}

.hero-section {
    height: 610px;
    position: relative;

    margin-bottom: 60px;
}

.hero-section .hero-year {
    position: absolute;
    top: 0;  
    
    color: #1B68DC;
    font-size: 128px;
    font-style: normal;
    font-weight: 600;    
    line-height: 130%;

    text-align: center;
}

.hero-section .hero-year.cur-year {
    /*bottom: 87px;*/
    bottom: 0;
    right: 0;
    top: auto;
}

.hero-section .hero-year_desc {
    color: #FFF;
    text-align: center;   
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    transition: 0.5s;

    opacity: 0;

    animation-delay: 1s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;

    animation-name: opacity;
}



.hero-section .hero-img {
    opacity: 0;

    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;

    animation-delay: 3s;

    animation-name: opacity;

}

.hero-bg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    /*background: radial-gradient(50% 50% at 50% 50%, rgba(17, 48, 95, 0.78) 0%, #0A0A0B 100%);*/
    background: radial-gradient(50% 50% at 50% 50%, #1B68DC 0%, #0A0A0B 100%);
    z-index: 100;

    opacity: 0;

    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-delay: 4s;

   animation-name: opacity;
}

.light .hero-bg {
    background: radial-gradient(50% 50% at 50% 50%, #1B68DC 0%, #f3f3f3 100%);
}

.hero-section-mobile {
    display: none;
}
.hero-section-mobile img {
    width: 100%
}

@media (max-width:698px) {
    .hero-section-mobile  {
        display: block;
    }
    .hero-section {
        display: none;
        margin-bottom: 2rem;
    }
}


@keyframes opacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    } 
}


.hero-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
}

.hero-bg .img_layer_1 {
    transform: translate(-50%, -50%);
    animation: center_to_bottom 0.5s linear 6s 1 forwards,
               bottom_to_left  0.5s linear 7s 1 forwards;
}
.hero-bg .img_layer_2 {
    opacity: 0;
    left: 0;
    right: 0;
    top: 0;
    height: 72%;

    width: 100%;
    object-fit: contain;
} 

.opcity_delay {
    animation: opacity 0.5s linear 6.5s 1 forwards;
}

.hero-slogan {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-transform: uppercase;
    padding-left: 30px;
    border-left: 2px solid #E31E24;    
    opacity: 0;

    position: absolute;
    bottom: 8%;
    right: 8%;
    z-index: 200;

    animation: opacity 0.5s linear 7s 1 forwards
}

.light .hero-slogan {
    color: #232a4a;
}

.dark .logo-light {
    display: none;
}

.light .logo-light {
    display: block;
    width: 42%;
}

.light .logo-dark {
    display: none;
}

.dark .logo-dark {
    display: block;
}



@keyframes center_to_bottom {
    0% {
        top: 50%;
    }
    100% {
        top: 88%;
    } 
}

@keyframes bottom_to_left {
    0% {
        left: 50%;
    }
    100% {
        left: 33%;
    } 
}

.light .hero-section .hero-year_desc {
    color: var(--text-color-light);
}

@media (max-width:1024px) {
    .hero-section {
        margin-bottom: 60px;
        height: 440px;
    }
    .hero-section .hero-img {
        display: none;
    }

    .hero-bg img {
        width: 100%;
    }

    .hero-bg .img_layer_1 {
        max-width: 400px;
        animation: center_to_bottom 0.5s linear 6s 1 forwards;
    }
    .hero-slogan {
        font-size: 17px;
        bottom: -7%;
    }
}

@media (max-width:698px) {
    .history-slider {
        margin-top: 4rem;
    }
}

@media (max-width:768px) {
    .hero-section .hero-year_desc, 
    .hero-section .hero-img,
    .hero-bg,
    .hero-bg .img_layer_1,
    .opcity_delay,
    .hero-slogan 
    {
       /*animation: none;*/
    }

    .hero-section .hero-year {
        /*display: none;*/
    }

    .hero-bg .img_layer_2 {
        /*opacity: 1;*/
    }

}