.bg_img {
    opacity: 0;
    margin:0 auto;
    width:100%;
    height: 600px;
    background-image: url('data/home_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: -175px;
    animation-name: bg_img_fly;
    animation-duration: 0.75s;
}

.bg_logo {
    display:block;
    text-align: center;
    position: absolute;
    left:0;
    top: 525px;
    transform: translate(0,-50%);
    border-top: 4px solid white;
    border-right: 4px solid white;
    border-bottom: 4px solid white;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 50px 0px;
    padding-left: 125px;
    padding-right: 55px;
    animation-name: logoFly;
    animation-duration: 1.5s;
}

.bg_logo img {
    padding-bottom:80px;
}

.bg_img .bg_logo_bg {
    position: relative;
    background-color: #1282a2;
    width: 680px;
    height: 800px;
    mix-blend-mode: multiply;
    border-bottom-right-radius: 25px;
    box-shadow: 6px 8px 8px -3px rgb(89 110 121 / 33%);
    -webkit-box-shadow: 6px 8px 8px -3px rgb(89 110 121 / 33%);
    -moz-box-shadow: 6px 8px 8px -3px rgba(89,110,121,0.49);
    transition: 0.5s all ease;
    animation-name: boxFly;
    animation-duration: 1s;
}

.data-content {
    right: -100%;
    position: relative;
    margin-right:175px;
    margin-left: 750px;
    font-size: 24px;
    padding: 25px;
    animation-name: data_content_fly;
    animation-duration: 0.75s;
    animation-delay: 0.5s;
}

.data-content p {
    padding-bottom:20px;
}

.allContentLeave {
    animation-name: allContentLeave;
    animation-duration: 0.5s;
}

/* All animations */

@keyframes boxFly {
    0% {
        top:-100vh;
    }
    100% {
        top:0px;
    }
}

@keyframes boxFly_r {
    0% {
        top:-100vh;
    }
    100% {
        top:100px;
    }
}

@keyframes boxFly_rr {
    0% {
        top:-100vh;
    }
    100% {
        top:150px;
    }
}

@keyframes logoFly {
    0% {
        left: -50%;
    }
    50% {
        left: -50%;
    }
    100% {
        left: 0px;
    }
}

@keyframes logoFly_M {
    0% {
        left: -50%;
    }
    50% {
        left: -50%;
    }
    100% {
        left:50%;
    }
}

@keyframes bg_img_fly {
    0% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}

@keyframes data_content_fly {
    0% {
        right: -100%;
    }
    100% {
        right: 0;
    }
}

@keyframes allContentLeave {
    0% {
        opacity: 1;
    } 100% {
        opacity: 0;
    }
}

/* All media queries */

@media only screen and (min-width: 2350px) {
    .data-content {
        font-size:27px;
    }
  }

@media only screen and (max-width: 1780px) {
    .data-content {
        font-size:22px;
        margin-right:100px;
    }
  }

@media only screen and (max-width: 1645px) {
    .data-content {
        font-size:18px;
        margin-right:50px;
    }
  }

@media only screen and (max-width: 1380px) {
    .data-content {
        font-size:18px;
        margin-right:50px;
    }
  }




/* iPad version */
@media only screen and (max-width: 1200px) {
    .bg_img {
        height: 500px;
        background-position-y: 0;
    }
    
    .bg_img .bg_logo_bg {
        margin: 0 auto;
        height:500px;
        width:500px;
        top: 100px;
        width: 85vw;
        position: relative;
        border-radius: 25px;
        animation-name: boxFly_r;
        animation-duration: 1s;
    }

    .bg_img .bg_logo {
        top:350px;
        border: 4px solid white;
        border-radius: 20px;
        left:50%;
        transform: translate(-50%,-50%);
        padding:75px 125px;
        animation-name: logoFly_M;
    }

    .bg_img .bg_logo div {
        color:white !important;
    }

    .data-content {
        margin:0;
        font-size:25px;
        margin-left:75px;
        margin-right:75px;
        margin-top:100px;
    }
  }

  @media only screen and (max-width: 900px) {
    .bg_img {
        height: 500px;
    }
    
    .data-content {
        font-size:20px;
        margin-left:50px;
        margin-right:50px;
    }

    .bg_img .bg_logo {
        top: 375px;
        padding: 50px 75px;
    }
  }

  @media only screen and (max-width: 700px) {
    .bg_img {
        height:500px;
        background-position-y: 0;
    }
    
    .bg_img .bg_logo_bg {
        top: 150px;
        width: 75vw;
        height:300px;
    }

    .bg_img .bg_logo {
        padding: 25px 50px;
        top: 300px;
    }

    .bg_img .bg_logo img{
        width:200px;
        padding-bottom: 40px;
    }    

    .bg_img .bg_logo div{
        font-size: 25px !important;
    }

    .bg_img .bg_logo_bg {
        animation-name: boxFly_rr;
    }

    .data-content {
        margin-top:0px;
    }
  }

  @media only screen and (max-height:900px) and (min-width:1200px) {
    .bg_img { 
        height: 450px;
    }

    .bg_logo {
        top: 375px;
    }

    .bg_img .bg_logo_bg {
        height: 80vh;
    }

    .data-content { 
        margin-right: 0;
        margin-left: 700px;
    }
  }