﻿.section-5 {
    position: relative;
    background-color: #F2F2F2;
    padding-top: 75px;
}

    .section-5 .section-5-title {
        position: absolute;
        left: 5px;
        color: #E9E9E9;
        font-weight: bold;
        font-size: 6em;
        margin-top: -0.6em;
    }

    .section-5 .section-content-5 {
        background-color: white;
        height: 600px;
        display: flex;
    }

    .section-5 .social-network-row {
        height: 100%;
        padding-top: 120px;
        display: flex;
        flex-direction: row;
        padding-bottom: 30px;
        overflow: hidden;
        position: relative;
        width: 100%;
    }

.social-network {
    height: 100%;
    flex: 1;
    position: relative;
    flex-direction: column;
    display: none;
    float: left;
}

.section-5 .social-network-text {
    margin-bottom: 200px;
    width: 50%;
    height: 100%;
    z-index: 1;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    top: -10%;
}

    .section-5 .social-network-text.on {
        top: 0%;
        -webkit-animation: section5-slide-from-top 2s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: section5-slide-from-top 2s; /* Firefox < 16 */
        -ms-animation: section5-slide-from-top 2s; /* Internet Explorer */
        -o-animation: section5-slide-from-top 2s; /* Opera < 12.1 */
        animation: section5-slide-from-top 2s;
    }

    .section-5 .social-network-text.off {
        top: 0%;
    }

    .section-5 .social-network-text .social-network-title {
        height: 25%;
        padding: 15px 0px 0px 20px;
        font-size: 1.7em;
        font-weight: 900;
    }

    .section-5 .social-network-text .social-network-body {
        height: 75%;
        padding: 0.7em 0 1em 2.5em;
        padding-right: 30px;
        font-size: 1.7em;
        font-weight: 800;
        display: flex;
    }

        .section-5 .social-network-text .social-network-body .text {
            overflow: hidden;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            line-height: 35px;
            max-height: 105px;
        }

.section-5 .social-network-image {
    position: absolute;
    top: 70px;
    bottom: 0;
    right: 0;
    width: 0%;
}

    .section-5 .social-network-image.on {
        width: 100%;
        -webkit-animation: section5-appear 1s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: section5-appear 1s; /* Firefox < 16 */
        -ms-animation: section5-appear 1s; /* Internet Explorer */
        -o-animation: section5-appear 1s; /* Opera < 12.1 */
        animation: section5-appear 1s;
    }

    .section-5 .social-network-image.off {
        width: 100%;
    }

    .section-5 .social-network-image .image {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        height: 100%;
    }

.lateral-button {
    z-index: 2;
    position: absolute;
    top: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: black;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 30px;
    cursor: pointer;
    min-width: 32px;
    color: grey;
}

    .lateral-button.left {
        left: 0px;
    }

    .lateral-button.right {
        right: 0px;
    }

    .lateral-button div {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        height: 7%;
        color: grey;
        fill: grey;
    }

.social-network-active {
    display: flex;
}

    .social-network-active.slide-left {
        -webkit-animation: section5-slide-left 1s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: section5-slide-left 1s; /* Firefox < 16 */
        -ms-animation: section5-slide-left 1s; /* Internet Explorer */
        -o-animation: section5-slide-left 1s; /* Opera < 12.1 */
        animation: section5-slide-left 1s;
    }

    .social-network-active.slide-right {
        -webkit-animation: section5-slide-right 1s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: section5-slide-right 1s; /* Firefox < 16 */
        -ms-animation: section5-slide-right 1s; /* Internet Explorer */
        -o-animation: section5-slide-right 1s; /* Opera < 12.1 */
        animation: section5-slide-right 1s;
    }

    .social-network-active.slide-left-minus {
        -webkit-animation: section5-slide-left-minus 1s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: section5-slide-left-minus 1s; /* Firefox < 16 */
        -ms-animation: section5-slide-left-minus 1s; /* Internet Explorer */
        -o-animation: section5-slide-left-minus 1s; /* Opera < 12.1 */
        animation: section5-slide-left-minus 1s;
    }

    .social-network-active.slide-right-minus {
        -webkit-animation: section5-slide-right-minus 1s; /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: section5-slide-right-minus 1s; /* Firefox < 16 */
        -ms-animation: section5-slide-right-minus 1s; /* Internet Explorer */
        -o-animation: section5-slide-right-minus 1s; /* Opera < 12.1 */
        animation: section5-slide-right-minus 1s;
    }

