.about {
    color: var( --main-txt-color );
    background-color: var( --main-bg-color );
    min-height: 100vh;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrap-article {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1280px;
    min-height: 800px;
    width: 80%;
    position: relative;
}

.float-photo {
    top: 50%;
    right: 60%;
    position: absolute;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    z-index: 3;
    width: 45%;
    max-width: 450px;
}

#about-excavator-photo {
    max-width: var(--picture-max-width);
    width: 100%;
}

article.about-text-container {
    position: absolute;
    background-color: var(--second-bg-color);
    color: var(--second-txt-color);
    max-width: 980px;
    overflow: hidden;
    min-height: calc( 1.3333 * var(--picture-max-width) + 100px);
    height: 80%;
}

.float-txt-right {
    float: right;
    width: 50%;
    margin-top: 60px;
    margin-right: 60px;
}

.float-txt-right p {
    text-align: justify;
    line-height: 1.5em;
}

.float-txt-right::after {
   content: "";
  display: block;
  clear: both;
}


.slide-about {
    width: 170px;
    margin: auto;
    margin-top: 80px;
}

.slide-about  a{
    color: var(--second-txt-color);
    font-weight: 800;
    font-size: 2em;
    line-height: 1.2em;
}

.slide-about:hover .overlay {
    width: 170px;
}

@media only screen and (max-width: 980px) {
    .about {
        position: unset;
        }
    .wrap-article {
        flex-flow: column wrap;
        flex-direction: column;
    }
    article.about-text-container {
        width: 100%;
        padding-top: 0px;
        position: unset;
        min-height: unset;
        margin-top: -5px;
        margin-bottom: 40px;
    }
    .float-photo {
        top: 0;
        position: unset;
        transform: unset;
        -ms-transform: unset;
        -moz-transform: unset;
        -webkit-transform: unset;
        -o-transform: unset;
        right: 0;
        padding-left: unset;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
        margin-bottom: 10px;
        width: 100%;
    }
    .float-txt-right {
        float: unset;
        width: 90%;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        
    }
    .float-txt-right  p {
        margin-right: 0px;
    }
}


@media only screen and (max-width: 608px) {
    article.about-text-container{
        margin-bottom: 0;
    }
    .float-photo {
        margin-top: 0;
        }
    .wrap-article {
        width: 100%;
    }
    .float-txt-right {
        width: 100%;
    }
    .float-txt-right p {
        margin: 10px;
        padding-right: 20px;
    }
    /* Slider
     * ------------ --*/
    .slide-about {
        width: 185px;
        margin: auto;
        margin-top: 40px;
    }
    .slide-about  a{
        font-weight: 600;
        font-size: 1.6em;
        line-height: 1.3em;
    }
    .slide-about:hover .overlay {
        width: 180px;
    }
}
