/* first half half */
.container:first-child{
    overflow-x: hidden;
}
.container:nth-child(3){
    height: 60vh;
}
.container:nth-child(4),.container:nth-child(5), .container:nth-child(6){
    height: auto;
    margin-bottom: 50px;
}
.container:nth-child(4){
    max-width: 1500px;
    margin: 0 auto 50px auto;
}
.image-content img{
    position: absolute;
    right: 2vw;
    bottom: 16vh;
    width: 40%;
    max-width: 350px;
    opacity: 0;
    animation: subtitle-ani 1.0s forwards;
    -webkit-animation: subtitle-ani 1.0s forwards;
    animation-delay: 1s;
}
.half-half{
    height: auto;
}
.on-left, .on-right{
    position: relative;
    float: left;
    width: 50%;
    display: inline-block;
}
.on-left img{
    height: 50vh;
    margin-top: 25vh;
    min-height: 320px;
}
.on-right{
    margin: calc(50vh - 150px) auto;
}
.half-half p, .half-half h2{
    margin: 0 auto 10px auto;
    width: 95%;
    max-width: 750px;
}
.half-half .increased-margin{
    margin: 0 auto 20px auto;
}
.half-half p{
    font-size: 20px;
}
.half-half h2{
    font-size: 35px;
}
.icon-on-img{
    display: block;
    color: snow;
    font-size: 20px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    max-width: 350px;
    bottom: 15%;
    position: absolute;
    left: 0;
    right: 0;
}
.clear{
    clear: both;
}
.chat-container{
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}
.afterIcons p, .afterIcons ul{
    width: 95%;
    max-width: 650px;
    margin: 10px auto;
    display: block;
}
.afterIcons ul li{
    margin-left: 25px;
    margin-bottom: 15px;
}
/* Scroll Icon*/

.scroll-icon {
    top: calc(95vh - 50px);
    left: calc(50% - 20px);
    position: absolute;
    display: block;
    animation: showUp;
    animation-delay: 3s;
}

/*  Chat    */
.balon1, .balon2 {
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    overflow: auto;

}
.balon1 p {
    background: #42a5f5;
    color: #fff;
    border-radius: 20px 20px 3px 20px;
    display: block;
    max-width: 75%;
    padding: 7px 13px 7px 13px;
    float: right;
    font-size: 1.5rem;
    transition: all 0.5s;

}
.balon2 p {
    background: #f1f1f1;
    color: #000;
    border-radius: 20px 20px 20px 3px;
    display: block;
    max-width: 75%;
    padding: 7px 13px 7px 13px;
    float: left;
    font-size: 1.5rem;
    transition: all 0.5s;
}
.startAni{
    transform: scale(0);
}
@keyframes subtitle-ani{
    from{opacity: 0}
    to{opacity: 1}
}
@media only screen and (orientation: portrait){
    .image-content img{
        position: absolute;
        left: 15%;
        top: calc(85vh - 160px);
        width: 70%;
        max-width: none;
    }
    .scroll-icon{
        top: calc(85vh - 50px);
    }
}
@media only screen and (orientation: portrait), screen and (max-width: 1130px){
    .on-right p, .on-right h2{
        width: 95%;
    }
    .icon{
        margin: 0 auto;
        display: block;
        float: none;
    }
    .container > .on-right, .container > .on-left {
        width: 100%;
        top: 0;
        margin: 20px auto;
        height: auto;
        position: relative;
        transform: none;
    }
    .on-left img{
        margin-top: 20px;
    }
    .afterIcons p{
        width: 100%;
        max-width: 1000px;
        display: block;
    }
    .afterIcons aside{
        width: 100%;
        display: block;
    }
}