.isDisabled {
    color: currentColor;
    cursor: not-allowed;
    opacity: 0.5;
    text-decoration: none;
}
.facebook-background {
    background-color: #3b5998;
}
.twitter-background {
    background-color: #4990E2;
}
.in-background {
    background-color: #628DC0;
}
@media only screen and (max-width: 1444px) {
    .section-5 .social-network-text .social-network-body {
        padding: 0.7em 0 1em 2em;
        padding-right: 30px;
        font-size: 1.6em;
    }

    .section-5 .social-network-text .social-network-title {
        font-size: 1.5em;
    }
    .section-5 .social-network-text {
        width: 55%;
    }
    .section-5 .social-network-image {
        left: 100px;
    }
    .section-5 .social-network-image .image {
        width: 80%;
    }
    .section-5 .section-content-5 {
        height: 550px;
    }
}
@media only screen and (max-width: 1366px) {
    .section-5 .social-network-text .social-network-body {
        font-size: 1.3em;
    }

    .section-5 .social-network-text .social-network-title {
        font-size: 1.2em;
    }
    .section-5 .social-network-text {
        width: 57%;
        margin-bottom: 180px;
    }
    .section-5 .social-network-image {
        top: 50px;
    }
}

@media only screen and (max-width: 1024px) {
    .section-5 .social-network-text {
        width: 70%;
        margin-bottom: 140px;
    }

    .section-5 .social-network-image {
        width: 75%;
        left: 70px;
        top: 70px;
    }

        .section-5 .social-network-image .image {
            background-size: cover;
            background-position: center;
        }
    .section-5 .section-content-5 {
        height: 500px;
    }
    .section-5 .social-network-text .social-network-body {
        font-size: 1.24em;
    }
}

@media only screen and (max-width: 750px) {
    .section-5 .social-network-text {
        display: block;
        height: 100%;
        z-index: 1;
        color: white;
        flex-direction: column;
        width: 100%;
        margin-bottom: 0;
    }

    .section-5 .social-network-row {
        flex-direction: column;
    }

    .social-network {
        margin: 0px;
        
    }
    .social-network, .section-5 .social-network-image {
        padding: 20px;
    }
    
    .section-5 .social-network-image {
        position: absolute;
        top: 0px;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        opacity: 0.5;
    }
        .section-5 .social-network-image .image {
            width: 100%;
        }

    section-5 .social-network-text .social-network-body {
        padding-top: 0px;
        padding-right: 30px;
        font-size: 1.2em;
    }

    .section-5 .social-network-text .social-network-title {
        font-size: 1.1em;
    }

    .section-5 .section-content-5 {
        height: 450px;
    }

    .facebook-background {
        background-color: rgba(59,89,152, 0.8);
    }

    .twitter-background {
        background-color: rgba(73,144,226, 0.8);
    }

    .in-background {
        background-color: rgba(98,141,192, 0.8);
    }
}

@media (max-width:500px) {
    .section-5 .section-5-title {
        font-size: 3em;
    }
}

@media screen and (min-width:500px) and (max-width:700px) {
    .section-5 .section-5-title {
        font-size: 4em;
    }
}

@media screen and (min-width:700px) and (max-width:900px) {
    .section-5 .section-5-title {
        font-size: 5em;
    }
}

@media (max-width:768px) { /*sm*/
	.section-5 {
		padding-top: 0px;
	}
}

@keyframes section5-slide-from-top {
    from {
        top: -10%;
    }

    to {
        top: 0%;
    }
}

@keyframes section5-appear {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes section5-slide-left {
    from {
        right: 100%;
    }

    to {
        right: 0%;
    }
}

@keyframes section5-slide-right {
    from {
        left: 100%;
    }

    to {
        left: 0%;
    }
}

@keyframes section5-slide-left-minus {
    from {
        right: 50%;
    }

    to {
        right: 0%;
    }
}

@keyframes section5-slide-right-minus {
    from {
        left: 50%;
    }

    to {
        left: 0%;
    }
}
