.about{
    .nav{
        margin: 50px 0;
        @include flexbox();
        @include justify-content(flex-start);
        li{
            margin:0 40px 0 0;
            a{
                font-size:1.2rem;
                font-weight: 500;
                text-transform: uppercase;
                color:$black;
                display:block;
                position: relative;
                padding-bottom:10px;
                overflow: hidden;
                &:before{
                    @include transition();
                    content:'';
                    display: block;
                    background: $yellow;
                    width: 100%;
                    height:4px;
                    position: absolute;
                    bottom:-4px;
                }
                &:hover{
                    &:before{
                        bottom:0;
                    }
                }
                &.active{
                    &:before{
                        bottom:0;
                    }
                }
            }
            &:last-child{
                margin-right:0;
            }
        }
    }

    .featured{
        margin-bottom:70px;
        figure{
            position: relative;
            .figcaption{
                @include flexbox();
                @include align-items(center);
                @include justify-content(space-between);
                width:300px;
                height: 120px;
                background: $yellow;
                padding:0 40px;
                font-size: 1.4rem;
                color:$black;
                position: absolute;
                bottom:20px;
                right: -150px;
                &:hover{
                    background: $black;
                    color:$yellow;
                }
            }
        }
        article{
            h2{
                font-size: 3.2rem;
                font-weight: 500;
                color:$black;
                max-width: 500px;
                position: relative;
                padding: 30px 0;
                margin-bottom: 30px;
                &:before{
                    @include transition();
                    content:'';
                    display: block;
                    background: $yellow;
                    width: 30px;
                    height:4px;
                    position: absolute;
                    bottom:0;
                    border-radius: 8px;
                }
            }
            p{
                font-family: 'Roboto', sans-serif;
                font-size: 1.6rem;
                line-height: 1.6;
                color:$gray-dark;
                margin-bottom: 20px;
                &:last-child{
                    margin-bottom: 0;
                }
            }
        }
        &.full{
            figure{
                .figcaption{
                    bottom:-60px;
                    right:20px;
                }
            }
        }
    }

}

@include breakpoint(768px){
    .about{
        .featured{
            margin-bottom: 30px;
            figure{
                .figcaption{
                    right: 0;
                }
            }
            &.full{
                figure{
                    .figcaption{
                        right: 0;
                    }
                }
            }
        }
    }
}

@include breakpoint(580px){
    .about{
        .text{
            margin-bottom: 30px;
        }
        .nav{
            display: none;
        }
        .featured{
            figure{
                img{
                    display: block;

                }
                .figcaption{
                    position: relative;
                    bottom:0;
                    width: 100%;
                    height: 90px;
                }
            }
            &.full{
                figure{
                    .figcaption{
                        position: relative;
                    bottom:0;
                    width: 100%;
                    }
                }
            }
        }
    }
}