﻿* {
    padding: 0;
    margin: 0;
    direction: ltr;
}

.all {
    width: 100%;
    height: auto;
    background-image: url('/img/opa5.png');
    background-repeat: no-repeat;
    background-size: 125%;
    background-position-y: 100vh;
    background-color: white;
    display: grid;
}

.headimg {
    box-shadow: 0 -10px 10px #0f0f0f50;
    width: 90%;
    height: 350px;
    margin-top: 140px;
    animation: bl 1.5s ease-in-out;
    border: none;
    border-radius: 30px 0px 30px 0px;
    opacity: 1;
}

.sec1 {
    width: 100%;
    height: 425px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateX(1500px);
    transition: transform .5s ease-in-out;
}

.sec2 {
    width: 100%;
    height: 425px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateX(-1500px);
    transition: transform .5s ease-in-out;
}


.imgdiv {
    background: white;
    width: 45%;
    margin: 50px 0 0 40px;
    position: relative;
    height: 100%;
}

.imgdivin {
    opacity: .1;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: opacity .1s ease-in-out;
}

    .imgdivin.active {
        transition: opacity 2s ease-in-out;
        opacity: 1;
        z-index: 1;
    }

.img {
    position: absolute;
    height: auto;
    border: none;
    width: 100%;
    border-radius: 8px;
}







.nahn1 {
    width: 40%;
    height: auto;
    color: #023f6d;
        margin-right: 30px;

}

.nahn2 {
    width: 40%;
    height: auto;
    color: #023f6d;
    margin-right: 30px;
}






@keyframes bl {
    0% {
        filter: blur( 22px);
    }

    100% {
        filter: blur(0);
    }
}


@media(max-width:790px) {
    .sec1 {
        display: grid;
        height: auto;
    }
}

@media(max-width:790px) {
    .sec2 {
        display: grid;
        height: auto;
    }
}



.mover1 {
    width: 1500px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: yellow;
    transform: translateX(-1000px);
    animation: aaa 30s linear;
    background: yellow;
    animation-iteration-count: infinite;
    object-fit: cover;
}
.mover2 {
    width: 1500px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: yellow;
    transform: translateX(-1000px);
    animation: bbb 30s linear;
    background: yellow;
    animation-iteration-count: infinite;
   
    object-fit: cover;

}


.llgg {
    transform: scale(1,1);
    width: 500px;
    height: 300px;
    object-fit: cover;
    background: transparent;
    position: absolute;
    object-fit: contain;
    animation: lg 10s linear;
    animation-iteration-count: infinite;
  
}

.mover1:hover {
    animation-play-state: paused;
    cursor:pointer;
}

.mover2:hover {
    animation-play-state: paused;
    cursor: pointer;
}

.lefttrans {
    width: 50px;
    height: 300px;
    background: linear-gradient(to right,white, transparent );
    position: absolute;
    left: 0;
    border: none;
    color: transparent;
}

.righttrans {
    width: 50px;
    height: 300px;
    background: linear-gradient(to left,white, transparent );
    position: absolute;
    left: 450px;
    border:none;
    
    color: transparent;
}

@keyframes lg {

    10% {
        transform: scale(.5,.5);
    }

    25% {
        transform: scale(1,1);
    }

    75% {
        transform: scale(.5,.5);
    }

100% {
    transform: scale(1,1);
}

}


@media(max-width:790px) {
    .imgdiv {
        width: 100%;
        height: 400px;
    }
}

@media(max-width:790px) {
    .nahn1 {
        width: 100%;
     
    }
}

@media(max-width:790px) {
    .nahn2 {
        width: 100%;
    }
}


@keyframes aaa {
    10% {
        transform: translateX(-1000px);
    }

    20% {
        transform: translateX(-500px);
    }

    30% {
        transform: translateX(0px);
    }

    40% {
        transform: translateX(500px);
    }

    50% {
        transform: translateX(1000px);
    }

    60% {
        transform: translateX(500px);
    }

    70% {
        transform: translateX(0px);
    }

    80% {
        transform: translateX(-500px);
    }

    90% {
        transform: translateX(-750px);
    }

    100% {
        transform: translateX(-1000px);
    }
}




@keyframes bbb {
    10% {
        transform: translateX(-1000px);
    }

    20% {
        transform: translateX(-750px);
    }

    30% {
        transform: translateX(-500px);
    }

    40% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(500px);
    }

    60% {
        transform: translateX(1000px);
    }

    70% {
        transform: translateX(500px);
    }

    80% {
        transform: translateX(0px);
    }

    90% {
        transform: translateX(500px);
    }

    100% {
        transform: translateX(-1000px);
    }
}