﻿.section2 {
    margin-top: 15px;
    min-height: 600px;
}
.section-row {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}
.section-left {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: row;
}
.image-container {
    order: 1;
    display: flex;
    align-items: flex-end;
    position: relative;
    width: 40%;
    overflow-x: hidden;
}
.background-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}
.image {
    width: 100%;
}
.div-animation {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: #5B5B5B;
}
.div-animation.on {
    width: 0;
    -webkit-animation: section2-slide-left 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: section2-slide-left 1s; /* Firefox < 16 */
    -ms-animation: section2-slide-left 1s; /* Internet Explorer */
    -o-animation: section2-slide-left 1s; /* Opera < 12.1 */
    animation: section2-slide-left 1s;
}
.section-left-container {
    text-align: right;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #4A4A4A;
    padding-right: 30px;
    margin-top: 70px;
    flex: 1;
}
.section-left-container div {
    z-index: 1;
}
.section-left-header, .section-left-footer {
    font-weight: bold;
}
.section-left-header {
    font-size: 1.4em;
    margin-top: 160px;
    text-transform: uppercase;
}
.section-left-footer {
    font-size: 1.15em;
    margin-top: 25px;
    margin-bottom: 70px;
    position: relative;
    top: 0px;
    transform: translateX(-150%);
}
.section-left-footer.on {
    transform: translateX(0%);
    -webkit-animation: section2-fadeIn-left 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: section2-fadeIn-left 2s; /* Firefox < 16 */
    -ms-animation: section2-fadeIn-left 2s; /* Internet Explorer */
    -o-animation: section2-fadeIn-left 2s; /* Opera < 12.1 */
    animation: section2-fadeIn-left 2s;
}
.section-left-body {
    margin-top: 100px;
    font-size: 1.25em;
    padding-left: 46%;
    height: 100%;
    opacity: 0;
    -webkit-transform: translateZ(0);
}
    .section-left-body.on {
        opacity: 1;
        margin-top: 25px;
        animation-fill-mode: forwards;
        -webkit-animation: section2-fade-in 2s, section2-slide-top 2s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: section2-fade-in 2s, section2-slide-top 2s; /* Firefox < 16 */
        -ms-animation: section2-fade-in 2s, section2-slide-top 2s; /* Internet Explorer */
        -o-animation: section2-fade-in 2s, section2-slide-top 2s; /* Opera < 12.1 */
        animation: section2-fade-in 2s, section2-slide-top 2s;
        height: 100%;
    }
.section-left-container, .image-container {
    background-color: #4A4A4A;
}
a:link {
    text-decoration: none;
    color: inherit;
}
a:visited {
    text-decoration: none;
    color: inherit;
}
a:active {
    text-decoration: none;
    color: inherit;
}
.section-left-title {
    padding-left: 80%;
    opacity: 0;
    margin-top: 100px;
}
    .section-left-title.on {
        opacity: 1;
        margin-top: 25px;
        animation-fill-mode: forwards;
        -webkit-animation: section2-fade-in 2s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: section2-fade-in 2s; /* Firefox < 16 */
        -ms-animation: section2-fade-in 2s; /* Internet Explorer */
        -o-animation: section2-fade-in 2s; /* Opera < 12.1 */
        animation: section2-fade-in 2s;
        height: 100%;
    }
.section-left-background {
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0px;
    left: 0px;
    padding-bottom: 15px;
    text-align: right;
    padding-right: 30px;
    font-size: 4.35em;
    word-break: break-word;
    font-weight: bold;
    line-height: 1.4;
    padding-top: 30px;
    padding-left: 54%;
    color: #4F4F4F;
    display: flex;
    flex-direction: column;
}
.section-left-background p{
    flex: 1;
    margin: 0px;
}
.footer-link {
    position: relative;
}
    .footer-link .long-arrow {
        position: absolute;
        top: -10px;
        right: -5px;
        width: 100px;
        height: 92px;
    }
.long-arrow polygon {
    fill: white;
}
@media only screen and (min-width: 769px) {
    a:hover {
        text-decoration: none;
        color: #C3C3C3;
    }
}
@media only screen and (max-width: 1440px) {
    .section-left-background {
        font-size: 3.8em;
    }
    .section-left-body {
        padding-left: 30%;
    }
}
@media only screen and (max-width: 1024px) {
    .section-left-background {
        padding-left: 25%;
    }
    .section-left-body {
        padding-left: 25%;
    }
}
@media only screen and (max-width: 768px) {
    .section2 {
        min-height: 600px;
    }
    .section-left {
        flex-direction: column-reverse;
        position: relative;
        width: 100%;
    }

    .section-left-container {
        width: 100%;
        margin-top: 0px;
        height: 100%;
        padding-top: 20%;
    }

	.image-container {
		width: calc( 100% - 15px);
		position: absolute;
		top: -20%;
		left: 15px;
		height: 50%;
		z-index: 2;
	}

    .background-image {
        background-size: contain;
        background-position: right;
    }

    .section-left-background {
        line-height: 1.3;
        padding-top: 50%;
    }

    .div-animation {
        height: 100%;
        top: 0;
        bottom: auto;
        right: 0;
    }

    .image-container {
        background-color: transparent;
    }
    .section-left-title {
        padding-left: 50%;
    }
    _::-webkit-full-page-media, _:future, :root .section-left-footer {
        margin-top: 25%;
    }
}
@media only screen and (max-width: 450px) {
    .section-left-background {
        line-height: 1.1;
        height: auto;
    }

    .section-left-body {
        padding-left: 10px;
    }
    _::-webkit-full-page-media, _:future, :root .section-left-footer {
        margin-top: 5%;
    }
}
@media only screen and (max-width: 375px) {
    .footer-link .long-arrow {
        top: 20px;
    }
}

@keyframes section2-slide-left {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}
@keyframes section2-fadeIn-left {
    from {
        transform: translateX(-150%);
    }

    to {
        transform: translateX(0%);
    }
}
@keyframes section2-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@keyframes section2-slide-top {
    from {
        margin-top: 100px;
    }

    to {
        margin-top: 25px;
    }
}